Commit Graph

19 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
Sergey V. Lobanov 50b4221ee5 tcsh: fix build on macos
tcsh requires host-tool (gethost) to generate tc.defs.c file.
To build this tool on macos, it is required to run ./configure
script wihout target vars/flags, but this package is not
splitted to host and target build.

This patch splits build to host and target builds to compile
host-tool(gethost) first, then compile tsch.

Due to lack of support of separate building host and target,
OpenWrt Makefile is modified to do it in the order below:
1. build host-tool (gethost)
2. build sh.err.h header for target
3. build tc.const.h header for target
4. copy gethost tool from host staging dir to target build dir
5. touch (make -t) gethost to protect it from recompiling
6. build tsch for target

It is required to do step 2 and 3 because 'make -t' generates
empty files but these files required to build tcsh

Patch 020-cross.patch has been removed due to not required
anymore (gethost build is separated and not affected by
target configure flags and vars)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-18 18:10:48 -08:00
Rosen Penev 3f2113db87 tcsh: update to 6.22.04
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-04 12:19:57 +02:00
Rosen Penev 132cfe72be
tcsh: update to 6.22.03
Remove upstreamed patch

Refresh others.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-01 16:22:43 -08:00
Rosen Penev f86e3a0a9f tcsh: fix compilation with GCC10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-02 05:58:19 +02:00
Rosen Penev efc94a457c
tcsh: Update to 6.22.02
Updated URL list. Changed to HTTPS also.

Added PKG_BUILD_PARALLEL for faster compilation.

Added PKG_INSTALL as is standard with most packages.

Small optimization to shell script.

Added two patches to fix compilation. Refreshed the other one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-05 17:11:46 -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
Nuno Goncalves 4e82a56ccd tcsh: fix out of memory crash
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2017-10-26 14:40:52 +02: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
Nuno Goncalves cc5a56540a tcsh: bump to version 6.20
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2016-11-28 09:41:28 +01:00
Nuno Goncalves 325c2ebbf8 tcsh: bump to version 6.19.01
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2016-11-12 22:25:32 +01:00
Alberto Bursi 82a8faa072 tcsh: move to Shells submenu
Part of a wider housekeeping effort on the packages repository.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
2016-10-24 10:22:09 +02:00
Nuno Goncalves 1da82b171c tcsh: remove patches as they are now upstream
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2016-10-14 10:30:55 +02:00
Nuno Goncalves 2bb6af5101 tcsh: fix out of memory error with musl
Since __GLIBC__ is no longer defined under musl, we must hard patch it.

Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2015-07-18 19:46:15 +01:00
Nuno Goncalves 097c3085aa tcsh: add source mirrors
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2015-07-11 21:20:43 +01:00
Jo-Philipp Wich b2aba46406 tcsh: fix musl compatibility
Avoid using `union wait` under musl as it does not provide this definition.
Implement solution suggested by http://www.openwall.com/lists/musl/2013/06/21/4

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-18 20:33:40 +02:00
Nuno Goncalves 2de5acd6bd tcsh: update to 6.19.00
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2015-05-25 14:46:46 +01:00
Ian Leonard ac7cd4c6e6 misc: correct typo in Makefiles for PKG_LICENSE_FILES
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-24 23:43:37 -08:00
Nuno Goncalves 8f52a803a4 tcsh: move to github, bump version to 6.18.01
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2014-09-16 01:13:23 +01:00