aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-08-29 04:17:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-08-29 04:22:48 +0000
commit282710de7d09bec8633510f6776b801475ec7757 (patch)
tree8d7b2dd538c69043ae793c9ed406f9b55923e9bc
parent3662ca6f176a9e180234b16ff380eab62bb0649e (diff)
downloadaports-282710de7d09bec8633510f6776b801475ec7757.tar.bz2
aports-282710de7d09bec8633510f6776b801475ec7757.tar.xz
testing/ipvsadm: upgrade to 1.28
-rw-r--r--testing/ipvsadm/APKBUILD (renamed from unmaintained/ipvsadm/APKBUILD)21
-rw-r--r--testing/ipvsadm/ipvsadm.initd (renamed from unmaintained/ipvsadm/ipvsadm.initd)0
2 files changed, 11 insertions, 10 deletions
diff --git a/unmaintained/ipvsadm/APKBUILD b/testing/ipvsadm/APKBUILD
index 01a36b0011..dbd047ed74 100644
--- a/unmaintained/ipvsadm/APKBUILD
+++ b/testing/ipvsadm/APKBUILD
@@ -1,24 +1,25 @@
# Contributor: Leonardo Arena <rnalrd@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ipvsadm
-pkgver=1.27
-pkgrel=1
+pkgver=1.28
+pkgrel=0
pkgdesc="The IP Virtual Server administration utility"
url="http://www.linuxvirtualserver.org/software/ipvs.html"
arch="all"
license="GPL2"
depends=
depends_dev="libnl-dev popt-dev"
-makedepends="$depends_dev"
+makedepends="$depends_dev linux-headers"
install=
subpackages="$pkgname-doc"
source="https://kernel.org/pub/linux/utils/kernel/ipvsadm/$pkgname-$pkgver.tar.xz
$pkgname.initd"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
- make -j1 BUILD_ROOT="$pkgdir" \
+ cd "$builddir"
+ make libs && make BUILD_ROOT="$pkgdir" \
MANDIR=usr/share/man \
SBIN="$pkgdir/usr/sbin" \
INIT="$pkgdir/etc/init.d" \
@@ -26,7 +27,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make -j1 BUILD_ROOT="$pkgdir" \
MANDIR=usr/share/man \
SBIN="$pkgdir/usr/sbin" \
@@ -38,9 +39,9 @@ package() {
# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}
-md5sums="9decaaaad2fd637ed06cffd954e66cf3 ipvsadm-1.27.tar.xz
+md5sums="b2c8fa302d5a9e9ebd4f60dd34aecd83 ipvsadm-1.28.tar.xz
bebb015ea02ead2a84be2bd5af4eb74c ipvsadm.initd"
-sha256sums="d360fb4dcf591e0a8a918831e2c02b1dc03e3c17ee1e60d0d70de9455238b3f8 ipvsadm-1.27.tar.xz
+sha256sums="90e0e49cad5acb9db1c04ed4cdadf7933152a472c2f694039b9d7a291c37f3ab ipvsadm-1.28.tar.xz
d18d70c39d5dff6325b7e21fbd61485384b642b15a0dfee935ec9b7d4b9f0b66 ipvsadm.initd"
-sha512sums="cf982b7981674c91d1b7516de7b55cf378b306ce4a53e13976b8eeb8610015c4fa4aa9d251bc4d329db8e05c1862863160af2d3c63b76263f290087cffdf1b80 ipvsadm-1.27.tar.xz
+sha512sums="a1e10ce30751d9439f832e221e5c41b338f87dcc94a0b21329d908a9164f8882049af9d9d918b764b36c30e353d5b8db49d7088e60c24e4748713c06cccf7035 ipvsadm-1.28.tar.xz
43b2186f48f17d43524c1f4e9de06227c6d491845c466cf6f00214b74fcd5e181e8b855fef8c6fa78c62a924ee3cc3317099278f9656183de8678440bb070625 ipvsadm.initd"
diff --git a/unmaintained/ipvsadm/ipvsadm.initd b/testing/ipvsadm/ipvsadm.initd
index 17a4bfac5e..17a4bfac5e 100644
--- a/unmaintained/ipvsadm/ipvsadm.initd
+++ b/testing/ipvsadm/ipvsadm.initd