--- /dev/null
+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
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
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
%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"