aboutsummaryrefslogtreecommitdiff
path: root/net/tac_plus/patches
diff options
context:
space:
mode:
authorBruno Pena <brunompena@gmail.com>2019-04-13 10:57:59 +0200
committerBruno Pena <brunompena@gmail.com>2019-04-13 23:58:55 +0200
commit47f248d15512ab8d870576ef4e20d040aa08dbf0 (patch)
tree0774fc04781d99f792529717322733f21b762dbc /net/tac_plus/patches
parentc36e8c6ea2d5ac47491c9edc16c749b3b6d0fce1 (diff)
tac_plus: New package (TACACS+ daemon)
Signed-off-by: Bruno Pena <brunompena@gmail.com> tac_plus: Updated to the latest commit from upstream. Updated URL to reference Facebook's GitHub repository. Tweaked Makefile to include the date on the source package filename. Signed-off-by: Bruno Pena <brunompena@gmail.com>
Diffstat (limited to 'net/tac_plus/patches')
-rw-r--r--net/tac_plus/patches/010-configure-remove-libnsl.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/tac_plus/patches/010-configure-remove-libnsl.patch b/net/tac_plus/patches/010-configure-remove-libnsl.patch
new file mode 100644
index 000000000..01ac6aa55
--- /dev/null
+++ b/net/tac_plus/patches/010-configure-remove-libnsl.patch
@@ -0,0 +1,15 @@
+--- a/tacacs-F4.0.4.28/configure 2015-01-06 22:55:35.000000000 +0100
++++ b/tacacs-F4.0.4.28/configure 2019-01-31 14:44:28.679272504 +0100
+@@ -3285,11 +3285,9 @@
+ ;;
+ *linux* )
+ # XXX: not sure if /usr/local is necessary.
+- # XXX: linux libwrap needs -lnsl. configure should check for
+- # existence of libnsl instead of hard-coding
+ CPPFLAGS="$CFLAGS -I/usr/local/include"; export CPPFLAGS
+ LDFLAGS="$LDFLAGS -L/usr/local/lib -L/lib"; export LDFLAGS
+- LIBS="-lnsl -lcrypt $LIBS"; export LIBS
++ LIBS="-lcrypt $LIBS"; export LIBS
+ $as_echo "#define LINUX 1" >>confdefs.h
+
+