[arch-commits] Commit in initscripts/repos (3 files)
Tom Gundersen
tomegun at archlinux.org
Fri Aug 3 23:21:44 UTC 2012
Date: Friday, August 3, 2012 @ 19:21:44
Author: tomegun
Revision: 164711
archrelease: copy trunk to testing-any
Added:
initscripts/repos/testing-any/
initscripts/repos/testing-any/PKGBUILD
(from rev 164710, initscripts/trunk/PKGBUILD)
initscripts/repos/testing-any/initscripts.install
(from rev 164710, initscripts/trunk/initscripts.install)
---------------------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
initscripts.install | 24 ++++++++++++++++++++++++
2 files changed, 55 insertions(+)
Copied: initscripts/repos/testing-any/PKGBUILD (from rev 164710, initscripts/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2012-08-03 23:21:44 UTC (rev 164711)
@@ -0,0 +1,31 @@
+# $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.08.1
+pkgrel=1
+pkgdesc="System initialization/bootup scripts"
+arch=('any')
+url="http://www.archlinux.org"
+license=('GPL2')
+groups=('base')
+provides=('initscripts-systemd')
+conflicts=('initscripts-systemd')
+replaces=('initscripts-systemd')
+backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown)
+depends=('glibc' 'bash' 'coreutils' 'systemd-tools' 'iproute2' 'ncurses' 'findutils' 'sysvinit')
+optdepends=('dhcpcd: DHCP network configuration'
+ 'bridge-utils: Legacy network bridging support'
+ 'net-tools: Legacy network support'
+ 'wireless_tools: Legacy wireless networking')
+makedepends=(asciidoc)
+install=initscripts.install
+source=("ftp://ftp.archlinux.org/other/initscripts/${pkgname}-${pkgver}.tar.xz")
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
+md5sums=('e9b5572ae04c7481e18b1b903b20f230')
Copied: initscripts/repos/testing-any/initscripts.install (from rev 164710, initscripts/trunk/initscripts.install)
===================================================================
--- testing-any/initscripts.install (rev 0)
+++ testing-any/initscripts.install 2012-08-03 23:21:44 UTC (rev 164711)
@@ -0,0 +1,24 @@
+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
+ if [ "$(vercmp $2 2012.08.1)" -lt 0 ]; then
+ echo "initscripts now ships a compatibility layer to make systemd use MODULES and"
+ echo "DAEMONS from rc.conf; and run rc.local and rc.local.shutdown on boot and"
+ echo "shutdown, respectively."
+ fi
+}
More information about the arch-commits
mailing list