aboutsummaryrefslogtreecommitdiffstats
path: root/main/openrc/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-06 10:33:21 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-06 10:33:21 +0000
commit3c9381442cb2cf40402d98e863cfe19ccb83d1a0 (patch)
tree98077c2090f62b3a9aeb1a6252ccd4aeaf10d018 /main/openrc/APKBUILD
parentcccd5e0e91e3fd71dbc2d4258256cdcb10feaf98 (diff)
downloadaports-3c9381442cb2cf40402d98e863cfe19ccb83d1a0.tar.bz2
aports-3c9381442cb2cf40402d98e863cfe19ccb83d1a0.tar.xz
main/openrc: upgrade to 0.6.0
Diffstat (limited to 'main/openrc/APKBUILD')
-rw-r--r--main/openrc/APKBUILD22
1 files changed, 12 insertions, 10 deletions
diff --git a/main/openrc/APKBUILD b/main/openrc/APKBUILD
index e1b6c99d38..88cab44d79 100644
--- a/main/openrc/APKBUILD
+++ b/main/openrc/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openrc
-pkgver=0.5.0
-pkgrel=13
+pkgver=0.6.0
+pkgrel=0
pkgdesc="OpenRC manages the services, startup and shutdown of a host"
url="http://roy.marples.name/openrc"
license='BSD-2'
@@ -9,10 +9,7 @@ depends=""
subpackages="$pkgname-doc $pkgname-dev"
install="$pkgname.post-install $pkgname.post-upgrade"
source="http://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.bz2
- dont-provide-ourself.patch
- command-line-size-fix.patch
openrc-0.4.3-mkmntdirs.patch
- openrc-hwclock.patch
localmount.patch
hostname.initd
hwdrivers.initd
@@ -23,19 +20,27 @@ source="http://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.bz2
local.start
"
-build() {
+prepare() {
cd "$srcdir/$pkgname-$pkgver"
for i in ../*.patch; do
msg "Applying $i..."
patch -p1 < $i || return 1
done
+}
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
make || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
# we cannot have anything turned on by default
rm -f "$pkgdir"/etc/runlevels/*/*
+ # we still use our ifup/ifdown based net config
rm -f "$pkgdir"/etc/conf.d/network "$pkgdir"/etc/init.d/network
# we override some of the scripts
@@ -47,11 +52,8 @@ build() {
install -Dm644 ../local.start "$pkgdir"/etc/conf.d/local.start
}
-md5sums="9ec7f8425e12abbbd0f7a962aae3fa3c openrc-0.5.0.tar.bz2
-1bb9c2aec9243a781191efcfc68df8c9 dont-provide-ourself.patch
-396b1cbd399403ba0448402afc6f9220 command-line-size-fix.patch
+md5sums="2b30959bc68595cdf389cb9f62105ec6 openrc-0.6.0.tar.bz2
8c2c1c2ee0509b63966b7187a2079f4b openrc-0.4.3-mkmntdirs.patch
-f462c976b04cfbb35b2335be15eee7f6 openrc-hwclock.patch
fa1809cd59cc0559a163bc6adc7398f6 localmount.patch
c32e15b0858eef708497e7ee6355a055 hostname.initd
b1e64885f301166df30be3e3cf5338ff hwdrivers.initd