aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-01-31 06:55:49 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-01-31 06:55:49 +0000
commit6b61eebefea435dd313de95ba24aa4c9dce0d8e2 (patch)
treeb8164a5bd392749850efad69039b316c6f6ecafc /shells
parent52b18e2c4c74bb60fb99db1aa709f62ed5fcca9a (diff)
downloadports-6b61eebefea435dd313de95ba24aa4c9dce0d8e2.tar.gz
ports-6b61eebefea435dd313de95ba24aa4c9dce0d8e2.zip
Notes
Diffstat (limited to 'shells')
-rw-r--r--shells/Makefile1
-rw-r--r--shells/klish/Makefile21
-rw-r--r--shells/klish/distinfo2
-rw-r--r--shells/klish/files/patch-clish_shell_shell__execute.c17
-rw-r--r--shells/klish/pkg-descr3
-rw-r--r--shells/klish/pkg-plist55
6 files changed, 99 insertions, 0 deletions
diff --git a/shells/Makefile b/shells/Makefile
index fc5197e68281..8df52e626ac6 100644
--- a/shells/Makefile
+++ b/shells/Makefile
@@ -20,6 +20,7 @@
SUBDIR += hs-shelly
SUBDIR += ibsh
SUBDIR += jailkit
+ SUBDIR += klish
SUBDIR += ksh93
SUBDIR += lshell
SUBDIR += mksh
diff --git a/shells/klish/Makefile b/shells/klish/Makefile
new file mode 100644
index 000000000000..fb260833fcd7
--- /dev/null
+++ b/shells/klish/Makefile
@@ -0,0 +1,21 @@
+# Created by: UMENO Takashi <umeno@rr.iij4u.or.jp>
+# $FreeBSD$
+
+PORTNAME= klish
+PORTVERSION= 2.1.1
+CATEGORIES= shells
+MASTER_SITES= http://libcode.org/attachments/download/61/
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= umeno@rr.iij4u.or.jp
+COMMENT= Klish - Kommand Line Interface Shell
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENCE
+
+USES= libtool tar:xz
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
+
+.include <bsd.port.mk>
diff --git a/shells/klish/distinfo b/shells/klish/distinfo
new file mode 100644
index 000000000000..e0e097d4b88f
--- /dev/null
+++ b/shells/klish/distinfo
@@ -0,0 +1,2 @@
+SHA256 (klish-2.1.1.tar.xz) = 9093406248a7ef3b57a2b818aad77eddad6784dc7f9e86bf0b7bf9e577e237a0
+SIZE (klish-2.1.1.tar.xz) = 366040
diff --git a/shells/klish/files/patch-clish_shell_shell__execute.c b/shells/klish/files/patch-clish_shell_shell__execute.c
new file mode 100644
index 000000000000..9f45baa66b53
--- /dev/null
+++ b/shells/klish/files/patch-clish_shell_shell__execute.c
@@ -0,0 +1,17 @@
+--- clish/shell/shell_execute.c.orig 2015-10-06 14:51:41 UTC
++++ clish/shell/shell_execute.c
+@@ -19,12 +19,14 @@
+ #include <signal.h>
+ #include <fcntl.h>
+
++#if !defined(__XSI_VISIBLE)
+ /* Empty signal handler to ignore signal but don't use SIG_IGN. */
+ static void sigignore(int signo)
+ {
+ signo = signo; /* Happy compiler */
+ return;
+ }
++#endif
+
+ /*-------------------------------------------------------- */
+ static int clish_shell_lock(const char *lock_path)
diff --git a/shells/klish/pkg-descr b/shells/klish/pkg-descr
new file mode 100644
index 000000000000..0f1f2bd6156d
--- /dev/null
+++ b/shells/klish/pkg-descr
@@ -0,0 +1,3 @@
+The klish is a framework for implementing a CISCO-like CLI on a UNIX systems.
+
+WWW: http://libcode.org/projects/klish/
diff --git a/shells/klish/pkg-plist b/shells/klish/pkg-plist
new file mode 100644
index 000000000000..981c549622e2
--- /dev/null
+++ b/shells/klish/pkg-plist
@@ -0,0 +1,55 @@
+bin/clish
+bin/konfd
+bin/konf
+bin/sigexec
+include/tinyrl/tinyrl.h
+include/tinyrl/history.h
+include/tinyrl/vt100.h
+include/lub/argv.h
+include/lub/bintree.h
+include/lub/list.h
+include/lub/ctype.h
+include/lub/c_decl.h
+include/lub/dump.h
+include/lub/string.h
+include/lub/types.h
+include/lub/system.h
+include/lub/db.h
+include/lub/ini.h
+include/lub/log.h
+include/konf/tree.h
+include/konf/query.h
+include/konf/buf.h
+include/konf/net.h
+include/clish/types.h
+include/clish/command.h
+include/clish/param.h
+include/clish/pargv.h
+include/clish/ptype.h
+include/clish/shell.h
+include/clish/view.h
+include/clish/nspace.h
+include/clish/var.h
+include/clish/action.h
+include/clish/config.h
+include/clish/hotkey.h
+include/clish/plugin.h
+include/clish/udata.h
+lib/clish_plugin_clish.a
+lib/clish_plugin_clish.so
+lib/libclish.a
+lib/libclish.so
+lib/libclish.so.1
+lib/libclish.so.1.0.0
+lib/libkonf.a
+lib/libkonf.so
+lib/libkonf.so.1
+lib/libkonf.so.1.0.0
+lib/liblub.a
+lib/liblub.so
+lib/liblub.so.1
+lib/liblub.so.1.0.0
+lib/libtinyrl.a
+lib/libtinyrl.so
+lib/libtinyrl.so.1
+lib/libtinyrl.so.1.0.0