summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuan-Yi Li <kyli@abysm.org>2023-07-18 10:45:41 +0800
committerKuan-Yi Li <kyli@abysm.org>2023-07-19 04:41:35 +0800
commit87275752df267cf8e6a05de272e29e92836bb9ca (patch)
tree379e75d73d7697c30c2ca2b82eb6611ca480d7b9
parentbcf4d2a1784dbe7ba2bbdeac19e095348aa9c4a4 (diff)
treewide: replace AUTORELEASE with real PKG_RELEASE
Based on Paul Fertser <fercerpav@gmail.com>'s guidance: Change AUTORELEASE in rules.mk to: ``` AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile)) ``` then update all affected packages by: ``` for i in $(git grep -l PKG_RELEASE:=.*AUTORELEASE | sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/clean done ``` Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
-rw-r--r--libs/libosip2/Makefile2
-rw-r--r--libs/libsrtp/Makefile2
-rw-r--r--libs/re/Makefile2
-rw-r--r--libs/rem/Makefile2
-rw-r--r--net/asterisk-chan-dongle/Makefile2
-rw-r--r--net/asterisk-opus/Makefile2
-rw-r--r--net/rtpproxy/Makefile2
-rw-r--r--net/siproxd/Makefile2
-rw-r--r--net/sngrep/Makefile4
9 files changed, 9 insertions, 11 deletions
diff --git a/libs/libosip2/Makefile b/libs/libosip2/Makefile
index 7af9d9e..1fadf06 100644
--- a/libs/libosip2/Makefile
+++ b/libs/libosip2/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libosip2
PKG_VERSION:=5.3.0
-PKG_RELEASE:=$(AUTORELEASE)
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/osip
diff --git a/libs/libsrtp/Makefile b/libs/libsrtp/Makefile
index 7d670b2..337fc6b 100644
--- a/libs/libsrtp/Makefile
+++ b/libs/libsrtp/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libsrtp
PKG_VERSION:=2.4.2
-PKG_RELEASE:=$(AUTORELEASE)
+PKG_RELEASE:=2
PKG_SOURCE:=libsrtp-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/cisco/libsrtp/tar.gz/v$(PKG_VERSION)?
diff --git a/libs/re/Makefile b/libs/re/Makefile
index f2dacab..cdf9c88 100644
--- a/libs/re/Makefile
+++ b/libs/re/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=re
PKG_VERSION:=2.0.1
-PKG_RELEASE:=$(AUTORELEASE)
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/baresip/re/tar.gz/v$(PKG_VERSION)?
diff --git a/libs/rem/Makefile b/libs/rem/Makefile
index b62f907..a87a4ce 100644
--- a/libs/rem/Makefile
+++ b/libs/rem/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=rem
PKG_VERSION:=1.0.0
-PKG_RELEASE:=$(AUTORELEASE)
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/baresip/rem/tar.gz/v$(PKG_VERSION)?
diff --git a/net/asterisk-chan-dongle/Makefile b/net/asterisk-chan-dongle/Makefile
index 7276d04..2ccd477 100644
--- a/net/asterisk-chan-dongle/Makefile
+++ b/net/asterisk-chan-dongle/Makefile
@@ -13,7 +13,7 @@ PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/wdoekes/asterisk-chan-dongle.git
PKG_SOURCE_VERSION:=3d046f7d6842298c6838b5ce5b51d495d383b158
PKG_SOURCE_DATE=2021-10-06
-PKG_RELEASE:=$(AUTORELEASE)
+PKG_RELEASE:=2
PKG_MIRROR_HASH:=d485c89a7230ab8c318eed6c3a954b154d7e53cc7a0194abf96f4dcb83e6909c
PKG_FIXUP:=autoreconf
diff --git a/net/asterisk-opus/Makefile b/net/asterisk-opus/Makefile
index 541bc0f..42f0f6f 100644
--- a/net/asterisk-opus/Makefile
+++ b/net/asterisk-opus/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk-opus
-PKG_RELEASE:=$(AUTORELEASE)
+PKG_RELEASE:=2
PKG_SOURCE_URL:=https://github.com/traud/asterisk-opus.git
PKG_SOURCE_DATE:=2021-11-01
diff --git a/net/rtpproxy/Makefile b/net/rtpproxy/Makefile
index 7f64613..992cd71 100644
--- a/net/rtpproxy/Makefile
+++ b/net/rtpproxy/Makefile
@@ -14,7 +14,7 @@ PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/sippy/rtpproxy.git
PKG_SOURCE_DATE=2019-10-02
PKG_SOURCE_VERSION:=aa1f179e09097f467bc4726e3300014c1e35246f
-PKG_RELEASE:=$(AUTORELEASE)
+PKG_RELEASE:=4
PKG_MIRROR_HASH:=7acc5f5bf2d4be23e9a2fad0c4e7576f172191c9f1b37104aee4d05dbdcac8fd
PKG_BUILD_PARALLEL:=1
diff --git a/net/siproxd/Makefile b/net/siproxd/Makefile
index 6acd556..b362049 100644
--- a/net/siproxd/Makefile
+++ b/net/siproxd/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=siproxd
-PKG_RELEASE:=$(AUTORELEASE)
+PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/hb9xar/siproxd.git
diff --git a/net/sngrep/Makefile b/net/sngrep/Makefile
index 55f6db7..d889df8 100644
--- a/net/sngrep/Makefile
+++ b/net/sngrep/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=sngrep
PKG_VERSION:=1.6.0
-PKG_RELEASE:=$(AUTORELEASE)
+PKG_RELEASE:=1
PKG_MAINTAINER:=Sebastian Kemper <sebastian_ml@gmx.net>
PKG_LICENSE:=GPL-3.0+
@@ -20,8 +20,6 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/irontec/sngrep/releases/download/v$(PKG_VERSION)
PKG_HASH:=fd80964d6560f2ff57b4f5bef2353d1a6f7c48d2f1a5f0a167c854bd2e801999
-PKG_RELEASE:=1
-
PKG_FIXUP:=autoreconf
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1