From owner-svn-ports-all@FreeBSD.ORG Fri Dec 7 17:03:32 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C97EBBB1; Fri, 7 Dec 2012 17:03:32 +0000 (UTC) (envelope-from beech@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 944268FC18; Fri, 7 Dec 2012 17:03:32 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB7H3WxN043407; Fri, 7 Dec 2012 17:03:32 GMT (envelope-from beech@svn.freebsd.org) Received: (from beech@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB7H3WXn043405; Fri, 7 Dec 2012 17:03:32 GMT (envelope-from beech@svn.freebsd.org) Message-Id: <201212071703.qB7H3WXn043405@svn.freebsd.org> From: Beech Rintoul Date: Fri, 7 Dec 2012 17:03:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308436 - head/security/smurflog X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 17:03:32 -0000 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 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@FreeBSD.org -# +# Created by: nectar@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@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 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