Commit Graph

21 Commits

Author SHA1 Message Date
Paul Fertser 0c10c224be 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>
2023-04-21 22:46:58 +02:00
Andre Heider 35f4ef76e0 treewide: refactor to use PKG_BUILD_FLAGS:=gc-sections
See commit da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.

Note: This only touches packages which use all three parts
(-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by
this build flag. Some packages only use a subset, and these are left
unchanged for now.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Marc Egerton b9b9929591 mtr: bump version to 0.95, split package for JSON and non-JSON variants
As per the discussion in PR #18047, split the MTR package into
two, one with jansson enabled for JSON output, and one without.

This commit also bumps the version to 0.95. Since the MTR project
website does not seem to be updated with builds any longer, switch
to GitHub Codeload instead.

Also enable PKG_FIXUP:=autoreconf so that MTRs bootstrap.sh process
is executed properly.

Signed-off-by: Marc Egerton <marc@malloc.me>
2022-03-16 19:45:29 -07:00
Rosen Penev e9a695b3b5
mtr: update to 0.94
Switch to normal HTTP mirron.

Don't use jansson.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-24 22:43:14 -08:00
DENG Qingfang ad5615737a mtr: update to 0.93
Update mtr to 0.93
Add size optimization options
ath79 ipk size: 31.9k -> 31.4k

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-12-12 23:22:43 +08:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Sven Eckelmann bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Yousong Zhou f68ce32f9b mtr: fix UNKNOWN version reporting
Supersedes openwrt/packages#7634

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-01-16 02:53:08 +00:00
Guo Li e656745031 mtr: add autoreconf
The official tarball does not contain configure, we should set
PKG_FIXUP=autoreconf to generate one

make[4]: *** No targets specified and no makefile found.  Stop.

Signed-off-by: Guo Li <uxgood.org@gmail.com>
2018-09-06 15:57:18 +08:00
Rosen Penev b5e6d2c784 mtr: Switch to official tarball and remove hackish patches (#6738)
Should properly report version now.

Cosmetic makefile changes.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-02 00:55:55 +01:00
Rosen Penev 664861af7e mtr: Fix compile with libcap
Selecting libcap in addition to mtr causes it to error with

Package mtr is missing dependencies for the following libraries:
libcap.so.2

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-07-27 18:42:15 -07:00
Rosen Penev 0264b90152 mtr: Update to 0.92 and switch to tarball
Should be faster.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-07-22 18:03:07 +01:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Stephen Walker a53bf7192b packages: cleanup Makefile variables
Standard assignment is immediate expansion without any extraneous spacing, RFC822 compliant email addresses without any quotation marks and long git hashes

Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
2016-07-09 14:50:58 -04:00
Jo-Philipp Wich f17dd769f1 mtr: fix build with globally disabled IPv6
The current mtr does not build if IPv6 is disabled globally, add a patch to
fix the build in this case.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-30 17:32:03 +02:00
Jo-Philipp Wich 54e6887881 mtr: switch to upstream "newdns" branch
Switch the mtr package to the upstream `newdns` git branch.

This will fix compilation on Glibc, uClibc and musl without requiring
further patches.

Note that the base version of this branch is 0.85, not 0.86 so the
lower version number is intentional.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-18 18:35:22 +02:00
Alexander Ryzhov 3dd3316f67 mtr: respect IPv6 settings
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
2015-05-21 06:13:35 +00:00
Jonathan McCrohan 9767485f65 mtr: update to v0.86
Drop 521-glib-dependency-fixes.patch; merged upstream

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2015-01-11 23:56:55 +00:00
Jonathan McCrohan 5345c5ac76 mtr: Add PKG_LICENSE information
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2014-08-14 00:54:44 +01:00
Jonathan McCrohan c3e9974862 muninlite,mtr,sslh,wavemon,xinetd: s/MAINTAINER/PKG_&/
Replace the MAINTAINER lines in packages that I maintain with
PKG_MAINTAINER lines, to be consistent with the rest of the packages
tree.

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2014-08-14 00:39:20 +01:00
Jonathan McCrohan a5ccfeaafe mtr: import from old packages
update from v0.82 to v0.85

set myself as maintainer

drop out of date patches:
patches/520-libresolv_fix.patch
patches/521-gtk_fix.patch

backport 25a2456 from upstream to fix glib dependency issue:
patches/521-glib-dependency-fixes.patch

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2014-07-19 14:18:37 +01:00