Date: Sun, 23 Mar 2003 20:31:04 GMT From: Yonatan@xpert.com To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/50218: New port: security/amap - application mapper Message-ID: <200303232031.h2NKV4700349@node-110.xpert.com>
next in thread | raw e-mail | index | archive | help
>Number: 50218 >Category: ports >Synopsis: New port: security/amap - application mapper >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: Sun Mar 23 10:40:02 PST 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 #4: Tue Mar 11 17:44:31 GMT 2003 root@Temujin:/usr/obj/usr/src/sys/TEMUJIN i386 >Description: This is amap- the application mapper. It tries to identify applications that do not run on thier default port. >How-To-Repeat: N/A >Fix: --- amap.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./Makefile # ./distinfo # ./files # ./files/patch-Makefile.am # ./files/patch-amap.c # ./pkg-descr # ./pkg-plist # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# Ports collection makefile for: amap X# Date created: 23 Mar 2003 X# Whom: Yonatan <Yonatan@xpert.com> X# X# $FreeBSD$ X# X XPORTNAME= amap XPORTVERSION= 1.2.1 XCATEGORIES= security XMASTER_SITES= http://www.thehackerschoice.com/releases/ XEXTRACT_SUFX= .tgz X XMAINTAINER= Yonatan@xpert.com XCOMMENT= Application mapper X XHAS_CONFIGURE= yes XUSE_REINPLACE= yes XALL_TARGET= all XMAN1= amap.1 X Xpost-patch: X ${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}|' ${WRKSRC}/amap.c X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/amap ${PREFIX}/bin/ X ${MKDIR} ${PREFIX}/share/amap X ${INSTALL_DATA} ${WRKSRC}/appdefs.resp ${PREFIX}/share/amap/ X ${INSTALL_DATA} ${WRKSRC}/appdefs.trig ${PREFIX}/share/amap/ X ${INSTALL_MAN} ${WRKSRC}/amap.1 ${MANPREFIX}/man/man1/ X X.include <bsd.port.mk> END-of-./Makefile echo x - ./distinfo sed 's/^X//' >./distinfo << 'END-of-./distinfo' XMD5 (amap-1.2.1.tgz) = c84cdd211628573fc516575829629896 END-of-./distinfo echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/patch-Makefile.am sed 's/^X//' >./files/patch-Makefile.am << 'END-of-./files/patch-Makefile.am' X--- Makefile.am.orig Sun Mar 23 14:32:41 2003 X+++ Makefile.am Sun Mar 23 14:40:52 2003 X@@ -1,10 +1,9 @@ X-CC=gcc X-OPT=-O2 X+OPT=-O X OPT_DEBUG=-ggdb -Wall X BIN=amap X-DIR=/usr/local/bin X+DIR=${PREFIX}/bin X SCRIPTS=appdefs.trig appdefs.resp X-MANDIR=/usr/local/man/man1 X+MANDIR=${MANPREFIX} X MANPAGE=amap.1 X all: strip X END-of-./files/patch-Makefile.am echo x - ./files/patch-amap.c sed 's/^X//' >./files/patch-amap.c << 'END-of-./files/patch-amap.c' X--- amap.c.orig Sun Mar 23 15:42:07 2003 X+++ amap.c Sun Mar 23 16:01:36 2003 X@@ -64,7 +64,8 @@ X char banner_string[256]; X X // where are my appdefs files? X-char *searchpath[12] = { "./", "/etc/", "/usr/etc", "/usr/local/etc/", X+char *searchpath[13] = { "./", "PREFIX/share/amap/", "/etc/", "/usr/etc", X+ "/usr/local/etc/", X "/opt/etc/", "/usr/local/amap/", "/opt/amap/", X "/usr/local/lib/", "/usr/local/lib/amap/", X "/usr/lib/amap/", "/usr/local/bin/", NULL }; END-of-./files/patch-amap.c echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr' XAmap is a next-generation scanning tool, it identifies applications Xand services even if they are not listening to the default port Xby creating a bogus-communication. X XWWW: http://www.thehackerschoice.com/releases.php END-of-./pkg-descr echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist' X@comment $FreeBSD$ Xbin/amap Xshare/amap/appdefs.resp Xshare/amap/appdefs.trig X@dirrm share/amap END-of-./pkg-plist exit --- amap.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303232031.h2NKV4700349>