2015-08-18 14:28:32 +02:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=pimbd
|
treewide: remove AUTORELEASE
OpenWrt/packages removed AUTORELEASE treewide. Remove it also in the
routing feed.
This is just copied from [0] with modification to the sed cmd because it
was not working for the routing feed:
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:
for i in $(cd feeds/routing; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's/\/Makefile$//';);
do
make package/$i/download
done
[0] - https://github.com/openwrt/packages/commit/0c10c224be81f9221dabfab449855ab6718d2a0c
Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-04-26 11:40:36 +02:00
|
|
|
PKG_RELEASE:=4
|
2015-08-18 14:28:32 +02:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
|
|
PKG_SOURCE_URL:=https://github.com/Oryon/pimbd.git
|
2022-02-26 11:57:26 +01:00
|
|
|
PKG_SOURCE_DATE:=2018-06-19
|
|
|
|
PKG_SOURCE_VERSION:=dbf4e5913b06e3160f506df15e6a047a403a5f21
|
2024-04-07 17:35:58 +02:00
|
|
|
PKG_MIRROR_HASH:=ed794402da1959e0c8cdf819a8bd7370f9bb092e62b33d96f94ad1228a4975d7
|
2022-02-26 11:57:26 +01:00
|
|
|
|
2015-08-18 14:28:32 +02:00
|
|
|
PKG_MAINTAINER:=Pierre Pfister <pierre.pfister@darou.fr>
|
|
|
|
PKG_LICENSE:=Apache-2.0
|
2022-02-26 11:57:26 +01:00
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
2015-08-18 14:28:32 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
|
|
|
|
# Spammy debug builds for now
|
2018-06-19 13:01:14 +02:00
|
|
|
CMAKE_OPTIONS += -DL_LEVEL=7 \
|
|
|
|
-DWITH_LIBUBOX=1
|
2015-08-18 14:28:32 +02:00
|
|
|
|
|
|
|
define Package/pimbd
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=PIM BIDIR daemon
|
|
|
|
URL:=https://github.com/Oryon/pimbd.git
|
2016-06-05 02:13:13 +02:00
|
|
|
DEPENDS+=@IPV6
|
2015-08-18 14:28:32 +02:00
|
|
|
DEPENDS+=netifd
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/pimbd/description
|
2022-02-26 11:57:26 +01:00
|
|
|
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.
|
2015-08-18 14:28:32 +02:00
|
|
|
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
|
2021-12-14 23:12:51 +01:00
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
|
|
$(INSTALL_CONF) ./files/pimb.config $(1)/etc/config/pimb
|
2015-08-18 14:28:32 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,pimbd))
|