ports/174200: security/smurflog: Update MASTER_SITES
KATO Tsuguru
tkato432 at yahoo.com
Wed Dec 5 18:10:13 UTC 2012
>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 at FreeBSD.org
-#
+# Created by: nectar at 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 at 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:
More information about the freebsd-ports-bugs
mailing list