From owner-svn-ports-all@FreeBSD.ORG Sun Dec 2 20:08:26 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 B4A725AB; Sun, 2 Dec 2012 20:08:26 +0000 (UTC) (envelope-from wxs@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 950A88FC12; Sun, 2 Dec 2012 20:08:26 +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 qB2K8QUT051021; Sun, 2 Dec 2012 20:08:26 GMT (envelope-from wxs@svn.freebsd.org) Received: (from wxs@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB2K8Qhk051016; Sun, 2 Dec 2012 20:08:26 GMT (envelope-from wxs@svn.freebsd.org) Message-Id: <201212022008.qB2K8Qhk051016@svn.freebsd.org> From: Wesley Shields Date: Sun, 2 Dec 2012 20:08:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308117 - in head/sysutils/sec: . files 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: Sun, 02 Dec 2012 20:08:27 -0000 Author: wxs Date: Sun Dec 2 20:08:26 2012 New Revision: 308117 URL: http://svnweb.freebsd.org/changeset/ports/308117 Log: Update to 2.6.2. Trim header. Switch to new options. Add rc keywords to rc script. Use command_interpreter in rc script. Update maintainer address in header and MAINTAINER line. I will be updating the rest of his ports and trimming headers once the freeze is over. PR: ports/173683 Submitted by: Nicolas Jombart (maintainer) Feature safe: yes Modified: head/sysutils/sec/Makefile (contents, props changed) head/sysutils/sec/distinfo (contents, props changed) head/sysutils/sec/files/sec.in (contents, props changed) Modified: head/sysutils/sec/Makefile ============================================================================== --- head/sysutils/sec/Makefile Sun Dec 2 20:07:16 2012 (r308116) +++ head/sysutils/sec/Makefile Sun Dec 2 20:08:26 2012 (r308117) @@ -1,17 +1,12 @@ -# ex:ts=8 -# New ports collection Makefile for: sec -# Date created: 25, February 2003 -# Whom: Nicolas Jombart -# +# Created by: Nicolas Jombart # $FreeBSD$ -# PORTNAME= sec -PORTVERSION= 2.5.1 +PORTVERSION= 2.6.2 CATEGORIES= sysutils MASTER_SITES= SF/simple-evcorr/${PORTNAME}/${PORTVERSION} -MAINTAINER= ecu@ipv42.net +MAINTAINER= ecu@200ok.org COMMENT= Simple event (logs) correlator USE_PERL5_RUN= YES @@ -21,23 +16,26 @@ USE_RC_SUBR= sec SUB_LIST= PERL=${PERL} MAN8= sec.8 -PORTDOCS= ChangeLog README +MANCOMPRESSED= no PLIST_FILES= bin/sec DATADIR= share/sec PORTCONTRIB= convert.pl itostream.c swatch2sec.pl PLIST_FILES+= ${PORTCONTRIB:S|^|%%DATADIR%%/|} PLIST_DIRS+= ${DATADIR} -post-patch: - @${REINPLACE_CMD} -e \ - 's|${PORTNAME}.pl|${PORTNAME}|g' ${WRKSRC}/${PORTNAME}.pl.man +.include +.if ${PORT_OPTIONS:MDOCS} +PORTDOCS= ChangeLog README +.endif do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/sec.pl ${PREFIX}/bin/${PORTNAME} - ${INSTALL_MAN} ${WRKSRC}/sec.pl.man ${PREFIX}/man/man8/sec.8 -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/sec.man ${PREFIX}/man/man8/sec.8 +.if empty(PORT_OPTIONS:MDOCS) + ${MKDIR} ${DOCSDIR} +.for file in ${PORTDOCS} + ${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR} +.endfor .endif @${MKDIR} ${PREFIX}/${DATADIR} cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTCONTRIB} ${PREFIX}/${DATADIR} Modified: head/sysutils/sec/distinfo ============================================================================== --- head/sysutils/sec/distinfo Sun Dec 2 20:07:16 2012 (r308116) +++ head/sysutils/sec/distinfo Sun Dec 2 20:08:26 2012 (r308117) @@ -1,2 +1,2 @@ -SHA256 (sec-2.5.1.tar.gz) = 8aa675dbf89733d1a45eb3cc08baac4be3a3f6c0158a6f78f2e8d05344c97bc1 -SIZE (sec-2.5.1.tar.gz) = 85406 +SHA256 (sec-2.6.2.tar.gz) = d2f4877a79a04042f39c30390be46c4334b9141945f606935a40f1a9455a9948 +SIZE (sec-2.6.2.tar.gz) = 100464 Modified: head/sysutils/sec/files/sec.in ============================================================================== --- head/sysutils/sec/files/sec.in Sun Dec 2 20:07:16 2012 (r308116) +++ head/sysutils/sec/files/sec.in Sun Dec 2 20:08:26 2012 (r308117) @@ -1,5 +1,11 @@ #!/bin/sh # +# $FreeBSD$ +# +# PROVIDE: sec +# REQUIRE: LOGIN +# KEYWORD: shutdown +# # Sample SEC startup script for FreeBSD (contributed by Jo Rhett) # # Add the following lines to /etc/rc.conf to enable sec: @@ -26,7 +32,7 @@ rcvar=sec_enable command="%%PREFIX%%/bin/sec" command_args="-detach" -command_interpreter="%%PERL%%" +command_interpreter="/usr/bin/perl" extra_commands="reload" pidfile="/var/run/sec.pid"