Date: Sun, 2 Dec 2012 20:08:26 +0000 (UTC) From: Wesley Shields <wxs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308117 - in head/sysutils/sec: . files Message-ID: <201212022008.qB2K8Qhk051016@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <ecu@200ok.org> (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 <ecu@ipv42.net> -# +# Created by: Nicolas Jombart <ecu@200ok.org> # $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 <bsd.port.options.mk> +.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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212022008.qB2K8Qhk051016>