diff options
author | adrianp <adrianp@pkgsrc.org> | 2007-02-18 18:49:03 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2007-02-18 18:49:03 +0000 |
commit | d26033d7b9e4efe3bcb307b70c47cfb77e1e7719 (patch) | |
tree | ac0acca89528302d815648e146e5ede098822ab7 /net/ettercap-NG | |
parent | 1301f2e671211d3eb100a87133597c2ee1c2f017 (diff) | |
download | pkgsrc-d26033d7b9e4efe3bcb307b70c47cfb77e1e7719.tar.gz |
buildlink updates and patches to handle the new libnet package structure
bump PKGREVISION
Diffstat (limited to 'net/ettercap-NG')
-rw-r--r-- | net/ettercap-NG/Makefile | 13 | ||||
-rw-r--r-- | net/ettercap-NG/distinfo | 4 | ||||
-rw-r--r-- | net/ettercap-NG/patches/patch-ae | 19 |
3 files changed, 30 insertions, 6 deletions
diff --git a/net/ettercap-NG/Makefile b/net/ettercap-NG/Makefile index 696a24a7da7..2ad81664c8f 100644 --- a/net/ettercap-NG/Makefile +++ b/net/ettercap-NG/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2006/04/06 06:22:32 reed Exp $ +# $NetBSD: Makefile,v 1.7 2007/02/18 18:50:43 adrianp Exp $ DISTNAME= ettercap-NG-0.7.3 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ettercap/} @@ -17,8 +18,9 @@ PTHREAD_OPTS+= require USE_LIBTOOL= YES USE_NCURSES= # ncurses.h menu.h panel.h form.h USE_OLD_DES_API= YES +CPPFLAGS+= -L${BUILDLINK_PREFIX.libnet11}/lib/libnet11 -CONFIGURE_ARGS+= --with-libnet=${BUILDLINK_PREFIX.libnet} +CONFIGURE_ARGS+= --with-libnet=${BUILDLINK_PREFIX.libnet11} CONFIGURE_ARGS+= --with-libpcap=${BUILDLINK_PREFIX.libpcap} CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl} CONFIGURE_ARGS+= --with-libpcre=${BUILDLINK_PREFIX.pcre} @@ -26,6 +28,13 @@ CONFIGURE_ARGS+= --with-libncurses=${BUILDLINK_PREFIX.ncurses} CONFIGURE_ARGS+= --enable-plugins CONFIGURE_ARGS+= --disable-gtk +SUBST_CLASSES+= conf +SUBST_STAGE.conf= pre-configure +SUBST_FILES.conf= configure +SUBST_SED.conf+= -e "s|@@LN_INC@@|${BUILDLINK_PREFIX.libnet11}/include/libnet11|g" +SUBST_SED.conf+= -e "s|@@LN_LIB@@|${BUILDLINK_PREFIX.libnet11}/lib/libnet11|g" +SUBST_MESSAGE.conf= Fixing configuration script. + .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Darwin" diff --git a/net/ettercap-NG/distinfo b/net/ettercap-NG/distinfo index 7a7f42887e3..fa02ab84793 100644 --- a/net/ettercap-NG/distinfo +++ b/net/ettercap-NG/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2006/03/22 17:07:10 joerg Exp $ +$NetBSD: distinfo,v 1.5 2007/02/18 18:50:43 adrianp Exp $ SHA1 (ettercap-NG-0.7.3.tar.gz) = 7a2c3f848ca4f39c07fddeb0d6308641265bc4ff RMD160 (ettercap-NG-0.7.3.tar.gz) = f4e6c0d87b2064b3775e9af60f34575273742616 @@ -7,4 +7,4 @@ SHA1 (patch-aa) = 27c7f53e0d704b7dc2b8c9c76bf1f9aeff1bbece SHA1 (patch-ab) = 7cf863797abac4b67dbca55f6f763bf7b9830259 SHA1 (patch-ac) = ad04400499dcfdb4067079a58c849c287a34d12f SHA1 (patch-ad) = f39de66feb894ef2f1134abd3a3ca36677bea2b4 -SHA1 (patch-ae) = d362e8e405113c775d67fd5f7a30f360649acc19 +SHA1 (patch-ae) = 6020176efc2bf9e34af24c527efbc769cc18385b diff --git a/net/ettercap-NG/patches/patch-ae b/net/ettercap-NG/patches/patch-ae index de43f3b86cb..a4d9c71255a 100644 --- a/net/ettercap-NG/patches/patch-ae +++ b/net/ettercap-NG/patches/patch-ae @@ -1,6 +1,6 @@ -$NetBSD: patch-ae,v 1.1 2006/03/22 17:07:10 joerg Exp $ +$NetBSD: patch-ae,v 1.2 2007/02/18 18:50:43 adrianp Exp $ ---- configure.orig 2006-03-22 16:47:46.000000000 +0000 +--- configure.orig 2005-05-27 16:11:45.000000000 +0100 +++ configure @@ -2169,7 +2169,7 @@ fi @@ -11,3 +11,18 @@ $NetBSD: patch-ae,v 1.1 2006/03/22 17:07:10 joerg Exp $ cat >>confdefs.h <<\_ACEOF #define OS_BSD 1 _ACEOF +@@ -31721,11 +31721,11 @@ echo "$as_me: error: \"*** ettercap cann + ac_ec_libnet=$withval + echo "$as_me:$LINENO: result: $withval" >&5 + echo "${ECHO_T}$withval" >&6 +- elif test -f $withval/include/libnet.h; then ++ elif test -f @@LN_INC@@/libnet.h; then + owd=`pwd` + if cd $withval; then withval=`pwd`; cd $owd; fi +- LNETINC="-I$withval/include" +- LNETLIB="-L$withval/lib -L$withval/src -lnet" ++ LNETINC="-I@@LN_INC@@" ++ LNETLIB="-L@@_LNLIB@@ -L$withval/src -lnet" + ac_ec_libnet=$withval + echo "$as_me:$LINENO: result: $withval" >&5 + echo "${ECHO_T}$withval" >&6 |