Automatically compute and substitute current values for all $(AUTORELEASE) instances as this feature is deprecated and shouldn't be used. 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/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \ sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/download done Signed-off-by: Paul Fertser <fercerpav@gmail.com>
41 lines
1 KiB
Makefile
41 lines
1 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=uradvd
|
|
PKG_RELEASE:=2
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL=https://github.com/freifunk-gluon/uradvd.git
|
|
PKG_SOURCE_DATE:=2021-09-14
|
|
PKG_SOURCE_VERSION:=9b0da60e27c67305d251b10163e388191d566d7a
|
|
PKG_MIRROR_HASH=c3c9cb5d3a7b30503bff64541bbcaffa84b33e0de39560a5efae077df4e9b134
|
|
|
|
PKG_MAINTAINER:=Moritz Warning <moritzwarning@web.de>
|
|
PKG_LICENSE:=BSD-2-Clause
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/uradvd
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=A tiny radvd
|
|
endef
|
|
|
|
define Package/uradvd/description
|
|
Advertise an IPv6 prefix/route via SLAAC.
|
|
endef
|
|
|
|
define Package/uradvd/install
|
|
$(INSTALL_DIR) $(1)/etc/config/
|
|
$(INSTALL_DATA) ./files/uradvd.config $(1)/etc/config/uradvd
|
|
$(INSTALL_DIR) $(1)/etc/init.d/
|
|
$(INSTALL_BIN) ./files/uradvd.init $(1)/etc/init.d/uradvd
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uradvd $(1)/usr/sbin/
|
|
endef
|
|
|
|
define Package/uradvd/conffiles
|
|
/etc/config/uradvd
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,uradvd))
|