ports/64895: [NEW PORT] mail/gnarwl: Email autoresponder that gets data from LDAP

Xavier Beaudouin kiwi at oav.net
Mon Mar 29 14:20:20 UTC 2004


>Number:         64895
>Category:       ports
>Synopsis:       [NEW PORT] mail/gnarwl: Email autoresponder that gets data from LDAP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 29 06:20:19 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Xavier Beaudouin
>Release:        FreeBSD 5.2.1-RELEASE-p1 i386
>Organization:
The Caudium Group / Association Kazar
>Environment:
System: FreeBSD domu.oav.net 5.2.1-RELEASE-p1 FreeBSD 5.2.1-RELEASE-p1 #0: Fri Mar  5 10:21:57 CET
>Description:
Gnarwl is an email autoresponder.

Unlike the original vacation(1) program, gnarwl is based on LDAP.
Traditionally you had to give every user, who wanted to use autoreply
facilities full fledged system accounts (trusting them to set their
forwarding up properly, cursing when they didn't).

With gnarwl this is history. User information is now stored in LDAP.
Thats right, no more messing around with system accounts or homedirs for
users who just want their email working, but don't care to fuss around
with shell commands.

WWW: http://www.oss.billiton.de/software.shtml

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- gnarwl-3.3.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gnarwl
#	gnarwl/Makefile
#	gnarwl/distinfo
#	gnarwl/pkg-descr
#	gnarwl/files
#	gnarwl/files/patch-aa
#	gnarwl/pkg-plist
#
echo c - gnarwl
mkdir -p gnarwl > /dev/null 2>&1
echo x - gnarwl/Makefile
sed 's/^X//' >gnarwl/Makefile << 'END-of-gnarwl/Makefile'
X# New ports collection makefile for:	gnarwl
X# Date created:				Mon Mar 29 2003
X# Whom:					Xavier Beaudouin <kiwi at oav.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gnarwl
XPORTVERSION=	3.3
XCATEGORIES=	mail
XMASTER_SITES=	http://www.oss.billiton.de/download/ \
X		ftp://ftp.oav.net/pkg_freebsd/distfiles/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	kiwi at oav.net
XCOMMENT=	Email autoresponder that gets data from LDAP
X
XLIB_DEPENDS=	gdbm.3:${PORTSDIR}/databases/gdbm
XBUILD_DEPENDS=	${LOCALBASE}/bin/gsed:${PORTSDIR}/textproc/gsed
X
XUSE_GMAKE=	YES
XUSE_ICONV=	YES
XUSE_LDAP=	YES
XGNU_CONFIGURE=	YES
XCONFIGURE_ARGS=	--prefix=${PREFIX} --with-docdir=${DOCSDIR}
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X
XMAN8=		damnit.8 gnarwl.8
XMANCOMPRESSED=	yes
X
X.include <bsd.port.mk>
END-of-gnarwl/Makefile
echo x - gnarwl/distinfo
sed 's/^X//' >gnarwl/distinfo << 'END-of-gnarwl/distinfo'
XMD5 (gnarwl-3.3.tgz) = ec2bb56301988e300741eec8190b165e
XSIZE (gnarwl-3.3.tgz) = 68093
END-of-gnarwl/distinfo
echo x - gnarwl/pkg-descr
sed 's/^X//' >gnarwl/pkg-descr << 'END-of-gnarwl/pkg-descr'
XGnarwl is an email autoresponder.
X
XUnlike the original vacation(1) program, gnarwl is based on LDAP.
XTraditionally you had to give every user, who wanted to use autoreply
Xfacilities full fledged system accounts (trusting them to set their
Xforwarding up properly, cursing when they didn't).
X
XWith gnarwl this is history. User information is now stored in LDAP.
XThats right, no more messing around with system accounts or homedirs for
Xusers who just want their email working, but don't care to fuss around
Xwith shell commands.
X
XWWW: http://www.oss.billiton.de/software.shtml
END-of-gnarwl/pkg-descr
echo c - gnarwl/files
mkdir -p gnarwl/files > /dev/null 2>&1
echo x - gnarwl/files/patch-aa
sed 's/^X//' >gnarwl/files/patch-aa << 'END-of-gnarwl/files/patch-aa'
Xdiff -u --new-file --recursive ../gnarwl-3.3.orig/Makefile.in ./Makefile.in
X--- ../gnarwl-3.3.orig/Makefile.in	Sat Jan 25 12:27:42 2003
X+++ ./Makefile.in	Mon Mar 29 14:27:37 2004
X@@ -10,7 +10,7 @@
X BIN=gnarwl
X SBIN=damnit
X MAN_SEC=8
X-VER=$(shell basename `pwd` | sed s\\$(BIN)-\\\\)
X+VER=$(shell basename `pwd` | gsed s\\$(BIN)-\\\\)
X 
X ##
X # Path settings (no trailing slashes!)
X@@ -38,8 +38,8 @@
X ##
X 
X CC=@CC@
X-CFLAGS=-DBLOCKDIR=\"$(BLOCKDIR)\" -DCFGFILE=\"$(CONFDIR)/gnarwl.cfg\" -DVERSION=\"$(VER)\" -g -Wall -O2 -I..
X-LFLAGS=-lldap -lgdbm -ldl -lresolv
X+CFLAGS=@CFLAGS@ -DBLOCKDIR=\"$(BLOCKDIR)\" -DCFGFILE=\"$(CONFDIR)/gnarwl.cfg\" -DVERSION=\"$(VER)\" -g -Wall -O2 -I.. @CPPFLAGS@
X+LFLAGS=@LDFLAGS@ @LIBS@
X 
X ##
X ## No serviceable parts below
Xdiff -u --new-file --recursive ../gnarwl-3.3.orig/configure ./configure
X--- ../gnarwl-3.3.orig/configure	Fri Dec 13 16:07:31 2002
X+++ ./configure	Mon Mar 29 14:09:02 2004
X@@ -835,7 +835,7 @@
X # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
X # absolute.
X ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
X-ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
X+ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
X ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
X ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
X 
X@@ -1909,6 +1909,17 @@
X ac_compiler_gnu=$ac_cv_c_compiler_gnu
X 
X 
X+# Add some includes things
X+
X+if test -d /usr/local/include; then
X+  CPPFLAGS="$CPPFLAGS -I/usr/local/include"
X+fi
X+
X+if test -d /usr/local/lib; then
X+  LDFLAGS="$LDFLAGS -L/usr/local/lib"
X+fi
X+
X+
X 
X # Check whether --with-homedir or --without-homedir was given.
X if test "${with_homedir+set}" = set; then
X@@ -2185,6 +2196,71 @@
X 
X 
X 
X+echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
X+echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
X+if test "${ac_cv_lib_iconv_iconv+set}" = set; then
X+  echo $ECHO_N "(cached) $ECHO_C" >&6
X+else
X+  ac_check_lib_save_LIBS=$LIBS
X+LIBS="-liconv  $LIBS"
X+cat >conftest.$ac_ext <<_ACEOF
X+#line $LINENO "configure"
X+#include "confdefs.h"
X+
X+/* Override any gcc2 internal prototype to avoid an error.  */
X+#ifdef __cplusplus
X+extern "C"
X+#endif
X+/* We use char because int might match the return type of a gcc2
X+   builtin and then its argument prototype would still apply.  */
X+char iconv ();
X+#ifdef F77_DUMMY_MAIN
X+#  ifdef __cplusplus
X+     extern "C"
X+#  endif
X+   int F77_DUMMY_MAIN() { return 1; }
X+#endif
X+int
X+main ()
X+{
X+iconv ();
X+  ;
X+  return 0;
X+}
X+_ACEOF
X+rm -f conftest.$ac_objext conftest$ac_exeext
X+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
X+  (eval $ac_link) 2>&5
X+  ac_status=$?
X+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X+  (exit $ac_status); } &&
X+         { ac_try='test -s conftest$ac_exeext'
X+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
X+  (eval $ac_try) 2>&5
X+  ac_status=$?
X+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X+  (exit $ac_status); }; }; then
X+  ac_cv_lib_iconv_iconv=yes
X+else
X+  echo "$as_me: failed program was:" >&5
X+cat conftest.$ac_ext >&5
X+ac_cv_lib_iconv_iconv=no
X+fi
X+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
X+LIBS=$ac_check_lib_save_LIBS
X+fi
X+echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
X+echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
X+if test $ac_cv_lib_iconv_iconv = yes; then
X+  cat >>confdefs.h <<_ACEOF
X+#define HAVE_LIBICONV 1
X+_ACEOF
X+
X+  LIBS="-liconv $LIBS"
X+
X+fi
X+
X+
X for ac_func in iconv
X do
X as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
X@@ -2261,6 +2337,342 @@
X done
X 
X 
X+
X+echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
X+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
X+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
X+  echo $ECHO_N "(cached) $ECHO_C" >&6
X+else
X+  ac_check_lib_save_LIBS=$LIBS
X+LIBS="-ldl  $LIBS"
X+cat >conftest.$ac_ext <<_ACEOF
X+#line $LINENO "configure"
X+#include "confdefs.h"
X+
X+/* Override any gcc2 internal prototype to avoid an error.  */
X+#ifdef __cplusplus
X+extern "C"
X+#endif
X+/* We use char because int might match the return type of a gcc2
X+   builtin and then its argument prototype would still apply.  */
X+char dlopen ();
X+#ifdef F77_DUMMY_MAIN
X+#  ifdef __cplusplus
X+     extern "C"
X+#  endif
X+   int F77_DUMMY_MAIN() { return 1; }
X+#endif
X+int
X+main ()
X+{
X+dlopen ();
X+  ;
X+  return 0;
X+}
X+_ACEOF
X+rm -f conftest.$ac_objext conftest$ac_exeext
X+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
X+  (eval $ac_link) 2>&5
X+  ac_status=$?
X+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X+  (exit $ac_status); } &&
X+         { ac_try='test -s conftest$ac_exeext'
X+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
X+  (eval $ac_try) 2>&5
X+  ac_status=$?
X+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X+  (exit $ac_status); }; }; then
X+  ac_cv_lib_dl_dlopen=yes
X+else
X+  echo "$as_me: failed program was:" >&5
X+cat conftest.$ac_ext >&5
X+ac_cv_lib_dl_dlopen=no
X+fi
X+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
X+LIBS=$ac_check_lib_save_LIBS
X+fi
X+echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
X+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
X+if test $ac_cv_lib_dl_dlopen = yes; then
X+  cat >>confdefs.h <<_ACEOF
X+#define HAVE_LIBDL 1
X+_ACEOF
X+
X+  LIBS="-ldl $LIBS"
X+
X+fi
X+
X+
X+
X+echo "$as_me:$LINENO: checking for gethostbyname" >&5
X+echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
X+if test "${ac_cv_func_gethostbyname+set}" = set; then
X+  echo $ECHO_N "(cached) $ECHO_C" >&6
X+else
X+  cat >conftest.$ac_ext <<_ACEOF
X+#line $LINENO "configure"
X+#include "confdefs.h"
X+/* System header to define __stub macros and hopefully few prototypes,
X+    which can conflict with char gethostbyname (); below.  */
X+#include <assert.h>
X+/* Override any gcc2 internal prototype to avoid an error.  */
X+#ifdef __cplusplus
X+extern "C"
X+#endif
X+/* We use char because int might match the return type of a gcc2
X+   builtin and then its argument prototype would still apply.  */
X+char gethostbyname ();
X+char (*f) ();
X+
X+#ifdef F77_DUMMY_MAIN
X+#  ifdef __cplusplus
X+     extern "C"
X+#  endif
X+   int F77_DUMMY_MAIN() { return 1; }
X+#endif
X+int
X+main ()
X+{
X+/* The GNU C library defines this for functions which it implements
X+    to always fail with ENOSYS.  Some functions are actually named
X+    something starting with __ and the normal name is an alias.  */
X+#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
X+choke me
X+#else
X+f = gethostbyname;
X+#endif
X+
X+  ;
X+  return 0;
X+}
X+_ACEOF
X+rm -f conftest.$ac_objext conftest$ac_exeext
X+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
X+  (eval $ac_link) 2>&5
X+  ac_status=$?
X+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X+  (exit $ac_status); } &&
X+         { ac_try='test -s conftest$ac_exeext'
X+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
X+  (eval $ac_try) 2>&5
X+  ac_status=$?
X+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X+  (exit $ac_status); }; }; then
X+  ac_cv_func_gethostbyname=yes
X+else
X+  echo "$as_me: failed program was:" >&5
X+cat conftest.$ac_ext >&5
X+ac_cv_func_gethostbyname=no
X+fi
X+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
X+fi
X+echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
X+echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
X+if test $ac_cv_func_gethostbyname = yes; then
X+  :
X+else
X+
X+echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5
X+echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6
X+if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then
X+  echo $ECHO_N "(cached) $ECHO_C" >&6
X+else
X+  ac_check_lib_save_LIBS=$LIBS
X+LIBS="-lresolv  $LIBS"
X+cat >conftest.$ac_ext <<_ACEOF
X+#line $LINENO "configure"
X+#include "confdefs.h"
X+
X+/* Override any gcc2 internal prototype to avoid an error.  */
X+#ifdef __cplusplus
X+extern "C"
X+#endif
X+/* We use char because int might match the return type of a gcc2
X+   builtin and then its argument prototype would still apply.  */
X+char gethostbyname ();
X+#ifdef F77_DUMMY_MAIN
X+#  ifdef __cplusplus
X+     extern "C"
X+#  endif
X+   int F77_DUMMY_MAIN() { return 1; }
X+#endif
X+int
X+main ()
X+{
X+gethostbyname ();
X+  ;
X+  return 0;
X+}
X+_ACEOF
X+rm -f conftest.$ac_objext conftest$ac_exeext
X+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
X+  (eval $ac_link) 2>&5
X+  ac_status=$?
X+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X+  (exit $ac_status); } &&
X+         { ac_try='test -s conftest$ac_exeext'
X+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
X+  (eval $ac_try) 2>&5
X+  ac_status=$?
X+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X+  (exit $ac_status); }; }; then
X+  ac_cv_lib_resolv_gethostbyname=yes
X+else
X+  echo "$as_me: failed program was:" >&5
X+cat conftest.$ac_ext >&5
X+ac_cv_lib_resolv_gethostbyname=no
X+fi
X+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
X+LIBS=$ac_check_lib_save_LIBS
X+fi
X+echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5
X+echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6
X+if test $ac_cv_lib_resolv_gethostbyname = yes; then
X+  cat >>confdefs.h <<_ACEOF
X+#define HAVE_LIBRESOLV 1
X+_ACEOF
X+
X+  LIBS="-lresolv $LIBS"
X+
X+fi
X+
X+fi
X+
X+echo "$as_me:$LINENO: checking for gethostbyname" >&5
X+echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
X+if test "${ac_cv_func_gethostbyname+set}" = set; then
X+  echo $ECHO_N "(cached) $ECHO_C" >&6
X+else
X+  cat >conftest.$ac_ext <<_ACEOF
X+#line $LINENO "configure"
X+#include "confdefs.h"
X+/* System header to define __stub macros and hopefully few prototypes,
X+    which can conflict with char gethostbyname (); below.  */
X+#include <assert.h>
X+/* Override any gcc2 internal prototype to avoid an error.  */
X+#ifdef __cplusplus
X+extern "C"
X+#endif
X+/* We use char because int might match the return type of a gcc2
X+   builtin and then its argument prototype would still apply.  */
X+char gethostbyname ();
X+char (*f) ();
X+
X+#ifdef F77_DUMMY_MAIN
X+#  ifdef __cplusplus
X+     extern "C"
X+#  endif
X+   int F77_DUMMY_MAIN() { return 1; }
X+#endif
X+int
X+main ()
X+{
X+/* The GNU C library defines this for functions which it implements
X+    to always fail with ENOSYS.  Some functions are actually named
X+    something starting with __ and the normal name is an alias.  */
X+#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
X+choke me
X+#else
X+f = gethostbyname;
X+#endif
X+
X+  ;
X+  return 0;
X+}
X+_ACEOF
X+rm -f conftest.$ac_objext conftest$ac_exeext
X+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
X+  (eval $ac_link) 2>&5
X+  ac_status=$?
X+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X+  (exit $ac_status); } &&
X+         { ac_try='test -s conftest$ac_exeext'
X+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
X+  (eval $ac_try) 2>&5
X+  ac_status=$?
X+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X+  (exit $ac_status); }; }; then
X+  ac_cv_func_gethostbyname=yes
X+else
X+  echo "$as_me: failed program was:" >&5
X+cat conftest.$ac_ext >&5
X+ac_cv_func_gethostbyname=no
X+fi
X+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
X+fi
X+echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
X+echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
X+if test $ac_cv_func_gethostbyname = yes; then
X+  :
X+else
X+
X+echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
X+echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
X+if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
X+  echo $ECHO_N "(cached) $ECHO_C" >&6
X+else
X+  ac_check_lib_save_LIBS=$LIBS
X+LIBS="-lnsl  $LIBS"
X+cat >conftest.$ac_ext <<_ACEOF
X+#line $LINENO "configure"
X+#include "confdefs.h"
X+
X+/* Override any gcc2 internal prototype to avoid an error.  */
X+#ifdef __cplusplus
X+extern "C"
X+#endif
X+/* We use char because int might match the return type of a gcc2
X+   builtin and then its argument prototype would still apply.  */
X+char gethostbyname ();
X+#ifdef F77_DUMMY_MAIN
X+#  ifdef __cplusplus
X+     extern "C"
X+#  endif
X+   int F77_DUMMY_MAIN() { return 1; }
X+#endif
X+int
X+main ()
X+{
X+gethostbyname ();
X+  ;
X+  return 0;
X+}
X+_ACEOF
X+rm -f conftest.$ac_objext conftest$ac_exeext
X+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
X+  (eval $ac_link) 2>&5
X+  ac_status=$?
X+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X+  (exit $ac_status); } &&
X+         { ac_try='test -s conftest$ac_exeext'
X+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
X+  (eval $ac_try) 2>&5
X+  ac_status=$?
X+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
X+  (exit $ac_status); }; }; then
X+  ac_cv_lib_nsl_gethostbyname=yes
X+else
X+  echo "$as_me: failed program was:" >&5
X+cat conftest.$ac_ext >&5
X+ac_cv_lib_nsl_gethostbyname=no
X+fi
X+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
X+LIBS=$ac_check_lib_save_LIBS
X+fi
X+echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
X+echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
X+if test $ac_cv_lib_nsl_gethostbyname = yes; then
X+  cat >>confdefs.h <<_ACEOF
X+#define HAVE_LIBNSL 1
X+_ACEOF
X+
X+  LIBS="-lnsl $LIBS"
X+
X+fi
X+
X+fi
X+
X+
X cat >>confdefs.h <<_ACEOF
X #define UMASK $permmask
X _ACEOF
X@@ -2958,7 +3370,7 @@
X # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
X # absolute.
X ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
X-ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
X+ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
X ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
X ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
X 
Xdiff -u --new-file --recursive ../gnarwl-3.3.orig/configure.ac ./configure.ac
X--- ../gnarwl-3.3.orig/configure.ac	Mon Dec  9 17:49:38 2002
X+++ ./configure.ac	Mon Mar 29 14:08:48 2004
X@@ -6,6 +6,17 @@
X # Checks for programs.
X AC_PROG_CC
X 
X+# Add some includes things
X+
X+if test -d /usr/local/include; then
X+  CPPFLAGS="$CPPFLAGS -I/usr/local/include"
X+fi
X+
X+if test -d /usr/local/lib; then
X+  LDFLAGS="$LDFLAGS -L/usr/local/lib"
X+fi
X+
X+
X AC_ARG_WITH(homedir,AC_HELP_STRING([--with-homedir=DIR],[Homedir for the gnarwl user]),[homedir="$withval"],[homedir="\${prefix}/var/lib/gnarwl"])
X AC_ARG_WITH(docdir,AC_HELP_STRING([--with-docdir=DIR],[Where to install the docs]),docdir="$withval",docdir="\${prefix}/share/doc/packages/gnarwl")
X AC_ARG_WITH(useradd_prog,AC_HELP_STRING([--with-useradd_prog=DIR],[Programm for adding users]),useradd_prog="$withval",useradd_prog="/usr/sbin/useradd")
X@@ -28,7 +39,15 @@
X AC_CHECK_LIB([ldap],[ldap_init])
X AC_CHECK_FUNCS([ldap_set_option])
X 
X+AC_CHECK_LIB([iconv],[iconv])
X AC_CHECK_FUNCS([iconv])
X+
X+AC_CHECK_LIB([dl],[dlopen])
X+
X+dnl I dunno why libresolv is needed on linux so make a klundge for that.
X+
X+AC_CHECK_FUNC(gethostbyname, , [AC_CHECK_LIB(resolv, gethostbyname)])
X+AC_CHECK_FUNC(gethostbyname, , [AC_CHECK_LIB(nsl, gethostbyname)])
X 
X AC_DEFINE_UNQUOTED(UMASK,$permmask)
X AC_DEFINE_UNQUOTED(MAXLINE,$maxline)
Xdiff -u --new-file --recursive ../gnarwl-3.3.orig/data/Makefile ./data/Makefile
X--- ../gnarwl-3.3.orig/data/Makefile	Fri Dec 13 01:48:20 2002
X+++ ./data/Makefile	Mon Mar 29 14:29:02 2004
X@@ -7,10 +7,10 @@
X 	rm -f $(BIN)-$(VER).spec gnarwl.cfg
X 
X config:
X-	@sed "s\\_HOMEDIR_\\$(HOMEDIR)\\g ; s\\_VER_\\$(VER)\\g ; s\\_MAN_SEC_\\$(MAN_SEC)\\g" < config.tmpl > gnarwl.cfg
X+	@gsed "s\\_HOMEDIR_\\$(HOMEDIR)\\g ; s\\_VER_\\$(VER)\\g ; s\\_MAN_SEC_\\$(MAN_SEC)\\g" < config.tmpl > gnarwl.cfg
X 
X spec:
X-	@sed "s\\_BIN_\\$(BIN)\\g ; s\\_VER_\\$(VER)\\g; s\\_SBIN_\\$(SBIN)\\g; s\\_SEC_\\$(MAN_SEC)\\g" < spec.tmpl > $(BIN)-$(VER).spec 
X+	@gsed "s\\_BIN_\\$(BIN)\\g ; s\\_VER_\\$(VER)\\g; s\\_SBIN_\\$(SBIN)\\g; s\\_SEC_\\$(MAN_SEC)\\g" < spec.tmpl > $(BIN)-$(VER).spec 
X 
X install:
X 	mkdir -m 755 -p  $(HOMEDIR)/block $(HOMEDIR)/bin $(CONFDIR)
Xdiff -u --new-file --recursive ../gnarwl-3.3.orig/doc/Makefile ./doc/Makefile
X--- ../gnarwl-3.3.orig/doc/Makefile	Fri Jun 13 11:29:44 2003
X+++ ./doc/Makefile	Mon Mar 29 14:29:29 2004
X@@ -8,8 +8,8 @@
X 
X manpage:
X 	@echo Generating manpage...
X-	@sed "s\\_CONFDIR_\\$(CONFDIR)\\g ; s\\_HOMEDIR_\\$(HOMEDIR)\\g ; s\\_MANSEC_\\$(MAN_SEC)\\g" < $(BIN).man | groff -man -Tascii > $(BIN).$(MAN_SEC)
X-	@sed "s\\_CONFDIR_\\$(CONFDIR)\\g ; s\\_HOMEDIR_\\$(HOMEDIR)\\g ; s\\_MANSEC_\\$(MAN_SEC)\\g" < $(SBIN).man | groff -man -Tascii > $(SBIN).$(MAN_SEC)
X+	@gsed "s\\_CONFDIR_\\$(CONFDIR)\\g ; s\\_HOMEDIR_\\$(HOMEDIR)\\g ; s\\_MANSEC_\\$(MAN_SEC)\\g" < $(BIN).man | groff -man -Tascii > $(BIN).$(MAN_SEC)
X+	@gsed "s\\_CONFDIR_\\$(CONFDIR)\\g ; s\\_HOMEDIR_\\$(HOMEDIR)\\g ; s\\_MANSEC_\\$(MAN_SEC)\\g" < $(SBIN).man | groff -man -Tascii > $(SBIN).$(MAN_SEC)
X 
X 
X install:
END-of-gnarwl/files/patch-aa
echo x - gnarwl/pkg-plist
sed 's/^X//' >gnarwl/pkg-plist << 'END-of-gnarwl/pkg-plist'
Xbin/gnarwl
Xsbin/damnit
X%%DOCSDIR%%/LICENSE
X%%DOCSDIR%%/AUTHORS
X%%DOCSDIR%%/INSTALL
X%%DOCSDIR%%/ISPEnv.schema
X%%DOCSDIR%%/ISPEnv2.schema
X%%DOCSDIR%%/example.ldif
X%%DOCSDIR%%/README
XFAQ.gz
XHISTORY.gz
Xvar/lib/gnarwl/.forward
Xvar/lib/gnarwl/header.txt
Xvar/lib/gnarwl/footer.txt
Xvar/lib/gnarwl/badheaders.db
Xvar/lib/gnarwl/blacklist.db
Xetc/gnarwl.cfg
X at dirrm share/doc/gnarwl
X at dirrm var/lib/gnarwl/bin
X at dirrm var/lib/gnarwl/block
X at dirrm var/lib/gnarwl
END-of-gnarwl/pkg-plist
exit
--- gnarwl-3.3.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list