- Update to 2.4.0

PR:		ports/105003
Submitted by:	maintainer (Nicolas Jombart)
This commit is contained in:
Cheng-Lung Sung 2006-11-02 06:39:56 +00:00
parent 8733917642
commit cb49f98107
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176166
3 changed files with 28 additions and 20 deletions

View file

@ -1,3 +1,4 @@
# ex:ts=8
# New ports collection Makefile for: sec # New ports collection Makefile for: sec
# Date created: 25, February 2003 # Date created: 25, February 2003
# Whom: Nicolas Jombart <ecu@ipv42.net> # Whom: Nicolas Jombart <ecu@ipv42.net>
@ -6,8 +7,7 @@
# #
PORTNAME= sec PORTNAME= sec
PORTVERSION= 2.3.3 PORTVERSION= 2.4.0
PORTREVISION= 1
CATEGORIES= sysutils CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= simple-evcorr MASTER_SITE_SUBDIR= simple-evcorr
@ -22,8 +22,12 @@ USE_RC_SUBR= sec
SUB_LIST= PERL=${PERL} SUB_LIST= PERL=${PERL}
MAN8= sec.8 MAN8= sec.8
PORTDOCS= ChangeLog README convert.pl itostream.c PORTDOCS= ChangeLog README
PLIST_FILES= bin/sec PLIST_FILES= bin/sec
DATADIR= share/sec
PORTCONTRIB= convert.pl itostream.c swatch2sec.pl
PLIST_FILES+= ${PORTCONTRIB:S|^|%%DATADIR%%/|}
PLIST_DIRS+= ${DATADIR}
post-patch: post-patch:
@${REINPLACE_CMD} -e \ @${REINPLACE_CMD} -e \
@ -36,5 +40,7 @@ do-install:
@${MKDIR} ${DOCSDIR} @${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif .endif
@${MKDIR} ${PREFIX}/${DATADIR}
cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTCONTRIB} ${PREFIX}/${DATADIR}
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
MD5 (sec-2.3.3.tar.gz) = 1b714a7dbb71e165327886a329f6d1e0 MD5 (sec-2.4.0.tar.gz) = 3697bdab0664d5392c8e1e66edd3291c
SHA256 (sec-2.3.3.tar.gz) = 13d2ffa82905f55f82c6bf6c7ff356956e430a475b280989f5805d86df341d09 SHA256 (sec-2.4.0.tar.gz) = f73462d5a003ae82e0e31c68d55898d1d3b039016ecd3707a48d5e07deef2a82
SIZE (sec-2.3.3.tar.gz) = 77785 SIZE (sec-2.4.0.tar.gz) = 80011

View file

@ -1,10 +1,12 @@
#!/bin/sh #!/bin/sh
# #
# Sample SEC startup script for FreeBSD (contributed by Jo Rhett)
#
# Add the following lines to /etc/rc.conf to enable sec: # Add the following lines to /etc/rc.conf to enable sec:
# sec_enable (bool): Set to "NO" by default. # sec_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable sec. # 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_flags (str): Set to "" by default.
# sec_configfile (str): Set to "%%PREFIX%%/etc/sec.conf" by default. # sec_configfile (str): Set to "%%PREFIX%%/etc/sec.conf" by default.
# #
@ -61,7 +63,7 @@ sec_flags="-conf=${sec_configfile} -pid=${pidfile} ${sec_flags}"
run_rc_command "$1" run_rc_command "$1"
# Are we handling multiple instance mode? # Are we handling multiple instances?
if [ ! -z "${sec_instances}" ] if [ ! -z "${sec_instances}" ]
then then
for instance in $sec_instances for instance in $sec_instances