diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-24 02:47:13 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-24 02:47:13 (GMT) |
commit | 041abdee8e8a838b73c9a2582ead51e5b02e22b0 (patch) | |
tree | 11b5c0f50e3cdcdec90b500feac9558fd4a5a968 /abs/core | |
parent | 61d3814f3177b1eb381c98aed3a74500a1972d96 (diff) | |
download | linhes_pkgbuild-041abdee8e8a838b73c9a2582ead51e5b02e22b0.zip linhes_pkgbuild-041abdee8e8a838b73c9a2582ead51e5b02e22b0.tar.gz linhes_pkgbuild-041abdee8e8a838b73c9a2582ead51e5b02e22b0.tar.bz2 |
sysvinit: upgrade
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/sysvinit/PKGBUILD | 37 | ||||
-rw-r--r-- | abs/core/sysvinit/sysvinit.install | 3 |
2 files changed, 22 insertions, 18 deletions
diff --git a/abs/core/sysvinit/PKGBUILD b/abs/core/sysvinit/PKGBUILD index 6fbb3cd..56d779f 100644 --- a/abs/core/sysvinit/PKGBUILD +++ b/abs/core/sysvinit/PKGBUILD @@ -1,26 +1,27 @@ +# $Id: PKGBUILD 92996 2010-10-02 19:26:38Z eric $ +# Maintainer: Eric Belanger <eric@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + pkgname=sysvinit -pkgver=2.86 -pkgrel=12 +pkgver=2.88 +pkgrel=2 pkgdesc="Linux System V Init" -arch=(i686 x86_64) +arch=('i686' 'x86_64') +url="http://savannah.nongnu.org/projects/sysvinit" license=('GPL') groups=('base') depends=('shadow' 'util-linux' 'coreutils' 'glibc' 'awk') -source=(ftp://ftp.cistron.nl/pub/people/miquels/$pkgname/$pkgname-$pkgver.tar.gz halt-init.patch) -md5sums=('7d5d61c026122ab791ac04c8a84db967') +install=sysvinit.install +source=(http://download.savannah.gnu.org/releases/sysvinit/${pkgname}-${pkgver}dsf.tar.bz2) +md5sums=('6eda8a97b86e0a6f59dabbf25202aa6f') +sha1sums=('f2ca149df1314a91f3007cccd7a0aa47d990de26') build() { - cd $startdir/src/$pkgname-$pkgver - cp src/init.c src/init.c.backup - cp $startdir/src/halt-init.patch src/ - patch -p0 < src/halt-init.patch - sed 's/\(.*\)\(Sending processes\)\(.*\)/\1\2 started by init\3/' \ - src/init.c > tmp~ - mv tmp~ src/init.c - mkdir -p $startdir/pkg/bin $startdir/pkg/sbin - mkdir -p $startdir/pkg/usr/bin - mkdir -p $startdir/pkg/usr/man/man5 $startdir/pkg/usr/man/man8 - mkdir -p $startdir/pkg/usr/man/man1 $startdir/pkg/usr/include - make -C src || return 1 - make -C src MANDIR=/usr/man ROOT=$startdir/pkg install + cd "${srcdir}/${pkgname}-${pkgver}dsf" + make || return 1 +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}dsf" + make ROOT="${pkgdir}" install } diff --git a/abs/core/sysvinit/sysvinit.install b/abs/core/sysvinit/sysvinit.install new file mode 100644 index 0000000..2f0e62e --- /dev/null +++ b/abs/core/sysvinit/sysvinit.install @@ -0,0 +1,3 @@ +post_upgrade() { + [ -x sbin/init ] && sbin/init u +} |