Date: Sat, 17 Nov 2012 16:38:25 +0000 (UTC) From: Nicolas Jombart <ecu@200ok.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/173683: Update port: sysutils/sec to 2.6.2 + fix rc script Message-ID: <20121117163825.4EBF2C270D7@zouvirax.200ok.org> Resent-Message-ID: <201211171640.qAHGe010007118@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 173683 >Category: ports >Synopsis: Update port: sysutils/sec to 2.6.2 + fix rc script >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Nov 17 16:40:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: maintainer >Release: FreeBSD 8.3-STABLE amd64 >Organization: >Environment: System: FreeBSD zouvirax.200ok.org 8.3-STABLE FreeBSD 8.3-STABLE #0 r136: Wed Jul 25 18:27:45 IRKST 2012 root@freebsd8-amd64.ispsystem.net:/root/src/rsys/amd64/compile/ISPSYSTEM amd64 >Description: - Update sysutils/sec to 2.6.2 - fix startup script No added files >How-To-Repeat: >Fix: diff -ruN sec-2.5.1/Makefile sec/Makefile --- sec-2.5.1/Makefile 2012-08-14 09:02:33.000000000 +0000 +++ sec/Makefile 2012-11-17 11:01:19.000000000 +0000 @@ -1,17 +1,17 @@ # ex:ts=8 # New ports collection Makefile for: sec # Date created: 25, February 2003 -# Whom: Nicolas Jombart <ecu@ipv42.net> +# Whom: Nicolas Jombart <ecu@200ok.org> # # $FreeBSD: ports/sysutils/sec/Makefile,v 1.16 2009/08/22 00:35:27 amdmi3 Exp $ # 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 +21,24 @@ SUB_LIST= PERL=${PERL} MAN8= sec.8 +MANCOMPRESSED= no +.if !defined(NOPORTDOCS) PORTDOCS= ChangeLog README +.endif 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 - do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/sec.pl ${PREFIX}/bin/${PORTNAME} - ${INSTALL_MAN} ${WRKSRC}/sec.pl.man ${PREFIX}/man/man8/sec.8 + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/sec.man ${PREFIX}/man/man8/sec.8 .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + ${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 -ruN sec-2.5.1/distinfo sec/distinfo --- sec-2.5.1/distinfo 2012-08-14 09:02:33.000000000 +0000 +++ sec/distinfo 2012-11-17 10:07:27.000000000 +0000 @@ -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 -ruN sec-2.5.1/files/sec.in sec/files/sec.in --- sec-2.5.1/files/sec.in 2012-08-14 09:02:33.000000000 +0000 +++ sec/files/sec.in 2012-11-17 11:08:11.000000000 +0000 @@ -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 @@ command="%%PREFIX%%/bin/sec" command_args="-detach" -command_interpreter="%%PERL%%" +command_interpreter="/usr/bin/perl" extra_commands="reload" pidfile="/var/run/sec.pid" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121117163825.4EBF2C270D7>