From 6036a2d9c147163e26c00c48c82290ef3eae848a Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Sat, 29 Jun 2013 20:22:03 +0200 Subject: aic: update packaging rules for release 2013.06.02 --- arch/PKGBUILD | 22 +++++++++++++--------- arch/initscripts.install | 29 +++++------------------------ 2 files changed, 18 insertions(+), 33 deletions(-) diff --git a/arch/PKGBUILD b/arch/PKGBUILD index 126a2cd..ef56d1e 100644 --- a/arch/PKGBUILD +++ b/arch/PKGBUILD @@ -5,13 +5,13 @@ # Contributor: Thomas Bächler # Contributor: Aaron Griffin # -# AUR initscripts-aic 2012-00-00 00:00:00Z +# AUR initscripts-aic 2013-06-10 12:28:50Z # Contributor: Adrian C. pkgname=initscripts-aic _gitname=initscripts -pkgver=2012.10.1 -pkgrel=1 +pkgver=2013.06.2 +pkgrel=2 pkgdesc="System initialization/bootup scripts" arch=('any') url="http://www.archlinux.org" @@ -28,16 +28,20 @@ optdepends=('dhcpcd: DHCP network configuration' 'sysvinit: Legacy init support') makedepends=(asciidoc) install=initscripts.install -# Upstream still fully compatible with sysvinit/sysvinit-tools -# - Nov 26, 22:44:40 CET 2012 -source=("ftp://ftp.archlinux.org/other/initscripts/${_gitname}-${pkgver}.tar.xz") -md5sums=('a4a747e73819b81f2218cf5b9bd53703') -#source=("http://git.sysphere.org/${_gitname}/snapshot/${_gitname}-${pkgver}.tar.xz") -#md5sums=('7904a09b578e44fd7dc4112e263bc278') +source=("http://git.sysphere.org/${_gitname}/snapshot/${_gitname}-${pkgver}.tar.xz") +md5sums=("e2f5f8b83b9ac995d3f9c77039228db4") package() { cd ${srcdir}/${_gitname}-${pkgver} + +# Build and install initscripts make DESTDIR=${pkgdir} install + + +# Cleanup systemd components +# - we do not want to conflict with another package, especially on +# files we have no use for + rm -rf ${pkgdir}/usr/lib } diff --git a/arch/initscripts.install b/arch/initscripts.install index 03519cb..7c1cad0 100644 --- a/arch/initscripts.install +++ b/arch/initscripts.install @@ -1,26 +1,7 @@ post_upgrade() { - 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 "----" - echo "> initscripts now ships a compatibility layer to make systemd use DAEMONS" - echo "> from rc.conf; and run rc.local and rc.local.shutdown on boot and" - echo "> shutdown, respectively. Refer to arch-modules-load(8) and arch-daemons(8)." - echo "----" - fi - if [ "$(vercmp $2 2012.10.1)" -lt 0 ]; then - echo "----" - echo "> systemd no longer reads MODULES from rc.conf." - echo "----" - fi + echo "----" + echo "> initscripts is now obsolete and unmaintained piece of code," + echo "> and this package provides a framework around SysV init for " + echo "> hobbyists and UNIX enthusiasts to boot their SysV systems." + echo "----" } -- cgit v1.2.3