summaryrefslogtreecommitdiff
path: root/community/keepalived
diff options
context:
space:
mode:
Diffstat (limited to 'community/keepalived')
-rw-r--r--community/keepalived/ip_vs_moved.patch23
-rw-r--r--community/keepalived/keepalived.conf16
-rw-r--r--community/keepalived/keepalived.rc38
3 files changed, 0 insertions, 77 deletions
diff --git a/community/keepalived/ip_vs_moved.patch b/community/keepalived/ip_vs_moved.patch
deleted file mode 100644
index e27873810..000000000
--- a/community/keepalived/ip_vs_moved.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- keepalived-1.2.2/configure 2011-01-06 01:51:33.000000000 +0100
-+++ keepalived-1.2.2.orig/configure 2011-11-24 19:36:32.051486626 +0100
-@@ -3973,7 +3973,7 @@
-
- IPVS_SUPPORT="_WITHOUT_LVS_"
- if test "$enable_lvs" != "no"; then
-- ac_fn_c_check_header_mongrel "$LINENO" "net/ip_vs.h" "ac_cv_header_net_ip_vs_h" "$ac_includes_default"
-+ ac_fn_c_check_header_mongrel "$LINENO" "linux/ip_vs.h" "ac_cv_header_net_ip_vs_h" "$ac_includes_default"
- if test "x$ac_cv_header_net_ip_vs_h" = x""yes; then :
- IPVS_SUPPORT="_WITH_LVS_"
- else
-diff -ru keepalived-1.2.2/configure.in keepalived-1.2.2.orig/configure.in
---- keepalived-1.2.2/configure.in 2011-01-06 01:51:30.000000000 +0100
-+++ keepalived-1.2.2.orig/configure.in 2011-11-24 19:36:11.797860077 +0100
-@@ -124,7 +124,7 @@
- dnl ----[ Checks for LVS and VRRP support ]----
- IPVS_SUPPORT="_WITHOUT_LVS_"
- if test "$enable_lvs" != "no"; then
-- AC_CHECK_HEADER([net/ip_vs.h],
-+ AC_CHECK_HEADER([linux/ip_vs.h],
- [IPVS_SUPPORT="_WITH_LVS_"],
- [
- IPVS_SUPPORT="_WITHOUT_LVS_"
diff --git a/community/keepalived/keepalived.conf b/community/keepalived/keepalived.conf
deleted file mode 100644
index 225f02bf9..000000000
--- a/community/keepalived/keepalived.conf
+++ /dev/null
@@ -1,16 +0,0 @@
-# vim:set ts=2 sw=2 ft=sh et:
-# Options for keepalived. See `keepalived --help' output and keepalived(8) and
-# keepalived.conf(5) man pages for a list of all options. Here are the most
-# common ones :
-#
-# --vrrp -P Only run with VRRP subsystem.
-# --check -C Only run with Health-checker subsystem.
-# --dont-release-vrrp -V Dont remove VRRP VIPs & VROUTEs on daemon stop.
-# --dont-release-ipvs -I Dont remove IPVS topology on daemon stop.
-# --dump-conf -d Dump the configuration data.
-# --log-detail -D Detailed log messages.
-# --log-facility -S 0-7 Set local syslog facility (default=LOG_DAEMON)
-#
-
-DAEMON_OPTS='-D'
-
diff --git a/community/keepalived/keepalived.rc b/community/keepalived/keepalived.rc
deleted file mode 100644
index 0ecfc7ded..000000000
--- a/community/keepalived/keepalived.rc
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/${0##*/}
-
-DAEMON=/usr/sbin/keepalived
-PID=$(pidof -o %PPID $DAEMON)
-
-case "$1" in
- start)
- stat_busy "Starting ${0##*/} daemon"
- [[ ! $PID ]] && $DAEMON $DAEMON_OPTS && add_daemon ${0##*/} && stat_done && exit 0
- stat_fail
- ;;
- stop)
- stat_busy "Stopping ${0##*/} daemon"
- [[ $PID ]] && kill $PID &> /dev/null && rm_daemon ${0##*/} && stat_done && exit 0
- stat_fail
- ;;
- restart)
- $0 stop
- $0 start
- exit 0
- ;;
- reload)
- stat_busy "Reloading ${0##*/} daemon"
- [[ $PID ]] && kill -HUP $PID &> /dev/null && stat_done && exit 0
- stat_fail
- ;;
- *)
- echo "usage: ${0##*/} {start|stop|restart|reload}" >&2
- ;;
-esac
-
-exit 1
-
-# vim:set ts=2 sw=2 ft=sh et: