Date: Wed, 27 Aug 2003 13:31:57 +0000 (GMT) From: Yonatan@xpert.com To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/56028: little fix for security/amap Message-ID: <20030827133157.46B4DC54@110.xpert.com> Resent-Message-ID: <200308271030.h7RAUQEN024425@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 56028 >Category: ports >Synopsis: little fix for security/amap >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: Wed Aug 27 03:30:23 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Yonatan@xpert.com >Release: FreeBSD 4.8-RC i386 >Organization: >Environment: System: FreeBSD Temujin 4.8-RC FreeBSD 4.8-RC #1: Sat Apr 12 03:02:22 GMT 2003 root@Temujin:/usr/obj/usr/src/sys/TEMUJIN-G i386 >Description: without this amap looks for it's data files in ${PREFIX}/bin. How did I miss that? >How-To-Repeat: Run amap and see the error message: too few fields in the following line of the trigger file: ... >Fix: --- amap-nit begins here --- diff -urN amap.orig/files/patch-amap.h amap/files/patch-amap.h --- amap.orig/files/patch-amap.h Wed Aug 13 12:54:55 2003 +++ amap/files/patch-amap.h Wed Aug 27 13:11:41 2003 @@ -5,7 +5,7 @@ #define AMAP_RESOURCE "www.thc.org" -#define AMAP_APPDEF_PATH "/usr/local/bin" -+#define AMAP_APPDEF_PATH "PREFIX/bin" ++#define AMAP_APPDEF_PATH "PREFIX/share/amap" #define AMAP_BUFSIZE 1024 // standard buffer size #define AMAP_BUFSIZE_BIG 65536 // big standard buffer size #define AMAP_REGEX_OPTIONS ( PCRE_MULTILINE | PCRE_CASELESS ) --- amap-nit ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030827133157.46B4DC54>