diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2012-12-02 20:08:26 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2012-12-02 20:08:26 +0000 |
commit | f6130530c8dde85c961de3a9f0605e886352ac05 (patch) | |
tree | 3c2a34b6b9591ae257d83135a6549ece9312a92a /sysutils/sec | |
parent | 1a74f2931dc9b17696949fc032cc9d25d278e888 (diff) | |
download | ports-f6130530c8dde85c961de3a9f0605e886352ac05.tar.gz ports-f6130530c8dde85c961de3a9f0605e886352ac05.zip |
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
Notes
Notes:
svn path=/head/; revision=308117
Diffstat (limited to 'sysutils/sec')
-rw-r--r-- | sysutils/sec/Makefile | 32 | ||||
-rw-r--r-- | sysutils/sec/distinfo | 4 | ||||
-rw-r--r-- | sysutils/sec/files/sec.in | 8 |
3 files changed, 24 insertions, 20 deletions
diff --git a/sysutils/sec/Makefile b/sysutils/sec/Makefile index ca4902837eb0..983d3b86ebc2 100644 --- a/sysutils/sec/Makefile +++ b/sysutils/sec/Makefile @@ -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} diff --git a/sysutils/sec/distinfo b/sysutils/sec/distinfo index 24118092f5d8..6a81dcffc1e0 100644 --- a/sysutils/sec/distinfo +++ b/sysutils/sec/distinfo @@ -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 diff --git a/sysutils/sec/files/sec.in b/sysutils/sec/files/sec.in index 2b61c4ad1254..be3661ab3ee7 100644 --- a/sysutils/sec/files/sec.in +++ b/sysutils/sec/files/sec.in @@ -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" |