Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2012 02:33:04 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/174200: security/smurflog: Update MASTER_SITES
Message-ID:  <20121206023304.60bb38b0fb0972f27e4d63f4@yahoo.com>
Resent-Message-ID: <201212051810.qB5IADa3033768@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174200
>Category:       ports
>Synopsis:       security/smurflog: Update MASTER_SITES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 05 18:10:13 UTC 2012
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121206023304.60bb38b0fb0972f27e4d63f4>