aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/openrc/APKBUILD4
-rw-r--r--main/openrc/sysctl-flags.patch14
2 files changed, 17 insertions, 1 deletions
diff --git a/main/openrc/APKBUILD b/main/openrc/APKBUILD
index 6b39b89f6b..83394f476a 100644
--- a/main/openrc/APKBUILD
+++ b/main/openrc/APKBUILD
@@ -2,7 +2,7 @@
pkgname=openrc
pkgver=0.8.3
_ver=${pkgver/_git*/}
-pkgrel=0
+pkgrel=1
pkgdesc="OpenRC manages the services, startup and shutdown of a host"
url="http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git"
arch="all"
@@ -17,6 +17,7 @@ source="http://distfiles.gentoo.org/distfiles/$pkgname-$_ver.tar.bz2
0001-fsck-add-C0-and-T-options-unless-fsck-is-busybox.patch
remove-rc_sys-warning.patch
hwclock-hctosys.patch
+ sysctl-flags.patch
hostname.initd
hwdrivers.initd
@@ -69,6 +70,7 @@ md5sums="c2c964d29e91a32dec4df75cd6d79102 openrc-0.8.3.tar.bz2
fb8baeaf32f4d53491312675f28a9939 0001-fsck-add-C0-and-T-options-unless-fsck-is-busybox.patch
2a1749ee829877d80c3696eade59be8a remove-rc_sys-warning.patch
95927c85beb1476bda46ab8933c5e780 hwclock-hctosys.patch
+516a8ee0d6f5bf3ccdabd6c7d85e6292 sysctl-flags.patch
c32e15b0858eef708497e7ee6355a055 hostname.initd
b1e64885f301166df30be3e3cf5338ff hwdrivers.initd
33ca3e558c42cdd17adccbc7807298f7 keymaps.initd
diff --git a/main/openrc/sysctl-flags.patch b/main/openrc/sysctl-flags.patch
new file mode 100644
index 0000000000..664d6502ca
--- /dev/null
+++ b/main/openrc/sysctl-flags.patch
@@ -0,0 +1,14 @@
+--- openrc-0.8.3/init.d/sysctl.Linux.in.orig
++++ openrc-0.8.3/init.d/sysctl.Linux.in
+@@ -18,9 +18,9 @@
+ for conf in /etc/sysctl.d/*.conf /etc/sysctl.conf; do
+ if [ -r "$conf" ]; then
+ vebegin "applying $conf"
+- if ! err=$(sysctl -q -p "$conf" 2>&1) ; then
++ if ! err=$(sysctl -p "$conf" 2>&1) ; then
+ errs="${errs} ${err}"
+- sysctl -q -e -p "${conf}"
++ sysctl -e -p "${conf}"
+ fi
+ veend $? || retval=1
+ fi