diff options
author | anders <anders@FreeBSD.org> | 2002-03-24 23:32:45 +0800 |
---|---|---|
committer | anders <anders@FreeBSD.org> | 2002-03-24 23:32:45 +0800 |
commit | fb048f3e64ff11a10d2909cb0d967c0f755aba75 (patch) | |
tree | 96672e1df06fa9dac42c9c71002dbb82d74bf66e /security/audit | |
parent | ab0f16822ce57087ee104f087a51bfc86fa42f54 (diff) | |
download | freebsd-ports-gnome-fb048f3e64ff11a10d2909cb0d967c0f755aba75.tar.gz freebsd-ports-gnome-fb048f3e64ff11a10d2909cb0d967c0f755aba75.tar.zst freebsd-ports-gnome-fb048f3e64ff11a10d2909cb0d967c0f755aba75.zip |
Add audit, tools for remote and centralized audit data collection.
Diffstat (limited to 'security/audit')
-rw-r--r-- | security/audit/Makefile | 74 | ||||
-rw-r--r-- | security/audit/distinfo | 1 | ||||
-rw-r--r-- | security/audit/pkg-comment | 1 | ||||
-rw-r--r-- | security/audit/pkg-descr | 11 | ||||
-rw-r--r-- | security/audit/pkg-plist | 17 |
5 files changed, 104 insertions, 0 deletions
diff --git a/security/audit/Makefile b/security/audit/Makefile new file mode 100644 index 000000000000..26851b8a4f39 --- /dev/null +++ b/security/audit/Makefile @@ -0,0 +1,74 @@ +# New ports collection makefile for: audit +# Date created: 24 March 2002 +# Whom: anders +# +# $FreeBSD$ +# + +PORTNAME= audit +PORTVERSION= 1.0 +CATEGORIES= security +MASTER_SITES= http://community.corest.com/pub/audit/ \ + ftp://ftp.nuug.no/pub/anders/distfiles/ +DISTNAME= ${PORTNAME}-v${PORTVERSION}beta-src + +MAINTAINER= anders@FreeBSD.org + +.if defined(WITH_MYSQL) +LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +.endif +.if defined(WITH_PGSQL) +LIB_DEPENDS+= pq.2:${PORTSDIR}/databases/postgresql7 +.endif + +WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION}beta + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-audit-libdir=${PREFIX}/lib/alat +.if defined(WITH_MYSQL) +CONFIGURE_ARGS+= --with-mysql \ + --with-mysql-libdir=${LOCALBASE}/lib/mysql \ + --with-mysql-incdir=${LOCALBASE}/include +PLIST_SUB+= MYSQL='' +.else +PLIST_SUB+= MYSQL='@comment ' +.endif +.if defined(WITH_PGSQL) +CONFIGURE_ARGS+= --with-pgsql \ + --with-pgsql-libdir=${LOCALBASE}/lib \ + --with-pgsql-incdir=${LOCALBASE}/include +PLIST_SUB+= PGSQL='' +.else +PLIST_SUB+= PGSQL='@comment ' +.endif +INSTALLS_SHLIB= yes +LDCONFIG_DIRS= %%PREFIX%%/lib/alat +MANCOMPRESSED= yes +MAN1= audit.1 +MAN8= auditd.8 + +DOCS= COPYING README TODO +FIXPREFIX_CONF= src/include/audconf.h src/auditd/auditd.8 +LIBVERSION= 1 + +post-patch: + ${PERL} -pi -e "s@Linux@FreeBSD@g" ${WRKSRC}/configure + (${FIND} ${WRKSRC}/src/modules -name Makefile.in -exec ${PERL} -pi -e \ + "s@^LIB=(.*){VERSION}@SOVERSION=\t${LIBVERSION}\nLIB=\1\{SOVERSION\}@" {} \;) + ${PERL} -pi -e "s@AUDIT_VERSION@\"${LIBVERSION}\"@g" \ + ${WRKSRC}/src/lib/modules.c +.for f in ${FIXPREFIX_CONF} + ${PERL} -pi -e "s@/etc/auditd.conf@${PREFIX}/etc/auditd.conf@g" \ + ${WRKSRC}/${f} +.endfor + +post-install: + ${INSTALL_DATA} ${WRKSRC}/auditd.conf ${PREFIX}/etc/auditd.conf.sample +.if !defined(NOPORTDOCS) + ${INSTALL} -d -o root -g wheel -m 0775 ${DOCSDIR} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/security/audit/distinfo b/security/audit/distinfo new file mode 100644 index 000000000000..37ad27114035 --- /dev/null +++ b/security/audit/distinfo @@ -0,0 +1 @@ +MD5 (audit-v1.0beta-src.tar.gz) = a45653b8809279c7d939189047f2bdd1 diff --git a/security/audit/pkg-comment b/security/audit/pkg-comment new file mode 100644 index 000000000000..5cfadb100c2d --- /dev/null +++ b/security/audit/pkg-comment @@ -0,0 +1 @@ +Tools for remote and centralized audit data collection diff --git a/security/audit/pkg-descr b/security/audit/pkg-descr new file mode 100644 index 000000000000..0391389bc5b1 --- /dev/null +++ b/security/audit/pkg-descr @@ -0,0 +1,11 @@ +Audit is a client/server system that allows remote system logs auditing and +centralizing. It supports standard and modular syslog output formats +(non-standard logs can be easily supported due to its modular design). The +server (auditd) runs on audited machines and the client (audit) runs on the +auditors workstations. Multiple auditors are supported and managed by one or +more 'chief' auditors. Auditors can be configured in a way that each of them +can examine specific sets of logs. + +WWW: http://www.corest.com/products/corewisdom/CW02.php + +- Anders Nordby <anders@FreeBSD.org> diff --git a/security/audit/pkg-plist b/security/audit/pkg-plist new file mode 100644 index 000000000000..52632f956a31 --- /dev/null +++ b/security/audit/pkg-plist @@ -0,0 +1,17 @@ +bin/audit +sbin/auditd +etc/auditd.conf.sample +lib/alat/libres_local.so.1 +lib/alat/libauth_raw.so.1 +lib/alat/libauth_srp.so.1 +lib/alat/libia_syslog.so.1 +lib/alat/libattr_classic.so.1 +lib/alat/libattr_peo.so.1 +lib/alat/libattr_regex.so.1 +lib/alat/libattr_tcp.so.1 +%%PGSQL%%lib/alat/libattr_pgsql.so.1 +%%MYSQL%%lib/alat/libattr_mysql.so.1 +%%PORTDOCS%%share/doc/audit/COPYING +%%PORTDOCS%%share/doc/audit/README +%%PORTDOCS%%share/doc/audit/TODO +%%PORTDOCS%%@dirrm share/doc/audit |