Author: adwol Date: Tue May 22 19:35:55 2012 GMT Module: packages Tag: HEAD ---- Log message: - added rc-scripts-dot_named_ifaces.patch - rel 3
---- Files affected: packages/rc-scripts: rc-scripts.spec (1.399 -> 1.400) , rc-scripts-dot_named_ifaces.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/rc-scripts/rc-scripts.spec diff -u packages/rc-scripts/rc-scripts.spec:1.399 packages/rc-scripts/rc-scripts.spec:1.400 --- packages/rc-scripts/rc-scripts.spec:1.399 Wed Apr 4 08:25:27 2012 +++ packages/rc-scripts/rc-scripts.spec Tue May 22 21:35:50 2012 @@ -10,7 +10,7 @@ Summary(tr.UTF-8): inittab ve /etc/rc.d dosyaları Name: rc-scripts Version: 0.4.5.4 -Release: 2 +Release: 3 License: GPL v2 Group: Base #Source0: ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz @@ -19,6 +19,7 @@ Source1: rc-local.service Source2: sys-chroots.service Source3: %{name}.tmpfiles +Patch0: %{name}-dot_named_ifaces.patch URL: http://svn.pld-linux.org/trac/svn/wiki/packages/rc-scripts BuildRequires: autoconf BuildRequires: automake @@ -118,6 +119,7 @@ %prep %setup -q +%patch0 -p0 # hack, currently this results in errno@@GLIBC_PRIVATE symbol in ppp-watch: #GLIB_LIBS="-Wl,-static `$PKG_CONFIG --libs --static glib-2.0` -Wl,-Bdynamic" @@ -396,6 +398,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.400 2012/05/22 19:35:50 adwol +- added rc-scripts-dot_named_ifaces.patch +- rel 3 + Revision 1.399 2012/04/04 06:25:27 arekm - rel 2; fix build ================================================================ Index: packages/rc-scripts/rc-scripts-dot_named_ifaces.patch diff -u /dev/null packages/rc-scripts/rc-scripts-dot_named_ifaces.patch:1.1 --- /dev/null Tue May 22 21:35:55 2012 +++ packages/rc-scripts/rc-scripts-dot_named_ifaces.patch Tue May 22 21:35:49 2012 @@ -0,0 +1,31 @@ +Index: lib/ifup +=================================================================== +--- lib/ifup (revision 12567) ++++ lib/ifup (working copy) +@@ -24,6 +24,8 @@ + # device name must be ifcfg-somename + DEV=$1 + ++SYSCTLDEVICE=$(echo ${DEVICE} | sed 's/\./\//g') ++ + [ -z "$DEV" ] && { + nls "Usage: %s <device name>" "ifup" >&2 + exit 1 +@@ -118,7 +120,7 @@ + fi + + if is_yes "${IPV6_NETWORKING}" && is_yes "${IPV6_DISABLE_AUTOCONF}"; then +- run_cmd "Disabling IPv6 autoconfiguration" sysctl -w net.ipv6.conf.${DEVICE}.autoconf=0 ++ run_cmd "Disabling IPv6 autoconfiguration" sysctl -w net.ipv6.conf.${SYSCTLDEVICE}.autoconf=0 + fi + + if is_wireless_device "${DEVICE}"; then +@@ -232,7 +234,7 @@ + + # device have to have ip address set before + if is_yes "$PROXYARP"; then +- run_cmd "$(nls 'Enabling proxy ARP on %s' "${DEVICE}")" sysctl -w net.ipv4.conf.${DEVICE}.proxy_arp=1 ++ run_cmd "$(nls 'Enabling proxy ARP on %s' "${DEVICE}")" sysctl -w net.ipv4.conf.${SYSCTLDEVICE}.proxy_arp=1 + fi + + if [ "$HANDLING" = "3" ]; then ================================================================ ---- CVS-web: http://cvs.pld-linux.org/packages/rc-scripts/rc-scripts.spec?r1=1.399&r2=1.400 _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
