]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- rel 3; disable ipv6 if it's not enabled in sysconfig/network auto/th/rc-scripts-0_4_4_1-3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 23 Mar 2011 20:39:04 +0000 (20:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rc-scripts-svn.patch -> 1.11
    rc-scripts.spec -> 1.354

rc-scripts-svn.patch [new file with mode: 0644]
rc-scripts.spec

diff --git a/rc-scripts-svn.patch b/rc-scripts-svn.patch
new file mode 100644 (file)
index 0000000..0280dc1
--- /dev/null
@@ -0,0 +1,19 @@
+Index: sysconfig/network-scripts/functions.network
+===================================================================
+--- sysconfig/network-scripts/functions.network        (wersja 12211)
++++ sysconfig/network-scripts/functions.network        (kopia robocza)
+@@ -370,8 +370,12 @@
+ modprobe_net()
+ {
+-      if is_yes "$IPV6_NETWORKING" && is_module "ipv6"; then
+-              _modprobe single ipv6
++      if is_yes "$IPV6_NETWORKING"
++              if is_module "ipv6"; then
++                      _modprobe single ipv6
++              fi
++      elif [ -d /proc/sys/net/ipv6 ]; then
++              sysctl -w net.ipv6.conf.all.disable_ipv6=0
+       fi
+       if is_yes "$IPX" && is_module "ipx"; then
index b6a19fa78213c78d1f3af3e1881ddbf408e3b7b3..8c1b4f002f3ac7fed4cc8b868c9e5e41e0190d5f 100644 (file)
@@ -9,12 +9,13 @@ Summary(pl.UTF-8):    inittab i skrypty startowe z katalogu /etc/rc.d
 Summary(tr.UTF-8):     inittab ve /etc/rc.d dosyaları
 Name:          rc-scripts
 Version:       0.4.4.1
-Release:       2
+Release:       3
 License:       GPL v2
 Group:         Base
 Source0:       ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz
 # Source0-md5: ff522ac3a98dc6c8c0c891f91a164ec2
 Patch0:                %{name}-routes6.patch
+Patch1:                %{name}-svn.patch
 URL:           http://svn.pld-linux.org/cgi-bin/viewsvn/rc-scripts/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -112,6 +113,7 @@ programcıklar içerir.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p0
 
 %build
 %{__aclocal}
This page took 0.03785 seconds and 4 git commands to generate.