Commit Graph

15 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
Rosen Penev e1b8af20d6 klish: update to 2.2.3
Switch to AUTORELEASE for simplicity.

Remove uClibc reference from patch as it's no longer in tree.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-08-21 11:59:15 -07:00
Josef Schlehofer b5028ca6e3
klish: add include for nls when BUILD_NLS is enabled
In recent commit for libxml2 [1], there was enabled support for iconv,
but it relieves issue with klish that it does not compile as it fails with
following output:

checking for xmlNewDoc in -lxml2... no
configure: error: cannot find libxml2 library
make[2]: *** [Makefile:73: /foo/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/klish-2.2.0/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
make[2]: Leaving directory '/foo/build/feeds/packages/utils/klish'

[1] d18692c926

Suggested-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-02-15 22:29:08 +01:00
Rosen Penev 1a8481bf15
klish: fixup sigignore support
Added _GNU_SOURCE for uClibc-ng compatibility. _XOPEN_SOURCE does not
seem to be enough.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-22 14:12:01 -07:00
Rosen Penev 86c478bd76
klish: fix compilation with uClibc-ng
sigignore is missing from libc.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-13 22:10:13 -07:00
Rosen Penev f061d668ce
klish: update to 2.2.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-06 16:39:19 -07:00
Rosen Penev b288514308 klish: Remove unused libstdcpp dependency
This is not a C++ project.

Added PKG_BUILD_PARALLEL for faster compilation.

Cleaned up Makefile to modern standards.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-17 12:22:22 -07:00
Takashi Umeno e6993ad50f klish: CONFIGURE_ARGS += --with-libxml2
Signed-off-by: Takashi Umeno <umeno.takashi@gmail.com>
2018-05-08 22:00:58 +09:00
Takashi Umeno 375c001935 klish: update to latest version (2.1.4)
Signed-off-by: Takashi Umeno <umeno.takashi@gmail.com>
2018-05-07 23:49:42 +09: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
Florian Fainelli 43269ecf01 klish: Fix build errors with external toolchains
We would first not be able to properly detect libxml2 because it's not
automatically found, fix that by explicitly linking against it (and zlib
a dependency). Then if we don't don't define X_OPEN_SOURCE=500, we would
run into the following build error:

clish/shell/shell_execute.c: In function 'clish_shell_exec_action':
clish/shell/shell_execute.c:309:18: error: 'sigignore' undeclared (first
use in this function)
  sa.sa_handler = sigignore; /* Empty signal handler */
                  ^
clish/shell/shell_execute.c:309:18: note: each undeclared identifier is
reported only once for each function it appears in

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-05 17:18:51 -07:00
Alberto Bursi 43dac9065d klish: 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-23 18:35:48 +02:00
Takashi Umeno 9627c38700 klish: update to latest version (2.1.3)
Signed-off-by: Takashi Umeno <umeno.takashi@gmail.com>
2016-08-11 22:57:29 +09:00
Takashi Umeno e97d3c9f1a klish: update to latest version (2.1.2)
Signed-off-by: Takashi Umeno <umeno.takashi@gmail.com>
2016-08-09 21:56:04 +00:00
Takashi Umeno 4c98c181c0 klish: add new package (2.1.1)
The klish is a framework for implementing a CISCO-like CLI on a UNIX
systems. It is configurable by XML files. The KLISH stands for Kommand
Line Interface Shell.

klish is an active fork of the clish program created by Graeme
McKerrell.

Makefile from https://dev.openwrt.org/browser/packages/utils/klish/Makefile?rev=31310

add SOB.
add Maintainer.
change URL http://libcode.org/projects/klish/files
update to 2.1.1 (newest version).
merge klish and konf package.

[squash commits]
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
Signed-off-by: Takashi Umeno <umeno.takashi@gmail.com>
2016-07-02 08:14:17 +00:00