From tkato432@yahoo.com  Wed Dec  5 18:04:14 2012
Return-Path: <tkato432@yahoo.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 16D32242
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed,  5 Dec 2012 18:03:00 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from msa104lp.auone-net.jp (msa104lp.auone-net.jp [222.3.140.167])
	by mx1.freebsd.org (Postfix) with ESMTP id DA1AE8FC15
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed,  5 Dec 2012 18:02:59 +0000 (UTC)
Received: from localhost.localdomain (ZT034046.ppp.dion.ne.jp [59.128.34.46])
	by msa104lp.auone-net.jp (au one net msa) with ESMTP id 6A9532BC03B
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu,  6 Dec 2012 03:02:58 +0900 (JST)
Message-Id: <20121206023304.60bb38b0fb0972f27e4d63f4@yahoo.com>
Date: Thu, 6 Dec 2012 02:33:04 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: security/smurflog: Update MASTER_SITES

>Number:         174200
>Category:       ports
>Synopsis:       security/smurflog: Update MASTER_SITES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 05 18:10:13 UTC 2012
>Closed-Date:    Fri Dec 07 17:04:59 UTC 2012
>Last-Modified:  Fri Dec 07 17:04:59 UTC 2012
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Fix build with clang
- Support CFLAGS properly
- Support PLIST_FILES

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/security/smurflog/Makefile security/smurflog/Makefile
--- /usr/ports/security/smurflog/Makefile	2012-11-08 09:55:16.000000000 +0900
+++ security/smurflog/Makefile	2012-12-04 00:00:10.000000000 +0900
@@ -1,22 +1,32 @@
-# Ports collection Makefile for:	smurflog
-# Date created:				7/06/1998
-# Whom:					nectar@FreeBSD.org
-#
+# Created by: nectar@FreeBSD.org
 # $FreeBSD: head/security/smurflog/Makefile 300897 2012-07-14 14:29:18Z beat $
-#
 
 PORTNAME=	smurflog
 PORTVERSION=	2.1
+PORTREVISION=	1
 CATEGORIES=	security
-#MASTER_SITES=  None available anymore, so this is stored locally
+MASTER_SITES=	PACKETSTORM/UNIX/loggers
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A program to assist logging of smurf attacks
 
-GNU_CONFIGURE=	YES
+USE_CSTD=	gnu89
+GNU_CONFIGURE=	yes
+
+PORTDOCS=	README
+PLIST_FILES=	sbin/smurflog
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|^CFLAGS=|#CFLAGS=|' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e \
+		'/strip/d' ${WRKSRC}/Makefile.in
 
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/README.smurflog
-	${INSTALL_PROGRAM} ${WRKSRC}/smurflog ${PREFIX}/sbin/smurflog
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} smurflog ${PREFIX}/sbin)
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} README ${DOCSDIR})
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/security/smurflog/pkg-plist security/smurflog/pkg-plist
--- /usr/ports/security/smurflog/pkg-plist	2012-11-08 09:55:16.000000000 +0900
+++ security/smurflog/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,2 +0,0 @@
-sbin/smurflog
-share/doc/README.smurflog
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: beech 
Responsible-Changed-When: Fri Dec 7 06:58:28 UTC 2012 
Responsible-Changed-Why:  
I'll take it 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174200 
State-Changed-From-To: open->closed 
State-Changed-By: beech 
State-Changed-When: Fri Dec 7 17:04:36 UTC 2012 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174200 
>Unformatted:
