View | Details | Raw Unified | Return to bug 173683
Collapse All | Expand All

(-)sec/Makefile (-11 / +12 lines)
Lines 1-17 Link Here
1
# ex:ts=8
1
# ex:ts=8
2
# New ports collection Makefile for:	sec
2
# New ports collection Makefile for:	sec
3
# Date created:			25, February 2003
3
# Date created:			25, February 2003
4
# Whom:				Nicolas Jombart <ecu@ipv42.net>
4
# Whom:				Nicolas Jombart <ecu@200ok.org>
5
#
5
#
6
# $FreeBSD: ports/sysutils/sec/Makefile,v 1.16 2009/08/22 00:35:27 amdmi3 Exp $
6
# $FreeBSD: ports/sysutils/sec/Makefile,v 1.16 2009/08/22 00:35:27 amdmi3 Exp $
7
#
7
#
8
8
9
PORTNAME=	sec
9
PORTNAME=	sec
10
PORTVERSION=	2.5.1
10
PORTVERSION=	2.6.2
11
CATEGORIES=	sysutils
11
CATEGORIES=	sysutils
12
MASTER_SITES=	SF/simple-evcorr/${PORTNAME}/${PORTVERSION}
12
MASTER_SITES=	SF/simple-evcorr/${PORTNAME}/${PORTVERSION}
13
13
14
MAINTAINER=	ecu@ipv42.net
14
MAINTAINER=	ecu@200ok.org
15
COMMENT=	Simple event (logs) correlator
15
COMMENT=	Simple event (logs) correlator
16
16
17
USE_PERL5_RUN=	YES
17
USE_PERL5_RUN=	YES
Lines 21-43 Link Here
21
SUB_LIST=	PERL=${PERL}
21
SUB_LIST=	PERL=${PERL}
22
22
23
MAN8=		sec.8
23
MAN8=		sec.8
24
MANCOMPRESSED=	no
25
.if !defined(NOPORTDOCS)
24
PORTDOCS=	ChangeLog README
26
PORTDOCS=	ChangeLog README
27
.endif
25
PLIST_FILES=	bin/sec
28
PLIST_FILES=	bin/sec
26
DATADIR=	share/sec
29
DATADIR=	share/sec
27
PORTCONTRIB=	convert.pl itostream.c swatch2sec.pl
30
PORTCONTRIB=	convert.pl itostream.c swatch2sec.pl
28
PLIST_FILES+=	${PORTCONTRIB:S|^|%%DATADIR%%/|}
31
PLIST_FILES+=	${PORTCONTRIB:S|^|%%DATADIR%%/|}
29
PLIST_DIRS+=	${DATADIR}
32
PLIST_DIRS+=	${DATADIR}
30
33
31
post-patch:
32
	@${REINPLACE_CMD} -e \
33
	's|${PORTNAME}.pl|${PORTNAME}|g' ${WRKSRC}/${PORTNAME}.pl.man
34
35
do-install:
34
do-install:
36
	${INSTALL_SCRIPT} ${WRKSRC}/sec.pl ${PREFIX}/bin/${PORTNAME}
35
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
37
	${INSTALL_MAN} ${WRKSRC}/sec.pl.man ${PREFIX}/man/man8/sec.8
36
	${INSTALL_MAN} ${WRKSRC}/sec.man ${PREFIX}/man/man8/sec.8
38
.if !defined(NOPORTDOCS)
37
.if !defined(NOPORTDOCS)
39
	@${MKDIR} ${DOCSDIR}
38
	${MKDIR} ${DOCSDIR}
40
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
39
.for file in ${PORTDOCS}
40
	${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
41
.endfor
41
.endif
42
.endif
42
	@${MKDIR} ${PREFIX}/${DATADIR}
43
	@${MKDIR} ${PREFIX}/${DATADIR}
43
	cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTCONTRIB} ${PREFIX}/${DATADIR}
44
	cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTCONTRIB} ${PREFIX}/${DATADIR}
(-)sec/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (sec-2.5.1.tar.gz) = 8aa675dbf89733d1a45eb3cc08baac4be3a3f6c0158a6f78f2e8d05344c97bc1
1
SHA256 (sec-2.6.2.tar.gz) = d2f4877a79a04042f39c30390be46c4334b9141945f606935a40f1a9455a9948
2
SIZE (sec-2.5.1.tar.gz) = 85406
2
SIZE (sec-2.6.2.tar.gz) = 100464
(-)sec/files/sec.in (-1 / +7 lines)
Lines 1-5 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
#
2
#
3
# $FreeBSD$
4
#
5
# PROVIDE: sec
6
# REQUIRE: LOGIN
7
# KEYWORD: shutdown
8
#
3
# Sample SEC startup script for FreeBSD (contributed by Jo Rhett)
9
# Sample SEC startup script for FreeBSD (contributed by Jo Rhett)
4
#
10
#
5
# Add the following lines to /etc/rc.conf to enable sec:
11
# Add the following lines to /etc/rc.conf to enable sec:
Lines 26-32 Link Here
26
32
27
command="%%PREFIX%%/bin/sec"
33
command="%%PREFIX%%/bin/sec"
28
command_args="-detach"
34
command_args="-detach"
29
command_interpreter="%%PERL%%"
35
command_interpreter="/usr/bin/perl"
30
extra_commands="reload"
36
extra_commands="reload"
31
pidfile="/var/run/sec.pid"
37
pidfile="/var/run/sec.pid"

Return to bug 173683