Date: Tuesday, July 3, 2012 @ 22:37:59
  Author: dreisner
Revision: 162951

archrelease: copy trunk to testing-any

Added:
  initscripts/repos/testing-any/
  
initscripts/repos/testing-any/0001-remove-run-nologin-before-leaving-rc.multi.patch
    (from rev 162950, 
initscripts/trunk/0001-remove-run-nologin-before-leaving-rc.multi.patch)
  initscripts/repos/testing-any/PKGBUILD
    (from rev 162950, initscripts/trunk/PKGBUILD)
  initscripts/repos/testing-any/initscripts.install
    (from rev 162950, initscripts/trunk/initscripts.install)
  initscripts/repos/testing-any/wireless.conf.d
    (from rev 162950, initscripts/trunk/wireless.conf.d)

-------------------------------------------------------+
 0001-remove-run-nologin-before-leaving-rc.multi.patch |   29 ++++++++++++
 PKGBUILD                                              |   38 ++++++++++++++++
 initscripts.install                                   |   19 ++++++++
 wireless.conf.d                                       |   12 +++++
 4 files changed, 98 insertions(+)

Copied: 
initscripts/repos/testing-any/0001-remove-run-nologin-before-leaving-rc.multi.patch
 (from rev 162950, 
initscripts/trunk/0001-remove-run-nologin-before-leaving-rc.multi.patch)
===================================================================
--- testing-any/0001-remove-run-nologin-before-leaving-rc.multi.patch           
                (rev 0)
+++ testing-any/0001-remove-run-nologin-before-leaving-rc.multi.patch   
2012-07-04 02:37:59 UTC (rev 162951)
@@ -0,0 +1,29 @@
+From 55bd14c586f0f64b8ee5515161be1aa1098d3226 Mon Sep 17 00:00:00 2001
+From: Dave Reisner <[email protected]>
+Date: Tue, 3 Jul 2012 22:28:05 -0400
+Subject: [initscripts][PATCH] remove /run/nologin before leaving rc.multi
+To: [email protected]
+
+systemd-186 writes this file when running systemd-tmpfiles, but
+initscripts never removes it. This disallows all non-root logins.
+
+Reported-by: Dan McGee <[email protected]>
+Signed-off-by: Dave Reisner <[email protected]>
+---
+ 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
+

Copied: initscripts/repos/testing-any/PKGBUILD (from rev 162950, 
initscripts/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD                                (rev 0)
+++ testing-any/PKGBUILD        2012-07-04 02:37:59 UTC (rev 162951)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Tom Gundersen <[email protected]>
+# Contributor: Thomas Bächler <[email protected]>
+# Contributor: Aaron Griffin <[email protected]>
+
+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')

Copied: initscripts/repos/testing-any/initscripts.install (from rev 162950, 
initscripts/trunk/initscripts.install)
===================================================================
--- testing-any/initscripts.install                             (rev 0)
+++ testing-any/initscripts.install     2012-07-04 02:37:59 UTC (rev 162951)
@@ -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
+}

Copied: initscripts/repos/testing-any/wireless.conf.d (from rev 162950, 
initscripts/trunk/wireless.conf.d)
===================================================================
--- testing-any/wireless.conf.d                         (rev 0)
+++ testing-any/wireless.conf.d 2012-07-04 02:37:59 UTC (rev 162951)
@@ -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)
+

Reply via email to