SECTION:=net
CATEGORY:=Network
TITLE:=Virtual Router Redundancy Protocol daemon
- DESCRIPTION:=\
- VRRPd is an implementation of Virtual Router Redundancy \\\
- Protocol as specified in rfc2338. VRRPd is interoperable with \\\
- other RFC-based VRRP implementations, including Cisco and \\\
- Juniper, and is included as a standard feature on ImageStream \\\
- routers.
URL:=http://www.sourceforge.net/projects/vrrpd
endef
+define Package/vrrpd/description
+ VRRPd is an implementation of Virtual Router Redundancy
+ Protocol as specified in rfc2338. VRRPd is interoperable with
+ other RFC-based VRRP implementations, including Cisco and
+ Juniper, and is included as a standard feature on ImageStream
+ routers.
+endef
+
define Package/vrrpd/conffiles
/etc/default/vrrpd
endef
endef
define Package/vrrpd/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/vrrpd $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/default
- install -m0644 ./files/vrrpd.default $(1)/etc/default/vrrpd
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/vrrpd.init $(1)/etc/init.d/vrrpd
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/vrrpd $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_DATA) ./files/vrrpd.default $(1)/etc/default/vrrpd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/vrrpd.init $(1)/etc/init.d/vrrpd
endef
$(eval $(call BuildPackage,vrrpd))