Date: Mon, 7 Apr 2003 13:09:53 +0200 (CEST) From: Miguel Mendez <flynn@energyhq.homeip.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: cy@FreeBSD.org Subject: ports/50670: Add some voodoo magic to security/tripwire Message-ID: <20030407110953.C29B62B80F@energyhq.homeip.net> Resent-Message-ID: <200304071110.h37BA4In042135@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 50670 >Category: ports >Synopsis: Add some voodoo magic to security/tripwire >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: Mon Apr 07 04:10:04 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Miguel Mendez >Release: FreeBSD 4.8-RELEASE i386 >Organization: >Environment: System: FreeBSD energyhq.homeip.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Wed Apr 2 08:04:06 CEST 2003 root@energyhq.homeip.net:/usr/obj/usr/src/sys/ENERGYHQ i386 >Description: Wouldn't it be nice it the tripwire install automagically chose the right mail program from /etc/mail/mailer.conf? :) >How-To-Repeat: >Fix: --- tripwire.diff begins here --- diff -ruN tripwire.old/Makefile tripwire/Makefile --- tripwire.old/Makefile Fri Mar 7 07:10:50 2003 +++ tripwire/Makefile Mon Apr 7 13:02:22 2003 @@ -7,7 +7,7 @@ PORTNAME= tripwire PORTVERSION= 2.3.1.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://download.sourceforge.net/tripwire/ DISTNAME= tripwire-2.3.1-2 @@ -21,10 +21,13 @@ WRKSRC= ${WRKDIR}/${DISTNAME} BUILD_WRKSRC= ${WRKSRC}/src USE_GMAKE= yes +USE_REINPLACE= yes ALL_TARGET= release MAKE_ARGS= SYSPRE=${ARCH}-unknown-freebsd IS_INTERACTIVE= yes +MAILER!= grep ^sendmail /etc/mail/mailer.conf | awk '{print $2}' + # Tripwire config files are stored in TWCFG TWCFG?= /usr/local/etc/tripwire # Tripwire policy files are stored in TWPOLICY. @@ -57,6 +60,11 @@ @ ${MV} ${WRKSRC}/man/man4/twconfig.4 ${WRKSRC}/man/man5/twconfig.5 @ ${MV} ${WRKSRC}/man/man4/twpolicy.4 ${WRKSRC}/man/man5/twpolicy.5 +# Make this port aware of postfix installs +post-patch: + ${REINPLACE_CMD} -e 's@/usr/sbin/sendmail@${MAILER}@' \ + ${WRKSRC}/install/install.cfg + install-software: @ ${ECHO_CMD} TWPOLICY=${TWPOLICY} >> ${WRKSRC}/install/install.cfg @ ${ECHO_CMD} TWSITEKEYDIR=${TWSITEKEYDIR} >> ${WRKSRC}/install/install.cfg --- tripwire.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030407110953.C29B62B80F>