pbr: update to 1.1.8
authorStan Grishin <stangri@melmac.ca>
Wed, 18 Dec 2024 05:14:16 +0000 (05:14 +0000)
committerStan Grishin <stangri@melmac.ca>
Fri, 20 Dec 2024 18:53:54 +0000 (10:53 -0800)
* update to 1.1.8 release version
* APK-style version stamping for init script

Signed-off-by: Stan Grishin <stangri@melmac.ca>
net/pbr/Makefile

index 90c60ab35a587dffae8f1f77e4af42057eb5bb42..1e5ff43f500211c7c34ded466d012971916f2d95 100644 (file)
@@ -4,8 +4,8 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=pbr
-PKG_VERSION:=1.1.7
-PKG_RELEASE:=67
+PKG_VERSION:=1.1.8
+PKG_RELEASE:=2
 PKG_LICENSE:=AGPL-3.0-or-later
 PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
 
@@ -70,7 +70,7 @@ endef
 define Package/pbr/default/install
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_BIN) ./files/etc/init.d/pbr $(1)/etc/init.d/pbr
-       $(SED) "s|^\(readonly PKG_VERSION\).*|\1='$(PKG_VERSION)-$(PKG_RELEASE)'|" $(1)/etc/init.d/pbr
+       $(SED) "s|^\(readonly PKG_VERSION\).*|\1='$(PKG_VERSION)-r$(PKG_RELEASE)'|" $(1)/etc/init.d/pbr
        $(INSTALL_DIR) $(1)/etc/config
        $(INSTALL_CONF) ./files/etc/config/pbr $(1)/etc/config/pbr
        $(INSTALL_DIR) $(1)/usr/share/pbr