As we discussed in the last meeting, we reset the ports tree and began from scratch, even though this change involves porting all the packages. Starting small and growing gradually, this approach will reduce build times and consequently lower energy consumption in a world affected by climate change. We will add new ports as users needs arise; ok h3artbl33d@
This commit is contained in:
parent
83a0aaf92c
commit
9a3af55370
59377 changed files with 98673 additions and 4712155 deletions
|
@ -1,9 +1,8 @@
|
|||
COMMENT-main= scan ports and fingerprint stack of network hosts
|
||||
|
||||
MODPY_EGG_VERSION= 7.91
|
||||
MODPY_EGG_VERSION= 7.92
|
||||
DISTNAME= nmap-${MODPY_EGG_VERSION}
|
||||
PKGNAME-main= ${DISTNAME}
|
||||
REVISION= 5
|
||||
|
||||
CATEGORIES= net security
|
||||
SITES= ${HOMEPAGE}/dist/
|
||||
|
@ -32,9 +31,6 @@ DEBUG_PACKAGES= ${BUILD_PACKAGES}
|
|||
CONFIGURE_STYLE=autoconf
|
||||
AUTOCONF_VERSION=2.69
|
||||
|
||||
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC} ${WRKSRC}/libpcap ${WRKSRC}/libssh2 \
|
||||
${WRKSRC}/ncat
|
||||
|
||||
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${MODLUA_INCL_DIR}" \
|
||||
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
||||
|
@ -51,6 +47,9 @@ CONFIGURE_ARGS= --with-libpcap=included \
|
|||
--without-zenmap \
|
||||
--disable-nls
|
||||
|
||||
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC} ${WRKSRC}/libpcap ${WRKSRC}/libssh2 \
|
||||
${WRKSRC}/ncat
|
||||
|
||||
WANTLIB-main= ${COMPILER_LIBCXX} ${MODLUA_WANTLIB} \
|
||||
c crypto m ssl ssh2 pcre z
|
||||
LIB_DEPENDS-main= ${MODLUA_LIB_DEPENDS} \
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (nmap-7.91.tgz) = ns8uk62tWpDGn6erQZk372cDmHB91Pl7Er9GTWsebNo=
|
||||
SIZE (nmap-7.91.tgz) = 12971299
|
||||
SHA256 (nmap-7.92.tgz) = BkGD6mQtxMErGrO1NYzhzvfS5+Ef+ihJ8W0zn1txcRc=
|
||||
SIZE (nmap-7.92.tgz) = 12985468
|
||||
|
|
|
@ -13,17 +13,8 @@ Index: nmap_dns.cc
|
|||
+ if (ptr.length() >= sizeof(C_IPV4_PTR_DOMAIN) - 1 && NULL != (p = strcasestr(cptr + ptr.length() + 1 - sizeof(C_IPV4_PTR_DOMAIN), C_IPV4_PTR_DOMAIN)))
|
||||
{
|
||||
struct sockaddr_in *ip4 = (struct sockaddr_in *)&ip;
|
||||
u8 place_value[] = {1, 10, 100};
|
||||
@@ -1361,7 +1361,7 @@ bool DNS::Factory::ptrToIp(const std::string &ptr, soc
|
||||
size_t i = 0;
|
||||
|
||||
p--;
|
||||
- while (i < sizeof(ip4->sin_addr.s_addr))
|
||||
+ while (p >= cptr && i < sizeof(ip4->sin_addr.s_addr))
|
||||
{
|
||||
if (*p == '.')
|
||||
{
|
||||
@@ -1387,14 +1387,14 @@ bool DNS::Factory::ptrToIp(const std::string &ptr, soc
|
||||
static const u8 place_value[] = {1, 10, 100};
|
||||
@@ -1387,7 +1387,7 @@ bool DNS::Factory::ptrToIp(const std::string &ptr, soc
|
||||
ip.ss_family = AF_INET;
|
||||
}
|
||||
// If not, check IPv6
|
||||
|
@ -32,11 +23,3 @@ Index: nmap_dns.cc
|
|||
{
|
||||
struct sockaddr_in6 *ip6 = (struct sockaddr_in6 *)&ip;
|
||||
u8 alt = 0;
|
||||
size_t i=0;
|
||||
|
||||
p--;
|
||||
- while (i < sizeof(ip6->sin6_addr.s6_addr))
|
||||
+ while (p >= cptr && i < sizeof(ip6->sin6_addr.s6_addr))
|
||||
{
|
||||
if (*p == '.')
|
||||
{
|
||||
|
|
|
@ -3,11 +3,11 @@ Fix for 64-bit time_t on 32-bit archs
|
|||
Index: scan_engine.cc
|
||||
--- scan_engine.cc.orig
|
||||
+++ scan_engine.cc
|
||||
@@ -2009,7 +2009,7 @@ void ultrascan_host_probe_update(UltraScanInfo *USI, H
|
||||
@@ -2061,7 +2061,7 @@ void ultrascan_host_probe_update(UltraScanInfo *USI, H
|
||||
struct timeval tv;
|
||||
|
||||
gettimeofday(&tv, NULL);
|
||||
- log_write(LOG_STDOUT, "%s called for machine %s state %s -> %s (trynum %d time: %ld)\n", __func__, hss->target->targetipstr(), readhoststate(hss->target->flags), readhoststate(newstate), probe->tryno, (long) TIMEVAL_SUBTRACT(tv, probe->sent));
|
||||
- log_write(LOG_STDOUT, "%s called for machine %s state %s -> %s (trynum %d time: %ld)\n", __func__, hss->target->targetipstr(), readhoststate(hss->target->flags), readhoststate(newstate), probe->get_tryno(), (long) TIMEVAL_SUBTRACT(tv, probe->sent));
|
||||
+ log_write(LOG_STDOUT, "%s called for machine %s state %s -> %s (trynum %d time: %lld)\n", __func__, hss->target->targetipstr(), readhoststate(hss->target->flags), readhoststate(newstate), probe->tryno, (time_t) TIMEVAL_SUBTRACT(tv, probe->sent));
|
||||
}
|
||||
|
||||
|
|
|
@ -602,6 +602,7 @@ share/nmap/scripts/mysql-vuln-cve2012-2122.nse
|
|||
share/nmap/scripts/nat-pmp-info.nse
|
||||
share/nmap/scripts/nat-pmp-mapport.nse
|
||||
share/nmap/scripts/nbd-info.nse
|
||||
share/nmap/scripts/nbns-interfaces.nse
|
||||
share/nmap/scripts/nbstat.nse
|
||||
share/nmap/scripts/ncp-enum-users.nse
|
||||
share/nmap/scripts/ncp-serverinfo.nse
|
||||
|
@ -627,6 +628,7 @@ share/nmap/scripts/ntp-monlist.nse
|
|||
share/nmap/scripts/omp2-brute.nse
|
||||
share/nmap/scripts/omp2-enum-targets.nse
|
||||
share/nmap/scripts/omron-info.nse
|
||||
share/nmap/scripts/openflow-info.nse
|
||||
share/nmap/scripts/openlookup-info.nse
|
||||
share/nmap/scripts/openvas-otp-brute.nse
|
||||
share/nmap/scripts/openwebnet-discovery.nse
|
||||
|
@ -645,6 +647,7 @@ share/nmap/scripts/pjl-ready-message.nse
|
|||
share/nmap/scripts/pop3-brute.nse
|
||||
share/nmap/scripts/pop3-capabilities.nse
|
||||
share/nmap/scripts/pop3-ntlm-info.nse
|
||||
share/nmap/scripts/port-states.nse
|
||||
share/nmap/scripts/pptp-version.nse
|
||||
share/nmap/scripts/puppet-naivesigning.nse
|
||||
share/nmap/scripts/qconn-exec.nse
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue