mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
This commit updates $license variable in all APKBUILDs to comply with short names specified by SPDX version 3.0 [1] where possible. It was done using find-and-replace method on substrings inside $license variables. Only license names were updated, not "expressions" specifying relation between the licenses (e.g. "X and Y", "X or Y", "X and (Y or Z)") or exceptions (e.g. "X with exceptions"). Many licenses have a version or multiple variants, e.g. MPL-2.0, BSD-2-Clause, BSD-3-Clause. However, $license in many aports do not contain license version or variant. Since there's no way how to infer this information just from abuild, it were left without the variant suffix or version, i.e. non SPDX compliant. GNU licenses (AGPL, GFDL, GPL, LGPL) are especially complicated. They exist in two variants: -only (formerly e.g. GPL-2.0) and -or-later (formerly e.g. GPL-2.0+). We did not systematically noted distinguish between these variants, so GPL-2.0, GPL2, GPLv2 etc. may mean GPL-2.0-only or GPL-2.0-or-later. Thus GNU licenses without "+" (e.g. GPL2+) were left without the variant suffix, i.e. non SPDX compliant. Note: This commit just fixes format of the license names, no verification has been done if the specified license information is actually correct! [1]: https://spdx.org/licenses/ |
||
---|---|---|
.. | ||
0002-fix-wait-any.patch | ||
APKBUILD | ||
ifupdown-alpine.patch | ||
ifupdown.sh | ||
libressl-compat.patch | ||
musl-if_packet.patch | ||
ovs-modules.initd | ||
ovs-vswitchd.confd | ||
ovs-vswitchd.initd | ||
ovsdb-server.confd | ||
ovsdb-server.initd | ||
readme.debian.patch |
--- openvswitch-2.4.0/debian/openvswitch-switch.README.Debian 2015-08-22 18:26:22.381124884 +0000 +++ openvswitch-2.4.0/debian/openvswitch-switch.README.Debian.new 2015-08-22 18:44:37.717142304 +0000 @@ -1,44 +1,5 @@ -README.Debian for openvswitch-switch ---------------------------------- - -To use the Linux kernel-based switch implementation, you will need an -Open vSwitch kernel module. There are multiple ways to obtain one. -In order of increasing manual effort, these are: - - * Use a Linux kernel 3.3 or later, which has an integrated Open - vSwitch kernel module. - - The upstream Linux kernel module lacks a few features that - are in the third-party module. For details, please see the - FAQ, "What features are not available in the Open vSwitch - kernel datapath that ships as part of the upstream Linux - kernel?". - - * Install the "openvswitch-datapath-dkms" Debian package that - you built earlier. This should automatically build and - install the Open vSwitch kernel module for your running - kernel. - - This option requires that you have a compiler and toolchain - installed on the machine where you run Open vSwitch, which - may be unacceptable in some production server environments. - - * Install the "openvswitch-datapath-source" Debian package, use - "module-assistant" to build a Debian package of the Open - vSwitch kernel module for your kernel, and then install that - Debian package. - - You can install the kernel module Debian packages that you - build this way on the same machine where you built it or on - another machine or machines, which means that you don't - necessarily have to have any build infrastructure on the - machines where you use the kernel module. - - /usr/share/doc/openvswitch-datapath-source/README.Debian has - details on the build process. - - * Build and install the kernel module by hand. - +README.Alpine for Openvswitch +----------------------------- Debian network scripts integration ---------------------------------- @@ -202,8 +163,8 @@ iface gre1 inet manual ex 8: Create and destroy bridges. -ifup --allow=ovs $list_of_bridges -ifdown --allow=ovs $list_of_bridges +ifup $list_of_bridges +ifdown $list_of_bridges Notes on dependencies: --------------------- @@ -231,3 +192,12 @@ in the 'auto' section, openvswitch-switc ifupdown kicks in. In a case like this, the admin needs to make sure that /usr has already been mounted and that a remote $syslog (if used) is ready to receive openvswitch logs. + +Notes on LXC / ifupdown integration: +------------------------------------ + +LXC has partial support for ovs (ports are added but not fully removed) +https://github.com/lxc/lxc/issues/590 + +See 'ovsup' & 'ovsdown' https://github.com/itoffshore/lxc-scripts +these scripts allow networking to be restarted & containers do not lose +connectivity.