bird: Rename to bird1 and bump to v1.6.4

This renames the bird and bird-openwrt packages to bird1, to make it
possible for bird2 (added in a subsequent commit) to coexist with it.

The packages are renamed to bird1-ipv{4,6} to avoid the confusion of
having packages named 'bird2', 'bird4' and 'bird6'.

Also bump to v1.6.4 as that contains important bug fixes.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
This commit is contained in:
Toke Høiland-Jørgensen 2018-05-16 12:24:00 +02:00
parent 453de2136e
commit ecbdeb0500
38 changed files with 88 additions and 75 deletions

View File

@ -18,13 +18,14 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/kernel.mk
BIRD := bird4 BIRD := bird4
PKG_NAME := $(BIRD)-openwrt BIRD_PKG := bird1-ipv4
PKG_NAME := $(BIRD_PKG)-openwrt
PKG_VERSION := 0.3 PKG_VERSION := 0.3
PKG_RELEASE := 1 PKG_RELEASE := 1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
PKG_LICENSE := GPL-3.0+ PKG_LICENSE := GPL-3.0+
uci := $(BIRD)-uci uci := $(BIRD_PKG)-uci
luci := luci-app-$(BIRD) luci := luci-app-$(BIRD_PKG)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -34,17 +35,17 @@ define Build/Compile
endef endef
define Package/$(uci) define Package/$(uci)
TITLE:=The BIRD UCI module TITLE:=The BIRD UCI module (v1.6) (IPv4)
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
SUBMENU:=Routing and Redirection SUBMENU:=Routing and Redirection
MAINTAINER:=Eloi Carbo <eloicaso@openmailbox.org> MAINTAINER:=Eloi Carbo <eloicaso@openmailbox.org>
URL:=https://github.com/eloicaso/bird-openwrt/ URL:=https://github.com/eloicaso/bird-openwrt/
DEPENDS:=+$(BIRD) +libuci +uci DEPENDS:=+$(BIRD_PKG) +libuci +uci
endef endef
define Package/$(uci)/description define Package/$(uci)/description
$(BIRD) UCI integration module $(BIRD_PKG) UCI integration module
endef endef
define Package/$(uci)/conffiles define Package/$(uci)/conffiles
@ -77,13 +78,13 @@ endef
$(eval $(call BuildPackage,$(uci))) $(eval $(call BuildPackage,$(uci)))
define Package/$(luci) define Package/$(luci)
TITLE:=LuCI support for $(BIRD) TITLE:=LuCI support for $(BIRD_PKG)
SECTION:=luci SECTION:=luci
CATEGORY:=LuCI CATEGORY:=LuCI
SUBMENU:=3. Applications SUBMENU:=3. Applications
MAINTAINER:=Eloi Carbo <eloicaso@openmailbox.org> MAINTAINER:=Eloi Carbo <eloicaso@openmailbox.org>
URL:=https://github.com/eloicaso/bird-openwrt/ URL:=https://github.com/eloicaso/bird-openwrt/
DEPENDS:=+$(BIRD)-uci +luci-base DEPENDS:=+$(BIRD_PKG)-uci +luci-base
endef endef
define Package/$(luci)/description define Package/$(luci)/description

View File

@ -18,13 +18,14 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/kernel.mk
BIRD := bird6 BIRD := bird6
PKG_NAME := $(BIRD)-openwrt BIRD_PKG := bird1-ipv6
PKG_NAME := $(BIRD_PKG)-openwrt
PKG_VERSION := 0.3 PKG_VERSION := 0.3
PKG_RELEASE := 1 PKG_RELEASE := 1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
PKG_LICENSE := GPL-3.0+ PKG_LICENSE := GPL-3.0+
uci := $(BIRD)-uci uci := $(BIRD_PKG)-uci
luci := luci-app-$(BIRD) luci := luci-app-$(BIRD_PKG)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -34,17 +35,17 @@ define Build/Compile
endef endef
define Package/$(uci) define Package/$(uci)
TITLE:=The BIRD UCI module TITLE:=The BIRD UCI module (v1.6) (IPv6)
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
SUBMENU:=Routing and Redirection SUBMENU:=Routing and Redirection
MAINTAINER:=Eloi Carbo <eloicaso@openmailbox.org> MAINTAINER:=Eloi Carbo <eloicaso@openmailbox.org>
URL:=https://github.com/eloicaso/bird-openwrt/ URL:=https://github.com/eloicaso/bird-openwrt/
DEPENDS:=+$(BIRD) +libuci +uci DEPENDS:=+$(BIRD_PKG) +libuci +uci
endef endef
define Package/$(uci)/description define Package/$(uci)/description
$(BIRD) UCI integration module $(BIRD_PKG) UCI integration module
endef endef
define Package/$(uci)/conffiles define Package/$(uci)/conffiles
@ -77,13 +78,13 @@ endef
$(eval $(call BuildPackage,$(uci))) $(eval $(call BuildPackage,$(uci)))
define Package/$(luci) define Package/$(luci)
TITLE:=LuCI support for $(BIRD) TITLE:=LuCI support for $(BIRD_PKG)
SECTION:=luci SECTION:=luci
CATEGORY:=LuCI CATEGORY:=LuCI
SUBMENU:=3. Applications SUBMENU:=3. Applications
MAINTAINER:=Eloi Carbo <eloicaso@openmailbox.org> MAINTAINER:=Eloi Carbo <eloicaso@openmailbox.org>
URL:=https://github.com/eloicaso/bird-openwrt/ URL:=https://github.com/eloicaso/bird-openwrt/
DEPENDS:=+$(BIRD)-uci +luci-base DEPENDS:=+$(BIRD_PKG)-uci +luci-base
endef endef
define Package/$(luci)/description define Package/$(luci)/description

View File

@ -6,46 +6,51 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=bird PKG_NAME:=bird1
PKG_VERSION:=1.6.3 PKG_VERSION:=1.6.4
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=bird-$(PKG_VERSION).tar.gz PKG_SOURCE:=bird-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://bird.network.cz/pub/bird PKG_SOURCE_URL:=ftp://bird.network.cz/pub/bird
PKG_MD5SUM:=39c51cf57c3ba8b5978b2a657ffa2f647ec7f3ae643e91cf42ee5cb070cf7e7c PKG_MD5SUM:=c26b8caae988dba81a9dbbee93502463d4326d1b749d728d62aa5529c605afc0
PKG_BUILD_DEPENDS:=ncurses readline PKG_BUILD_DEPENDS:=ncurses readline
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com> PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
PKG_BUILD_DIR:=$(BUILD_DIR)/bird-$(PKG_VERSION)
PKG_LICENSE:=GPL-2.0 PKG_LICENSE:=GPL-2.0
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/bird/Default define Package/bird1/Default
TITLE:=The BIRD Internet Routing Daemon TITLE:=The BIRD Internet Routing Daemon (v1.6)
URL:=http://bird.network.cz/ URL:=http://bird.network.cz/
DEPENDS:=+libpthread DEPENDS:=+libpthread
endef endef
define Package/birdc/Default define Package/bird1c/Default
TITLE:=The BIRD command-line client TITLE:=The BIRD command-line client (v1.6)
URL:=http://bird.network.cz/ URL:=http://bird.network.cz/
DEPENDS:= +libreadline +libncurses DEPENDS:= +libreadline +libncurses
endef endef
define Package/birdcl/Default define Package/bird1cl/Default
TITLE:=The BIRD lightweight command-line client TITLE:=The BIRD lightweight command-line client (v1.6)
URL:=http://bird.network.cz/ URL:=http://bird.network.cz/
endef endef
define Package/bird/Default/description1 define Package/bird1/Default/description1
BIRD is an internet routing daemon which manages TCP/IP routing tables BIRD is an internet routing daemon which manages TCP/IP routing tables
with support of modern routing protocols, easy to use configuration with support of modern routing protocols, easy to use configuration
interface and powerful route filtering language. It is lightweight and interface and powerful route filtering language. It is lightweight and
efficient and therefore appropriate for small embedded routers. efficient and therefore appropriate for small embedded routers.
This packages the legacy v1.6 branch of Bird, which splits IPv4 and IPv6
support into separate binaries. See also the bird2 package for the newer
branch which integrates support for both IP protocols in a single binary.
endef endef
define Package/bird/Default/description2 define Package/bird1/Default/description2
In BGP, BIRD supports communities, multiprotocol extensions, MD5 In BGP, BIRD supports communities, multiprotocol extensions, MD5
authentication, 32bit AS numbers and could act as a route server or a authentication, 32bit AS numbers and could act as a route server or a
route reflector. BIRD also supports multiple RIBs, multiple kernel route reflector. BIRD also supports multiple RIBs, multiple kernel
@ -54,7 +59,7 @@ configuration syntax.
endef endef
define Package/bird/Default/description3 define Package/bird1/Default/description3
This is a BIRD command-line client. It is used to send commands to BIRD, This is a BIRD command-line client. It is used to send commands to BIRD,
commands can perform simple actions such as enabling/disabling of commands can perform simple actions such as enabling/disabling of
protocols, telling BIRD to show various information, telling it to show protocols, telling BIRD to show various information, telling it to show
@ -65,7 +70,7 @@ should install BIRD command-line client together with BIRD.
endef endef
define Package/bird/Default/description4 define Package/bird1/Default/description4
This is a BIRD lightweight command-line client. It is used to send commands to BIRD, This is a BIRD lightweight command-line client. It is used to send commands to BIRD,
commands can perform simple actions such as enabling/disabling of commands can perform simple actions such as enabling/disabling of
protocols, telling BIRD to show various information, telling it to show protocols, telling BIRD to show various information, telling it to show
@ -73,92 +78,98 @@ a routing table filtered by a filter, or asking BIRD to reconfigure.
endef endef
define Package/bird4 define Package/bird1-ipv4
$(call Package/bird/Default) $(call Package/bird1/Default)
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
SUBMENU:=Routing and Redirection SUBMENU:=Routing and Redirection
TITLE+= (IPv4) TITLE+= (IPv4)
CONFLICTS+=bird4
endef endef
define Package/birdc4 define Package/bird1c-ipv4
$(call Package/birdc/Default) $(call Package/bird1c/Default)
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
SUBMENU:=Routing and Redirection SUBMENU:=Routing and Redirection
TITLE+= (IPv4) TITLE+= (IPv4)
DEPENDS+= +bird4 DEPENDS+= +bird1-ipv4
CONFLICTS+=birdc4
endef endef
define Package/birdcl4 define Package/bird1cl-ipv4
$(call Package/birdcl/Default) $(call Package/bird1cl/Default)
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
SUBMENU:=Routing and Redirection SUBMENU:=Routing and Redirection
TITLE+= (IPv4) TITLE+= (IPv4)
DEPENDS+= +bird4 DEPENDS+= +bird1-ipv4
CONFLICTS+=birdcl4
endef endef
define Package/bird6 define Package/bird1-ipv6
$(call Package/bird/Default) $(call Package/bird1/Default)
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
SUBMENU:=Routing and Redirection SUBMENU:=Routing and Redirection
TITLE+= (IPv6) TITLE+= (IPv6)
CONFLICTS+=bird6
endef endef
define Package/birdc6 define Package/bird1c-ipv6
$(call Package/birdc/Default) $(call Package/bird1c/Default)
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
SUBMENU:=Routing and Redirection SUBMENU:=Routing and Redirection
TITLE+= (IPv6) TITLE+= (IPv6)
DEPENDS+= +bird6 DEPENDS+= +bird1-ipv6
CONFLICTS+=birdc6
endef endef
define Package/birdcl6 define Package/bird1cl-ipv6
$(call Package/birdcl/Default) $(call Package/bird1cl/Default)
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
SUBMENU:=Routing and Redirection SUBMENU:=Routing and Redirection
TITLE+= (IPv6) TITLE+= (IPv6)
DEPENDS+= +bird6 DEPENDS+= +bird1-ipv6
CONFLICTS+=birdcl6
endef endef
define Package/bird4/description define Package/bird1-ipv4/description
$(call Package/bird/Default/description1) $(call Package/bird1/Default/description1)
This is IPv4 version of BIRD, it supports OSPFv2, RIPv2 and BGP This is IPv4 version of BIRD, it supports OSPFv2, RIPv2 and BGP
protocols. protocols.
$(call Package/bird/Default/description2) $(call Package/bird1/Default/description2)
endef endef
define Package/birdc4/description define Package/bird1c-ipv4/description
$(call Package/bird/Default/description1) $(call Package/bird1/Default/description1)
$(call Package/bird/Default/description3) $(call Package/bird1/Default/description3)
endef endef
define Package/birdcl4/description define Package/bird1cl-ipv4/description
$(call Package/bird/Default/description1) $(call Package/bird1/Default/description1)
$(call Package/bird/Default/description4) $(call Package/bird1/Default/description4)
endef endef
define Package/bird6/description define Package/bird1-ipv6/description
$(call Package/bird/Default/description1) $(call Package/bird1/Default/description1)
This is IPv6 version of BIRD, it supports OSPFv3, RIPng and BGP This is IPv6 version of BIRD, it supports OSPFv3, RIPng and BGP
protocols. protocols.
$(call Package/bird/Default/description2) $(call Package/bird1/Default/description2)
endef endef
define Package/birdc6/description define Package/bird1c-ipv6/description
$(call Package/bird/Default/description1) $(call Package/bird1/Default/description1)
$(call Package/bird/Default/description3) $(call Package/bird1/Default/description3)
endef endef
define Package/birdcl6/description define Package/bird1cl-ipv6/description
$(call Package/bird/Default/description1) $(call Package/bird1/Default/description1)
$(call Package/bird/Default/description4) $(call Package/bird1/Default/description4)
endef endef
CONFIGURE_ARGS += --with-linux-headers="$(LINUX_DIR)" CONFIGURE_ARGS += --with-linux-headers="$(LINUX_DIR)"
@ -176,7 +187,7 @@ $(STAMP_BUILT)-$(2): $(STAMP_PREPARED)
$(STAMP_BUILT): $(STAMP_BUILT)-$(2) $(STAMP_BUILT): $(STAMP_BUILT)-$(2)
define Package/bird$(2)/install define Package/bird1-ipv$(2)/install
$(INSTALL_DIR) $$(1)/usr/sbin $(INSTALL_DIR) $$(1)/usr/sbin
$(INSTALL_BIN) $$(PKG_BUILD_DIR)/bird$(2) $$(1)/usr/sbin/ $(INSTALL_BIN) $$(PKG_BUILD_DIR)/bird$(2) $$(1)/usr/sbin/
$(INSTALL_DIR) $$(1)/etc $(INSTALL_DIR) $$(1)/etc
@ -186,16 +197,16 @@ define Package/bird$(2)/install
endef endef
define Package/bird$(2)/conffiles define Package/bird1-ipv$(2)/conffiles
/etc/bird$(2).conf /etc/bird$(2).conf
endef endef
define Package/birdc$(2)/install define Package/bird1c-ipv$(2)/install
$(INSTALL_DIR) $$(1)/usr/sbin $(INSTALL_DIR) $$(1)/usr/sbin
$(INSTALL_BIN) $$(PKG_BUILD_DIR)/birdc$(2) $$(1)/usr/sbin/ $(INSTALL_BIN) $$(PKG_BUILD_DIR)/birdc$(2) $$(1)/usr/sbin/
endef endef
define Package/birdcl$(2)/install define Package/bird1cl-ipv$(2)/install
$(INSTALL_DIR) $$(1)/usr/sbin $(INSTALL_DIR) $$(1)/usr/sbin
$(INSTALL_BIN) $$(PKG_BUILD_DIR)/birdcl$(2) $$(1)/usr/sbin/ $(INSTALL_BIN) $$(PKG_BUILD_DIR)/birdcl$(2) $$(1)/usr/sbin/
endef endef
@ -203,12 +214,12 @@ endef
endef endef
$(eval $(call Build/Template,bird4,4, --disable-ipv6)) $(eval $(call Build/Template,bird1-ipv4,4, --disable-ipv6))
$(eval $(call Build/Template,bird6,6, --enable-ipv6)) $(eval $(call Build/Template,bird1-ipv6,6, --enable-ipv6))
$(eval $(call BuildPackage,bird4)) $(eval $(call BuildPackage,bird1-ipv4))
$(eval $(call BuildPackage,birdc4)) $(eval $(call BuildPackage,bird1c-ipv4))
$(eval $(call BuildPackage,birdcl4)) $(eval $(call BuildPackage,bird1cl-ipv4))
$(eval $(call BuildPackage,bird6)) $(eval $(call BuildPackage,bird1-ipv6))
$(eval $(call BuildPackage,birdc6)) $(eval $(call BuildPackage,bird1c-ipv6))
$(eval $(call BuildPackage,birdcl6)) $(eval $(call BuildPackage,bird1cl-ipv6))