ports/114588: bsmtrace port submission
Christian S.J. Peron
csjp at FreeBSD.org
Sat Jul 14 16:30:05 UTC 2007
>Number: 114588
>Category: ports
>Synopsis: bsmtrace port submission
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 14 16:30:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Christian S.J. Peron
>Release: FreeBSD 6.2-RELEASE i386
>Organization:
FreeBSD
>Environment:
System: FreeBSD sub.vaned.net 6.2-RELEASE FreeBSD 6.2-RELEASE #4: Sat Jan 20 07:19:11 UTC 2007 csjp at sub.vaned.net:/usr/obj/usr/src/sys/SKULL i386
>Description:
Ports submission request
>How-To-Repeat:
N/A
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# .
# ./bsmtrace
# ./bsmtrace/Makefile
# ./bsmtrace/distinfo
# ./bsmtrace/pkg-descr
# ./bsmtrace/pkg-plist
# ./bsmtrace/files
# ./bsmtrace/files/pkg-message.in
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./bsmtrace
mkdir -p ./bsmtrace > /dev/null 2>&1
echo x - ./bsmtrace/Makefile
sed 's/^X//' >./bsmtrace/Makefile << 'END-of-./bsmtrace/Makefile'
X# New ports collection makefile for: bsmtrace
X# Date created: 13 March 2007
X# Whom: alm
X#
X# $FreeBSD$
X#
X
XPORTNAME= bsmtrace
XPORTVERSION= 1.0.3
XCATEGORIES= security
XMASTER_SITES= http://people.freebsd.org/~csjp/bsmtrace/
X
XMAINTAINER= alm at FreeBSD.org
XCOMMENT= BSM based intrusion detection system
X
XSUB_FILES= pkg-message
XPKGMESSAGE= ${WRKSRC}/pkg-message
XMAN1= bsmtrace.1
XMAN5= bsmtrace.conf.5
X
X.include <bsd.port.pre.mk>
X.if ${OSVERSION} < 602000
XIGNORE= release 6.2-RELEASE or later is required
X.endif
X
X.if defined(WITH_PCRE)
XLIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
XMAKE_ENV+= PCRE=1
X.endif
X
Xpre-build:
X ${REINPLACE_CMD} -e \
X 's,/etc/bsmtrace.conf,${PREFIX}/etc/bsmtrace.conf,' \
X ${WRKSRC}/config.h
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/bsmtrace ${PREFIX}/sbin
X @${MKDIR} ${EXAMPLESDIR}
X ${INSTALL_DATA} ${WRKSRC}/bsmtrace.conf ${EXAMPLESDIR}
X ${INSTALL_MAN} ${WRKSRC}/bsmtrace.1 ${PREFIX}/man/man1
X ${INSTALL_MAN} ${WRKSRC}/bsmtrace.conf.5 ${PREFIX}/man/man5
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-./bsmtrace/Makefile
echo x - ./bsmtrace/distinfo
sed 's/^X//' >./bsmtrace/distinfo << 'END-of-./bsmtrace/distinfo'
XMD5 (bsmtrace-1.0.3.tar.gz) = a1199983d6121011cdf16e7c1a10a3df
XSHA256 (bsmtrace-1.0.3.tar.gz) = 41853c30a7c2bad821f8cb88f66640637821b7d2ac53db5abecfc8797645bd25
XSIZE (bsmtrace-1.0.3.tar.gz) = 22170
END-of-./bsmtrace/distinfo
echo x - ./bsmtrace/pkg-descr
sed 's/^X//' >./bsmtrace/pkg-descr << 'END-of-./bsmtrace/pkg-descr'
Xbsmtrace is a BSM based intrusion detection system, utilizing audit trails
Xand real-time audit event analysis through auditpipe(4). This host based
XIDS operates using a finite state machine principles with a flexible
Xsequence driven signature system.
X
XWWW: http://people.freebsd.org/~csjp/bsmtrace/bsmtrace.txt
END-of-./bsmtrace/pkg-descr
echo x - ./bsmtrace/pkg-plist
sed 's/^X//' >./bsmtrace/pkg-plist << 'END-of-./bsmtrace/pkg-plist'
Xsbin/bsmtrace
X%%EXAMPLESDIR%%/bsmtrace.conf
X at dirrm %%EXAMPLESDIR%%
END-of-./bsmtrace/pkg-plist
echo c - ./bsmtrace/files
mkdir -p ./bsmtrace/files > /dev/null 2>&1
echo x - ./bsmtrace/files/pkg-message.in
sed 's/^X//' >./bsmtrace/files/pkg-message.in << 'END-of-./bsmtrace/files/pkg-message.in'
X
XPlease note a sample configuration file for bsmtrace has been installed
Xin %%EXAMPLESDIR%%. This file will not be
Xsuitable for your own system, but can be used as a reference to get
Xstarted.
X
END-of-./bsmtrace/files/pkg-message.in
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list