diff options
author | root <root@rshg054.dnsready.net> | 2012-02-17 19:20:30 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-17 19:20:30 +0000 |
commit | 4fc59478d1180fd7984003f5b1645fe40954299f (patch) | |
tree | 35f3d7dada2cfcb8194cdaed447c431664746934 /community-testing/ipvsadm/PKGBUILD | |
parent | 76774d40da5ce246c9f2178fdf937706d99af4b2 (diff) |
Fri Feb 17 19:20:30 UTC 2012
Diffstat (limited to 'community-testing/ipvsadm/PKGBUILD')
-rw-r--r-- | community-testing/ipvsadm/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community-testing/ipvsadm/PKGBUILD b/community-testing/ipvsadm/PKGBUILD new file mode 100644 index 000000000..407487a23 --- /dev/null +++ b/community-testing/ipvsadm/PKGBUILD @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> +# Contributor: Judd Vinet <jvinet@zeroflux.org> + +pkgname=ipvsadm +pkgver=1.26 +pkgrel=2 +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/conf.d/ipvsadm') +#options=('!makeflags') +source=("http://www.linuxvirtualserver.org/software/kernel-2.6/$pkgname-$pkgver.tar.gz" + 'ipvsadm.rc' + 'ipvsadm.conf' + 'ipvsadm.rules') +md5sums=('eac3ba3f62cd4dea2da353aeddd353a8' + '0e106fce0675e014bea0f9355b947bd6' + 'cd358130967a9cc0d31fc61282df43e7' + 'cd6649c647e495d4d6f981542ce5a93b') + +build() { + cd ${pkgname}-${pkgver} + make INCLUDE="-I/usr/src/linux-`uname -r`/include -I.. -I." || return 1 +} + +package() { + cd ${pkgname}-${pkgver} + make BUILD_ROOT=${pkgdir} MANDIR=usr/share/man INIT="$pkgdir/etc/rc.d" install + cd "$srcdir" + # add initscripts + install -D -m 755 $pkgname.rc "${pkgdir}/etc/rc.d/$pkgname" + install -D -m 644 $pkgname.conf "${pkgdir}/etc/conf.d/$pkgname" + # add ipvsadm rules + install -D -m 644 $pkgname.rules "${pkgdir}/etc/$pkgname.rules" +} + +# vim:set ts=2 sw=2 ft=sh et: |