Package: tacacs+
Version: 4.0.4.19-11
Severity: normal
User: [email protected]
Usertags: hurd
Hi,
Currently tacacs+ fails to build on Debian GNU/Hurd. However with a very minor
patch it is
buildable. The patch is attached.
Thank you,
Barry deFreese
#! /bin/sh /usr/share/dpatch/dpatch-run
## fix_hurd.dpatch by <root@bddhurd1>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch'
'--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' tacacs+-4.0.4.19~/configure
tacacs+-4.0.4.19/configure
--- tacacs+-4.0.4.19~/configure 2009-07-28 17:56:24.000000000 +0000
+++ tacacs+-4.0.4.19/configure 2012-05-29 16:37:52.000000000 +0000
@@ -2823,6 +2823,18 @@
_ACEOF
;;
+ *gnu* )
+ # 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
+ cat >>confdefs.h <<\_ACEOF
+#define LINUX 1
+_ACEOF
+
+ ;;
* )
CPPFLAGS="$CFLAGS -I/usr/local/include"; export CPPFLAGS
LDFLAGS="$LDFLAGS -L/usr/local/lib"; export LDFLAGS