treewide: replace AUTORELEASE with real PKG_RELEASE 820/head
authorKuan-Yi Li <kyli@abysm.org>
Tue, 18 Jul 2023 02:45:41 +0000 (10:45 +0800)
committerKuan-Yi Li <kyli@abysm.org>
Tue, 18 Jul 2023 20:41:35 +0000 (04:41 +0800)
commit87275752df267cf8e6a05de272e29e92836bb9ca
tree379e75d73d7697c30c2ca2b82eb6611ca480d7b9
parentbcf4d2a1784dbe7ba2bbdeac19e095348aa9c4a4
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>
libs/libosip2/Makefile
libs/libsrtp/Makefile
libs/re/Makefile
libs/rem/Makefile
net/asterisk-chan-dongle/Makefile
net/asterisk-opus/Makefile
net/rtpproxy/Makefile
net/siproxd/Makefile
net/sngrep/Makefile