Automatically compute and substitute current values for all $(AUTORELEASE) instances as this feature is deprecated and shouldn't be used. Since commit 2584b0cecae ("CI: deprecate $(AUTORELEASE) via comments"), this is even announced by the CI The following temporary change was made to the core: diff --git a/rules.mk b/rules.mk index 57d7995d4fa8..f16367de87a8 100644 --- a/rules.mk +++ b/rules.mk @@ -429,7 +429,7 @@ endef abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1)))) COMMITCOUNT = $(if $(DUMP),0,$(call commitcount)) -AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1)) +AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile)) all: FORCE: ; And this command used to fix affected packages: ./scripts/feeds install -a routing for i in $(cd feeds/routing; git grep -l 'PKG_RELEASE:=.*AUTORELEASE' | \ sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/${i%/Makefile}/download done Signed-off-by: Sven Eckelmann <sven@narfation.org>
51 lines
1.5 KiB
Makefile
51 lines
1.5 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=pimbd
|
|
PKG_RELEASE:=4
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/Oryon/pimbd.git
|
|
PKG_SOURCE_DATE:=2018-06-19
|
|
PKG_SOURCE_VERSION:=dbf4e5913b06e3160f506df15e6a047a403a5f21
|
|
PKG_MIRROR_HASH:=943afce4f10036cbb479385a6ff48535da61d83c48512a10db8784677f492c1c
|
|
|
|
PKG_MAINTAINER:=Pierre Pfister <pierre.pfister@darou.fr>
|
|
PKG_LICENSE:=Apache-2.0
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
# Spammy debug builds for now
|
|
CMAKE_OPTIONS += -DL_LEVEL=7 \
|
|
-DWITH_LIBUBOX=1
|
|
|
|
define Package/pimbd
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=PIM BIDIR daemon
|
|
URL:=https://github.com/Oryon/pimbd.git
|
|
DEPENDS+=@IPV6
|
|
DEPENDS+=netifd
|
|
endef
|
|
|
|
define Package/pimbd/description
|
|
This package provides a daemon which implements the Protocol Independent
|
|
Multicast BIDIR routing protocol. Note that a routing protocol must be
|
|
installed and running in order for PIM to function.
|
|
endef
|
|
|
|
define Package/pimbd/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/pimbd $(1)/usr/sbin/pimbd
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/generic/pimbc.sh $(1)/usr/sbin/pimbc
|
|
ln -s pimbd $(1)/usr/sbin/pimb-ipc
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./files/pimbd.init $(1)/etc/init.d/pimbd
|
|
$(INSTALL_DIR) $(1)/etc/uci-defaults
|
|
$(INSTALL_BIN) files/firewall-uci.sh $(1)/etc/uci-defaults/99_pimbd_firewall
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
$(INSTALL_CONF) ./files/pimb.config $(1)/etc/config/pimb
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,pimbd))
|