summaryrefslogtreecommitdiffstats
path: root/abs/core/sysvinit/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-12-02 18:13:52 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-12-02 18:13:52 (GMT)
commitb0043b3d2e43f154d7a4d48db95ef59f2d504fdd (patch)
tree4e97b5035c6f74b38c7651a7d7e1e6e04ed54a94 /abs/core/sysvinit/PKGBUILD
parent1f1fba61439753f571b1a6d39086143804326d8a (diff)
downloadlinhes_pkgbuild-b0043b3d2e43f154d7a4d48db95ef59f2d504fdd.zip
linhes_pkgbuild-b0043b3d2e43f154d7a4d48db95ef59f2d504fdd.tar.gz
linhes_pkgbuild-b0043b3d2e43f154d7a4d48db95ef59f2d504fdd.tar.bz2
sysvinit: patched to allow reboot/shutdown using binary names of poweroff.init and reboot.init
Diffstat (limited to 'abs/core/sysvinit/PKGBUILD')
-rw-r--r--abs/core/sysvinit/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/abs/core/sysvinit/PKGBUILD b/abs/core/sysvinit/PKGBUILD
index 56d779f..110d93c 100644
--- a/abs/core/sysvinit/PKGBUILD
+++ b/abs/core/sysvinit/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=sysvinit
pkgver=2.88
-pkgrel=2
+pkgrel=3
pkgdesc="Linux System V Init"
arch=('i686' 'x86_64')
url="http://savannah.nongnu.org/projects/sysvinit"
@@ -12,12 +12,11 @@ license=('GPL')
groups=('base')
depends=('shadow' 'util-linux' 'coreutils' 'glibc' 'awk')
install=sysvinit.install
-source=(http://download.savannah.gnu.org/releases/sysvinit/${pkgname}-${pkgver}dsf.tar.bz2)
-md5sums=('6eda8a97b86e0a6f59dabbf25202aa6f')
-sha1sums=('f2ca149df1314a91f3007cccd7a0aa47d990de26')
+source=(http://download.savannah.gnu.org/releases/sysvinit/${pkgname}-${pkgver}dsf.tar.bz2 halt-init.patch)
build() {
cd "${srcdir}/${pkgname}-${pkgver}dsf"
+ patch -p0 < ${srcdir}/halt-init.patch
make || return 1
}
@@ -25,3 +24,5 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}dsf"
make ROOT="${pkgdir}" install
}
+md5sums=('6eda8a97b86e0a6f59dabbf25202aa6f'
+ 'cd4c5767f63ca5881e3e1f1c4f10f896')