Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  1 Nov 2006 12:15:53 +0100 (CET)
From:      Nicolas Jombart <ecu@ipv42.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105003: [MAINTAINER] sysutils/sec: update to 2.4.0
Message-ID:  <20061101111553.579755FD4@northern.ipv42.net>
Resent-Message-ID: <200611011130.kA1BUJ85086951@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         105003
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/sec: update to 2.4.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 01 11:30:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Nicolas Jombart
>Release:        FreeBSD 6.2-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD northern 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sat Sep 30 17:10:28 CEST 2006
>Description:
- Update to 2.4.0

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- sec-2.4.0_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports//sysutils/sec/Makefile /usr/home/ecu/ports/ports/sysutils/sec/Makefile
--- /usr/ports//sysutils/sec/Makefile	Mon Oct  9 04:28:03 2006
+++ /usr/home/ecu/ports/ports/sysutils/sec/Makefile	Tue Oct 31 14:04:13 2006
@@ -1,12 +1,12 @@
-# New ports collection Makefile for: 	sec
-# Date created:				25, February 2003
-# Whom:					Nicolas Jombart <ecu@ipv42.net>
+# New ports collection Makefile for:    sec
+# Date created:             25, February 2003
+# Whom:                 Nicolas Jombart <ecu@ipv42.net>
 #
 # $FreeBSD: ports/sysutils/sec/Makefile,v 1.12 2006/10/07 21:30:58 pav Exp $
-#
+# ex:ts=8
 
 PORTNAME=	sec
-PORTVERSION=	2.3.3
+PORTVERSION=	2.4.0
 PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
@@ -22,8 +22,12 @@
 SUB_LIST=	PERL=${PERL}
 
 MAN8=		sec.8
-PORTDOCS=	ChangeLog README convert.pl itostream.c
+PORTDOCS=	ChangeLog README
 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 \
@@ -36,5 +40,7 @@
 	@${MKDIR} ${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
 .endif
+	@${MKDIR} ${PREFIX}/${DATADIR}
+	cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTCONTRIB} ${PREFIX}/${DATADIR}
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports//sysutils/sec/distinfo /usr/home/ecu/ports/ports/sysutils/sec/distinfo
--- /usr/ports//sysutils/sec/distinfo	Sat Jun  3 03:37:11 2006
+++ /usr/home/ecu/ports/ports/sysutils/sec/distinfo	Sun Oct 29 19:31:03 2006
@@ -1,3 +1,3 @@
-MD5 (sec-2.3.3.tar.gz) = 1b714a7dbb71e165327886a329f6d1e0
-SHA256 (sec-2.3.3.tar.gz) = 13d2ffa82905f55f82c6bf6c7ff356956e430a475b280989f5805d86df341d09
-SIZE (sec-2.3.3.tar.gz) = 77785
+MD5 (sec-2.4.0.tar.gz) = 3697bdab0664d5392c8e1e66edd3291c
+SHA256 (sec-2.4.0.tar.gz) = f73462d5a003ae82e0e31c68d55898d1d3b039016ecd3707a48d5e07deef2a82
+SIZE (sec-2.4.0.tar.gz) = 80011
diff -ruN --exclude=CVS /usr/ports//sysutils/sec/files/sec.in /usr/home/ecu/ports/ports/sysutils/sec/files/sec.in
--- /usr/ports//sysutils/sec/files/sec.in	Sat Oct  7 23:30:59 2006
+++ /usr/home/ecu/ports/ports/sysutils/sec/files/sec.in	Sun Oct 29 19:22:08 2006
@@ -1,10 +1,12 @@
 #!/bin/sh
 #
+# Sample SEC startup script for FreeBSD (contributed by Jo Rhett)
+#
 # Add the following lines to /etc/rc.conf to enable sec:
-# sec_enable (bool):	Set to "NO" by default.
-#			Set it to "YES" to enable sec.
+# sec_enable (bool):   Set to "NO" by default.
+#                      Set it to "YES" to enable sec.
 #
-# These flags control the first (or only) instance of sec.
+# These parameters control the first (or only) instance of sec 
 # sec_flags (str):      Set to "" by default.
 # sec_configfile (str): Set to "%%PREFIX%%/etc/sec.conf" by default.
 #
@@ -42,9 +44,9 @@
 sec_checkconfig() {
   if [ -z $instance ]
   then
-        echo -n "Performing sanity check of sec configuration: "
+    echo -n "Performing sanity check of sec configuration: "
   else
-        echo -n "Performing sanity check of sec_${instance} configuration: "
+    echo -n "Performing sanity check of sec_${instance} configuration: "
   fi
   ${command} -debug=1 -testonly -conf=${sec_configfile} 2>&1 >/dev/null
   if [ $? != 0 ]; then
@@ -61,17 +63,17 @@
 
 run_rc_command "$1"
 
-# Are we handling multiple instance mode?
+# Are we handling multiple instances?
 if [ ! -z "${sec_instances}" ]
 then
-        for instance in $sec_instances
-        do
+	for instance in $sec_instances
+	do
                 # Iterate through all instances
                 name="sec_${instance}"
                 pidfile="/var/run/sec_${instance}.pid"
                 eval required_files=\$sec_${instance}_configfile
                 eval sec_${instance}_flags="\"-conf=\$sec_${instance}_configfile -pid=\$pidfile \$sec_${instance}_flags\""
 
-                run_rc_command "$1"
-        done
+		run_rc_command "$1"
+	done
 fi
--- sec-2.4.0_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061101111553.579755FD4>