ports/56028: little fix for security/amap
Yonatan at xpert.com
Yonatan at xpert.com
Wed Aug 27 10:30:28 UTC 2003
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list