[arch-commits] Commit in initscripts/repos (8 files)
Tom Gundersen
tomegun at archlinux.org
Fri Jul 6 00:29:43 UTC 2012
Date: Thursday, July 5, 2012 @ 20:29:43
Author: tomegun
Revision: 163026
db-move: moved initscripts from [testing] to [core] ( any)
Added:
initscripts/repos/core-any/0001-remove-run-nologin-before-leaving-rc.multi.patch
(from rev 163025, initscripts/repos/testing-any/0001-remove-run-nologin-before-leaving-rc.multi.patch)
initscripts/repos/core-any/PKGBUILD
(from rev 163025, initscripts/repos/testing-any/PKGBUILD)
initscripts/repos/core-any/initscripts.install
(from rev 163025, initscripts/repos/testing-any/initscripts.install)
initscripts/repos/core-any/wireless.conf.d
(from rev 163025, initscripts/repos/testing-any/wireless.conf.d)
Deleted:
initscripts/repos/core-any/PKGBUILD
initscripts/repos/core-any/initscripts.install
initscripts/repos/core-any/wireless.conf.d
initscripts/repos/testing-any/
-------------------------------------------------------+
0001-remove-run-nologin-before-leaving-rc.multi.patch | 29 ++++++
PKGBUILD | 69 ++++++++--------
initscripts.install | 38 ++++----
wireless.conf.d | 24 ++---
4 files changed, 98 insertions(+), 62 deletions(-)
Copied: initscripts/repos/core-any/0001-remove-run-nologin-before-leaving-rc.multi.patch (from rev 163025, initscripts/repos/testing-any/0001-remove-run-nologin-before-leaving-rc.multi.patch)
===================================================================
--- core-any/0001-remove-run-nologin-before-leaving-rc.multi.patch (rev 0)
+++ core-any/0001-remove-run-nologin-before-leaving-rc.multi.patch 2012-07-06 00:29:43 UTC (rev 163026)
@@ -0,0 +1,29 @@
+From 55bd14c586f0f64b8ee5515161be1aa1098d3226 Mon Sep 17 00:00:00 2001
+From: Dave Reisner <dreisner at archlinux.org>
+Date: Tue, 3 Jul 2012 22:28:05 -0400
+Subject: [initscripts][PATCH] remove /run/nologin before leaving rc.multi
+To: arch-projects at 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 at archlinux.org>
+Signed-off-by: Dave Reisner <dreisner at 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
+
Deleted: core-any/PKGBUILD
===================================================================
--- core-any/PKGBUILD 2012-07-05 23:25:55 UTC (rev 163025)
+++ core-any/PKGBUILD 2012-07-06 00:29:43 UTC (rev 163026)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Tom Gundersen <teg at jklm.no>
-# Contributor: Thomas Bächler <thomas at archlinux.org>
-# Contributor: Aaron Griffin <aaron at archlinux.org>
-
-pkgname=initscripts
-pkgver=2012.06.3
-pkgrel=1
-pkgdesc="System initialization/bootup scripts"
-arch=('any')
-url="http://www.archlinux.org"
-license=('GPL2')
-groups=('base')
-backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown etc/conf.d/wireless)
-depends=('glibc' 'bash' 'coreutils' 'systemd-tools' 'iproute2' 'ncurses' 'findutils' 'sysvinit')
-optdepends=('bridge-utils: Network bridging support'
- 'dhcpcd: DHCP network configuration'
- 'net-tools: legacy network support'
- 'wireless_tools: Wireless networking')
-makedepends=(asciidoc)
-install=initscripts.install
-source=("ftp://ftp.archlinux.org/other/initscripts/${pkgname}-${pkgver}.tar.xz"
- 'wireless.conf.d')
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- install -D -m644 ${srcdir}/wireless.conf.d ${pkgdir}/etc/conf.d/wireless
-}
-md5sums=('34493c768b587ac59c6ee7e14f275c1d'
- '027576534885b8d5dded9be546057b12')
Copied: initscripts/repos/core-any/PKGBUILD (from rev 163025, initscripts/repos/testing-any/PKGBUILD)
===================================================================
--- core-any/PKGBUILD (rev 0)
+++ core-any/PKGBUILD 2012-07-06 00:29:43 UTC (rev 163026)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Thomas Bächler <thomas at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=initscripts
+pkgver=2012.06.3
+pkgrel=2
+pkgdesc="System initialization/bootup scripts"
+arch=('any')
+url="http://www.archlinux.org"
+license=('GPL2')
+groups=('base')
+backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown etc/conf.d/wireless)
+depends=('glibc' 'bash' 'coreutils' 'systemd-tools' 'iproute2' 'ncurses' 'findutils' 'sysvinit')
+optdepends=('bridge-utils: Network bridging support'
+ 'dhcpcd: DHCP network configuration'
+ 'net-tools: legacy network support'
+ 'wireless_tools: Wireless networking')
+makedepends=(asciidoc)
+install=initscripts.install
+source=("ftp://ftp.archlinux.org/other/initscripts/${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=('34493c768b587ac59c6ee7e14f275c1d'
+ 'ba32b9d723c20b38487669fb3c00d3d5'
+ '027576534885b8d5dded9be546057b12')
Deleted: core-any/initscripts.install
===================================================================
--- core-any/initscripts.install 2012-07-05 23:25:55 UTC (rev 163025)
+++ core-any/initscripts.install 2012-07-06 00:29:43 UTC (rev 163026)
@@ -1,19 +0,0 @@
-post_upgrade() {
- if [ "$(vercmp $2 2009.07)" -lt 0 ]; then
- echo "==> Adjusting /etc/inittab for transition to /dev/tty standard."
- echo "==> Original file saved as /etc/inittab.pacsave"
- sed -i'.pacsave' 's#vc/\([0-9]\)#tty\1#' /etc/inittab
- fi
- if [ "$(vercmp $2 2011.06.1)" -lt 0 ]; then
- echo "Blacklisting of modules is no longer supported in rc.conf,"
- echo "please add blacklist entries to /etc/modprobe.d/ instead."
- fi
- if [ "$(vercmp $2 2011.07.2)" -lt 0 ]; then
- echo "VERBOSE= in rc.conf no longer has any effect."
- echo "Please append 'quiet' to your kernel command line."
- fi
- if [ "$(vercmp $2 2011.10.1)" -lt 0 ]; then
- echo "If using non-bash-compatible shell, please set LANG in /etc/locale.conf,"
- echo "as LOCALE in /etc/rc.conf no longer works."
- fi
-}
Copied: initscripts/repos/core-any/initscripts.install (from rev 163025, initscripts/repos/testing-any/initscripts.install)
===================================================================
--- core-any/initscripts.install (rev 0)
+++ core-any/initscripts.install 2012-07-06 00:29:43 UTC (rev 163026)
@@ -0,0 +1,19 @@
+post_upgrade() {
+ if [ "$(vercmp $2 2009.07)" -lt 0 ]; then
+ echo "==> Adjusting /etc/inittab for transition to /dev/tty standard."
+ echo "==> Original file saved as /etc/inittab.pacsave"
+ sed -i'.pacsave' 's#vc/\([0-9]\)#tty\1#' /etc/inittab
+ fi
+ if [ "$(vercmp $2 2011.06.1)" -lt 0 ]; then
+ echo "Blacklisting of modules is no longer supported in rc.conf,"
+ echo "please add blacklist entries to /etc/modprobe.d/ instead."
+ fi
+ if [ "$(vercmp $2 2011.07.2)" -lt 0 ]; then
+ echo "VERBOSE= in rc.conf no longer has any effect."
+ echo "Please append 'quiet' to your kernel command line."
+ fi
+ if [ "$(vercmp $2 2011.10.1)" -lt 0 ]; then
+ echo "If using non-bash-compatible shell, please set LANG in /etc/locale.conf,"
+ echo "as LOCALE in /etc/rc.conf no longer works."
+ fi
+}
Deleted: core-any/wireless.conf.d
===================================================================
--- core-any/wireless.conf.d 2012-07-05 23:25:55 UTC (rev 163025)
+++ core-any/wireless.conf.d 2012-07-06 00:29:43 UTC (rev 163026)
@@ -1,12 +0,0 @@
-#
-# Settings for wireless cards
-#
-# For each wireless interface declared in INTERFACES (in rc.conf), declare
-# a wlan_${IF} variable that contains the arguments to be passed to
-# iwconfig(8). Then list the original interface name in the
-# WLAN_INTERFACES array.
-#
-
-#wlan_eth0="eth0 mode managed essid default"
-#WLAN_INTERFACES=(eth0)
-
Copied: initscripts/repos/core-any/wireless.conf.d (from rev 163025, initscripts/repos/testing-any/wireless.conf.d)
===================================================================
--- core-any/wireless.conf.d (rev 0)
+++ core-any/wireless.conf.d 2012-07-06 00:29:43 UTC (rev 163026)
@@ -0,0 +1,12 @@
+#
+# Settings for wireless cards
+#
+# For each wireless interface declared in INTERFACES (in rc.conf), declare
+# a wlan_${IF} variable that contains the arguments to be passed to
+# iwconfig(8). Then list the original interface name in the
+# WLAN_INTERFACES array.
+#
+
+#wlan_eth0="eth0 mode managed essid default"
+#WLAN_INTERFACES=(eth0)
+
More information about the arch-commits
mailing list