2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=http
://download.pureftpd.org
/pub
/ucarp
16 PKG_MD5SUM
:=723636dbf79fc6abd329a71ec4ddf79d
20 include $(INCLUDE_DIR
)/package.mk
25 TITLE
:=Lets several hosts share one IP
27 URL
:=http
://www.ucarp.org
/project
/ucarp
30 define Package
/ucarp
/description
31 ucarp allows a couple of hosts to share common virtual IP addresses in order
32 to provide automatic failover. It is a portable userland implementation of the
33 secure and patent-free Common Address Redundancy Protocol
36 define Package
/ucarp
/conffiles
40 define Package
/ucarp
/install
41 $(INSTALL_DIR
) $(1)/etc
42 $(INSTALL_CONF
) .
/files
/ucarp.conf
$(1)/etc
/
43 $(INSTALL_DIR
) $(1)/etc
/init.d
44 $(INSTALL_BIN
) .
/files
/ucarp.init
$(1)/etc
/init.d
/ucarp
45 $(INSTALL_DIR
) $(1)/usr
/sbin
46 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/ucarp
$(1)/usr
/sbin
/
49 $(eval
$(call BuildPackage
,ucarp
))