diff options
author | root <root@rshg054.dnsready.net> | 2012-02-24 23:15:21 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-24 23:15:21 +0000 |
commit | 299e917c17619f800f0c21cf43209065b608223f (patch) | |
tree | e175a7bbdb5d933670f10b09f1cc52ece45ced87 /community/ipvsadm | |
parent | d466ef49f224a9347fe0375eac8126725e10a0a4 (diff) |
Fri Feb 24 23:15:21 UTC 2012
Diffstat (limited to 'community/ipvsadm')
-rw-r--r-- | community/ipvsadm/01-fix-not-showing-all-server.patch | 24 | ||||
-rw-r--r-- | community/ipvsadm/PKGBUILD | 15 |
2 files changed, 33 insertions, 6 deletions
diff --git a/community/ipvsadm/01-fix-not-showing-all-server.patch b/community/ipvsadm/01-fix-not-showing-all-server.patch new file mode 100644 index 000000000..dea23bf76 --- /dev/null +++ b/community/ipvsadm/01-fix-not-showing-all-server.patch @@ -0,0 +1,24 @@ +diff -urN ipvsadm-1.26.vanilla/libipvs/ip_vs.h ipvsadm-1.26/libipvs/ip_vs.h +--- ipvsadm-1.26.vanilla/libipvs/ip_vs.h 2011-02-06 18:38:57.000000000 -0800 ++++ ipvsadm-1.26/libipvs/ip_vs.h 2011-08-23 15:03:59.000000000 -0700 +@@ -413,7 +413,7 @@ + __IPVS_CMD_ATTR_MAX, + }; + +-#define IPVS_CMD_ATTR_MAX (__IPVS_SVC_ATTR_MAX - 1) ++#define IPVS_CMD_ATTR_MAX (__IPVS_CMD_ATTR_MAX - 1) + + /* + * Attributes used to describe a service +diff -urN ipvsadm-1.26.vanilla/libipvs/ip_vs_nl_policy.c +ipvsadm-1.26/libipvs/ip_vs_nl_policy.c +--- ipvsadm-1.26.vanilla/libipvs/ip_vs_nl_policy.c 2008-09-18 +08:57:37.000000000 -0700 ++++ ipvsadm-1.26/libipvs/ip_vs_nl_policy.c 2011-08-23 14:45:34.000000000 -0700 +@@ -26,6 +26,8 @@ + [IPVS_SVC_ATTR_TIMEOUT] = { .type = NLA_U32 }, + [IPVS_SVC_ATTR_NETMASK] = { .type = NLA_U32 }, + [IPVS_SVC_ATTR_STATS] = { .type = NLA_NESTED }, ++ [IPVS_SVC_ATTR_PE_NAME] = { .type = NLA_STRING, ++ .maxlen = IP_VS_PENAME_MAXLEN}, + }; diff --git a/community/ipvsadm/PKGBUILD b/community/ipvsadm/PKGBUILD index b197164c0..94a0e668c 100644 --- a/community/ipvsadm/PKGBUILD +++ b/community/ipvsadm/PKGBUILD @@ -1,28 +1,31 @@ -# $Id$ -# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net> +# $Id: PKGBUILD 66312 2012-02-23 14:03:04Z allan $ +# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> # Contributor: Judd Vinet <jvinet@zeroflux.org> pkgname=ipvsadm pkgver=1.26 -pkgrel=1 +pkgrel=3 pkgdesc='The IP Virtual Server administration utility' arch=('i686' 'x86_64') url='http://www.linuxvirtualserver.org/software/ipvs.html' license=('GPL2') -depends=('libnl' 'popt') +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') + 'ipvsadm.rules' + '01-fix-not-showing-all-server.patch') md5sums=('eac3ba3f62cd4dea2da353aeddd353a8' '0e106fce0675e014bea0f9355b947bd6' 'cd358130967a9cc0d31fc61282df43e7' - 'cd6649c647e495d4d6f981542ce5a93b') + 'cd6649c647e495d4d6f981542ce5a93b' + '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." || return 1 } |