From 230d79dbbce8cab1c5b6dda3199fb6f94f1a4fb7 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Wed, 2 Apr 2003 10:22:39 +0000 Subject: New port: security/amap - application mapper This is amap- the application mapper. It tries to identify applications that do not run on thier default port. PR: ports/50218 Submitted by: Yonatan@xpert.com --- security/amap/files/patch-amap.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 security/amap/files/patch-amap.c (limited to 'security/amap/files/patch-amap.c') diff --git a/security/amap/files/patch-amap.c b/security/amap/files/patch-amap.c new file mode 100644 index 000000000000..06968d259e7e --- /dev/null +++ b/security/amap/files/patch-amap.c @@ -0,0 +1,12 @@ +--- amap.c.orig Sun Mar 23 15:42:07 2003 ++++ amap.c Sun Mar 23 16:01:36 2003 +@@ -64,7 +64,8 @@ + char banner_string[256]; + + // where are my appdefs files? +-char *searchpath[12] = { "./", "/etc/", "/usr/etc", "/usr/local/etc/", ++char *searchpath[13] = { "./", "PREFIX/share/amap/", "/etc/", "/usr/etc", ++ "/usr/local/etc/", + "/opt/etc/", "/usr/local/amap/", "/opt/amap/", + "/usr/local/lib/", "/usr/local/lib/amap/", + "/usr/lib/amap/", "/usr/local/bin/", NULL }; -- cgit v1.2.3