Date: Fri, 4 Jun 2010 19:04:04 GMT From: Anderson Eduardo <anderson@secover.com.br> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/147478: security/audit maintainer Message-ID: <201006041904.o54J44AP045386@www.freebsd.org> Resent-Message-ID: <201006041910.o54JA1qX008088@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 147478 >Category: ports >Synopsis: security/audit maintainer >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: Fri Jun 04 19:10:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Anderson Eduardo >Release: 8.1-PRERELEASE >Organization: Secover >Environment: FreeBSD overlabs.secover.com.br 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Tue Jun 1 09:25:25 BRT 2010 root@overlabs.secover.com.br:/usr/obj/usr/src/sys/KERNEL amd64 >Description: >How-To-Repeat: >Fix: Patch attached with submission follows: # New ports collection makefile for: audit # Date created: 24 March 2002 # Whom: anders # # $FreeBSD: ports/security/audit/Makefile,v 1.24 2007/10/17 08:35:03 johans Exp $ # PORTNAME= audit PORTVERSION= 1.0 PORTREVISION= 3 CATEGORIES= security MASTER_SITES= http://www1.corest.com/download/audit/ \ ftp://ftp.stack.nl/pub/users/johans/audit/ DISTNAME= ${PORTNAME}-v${PORTVERSION}beta-src MAINTAINER= anderson@secover.com.br COMMENT= Tools for remote and centralized audit data collection OPTIONS= MYSQL "With MySQL support" off \ PGSQL "With PostGreSQL support" off MAKE_ARGS= CFLAGS+="-fPIC -DPIC" WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION} USE_GMAKE= yes USE_LDCONFIG= ${PREFIX}/lib/alat GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-audit-libdir=${PREFIX}/lib/alat MANCOMPRESSED= yes MAN1= audit.1 MAN8= auditd.8 PORTDOCS= COPYING README TODO FIXPREFIX_CONF= src/include/audconf.h src/auditd/auditd.8 LIBVERSION= 1 .include <bsd.port.pre.mk> .if defined(WITH_MYSQL) USE_MYSQL= yes .endif .if defined(WITH_PGSQL) USE_PGSQL= yes .endif .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 post-patch: ${REINPLACE_CMD} -e "s@Linux@FreeBSD@g" ${WRKSRC}/configure (${FIND} ${WRKSRC}/src/modules -name Makefile.in -exec \ ${REINPLACE_CMD} -e \ "s!^LIB=\(.*\).{VERSION}!LIB=\1${LIBVERSION}!" {} \;) ${REINPLACE_CMD} -e "s@AUDIT_VERSION@\"${LIBVERSION}\"@g" \ ${WRKSRC}/src/lib/modules.c .for f in ${FIXPREFIX_CONF} ${REINPLACE_CMD} -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 0755 ${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif .include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006041904.o54J44AP045386>