svn commit: r308436 - head/security/smurflog
Beech Rintoul
beech at FreeBSD.org
Fri Dec 7 17:03:32 UTC 2012
Author: beech
Date: Fri Dec 7 17:03:31 2012
New Revision: 308436
URL: http://svnweb.freebsd.org/changeset/ports/308436
Log:
- Update MASTER_SITES
- Fix build with clang
- Support CFLAGS properly
- Support PLIST_FILES
Feature safe: yes
PR: ports/174200
Submitted by: KATO Tsuguru <tkato432 at yahoo.com>
Modified:
head/security/smurflog/Makefile
head/security/smurflog/pkg-plist
Modified: head/security/smurflog/Makefile
==============================================================================
--- head/security/smurflog/Makefile Fri Dec 7 16:48:50 2012 (r308435)
+++ head/security/smurflog/Makefile Fri Dec 7 17:03:31 2012 (r308436)
@@ -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$
-#
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>
Modified: head/security/smurflog/pkg-plist
==============================================================================
--- head/security/smurflog/pkg-plist Fri Dec 7 16:48:50 2012 (r308435)
+++ head/security/smurflog/pkg-plist Fri Dec 7 17:03:31 2012 (r308436)
@@ -1,2 +0,0 @@
-sbin/smurflog
-share/doc/README.smurflog
More information about the svn-ports-all
mailing list