summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-07-14 17:40:19 -0300
committerMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-07-14 17:40:19 -0300
commitde9ab185a1c49d54b0ab5cee79f016d663d90b10 (patch)
tree74a1bc613e351de75dee32545e8e4cc0592756b6
parenteb9a9b697eb07e5b7afa4349c5055113823eb439 (diff)
downloadabslibre-de9ab185a1c49d54b0ab5cee79f016d663d90b10.tar.gz
abslibre-de9ab185a1c49d54b0ab5cee79f016d663d90b10.tar.bz2
abslibre-de9ab185a1c49d54b0ab5cee79f016d663d90b10.zip
initscript: updating package
-rw-r--r--libre/initscripts/0001-remove-run-nologin-before-leaving-rc.multi.patch28
-rw-r--r--libre/initscripts/PKGBUILD13
2 files changed, 38 insertions, 3 deletions
diff --git a/libre/initscripts/0001-remove-run-nologin-before-leaving-rc.multi.patch b/libre/initscripts/0001-remove-run-nologin-before-leaving-rc.multi.patch
new file mode 100644
index 000000000..3dc75df1c
--- /dev/null
+++ b/libre/initscripts/0001-remove-run-nologin-before-leaving-rc.multi.patch
@@ -0,0 +1,28 @@
+From 55bd14c586f0f64b8ee5515161be1aa1098d3226 Mon Sep 17 00:00:00 2001
+From: Dave Reisner <dreisner@archlinux.org>
+Date: Tue, 3 Jul 2012 22:28:05 -0400
+Subject: [initscripts][PATCH] remove /run/nologin before leaving rc.multi
+To: arch-projects@archlinux.org
+
+systemd-186 writes this file when running systemd-tmpfiles, but
+initscripts never removes it. This disallows all non-root logins.
+
+Reported-by: Dan McGee <dan@archlinux.org>
+Signed-off-by: Dave Reisner <dreisner@archlinux.org>
+---
+ rc.multi | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/rc.multi b/rc.multi
+index daf2372..7d4acaa 100755
+--- a/rc.multi
++++ b/rc.multi
+@@ -31,4 +31,6 @@ run_hook multi_end
+
+ bootlogd_stop
+
++rm -f /run/nologin
++
+ # vim: set ts=2 sw=2 noet:
+--
+1.7.11.1
diff --git a/libre/initscripts/PKGBUILD b/libre/initscripts/PKGBUILD
index aee2585d9..a25daabe2 100644
--- a/libre/initscripts/PKGBUILD
+++ b/libre/initscripts/PKGBUILD
@@ -5,8 +5,8 @@
# Maintainer (Parabola): Nicolas Reynolds <fauno@kiwwwi.com.ar>
pkgname=initscripts
-pkgver=2012.06.28
-pkgrel=1
+pkgver=2012.07.5
+pkgrel=2
pkgdesc="System initialization/bootup scripts (Parabola branding)"
arch=('any')
url="https://parabolagnulinux.org"
@@ -21,12 +21,19 @@ optdepends=('bridge-utils: Network bridging support'
makedepends=(asciidoc)
install=initscripts.install
source=("https://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.xz"
+ 0001-remove-run-nologin-before-leaving-rc.multi.patch
'wireless.conf.d')
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np1 <"$srcdir/0001-remove-run-nologin-before-leaving-rc.multi.patch"
+}
+
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -D -m644 ${srcdir}/wireless.conf.d ${pkgdir}/etc/conf.d/wireless
}
-md5sums=('21651eaba1fd34542c78f39c755cd171'
+md5sums=('c95c3cd09975414fbb6719e4222ff74b'
+ '87f02d111e0c613dd9fc61a9613f9c92'
'027576534885b8d5dded9be546057b12')