From owner-freebsd-ports-bugs@FreeBSD.ORG Tue May 16 17:00:40 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 6507C16A9D6 for ; Tue, 16 May 2006 17:00:40 +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 A6D3043D67 for ; Tue, 16 May 2006 17:00:35 +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 k4GH0ZcX010554 for ; Tue, 16 May 2006 17:00:35 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4GH0ZaI010553; Tue, 16 May 2006 17:00:35 GMT (envelope-from gnats) Resent-Date: Tue, 16 May 2006 17:00:35 GMT Resent-Message-Id: <200605161700.k4GH0ZaI010553@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, Robert Archer Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D90416A8EB for ; Tue, 16 May 2006 16:54:34 +0000 (UTC) (envelope-from freebsd@deathbeforedecaf.net) Received: from mail.0x7e.net (name.0x7e.net [203.122.251.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9906943D76 for ; Tue, 16 May 2006 16:54:28 +0000 (GMT) (envelope-from freebsd@deathbeforedecaf.net) Received: from zim.0x7e.net ([10.10.10.3] helo=gir.0x7e.net) by mail.0x7e.net with smtp (Exim 4.43 (FreeBSD)) id 1Fg2o6-000AZY-J3 for FreeBSD-gnats-submit@freebsd.org; Wed, 17 May 2006 02:24:02 +0930 Received: by gir.0x7e.net (sSMTP sendmail emulation); Wed, 17 May 2006 02:24:02 +0930 Message-Id: <20060516165428.9906943D76@mx1.FreeBSD.org> Date: Wed, 17 May 2006 02:24:02 +0930 From: Robert Archer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/97355: [maintainer update] security/ipfcount ignores NOPORTDOCS variable X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 17:00:43 -0000 >Number: 97355 >Category: ports >Synopsis: [maintainer update] security/ipfcount ignores NOPORTDOCS variable >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 May 16 17:00:35 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Robert Archer >Release: FreeBSD 4.11-RELEASE i386 >Organization: >Environment: System: FreeBSD gir.0x7e.net 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Wed Sep 14 12:55:17 CST 2005 rob@goo.0x7e.net:/tmp/GIR i386 >Description: Example files should not be installed if NOPORTDOCS is defined. >How-To-Repeat: >Fix: Patch is at http://deathbeforedecaf.net/misc/patches/ipfcount.2006-05-15 diff -ruN ipfcount-0.2.1/Makefile ipfcount/Makefile --- ipfcount-0.2.1/Makefile Sun Jan 29 07:15:49 2006 +++ ipfcount/Makefile Sun May 14 23:52:32 2006 @@ -7,6 +7,7 @@ PORTNAME= ipfcount PORTVERSION= 0.2.1 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://deathbeforedecaf.net/misc/ports/ \ http://users.netleader.com.au/~rob/ @@ -14,16 +15,17 @@ MAINTAINER= freebsd@deathbeforedecaf.net COMMENT= Summarise ipf logs by counting and sorting the fields -PLIST_FILES= bin/ipfcount \ - %%EXAMPLESDIR%%/100.ipfcount -PLIST_DIRS= %%EXAMPLESDIR%% - +PLIST_FILES= bin/ipfcount MAN1= ipfcount.1 -SUB_FILES= pkg-message - USE_PERL5= yes +.if !defined(NOPORTDOCS) +PLIST_DIRS= %%EXAMPLESDIR%% +PLIST_FILES+= %%EXAMPLESDIR%%/100.ipfcount +SUB_FILES= pkg-message +.endif + .include .if ${PERL_LEVEL} < 500600 @@ -39,10 +41,14 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/ipfcount ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/ipfcount.1 ${PREFIX}/man/man1/ipfcount.1 +.if !defined(NOPORTDOCS) ${MKDIR} ${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/100.ipfcount ${EXAMPLESDIR} +.endif post-install: +.if !defined(NOPORTDOCS) @${CAT} ${PKGMESSAGE} +.endif .include >Release-Note: >Audit-Trail: >Unformatted: