#
-# Copyright (C) 2009 OpenWrt.org
+# Copyright (C) 2009-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
include $(TOPDIR)/rules.mk
PKG_NAME:=bird
-PKG_VERSION:=1.2.4
+PKG_VERSION:=1.3.7
PKG_RELEASE:=1
PKG_SOURCE:=bird-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://bird.network.cz/pub/bird
-PKG_MD5SUM:=8db90b12200ebb20f5aa93a2de9937c6
+PKG_MD5SUM:=c400b008ef834d9e7288dcdbe41b7c15
PKG_BUILD_DEPENDS:=libncurses libreadline
include $(INCLUDE_DIR)/package.mk
define Package/bird/Default
- SECTION:=net
- CATEGORY:=Network
TITLE:=The BIRD Internet Routing Daemon
URL:=http://bird.network.cz/
+ DEPENDS:=
endef
define Package/birdc/Default
- SECTION:=net
- CATEGORY:=Network
TITLE:=The BIRD command-line client
URL:=http://bird.network.cz/
DEPENDS:= +libreadline +libncurses
define Package/bird4
$(call Package/bird/Default)
+ SECTION:=net
+ CATEGORY:=Network
+ SUBMENU:=Routing and Redirection
TITLE+= (IPv4)
endef
define Package/birdc4
$(call Package/birdc/Default)
+ SECTION:=net
+ CATEGORY:=Network
+ SUBMENU:=Routing and Redirection
TITLE+= (IPv4)
DEPENDS+= +bird4
endef
define Package/bird6
$(call Package/bird/Default)
+ SECTION:=net
+ CATEGORY:=Network
TITLE+= (IPv6)
endef
define Package/birdc6
$(call Package/birdc/Default)
+ SECTION:=net
+ CATEGORY:=Network
TITLE+= (IPv6)
DEPENDS+= +bird6
endef
endef
+define Package/bird$(2)/conffiles
+/etc/bird$(2).conf
+endef
+
define Package/birdc$(2)/install
$(INSTALL_DIR) $$(1)/usr/sbin
$(INSTALL_BIN) $$(PKG_BUILD_DIR)/birdc$(2) $$(1)/usr/sbin/