Date: Fri, 11 Oct 2002 14:30:52 -0300 (BRT) From: "Daniel C. Sobral" <dcs@tcoip.com.br> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/43933: security/isakmpd uses hardcoded paths Message-ID: <200210111730.g9BHUqet006835@dcs.intra.tcoip.com.br>
next in thread | raw e-mail | index | archive | help
>Number: 43933 >Category: ports >Synopsis: security/isakmpd uses hardcoded paths >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 11 10:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Daniel C. Sobral >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD dcs 4.6-STABLE FreeBSD 4.6-STABLE #0: Tue Aug 13 10:40:45 BRT 2002 root@dcs:/usr/obj/usr/src/sys/DCS i386 Not relevant. >Description: The port isakmpd uses hardcoded paths (/etc/XXX) in both man pages and as default paths for it's configuration files. >How-To-Repeat: Install isakmpd. man isakmpd. >Fix: The following fix is relative to an isakmpd with PR 42892. --- Makefile.keynote Fri Oct 11 14:09:01 2002 +++ Makefile Fri Oct 11 14:22:59 2002 @@ -34,12 +34,16 @@ .endif USE_OPENSSL= yes +USE_REINPLACE= yes WRKSRC= ${WRKDIR}/isakmpd MAKE_ENV+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man MAN5= isakmpd.conf.5 isakmpd.policy.5 MAN8= isakmpd.8 MANCOMPRESSED= yes + +post-patch: + @(cd ${WRKSRC}; ${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" conf.h ike_auth.c isakmpd.8 isakmpd.conf.5 isakmpd.policy.5 policy.h) .include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210111730.g9BHUqet006835>