aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <syzdek@bindlebinaries.com>2017-07-07 12:06:28 -0800
committerDavid M. Syzdek <syzdek@bindlebinaries.com>2017-07-07 12:06:28 -0800
commit5c3ed9ae102401d82ff1fb3c9c3587876dff5f41 (patch)
tree47de491de86d09f657031aa0d59cce55eeecd896
parent00f9c21e6bb860e08b39aa5824c601868375f2cc (diff)
downloadsecurecoreutils-5c3ed9ae102401d82ff1fb3c9c3587876dff5f41.tar.gz
securecoreutils-5c3ed9ae102401d82ff1fb3c9c3587876dff5f41.tar.bz2
securecoreutils-5c3ed9ae102401d82ff1fb3c9c3587876dff5f41.tar.xz
securecoreutils-5c3ed9ae102401d82ff1fb3c9c3587876dff5f41.zip
Adding ability to disable widget symlinks.v0.1.9
-rw-r--r--ChangeLog1
-rw-r--r--Makefile.am11
-rw-r--r--acinclude.m421
-rw-r--r--configure.ac4
4 files changed, 32 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 6ed34b3..f5ee506 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@ Secure Core Utilities
3Copyright (C) 2015, 2017 David M. Syzdek <david@syzdek.net>. 3Copyright (C) 2015, 2017 David M. Syzdek <david@syzdek.net>.
4 4
50.2 50.2
6 - core: adding ability to disable creating widget symlinks (syzdek)
6 - core: updating copyright notices (syzdek) 7 - core: updating copyright notices (syzdek)
7 - core: adding ability to change widget alias prefix at compile time (syzdek) 8 - core: adding ability to change widget alias prefix at compile time (syzdek)
8 - tail: allowing timeout to be modified via env variable TAILTIMEOUT (syzdek) 9 - tail: allowing timeout to be modified via env variable TAILTIMEOUT (syzdek)
diff --git a/Makefile.am b/Makefile.am
index 4dbed62..1960983 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -129,11 +129,9 @@ include $(srcdir)/@bindletools_srcdir@/build-aux/makefile-version.am
129 129
130 130
131# custom targets 131# custom targets
132.PHONY: 132.PHONY: install-widget-symlinks
133 133
134 134install-widget-symlinks:
135# local targets
136install-exec-local:
137 ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)cat; ) 135 ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)cat; )
138 ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)path; ) 136 ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)path; )
139 ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)rm; ) 137 ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)rm; )
@@ -143,7 +141,12 @@ install-exec-local:
143 ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)bzcat; ) 141 ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)bzcat; )
144 ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)gzcat; ) 142 ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)gzcat; )
145 ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)xzcat; ) 143 ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)xzcat; )
144if SCU_SYMLINKS
145INSTALL_SYMLINKS = install-widget-symlinks
146endif
146 147
148# local targets
149install-exec-local: $(INSTALL_SYMLINKS)
147 150
148install-data-local: 151install-data-local:
149 152
diff --git a/acinclude.m4 b/acinclude.m4
index 3e873f1..8c0b90c 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -58,6 +58,27 @@ AC_DEFUN([AC_SCU_PREFIX],[dnl
58])dnl 58])dnl
59 59
60 60
61# AC_SCU_SYMLINKS
62# ______________________________________________________________________________
63AC_DEFUN([AC_SCU_SYMLINKS],[dnl
64
65 enableval=""
66 AC_ARG_ENABLE(
67 symlinks,
68 [AS_HELP_STRING([--disable-symlinks], [disable creating symlinks for widgets])],
69 [ ESYMLINKS=$enableval ],
70 [ ESYMLINKS=$enableval ]
71 )
72
73 if test "x${ESYMLINKS}" != "xno";then
74 ESYMLINKS="yes"
75 fi
76 SCU_SYMLINKS=${ESYMLINKS}
77
78 AM_CONDITIONAL([SCU_SYMLINKS], [test "x$SCU_SYMLINKS" = "xyes"])
79])dnl
80
81
61# AC_SCU_WIDGET_TAIL 82# AC_SCU_WIDGET_TAIL
62# ______________________________________________________________________________ 83# ______________________________________________________________________________
63AC_DEFUN([AC_SCU_WIDGET_TAIL],[dnl 84AC_DEFUN([AC_SCU_WIDGET_TAIL],[dnl
diff --git a/configure.ac b/configure.ac
index 47fc237..f96ea1d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -164,6 +164,7 @@ AC_BINDLE_GIT_PACKAGE_VERSION([contrib/bindletools/build-aux/git-package-version
164# custom configure options 164# custom configure options
165AC_BINDLE_ENABLE_WARNINGS 165AC_BINDLE_ENABLE_WARNINGS
166AC_SCU_PREFIX 166AC_SCU_PREFIX
167AC_SCU_SYMLINKS
167AC_SCU_WIDGET_TAIL 168AC_SCU_WIDGET_TAIL
168AC_SCU_WIDGET_ZCAT 169AC_SCU_WIDGET_ZCAT
169 170
@@ -182,7 +183,8 @@ AC_MSG_NOTICE([ ])
182AC_MSG_NOTICE([ Secure Core Utilities $GIT_PACKAGE_VERSION ($GIT_PACKAGE_BUILD)]) 183AC_MSG_NOTICE([ Secure Core Utilities $GIT_PACKAGE_VERSION ($GIT_PACKAGE_BUILD)])
183AC_MSG_NOTICE([ ]) 184AC_MSG_NOTICE([ ])
184AC_MSG_NOTICE([ Options:]) 185AC_MSG_NOTICE([ Options:])
185AC_MSG_NOTICE([ widget prefix: "${SCU_PREFIX}"]) 186AC_MSG_NOTICE([ widget prefix: ${SCU_PREFIX}])
187AC_MSG_NOTICE([ create symlinks: ${SCU_SYMLINKS}])
186AC_MSG_NOTICE([ tail timeout: $SCU_TAIL_TIMEOUT]) 188AC_MSG_NOTICE([ tail timeout: $SCU_TAIL_TIMEOUT])
187AC_MSG_NOTICE([ ]) 189AC_MSG_NOTICE([ ])
188AC_MSG_NOTICE([ Support:]) 190AC_MSG_NOTICE([ Support:])