summaryrefslogtreecommitdiff
path: root/community-testing/ipvsadm
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/ipvsadm')
-rw-r--r--community-testing/ipvsadm/01-fix-not-showing-all-server.patch24
-rw-r--r--community-testing/ipvsadm/PKGBUILD43
-rw-r--r--community-testing/ipvsadm/ipvsadm.conf3
-rw-r--r--community-testing/ipvsadm/ipvsadm.rc39
-rw-r--r--community-testing/ipvsadm/ipvsadm.rules1
5 files changed, 0 insertions, 110 deletions
diff --git a/community-testing/ipvsadm/01-fix-not-showing-all-server.patch b/community-testing/ipvsadm/01-fix-not-showing-all-server.patch
deleted file mode 100644
index dea23bf76..000000000
--- a/community-testing/ipvsadm/01-fix-not-showing-all-server.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-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-testing/ipvsadm/PKGBUILD b/community-testing/ipvsadm/PKGBUILD
deleted file mode 100644
index a72b397b2..000000000
--- a/community-testing/ipvsadm/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id: PKGBUILD 64696 2012-02-17 18:49:11Z seblu $
-# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
-# Contributor: Judd Vinet <jvinet@zeroflux.org>
-
-pkgname=ipvsadm
-pkgver=1.26
-pkgrel=3
-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'
- '01-fix-not-showing-all-server.patch')
-md5sums=('eac3ba3f62cd4dea2da353aeddd353a8'
- '0e106fce0675e014bea0f9355b947bd6'
- 'cd358130967a9cc0d31fc61282df43e7'
- '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
-}
-
-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:
diff --git a/community-testing/ipvsadm/ipvsadm.conf b/community-testing/ipvsadm/ipvsadm.conf
deleted file mode 100644
index aac7ba729..000000000
--- a/community-testing/ipvsadm/ipvsadm.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-# vim:set ts=2 sw=2 ft=sh et:
-
-IPVSADM_CONF='/etc/ipvsadm.rules'
diff --git a/community-testing/ipvsadm/ipvsadm.rc b/community-testing/ipvsadm/ipvsadm.rc
deleted file mode 100644
index 91ed32e3b..000000000
--- a/community-testing/ipvsadm/ipvsadm.rc
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/ipvsadm
-
-case "$1" in
- start)
- stat_busy 'Loading IPVS table'
- if [[ -f $IPVSADM_CONF ]] && /sbin/ipvsadm-restore < "$IPVSADM_CONF"; then
- add_daemon ipvsadm
- stat_done
- else
- stat_fail
- fi
- ;;
- stop)
- status 'Clearing IPVS table' /sbin/ipvsadm -C
- rm_daemon ipvsadm
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- save)
- stat_busy 'Saving IPVS table'
- if /sbin/ipvsadm-save -n > "$IPVSADM_CONF" 2>/dev/null; then
- stat_done
- else
- stat_fail
- fi
- ;;
- *)
- echo "usage: ${0##*/} {start|stop|restart|save}"
-esac
-exit 0
-
-# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community-testing/ipvsadm/ipvsadm.rules b/community-testing/ipvsadm/ipvsadm.rules
deleted file mode 100644
index 6740463a1..000000000
--- a/community-testing/ipvsadm/ipvsadm.rules
+++ /dev/null
@@ -1 +0,0 @@
-# emtpy rules file for ipvsadm