aboutsummaryrefslogtreecommitdiffstats
path: root/testing/keepalived/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-09-10 06:11:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-10 06:11:15 +0000
commit5012dcc3a9e7caf8b68ec46ab604592a2f94503d (patch)
tree2304aba851914ffa741df9f0f3bc63dfa82e2465 /testing/keepalived/APKBUILD
parentfc47fa246da5be9e81eac59ea90751aa75fd14ed (diff)
downloadaports-5012dcc3a9e7caf8b68ec46ab604592a2f94503d.tar.bz2
aports-5012dcc3a9e7caf8b68ec46ab604592a2f94503d.tar.xz
testing/keepalived: claim ownership. remove sysv scripts
Diffstat (limited to 'testing/keepalived/APKBUILD')
-rw-r--r--testing/keepalived/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/testing/keepalived/APKBUILD b/testing/keepalived/APKBUILD
index e5a082f2c0..45a287590c 100644
--- a/testing/keepalived/APKBUILD
+++ b/testing/keepalived/APKBUILD
@@ -1,7 +1,8 @@
# Contributor: Pablo Castorino <pcastorino@mendoza-conicet.gob.ar>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=keepalived
pkgver=1.2.8
-pkgrel=0
+pkgrel=1
pkgdesc="Health Checking for Linux Virtual Server & High-Availability"
url="http://www.keepalived.org/"
arch="all"
@@ -14,7 +15,6 @@ source="http://www.keepalived.org/software/$pkgname-$pkgver.tar.gz
$pkgname.initd
$pkgname.confd
"
-# keepalived-1.1.20-ipvs_haeader_check.patch
_builddir="$srcdir"/$pkgname-$pkgver
@@ -44,10 +44,12 @@ build() {
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+
+ rm -r "$pkgdir"/etc/rc.d "$pkgdir"/etc/sysconfig
}
samples() {