summaryrefslogtreecommitdiff
path: root/community/ipvsadm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ipvsadm/PKGBUILD')
-rw-r--r--community/ipvsadm/PKGBUILD27
1 files changed, 11 insertions, 16 deletions
diff --git a/community/ipvsadm/PKGBUILD b/community/ipvsadm/PKGBUILD
index 42132b7b6..7e0f14a77 100644
--- a/community/ipvsadm/PKGBUILD
+++ b/community/ipvsadm/PKGBUILD
@@ -1,35 +1,31 @@
-# $Id: PKGBUILD 71320 2012-05-26 15:01:34Z seblu $
-# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
+# $Id: PKGBUILD 83590 2013-02-03 14:26:41Z seblu $
+# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=ipvsadm
pkgver=1.26
-pkgrel=5
+pkgrel=7
pkgdesc='The IP Virtual Server administration utility'
arch=('i686' 'x86_64')
url='http://www.linuxvirtualserver.org/software/ipvs.html'
license=('GPL2')
-depends=('libnl1' 'popt')
-backup=("etc/$pkgname.conf" "etc/conf.d/$pkgname")
+depends=('libnl1' 'popt' 'bash')
+backup=("etc/$pkgname.conf")
options=('!makeflags')
install=$pkgname.install
source=("http://www.linuxvirtualserver.org/software/kernel-2.6/$pkgname-$pkgver.tar.gz"
- "$pkgname.conf"
- "$pkgname.rc"
"$pkgname.systemd"
"$pkgname.service"
'01-fix-not-showing-all-server.patch')
md5sums=('eac3ba3f62cd4dea2da353aeddd353a8'
- 'b6cb7724aa6c61c3a9cdd40e8eaa973e'
- 'f2f4a7c6d57c5301c5f12f9b323fdea8'
- 'df28308873b437eeb55657f6aa438ecd'
+ 'b45ef25d384a7a68b51ff80d0fe81dd2'
'dc87684064f85b64c1e79c1eac336303'
'e9fb77d2fbe2d3f41d60257316338543')
build() {
cd $pkgname-$pkgver
patch -p1 -i ../01-fix-not-showing-all-server.patch
- make #INCLUDE="-I/usr/src/linux-$(uname -r)/include -I.. -I."
+ make
}
package() {
@@ -41,16 +37,15 @@ package() {
INIT="$pkgdir/etc/rc.d" \
install
popd
- # install initscripts
- install -Dm 755 $pkgname.rc "$pkgdir/etc/rc.d/$pkgname"
- install -Dm 644 $pkgname.conf "$pkgdir/etc/conf.d/$pkgname"
- # install systemd service
+ # systemd
install -Dm 755 $pkgname.systemd \
"$pkgdir/usr/lib/systemd/scripts/$pkgname"
install -Dm 644 $pkgname.service \
"$pkgdir/usr/lib/systemd/system/$pkgname.service"
+ # remove legacy init system
+ rm -rf "$pkgdir/etc/rc.d"
# default config file
install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf"
}
-# vim:set ts=2 sw=2 ft=sh et:
+# vim:set ts=2 sw=2 et: