From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 21 20:30:47 2006 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 B478616A425 for ; Tue, 21 Mar 2006 20:30:47 +0000 (UTC) (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 6907C43D48 for ; Tue, 21 Mar 2006 20:30:32 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2LKUVsq031029 for ; Tue, 21 Mar 2006 20:30:31 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2LKUV1h031027; Tue, 21 Mar 2006 20:30:31 GMT (envelope-from gnats) Resent-Date: Tue, 21 Mar 2006 20:30:31 GMT Resent-Message-Id: <200603212030.k2LKUV1h031027@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, Wesley Shields Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4538216A400 for ; Tue, 21 Mar 2006 20:28:39 +0000 (UTC) (envelope-from wxs@syn.csh.rit.edu) Received: from syn.csh.rit.edu (syn.csh.rit.edu [129.21.60.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0F1343D77 for ; Tue, 21 Mar 2006 20:28:38 +0000 (GMT) (envelope-from wxs@syn.csh.rit.edu) Received: from syn.csh.rit.edu (localhost [127.0.0.1]) by syn.csh.rit.edu (8.13.4/8.13.4) with ESMTP id k2LKeoUf093616 for ; Tue, 21 Mar 2006 15:40:50 -0500 (EST) (envelope-from wxs@syn.csh.rit.edu) Received: (from wxs@localhost) by syn.csh.rit.edu (8.13.4/8.13.4/Submit) id k2LKeolF093615; Tue, 21 Mar 2006 15:40:50 -0500 (EST) (envelope-from wxs) Message-Id: <200603212040.k2LKeolF093615@syn.csh.rit.edu> Date: Tue, 21 Mar 2006 15:40:50 -0500 (EST) From: Wesley Shields To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/94809: [MAINTAINER]: Add WITH_ASDATA knob to net/ntop X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Wesley Shields List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 20:30:47 -0000 >Number: 94809 >Category: ports >Synopsis: [MAINTAINER]: Add WITH_ASDATA knob to net/ntop >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Mar 21 20:30:31 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Wesley Shields >Release: FreeBSD 6.0-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD syn 6.0-RELEASE-p2 FreeBSD 6.0-RELEASE-p2 #1: Wed Jan 11 11:57:33 EST 2006 root@syn:/usr/obj/usr/src/sys/GENERIC i386 >Description: As has been requested by some users I've added a knob to install AS data with ntop. This patch assumes that ports/94672 has been applied. And while I'm at it add myself to pkg-descr. >How-To-Repeat: N/A >Fix: diff -ruN net/ntop.orig/Makefile net/ntop/Makefile --- net/ntop.orig/Makefile Tue Mar 21 14:43:21 2006 +++ net/ntop/Makefile Tue Mar 21 14:39:43 2006 @@ -7,7 +7,7 @@ PORTNAME= ntop PORTVERSION= 3.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -56,12 +56,14 @@ ## WITH_LOCALE: Enable locale (i18n) support. ## WITH_PCAP_PORT: Use libpcap from ports. ## WITH_XMLDUMP: Enable XML Dump support. +## WITH_ASDATA: Install AS data. ## ## WITHOUT_TCPWRAPPER: Disable TCP wrapper support. ## OPTIONS= LOCALE "Enable locale (i18n) support." Off \ PCAP_PORT "Use libpcap from ports." Off \ XMLDUMP "Enable XML Dump support." Off \ + ASDATA "Install AS data." Off \ TCPWRAPPER "Enable TCP wrapper support" On .include @@ -93,6 +95,10 @@ -I${LOCALBASE}/include/glib-2.0" .endif +.if defined(WITH_ASDATA) +PLIST_FILES+= etc/ntop/AS-list.txt.gz +.endif + post-extract: @${RM} ${WRKSRC}/configureextra/FREEBSD @@ -103,5 +109,8 @@ @if [ ! -f ${DBDIR}/ntop/ntop_pw.db ]; then \ ${PREFIX}/bin/ntop -u nobody -A; \ fi +.if defined(WITH_ASDATA) + (cd ${WRKSRC} && ${GMAKE} install-data-as) +.endif .include diff -ruN net/ntop.orig/pkg-descr net/ntop/pkg-descr --- net/ntop.orig/pkg-descr Fri Jan 25 03:59:58 2002 +++ net/ntop/pkg-descr Tue Mar 21 08:57:10 2006 @@ -7,3 +7,4 @@ -- Bill Fumerola (original port) -- Johann Visagie (maintainer since 2.0) +-- Wesley Shields (maintainer since Dec 2005) >Release-Note: >Audit-Trail: >Unformatted: