X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=xenserver%2Fvswitch-xen.spec;h=c7984ac08652d40bde79a949fdaf10a05191bf79;hb=a20d2466fcd4edc2f2cfbc870c225a3afb96ffd5;hp=a9933d9b3664aedc6182969e6151e332ba9039be;hpb=d8319dd499fddf187406bd570c1eb895955309cb;p=openvswitch diff --git a/xenserver/vswitch-xen.spec b/xenserver/vswitch-xen.spec index a9933d9b..c7984ac0 100644 --- a/xenserver/vswitch-xen.spec +++ b/xenserver/vswitch-xen.spec @@ -19,9 +19,11 @@ Name: vswitch Summary: Virtual switch Group: System Environment/Daemons -URL: http://www.vswitch.org/ +URL: http://www.openvswitch.org/ Version: %{vswitch_version} -License: GPL3 + +# The entire source code is ASL 2.0 except datapath/ which is GPLv2 +License: ASL 2.0 and GPLv2 Release: 1 Source: openvswitch-%{vswitch_version}.tar.gz Buildroot: /tmp/vswitch-xen-rpm @@ -37,7 +39,7 @@ traffic. %build ./configure --prefix=%{_prefix} --localstatedir=%{_localstatedir} --with-l26=/lib/modules/%{xen_version}/build --enable-ssl %{build_number} -make +make %{_smp_mflags} %install rm -rf $RPM_BUILD_ROOT @@ -65,7 +67,11 @@ install -m 755 xenserver/opt_xensource_libexec_interface-reconfigure \ $RPM_BUILD_ROOT%{_prefix}/scripts/interface-reconfigure install -m 755 xenserver/etc_xensource_scripts_vif \ $RPM_BUILD_ROOT%{_prefix}/scripts/vif -install -m 755 \ +install -m 755 xenserver/root_vswitch_scripts_dump-vif-details \ + $RPM_BUILD_ROOT%{_prefix}/scripts/dump-vif-details +install -m 755 xenserver/usr_sbin_xen-bugtool \ + $RPM_BUILD_ROOT%{_prefix}/scripts/xen-bugtool +install -m 644 \ xenserver/usr_lib_xsconsole_plugins-base_XSFeatureVSwitch.py \ $RPM_BUILD_ROOT%{_prefix}/scripts/XSFeatureVSwitch.py @@ -103,6 +109,7 @@ if [ "$1" = "1" ]; then if ! md5sum -c --status </dev/null 2>&1; then :; else + cat >>/etc/sysctl.conf <