treewide: remove AUTORELEASE
authorPaul Fertser <fercerpav@gmail.com>
Fri, 21 Apr 2023 16:32:27 +0000 (16:32 +0000)
committerPaul Spooren <mail@aparcar.org>
Fri, 21 Apr 2023 20:46:58 +0000 (22:46 +0200)
commit0c10c224be81f9221dabfab449855ab6718d2a0c
treec7e9f983c60cbf9ae17bce5f64dc72963c67a6d3
parent018fcf3ccd3c65c92f7c9467ab35f345fbd2c1ae
treewide: remove AUTORELEASE

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>
295 files changed:
admin/btop/Makefile
admin/debian-archive-keyring/Makefile
admin/netdata/Makefile
admin/nload/Makefile
admin/syslog-ng/Makefile
devel/bison/Makefile
devel/diffutils/Makefile
devel/flex/Makefile
devel/gitlab-runner/Makefile
devel/m4/Makefile
devel/pkgconf/Makefile
ipv6/generate-ipv6-address/Makefile
kernel/ovpn-dco/Makefile
lang/erlang/Makefile
lang/lua-cs-bouncer/Makefile
lang/lua-ev/Makefile
lang/lua-openssl/Makefile
lang/luaposix/Makefile
lang/luv/Makefile
lang/node-javascript-obfuscator/Makefile
lang/perl-file-next/Makefile
lang/perl-net-dns/Makefile
lang/python/django-restframework/Makefile
lang/python/openpyxl/Makefile
lang/python/python-awesomeversion/Makefile
lang/python/python-docutils/Makefile
lang/python/python-gnupg/Makefile
lang/python/python-greenlet/Makefile
lang/python/python-idna/Makefile
lang/python/python-paho-mqtt/Makefile
lang/python/python-stem/Makefile
lang/python/python-ubus/Makefile
lang/python/python-uci/Makefile
lang/python/python-websockets/Makefile
lang/python/python3-asgiref/Makefile
lang/python/python3-django-cors-headers/Makefile
lang/python/python3-drf-nested-routers/Makefile
lang/python/python3-sqlparse/Makefile
lang/python/ruamel-yaml/Makefile
lang/tcl/Makefile
libs/alsa-lib/Makefile
libs/alsa-ucm-conf/Makefile
libs/boringssl/Makefile
libs/check/Makefile
libs/cyrus-sasl/Makefile
libs/expat/Makefile
libs/file/Makefile
libs/flac/Makefile
libs/freetype/Makefile
libs/gdbm/Makefile
libs/glib2/Makefile
libs/gnu-efi/Makefile
libs/gnutls/Makefile
libs/h2o/Makefile
libs/ipfs-http-client/Makefile
libs/jose/Makefile
libs/jsoncpp/Makefile
libs/leptonica/Makefile
libs/libaio/Makefile
libs/libassuan/Makefile
libs/libcap-ng/Makefile
libs/libcoap/Makefile
libs/libconfig/Makefile
libs/libdnet/Makefile
libs/libdvbcsa/Makefile
libs/libesmtp/Makefile
libs/libev/Makefile
libs/libevdev/Makefile
libs/libexif/Makefile
libs/libextractor/Makefile
libs/libfido2/Makefile
libs/libfstrm/Makefile
libs/libgcrypt/Makefile
libs/libgee/Makefile
libs/libgpg-error/Makefile
libs/libical/Makefile
libs/libidn/Makefile
libs/libidn2/Makefile
libs/libinput/Makefile
libs/libksba/Makefile
libs/liblz4/Makefile
libs/libmariadb/Makefile
libs/libmicrohttpd/Makefile
libs/libmpdclient/Makefile
libs/libnetconf2/Makefile
libs/libnetfilter-log/Makefile
libs/libnpupnp/Makefile
libs/libogg/Makefile
libs/liboping/Makefile
libs/liborcania/Makefile
libs/libpfring/Makefile
libs/libpng/Makefile
libs/libradiotap/Makefile
libs/libre2/Makefile
libs/libseccomp/Makefile
libs/libshout/Makefile
libs/libslirp/Makefile
libs/libtasn1/Makefile
libs/libtins/Makefile
libs/libudev-zero/Makefile
libs/libulfius/Makefile
libs/libupnp/Makefile
libs/libupnpp/Makefile
libs/libuv/Makefile
libs/libuwifi/Makefile
libs/libuwsc/Makefile
libs/libvpx/Makefile
libs/libwslay/Makefile
libs/libxslt/Makefile
libs/libyaml-cpp/Makefile
libs/libyang/Makefile
libs/log4cplus/Makefile
libs/loudmouth/Makefile
libs/minizip/Makefile
libs/neon/Makefile
libs/nlohmannjson/Makefile
libs/p11-kit/Makefile
libs/poco/Makefile
libs/protobuf/Makefile
libs/spice/Makefile
libs/sx1302_hal/Makefile
libs/taglib/Makefile
libs/xmlrpc-c/Makefile
libs/xr_usb_serial_common/Makefile
libs/yubico-pam/Makefile
libs/zlog/Makefile
mail/dovecot/Makefile
mail/exim/Makefile
mail/mblaze/Makefile
mail/msmtp/Makefile
mail/mutt/Makefile
multimedia/grilo-plugins/Makefile
multimedia/grilo/Makefile
multimedia/mjpg-streamer/Makefile
multimedia/rtpmidid/Makefile
multimedia/ttymidi-sysex/Makefile
multimedia/v4l2rtspserver/Makefile
net/apinger/Makefile
net/ariang/Makefile
net/atftp/Makefile
net/basicstation/Makefile
net/bcp38/Makefile
net/bridge-utils/Makefile
net/bwm-ng/Makefile
net/chrony/Makefile
net/cni-route-override/Makefile
net/coova-chilli/Makefile
net/cshark/Makefile
net/dante/Makefile
net/davfs2/Makefile
net/dns-over-https/Makefile
net/fail2ban/Makefile
net/hcxdumptool/Makefile
net/hcxtools/Makefile
net/hs20/Makefile
net/httptunnel/Makefile
net/ieee8021xclient/Makefile
net/inadyn/Makefile
net/iperf/Makefile
net/irssi/Makefile
net/jool/Makefile
net/kea/Makefile
net/keepalived/Makefile
net/lksctp-tools/Makefile
net/mbusd/Makefile
net/mdns-repeater/Makefile
net/memcached/Makefile
net/miniupnpc/Makefile
net/mstpd/Makefile
net/mtr/Makefile
net/net-snmp/Makefile
net/netopeer2/Makefile
net/ngircd/Makefile
net/nut/Makefile
net/opentracker/Makefile
net/openvswitch/Makefile
net/pingcheck/Makefile
net/privoxy/Makefile
net/qcsuper/Makefile
net/ratechecker/Makefile
net/rclone-ng/Makefile
net/rclone-webui-react/Makefile
net/restic-rest-server/Makefile
net/rpcbind/Makefile
net/rsync/Makefile
net/samplicator/Makefile
net/scapy/Makefile
net/snort/Makefile
net/softethervpn5/Makefile
net/softflowd/Makefile
net/spoofer/Makefile
net/sqm-scripts/Makefile
net/sshfs/Makefile
net/sstp-client/Makefile
net/stunnel/Makefile
net/sysrepo/Makefile
net/tgt/Makefile
net/tinc/Makefile
net/trojan-go/Makefile
net/udhcpsnoop/Makefile
net/udpxy/Makefile
net/uradvd/Makefile
net/vnstat2/Makefile
net/vsftpd/Makefile
net/wavemon/Makefile
net/wg-installer/Makefile
net/wsdd2/Makefile
net/xtables-addons/Makefile
sound/alsa-utils/Makefile
sound/mpc/Makefile
sound/mpg123/Makefile
sound/pulseaudio/Makefile
sound/shairport-sync/Makefile
sound/upmpdcli/Makefile
utils/acl/Makefile
utils/airos-dfs-reset/Makefile
utils/ap51-flash/Makefile
utils/at/Makefile
utils/attr/Makefile
utils/auc/Makefile
utils/audit/Makefile
utils/bash/Makefile
utils/bcm27xx-eeprom/Makefile
utils/beep/Makefile
utils/bluez-tools/Makefile
utils/bossa/Makefile
utils/btrfs-progs/Makefile
utils/canutils/Makefile
utils/catatonit/Makefile
utils/crelay/Makefile
utils/dbus/Makefile
utils/domoticz/Makefile
utils/fatresize/Makefile
utils/fish/Makefile
utils/fontconfig/Makefile
utils/fuse-overlayfs/Makefile
utils/fuse3/Makefile
utils/gl-puli-mcu/Makefile
utils/gpsd/Makefile
utils/gptfdisk/Makefile
utils/gzip/Makefile
utils/haserl/Makefile
utils/haveged/Makefile
utils/hdparm/Makefile
utils/hfsprogs/Makefile
utils/hplip/Makefile
utils/kitty-terminfo/Makefile
utils/klish/Makefile
utils/less/Makefile
utils/librespeed-cli/Makefile
utils/mandoc/Makefile
utils/mariadb/Makefile
utils/minicom/Makefile
utils/mksh/Makefile
utils/moreutils/Makefile
utils/mtools/Makefile
utils/nnn/Makefile
utils/nsutils/Makefile
utils/ntfs-3g/Makefile
utils/oci-runtime-tools/Makefile
utils/opendoas/Makefile
utils/opensc/Makefile
utils/parted/Makefile
utils/passh/Makefile
utils/pcsc-lite/Makefile
utils/powertop/Makefile
utils/prometheus/Makefile
utils/readsb/Makefile
utils/realtek-poe/Makefile
utils/rtl_433/Makefile
utils/runc/Makefile
utils/semodule-utils/Makefile
utils/sexpect/Makefile
utils/sipcalc/Makefile
utils/slirp4netns/Makefile
utils/smartmontools/Makefile
utils/sms-tool/Makefile
utils/spi-tools/Makefile
utils/stm32flash/Makefile
utils/sumo/Makefile
utils/sysstat/Makefile
utils/tang/Makefile
utils/tar/Makefile
utils/taskwarrior/Makefile
utils/tcsh/Makefile
utils/tessdata/Makefile
utils/tesseract/Makefile
utils/tinyionice/Makefile
utils/tmux/Makefile
utils/ubnt-manager/Makefile
utils/uledd/Makefile
utils/unrar/Makefile
utils/whois/Makefile
utils/yara/Makefile
utils/zstd/Makefile