Index: head/security/amap/Makefile =================================================================== --- head/security/amap/Makefile (revision 422289) +++ head/security/amap/Makefile (revision 422290) @@ -1,58 +1,64 @@ # Created by: Yonatan # $FreeBSD$ PORTNAME= amap -PORTVERSION= 5.2 -PORTREVISION= 1 +PORTVERSION= 5.4 CATEGORIES= security MASTER_SITES= PACKETSTORM/groups/thc MAINTAINER= onatan@gmail.com COMMENT= Application mapper + +LICENSE= AMAP GPLv2 +LICENSE_COMB= multi +LICENSE_NAME_AMAP= amap license +LICENSE_FILE_AMAP= ${WRKSRC}/LICENCE.AMAP +LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE.GNU +LICENSE_PERMS_AMAP= dist-mirror dist-sell pkg-mirror pkg-sell USES= ssl HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} CONFIGURE_ENV= SSL_PATH=${OPENSSLLIB} \ CRYPTO_PATH=${OPENSSLLIB} \ SSL_IPATH=${OPENSSLINC} MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS PORTDOCS= README TODO CHANGES AMAP-LIB-INTERFACE LOCAL_CONF_FILES= appdefs.resp appdefs.rpc appdefs.trig post-patch: @${REINPLACE_CMD} -e \ 's|/usr/local|${LOCALBASE}|g; \ s|\(-DAMAP_PREFIX\)=\(\$$PREFIX\)|\1=\\\\\\"\2\\\\\\"|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|-O2|${CFLAGS}|; s|^CC=.*||' \ ${WRKSRC}/Makefile.am @${REINPLACE_CMD} -e 's|etc/|etc/amap/|g' ${WRKSRC}/amap-lib.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/amap ${STAGEDIR}${PREFIX}/bin ${LN} -s amap ${STAGEDIR}${PREFIX}/bin/amap6 ${INSTALL_PROGRAM} ${WRKSRC}/amapcrap ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/amap-lib.o ${STAGEDIR}${PREFIX}/lib/${PORTNAME} ${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME} .for i in amap.h amap-inc.h amap-lib.h ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/include/${PORTNAME} .endfor ${MKDIR} ${STAGEDIR}${ETCDIR} .for i in ${LOCAL_CONF_FILES} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${ETCDIR}/${i}.sample .endfor ${INSTALL_MAN} ${WRKSRC}/amap.1 ${STAGEDIR}${MANPREFIX}/man/man1 do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/security/amap/distinfo =================================================================== --- head/security/amap/distinfo (revision 422289) +++ head/security/amap/distinfo (revision 422290) @@ -1,2 +1,3 @@ -SHA256 (amap-5.2.tar.gz) = 0ca1d5e9feab7d44af39dc058a688a0636f8e798315ee742847c4057e4467fb6 -SIZE (amap-5.2.tar.gz) = 262875 +TIMESTAMP = 1473776829 +SHA256 (amap-5.4.tar.gz) = a75ea58de75034de6b10b0de0065ec88e32f9e9af11c7d69edbffc4da9a5b059 +SIZE (amap-5.4.tar.gz) = 263331 Index: head/security/amap/files/patch-pcre-chartables.c =================================================================== --- head/security/amap/files/patch-pcre-chartables.c (revision 422289) +++ head/security/amap/files/patch-pcre-chartables.c (nonexistent) @@ -1,11 +0,0 @@ ---- pcre-3.9/chartables.c.orig Wed Jun 29 17:30:09 2005 -+++ pcre-3.9/chartables.c Wed Jun 29 17:30:16 2005 -@@ -10,7 +10,7 @@ - character tables which are used when no tables are passed to the compile - function. */ - --static unsigned char pcre_default_tables[] = { -+unsigned char pcre_default_tables[] = { - - /* This table is a lower casing table. */ - Property changes on: head/security/amap/files/patch-pcre-chartables.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/security/amap/files/patch-amap-lib.c =================================================================== --- head/security/amap/files/patch-amap-lib.c (revision 422289) +++ head/security/amap/files/patch-amap-lib.c (revision 422290) @@ -1,60 +1,60 @@ ---- amap-lib.c.orig Wed Jun 29 17:23:56 2005 -+++ amap-lib.c Wed Jun 29 17:28:09 2005 -@@ -125,10 +125,8 @@ +--- amap-lib.c.orig 2011-04-20 15:10:17 UTC ++++ amap-lib.c +@@ -125,10 +125,8 @@ int amap_webupdate_file(char *webfile, c int len = strlen("http://"); int wlen = strlen(webfile); - int port = 80, s, result = 1, datalen = 0, version = -1; + int port = 80, s, result = 1, datalen = 0, version = -1, fck; -int xx = 0; unsigned long int ip; time_t epoch; - struct in_addr in; struct hostent *target; struct sockaddr_in addr; struct tm *the_time; -@@ -404,8 +402,8 @@ +@@ -404,8 +402,8 @@ amap_struct_triggers *read_file_triggers char *ptr; char *only_trigger = NULL; int i; - int a; - int b; + int a = 0; + int b = 0; int count; int count_triggers = 0; -@@ -577,7 +575,7 @@ +@@ -577,7 +575,7 @@ amap_struct_responses *read_file_respons char *proto; char *length; char *string; - char *ptr; + char *ptr = NULL; int errptr; int i; int count; -@@ -740,7 +738,7 @@ +@@ -740,7 +738,7 @@ amap_struct_targets *read_file_nmap(char char *portinfo; char *proto; char *ptr; - int ip_prot; + int ip_prot = 0; int count = 0; f = amap_open_file(filename, "nmap", "", opt->verbose); -@@ -1585,7 +1583,7 @@ +@@ -1613,7 +1611,7 @@ int amap_scan(int scanmode, amap_struct_ amap_struct_targets *target = (amap_struct_targets*) targets; amap_struct_ports *port; amap_struct_identifications *ids; - amap_struct_identifications *ids_save; + amap_struct_identifications *ids_save = NULL; amap_struct_coms coms[AMAP_MAX_TASKS]; amap_struct_scaninfo scaninfo; // struct sockaddr_in target_in; -@@ -1593,7 +1591,7 @@ +@@ -1621,7 +1619,7 @@ int amap_scan(int scanmode, amap_struct_ char *rpc_ptr = NULL; int todo = 0; int ready_for_next; - int i; + int i = 0; int ii; int s; int ret; Index: head/security/amap/files/patch-pcre-3.9_chartables.c =================================================================== --- head/security/amap/files/patch-pcre-3.9_chartables.c (nonexistent) +++ head/security/amap/files/patch-pcre-3.9_chartables.c (revision 422290) @@ -0,0 +1,11 @@ +--- pcre-3.9/chartables.c.orig 2011-04-20 15:10:17 UTC ++++ pcre-3.9/chartables.c +@@ -10,7 +10,7 @@ This file is #included in the compilatio + character tables which are used when no tables are passed to the compile + function. */ + +-static unsigned char pcre_default_tables[] = { ++unsigned char pcre_default_tables[] = { + + /* This table is a lower casing table. */ + Property changes on: head/security/amap/files/patch-pcre-3.9_chartables.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property