From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 9 01:40:04 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C952316A41F for ; Fri, 9 Sep 2005 01:40:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2777C43D48 for ; Fri, 9 Sep 2005 01:40:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j891e3fX085482 for ; Fri, 9 Sep 2005 01:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j891e3uU085481; Fri, 9 Sep 2005 01:40:03 GMT (envelope-from gnats) Resent-Date: Fri, 9 Sep 2005 01:40:03 GMT Resent-Message-Id: <200509090140.j891e3uU085481@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marcus Alves Grando Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70F0416A41F for ; Fri, 9 Sep 2005 01:37:10 +0000 (GMT) (envelope-from marcus@marcus.grupos.com.br) Received: from mail.grupos.com.br (mail.grupos.com.br [200.203.183.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7D3243D48 for ; Fri, 9 Sep 2005 01:37:09 +0000 (GMT) (envelope-from marcus@marcus.grupos.com.br) Received: from corp.grupos.com.br (unknown [150.162.166.55]) by mail.grupos.com.br (Postfix) with ESMTP id BEBFA11E1C1 for ; Thu, 8 Sep 2005 22:37:07 -0300 (BRT) Received: from marcus.grupos.com.br (unknown [150.162.166.51]) by corp.grupos.com.br (Postfix) with ESMTP id 8E0D954F1 for ; Thu, 8 Sep 2005 22:37:07 -0300 (BRT) Received: from marcus.grupos.com.br (localhost [127.0.0.1]) by marcus.grupos.com.br (8.13.4/8.13.4) with ESMTP id j891b7Xd031212 for ; Thu, 8 Sep 2005 22:37:07 -0300 (BRT) (envelope-from marcus@marcus.grupos.com.br) Received: (from root@localhost) by marcus.grupos.com.br (8.13.4/8.13.4/Submit) id j891b6oA031211; Thu, 8 Sep 2005 22:37:06 -0300 (BRT) (envelope-from marcus) Message-Id: <200509090137.j891b6oA031211@marcus.grupos.com.br> Date: Thu, 8 Sep 2005 22:37:06 -0300 (BRT) From: Marcus Alves Grando To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/85892: Update port: net-mgmt/ettercap use OPTIONS and take MAINTAINER X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcus Alves Grando List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 01:40:05 -0000 >Number: 85892 >Category: ports >Synopsis: Update port: net-mgmt/ettercap use OPTIONS and take MAINTAINER >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Sep 09 01:40:03 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Marcus Alves Grando >Release: FreeBSD 6.0-BETA4 i386 >Organization: Grupos Internet S/A >Environment: System: FreeBSD marcus.grupos.com.br 6.0-BETA4 FreeBSD 6.0-BETA4 #42: Thu Sep 8 14:29:29 BRT 2005 root@marcus.grupos.com.br:/usr/obj/usr/src/sys/MARCUS i386 >Description: - Use OPTIONS - Take MAINTAINER - Reorganize Makefile - Make portlint happyer >How-To-Repeat: >Fix: --- ettercap.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net-mgmt/ettercap/Makefile,v retrieving revision 1.24 diff -u -r1.24 Makefile --- Makefile 17 Jun 2005 15:45:16 -0000 1.24 +++ Makefile 9 Sep 2005 01:34:42 -0000 @@ -5,50 +5,37 @@ # $FreeBSD: ports/net-mgmt/ettercap/Makefile,v 1.24 2005/06/17 15:45:16 novel Exp $ # -PORTNAME= ettercap -PORTVERSION= 0.7.3 -PORTREVISION= 0 +PORTNAME= ettercap +PORTVERSION= 0.7.3 DISTVERSIONPREFIX= NG- -PORTEPOCH= 1 -CATEGORIES= net-mgmt security -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} \ - ${MASTER_SITE_PACKETSTORM:S:%SUBDIR%:sniffers/ettercap:} +PORTREVISION= 0 +PORTEPOCH= 1 +CATEGORIES= net-mgmt security +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} \ + ${MASTER_SITE_PACKETSTORM:S:%SUBDIR%:sniffers/ettercap:} MASTER_SITE_SUBDIR= ${PORTNAME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= marcus@corp.grupos.com.br COMMENT= A network sniffer/interceptor/injector/logger for switched LANs BUILD_DEPENDS= ${LOCALBASE}/include/libnet/libnet-types.h:${PORTSDIR}/net/libnet-devel -.if !defined(WITHOUT_PCRE) -LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre -.endif +OPTIONS= GTK "Build with GTK2+ GUI" on \ + ICONV "Build with support for UTF-8" on \ + PLUGINS "Build with ettercap plugins" on \ + SSL "Build with support for SSH1 and SSL decryption" on \ + PCRE "Build with PCRE regexps in filters" on + +WANT_GNOME= yes GNU_CONFIGURE= yes USE_LIBTOOL_VER=15 USE_REINPLACE= yes -.if !defined(WITHOUT_GTK) -USE_GNOME= glib20 atk pango gtk20 -PKGNAMESUFFIX= -gtk2 -.endif -.if !defined(WITHOUT_ICONV) -USE_ICONV= yes -.endif -.if !defined(WITHOUT_PLUGINS) -USE_LIBLTDL= yes -.endif -.if !defined(WITHOUT_SSL) -USE_OPENSSL= yes -.endif MAN5= etter.conf.5 MAN8= ettercap.8 ettercap_curses.8 etterfilter.8 etterlog.8 DOCS= AUTHORS CHANGELOG README README.BINARIES README.BUGS \ README.CVS README.PLATFORMS THANKS TODO TODO.TESTING \ doc/capture doc/decoders doc/dissectors doc/threads -.if !defined(WITHOUT_PLUGINS) -MAN8+= ettercap_plugins.8 -DOCS+= doc/plugins -.endif .include @@ -65,56 +52,43 @@ .endif .if !defined(WITHOUT_GTK) +USE_GNOME= glib20 atk pango gtk20 +PKGNAMESUFFIX+= -gtk2 CONFIGURE_ARGS+= --enable-gtk .else CONFIGURE_ARGS+= --disable-gtk .endif + .if !defined(WITHOUT_ICONV) +USE_ICONV= yes CONFIGURE_ARGS+= --with-iconv=${LOCALBASE} .endif + .if !defined(WITHOUT_PCRE) +LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre CONFIGURE_ARGS+= --with-libpcre=${LOCALBASE} .else CONFIGURE_ARGS+= --without-libpcre .endif + .if !defined(WITHOUT_PLUGINS) -PLIST_SUB+= PLUGINS="" +USE_LIBLTDL= yes +MAN8+= ettercap_plugins.8 +DOCS+= doc/plugins CONFIGURE_ARGS+= --enable-plugins +PLIST_SUB+= PLUGINS="" .else CONFIGURE_ARGS+= --disable-plugins PLIST_SUB+= PLUGINS="@comment " .endif + .if !defined(WITHOUT_SSL) +.include "${PORTSDIR}/Mk/bsd.openssl.mk" CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} .else CONFIGURE_ARGS+= --without-openssl .endif -pre-everything:: -.if !defined(WITHOUT_GTK) || !defined(WITHOUT_ICONV) || \ - !defined(WITHOUT_PCRE) || !defined(WITHOUT_PLUGINS) || \ - !defined(WITHOUT_SSL) - @${ECHO_MSG} "" - @${ECHO_MSG} "You may use the following build option(s):" - @${ECHO_MSG} "" -.if !defined(WITHOUT_GTK) - @${ECHO_MSG} "WITHOUT_GTK=yes builds without GTK2+ GUI" -.endif -.if !defined(WITHOUT_ICONV) - @${ECHO_MSG} "WITHOUT_ICONV=yes builds without support for UTF-8" -.endif -.if !defined(WITHOUT_PCRE) - @${ECHO_MSG} "WITHOUT_PCRE=yes builds without support for perl regexps in filters" -.endif -.if !defined(WITHOUT_PLUGINS) - @${ECHO_MSG} "WITHOUT_PLUGINS=yes builds without ettercap plugins" -.endif -.if !defined(WITHOUT_SSL) - @${ECHO_MSG} "WITHOUT_SSL=yes builds without support for SSH1 and SSL decryption" -.endif - @${ECHO_MSG} "" -.endif - post-patch: @${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' \ ${WRKSRC}/configure @@ -124,14 +98,14 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/share/etter.conf \ ${PREFIX}/etc/etter.conf.sample -.if !exists(${PREFIX}/etc/etter.conf) - @${INSTALL_DATA} ${WRKSRC}/share/etter.conf ${PREFIX}/etc/etter.conf -.endif -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for i in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR} -.endfor -.endif +. if !exists(${PREFIX}/etc/etter.conf) + @${INSTALL_DATA} ${WRKSRC}/share/etter.conf ${PREFIX}/etc/etter.conf +. endif +. if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +. for i in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR} +. endfor +. endif .include --- ettercap.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: