Opened 21 years ago

Closed 21 years ago

Last modified 9 years ago

#941 closed defect (fixed)

UPDATE nmap-3.45

Reported by: danielluke (Daniel J. Luke) Owned by: opendarwin.org@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: nmap

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Portfile update for nmap 3.45 inline (I'm not sure if the variants for pcre and ssl are the best way of doing this or not):

Index: Portfile
===================================================================
RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/net/nmap/Portfile,v
retrieving revision 1.22
diff -u -d -b -w -r1.22 Portfile
--- Portfile    14 Aug 2003 03:33:37 -0000      1.22
+++ Portfile    16 Sep 2003 22:29:36 -0000
@@ -2,7 +2,7 @@
 
 PortSystem 1.0
 name           nmap
-version                3.30
+version                3.45
 categories     net
 maintainers    opendarwin.org@darkart.com
 description    Port scanning utility for large networks
@@ -20,11 +20,17 @@
 master_sites   http://download.insecure.org/nmap/dist/ \
                ftp://nuxi.ucdavis.edu/pub/misc/
 use_bzip2      yes
-checksums      md5 639fc1c91f48319eca97401e74f9c90e
+checksums md5 9219fe0907a83bddbfd1b99a21ba35ac
 
 configure.args --without-nmapfe
 
 variant gtk    { configure.args {}
                  depends_lib-append lib:libgtk.1:gtk }
+
+variant ssl { configure.args-append --with-openssl=${prefix}
+                               depends_lib-append lib:libssl.0:openssl }
+
+variant pcre { configure.args-append --with-pcre=${prefix}
+                               depends_lib-append lib:libpcre.0:pcre }
 
 destroot.destdir prefix=${destroot}${prefix}

Change History (8)

comment:1 Changed 21 years ago by opendarwin.org@…

Status: newassigned

comment:2 Changed 21 years ago by opendarwin.org@…

I'm looking at how the SSL and PCRE parts work (see variant sections of this patch)

-eric

comment:3 Changed 21 years ago by opendarwin.org@…

Slightly different patch. I changed the ssl and pcre variants to be 'dp-ssl' and 'dp-pcre' as nmap appears to build fine (on my 10.2.6 system) with the system OpenSSL and its own pcre. Note that I have not yet tested the ssl or pcre variants, wanted to get this update in tonight.

-eric

% cvs diff -u net/nmap/Portfile Index: net/nmap/Portfile ============================================================ ======= RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/net/nmap/Portfile,v retrieving revision 1.22 diff -u -r1.22 Portfile --- net/nmap/Portfile 14 Aug 2003 03:33:37 -0000 1.22 +++ net/nmap/Portfile 17 Sep 2003 05:19:58 -0000 @@ -2,9 +2,9 @@

PortSystem 1.0 name nmap

-version 3.30 +version 3.45

categories net

-maintainers opendarwin.org@… +maintainers opendarwin.org@…

description Port scanning utility for large networks long_description Nmap is a utility for port scanning large networks, although it works \

fine for single hosts. The guiding philosophy for the creation of nmap \

@@ -20,11 +20,23 @@

master_sites http://download.insecure.org/nmap/dist/ \

ftp://nuxi.ucdavis.edu/pub/misc/

use_bzip2 yes

-checksums md5 639fc1c91f48319eca97401e74f9c90e +checksums md5 9219fe0907a83bddbfd1b99a21ba35ac

configure.args --without-nmapfe

variant gtk { configure.args {}

depends_lib-append lib:libgtk.1:gtk }

+variant dp-ssl { configure.args-append --with-openssl=${prefix} + depends_lib-append lib:libssl.0:openssl } + +variant dp-pcre { configure.args-append --with-pcre=${prefix} + depends_lib-append lib:libpcre.0:pcre } +

destroot.destdir prefix=${destroot}${prefix}

+ +## +## Fyodor notes that OS X may require: +## ./configure CPP=/usr/bin/cpp +## instead of ./configure +##

Version 0, edited 21 years ago by opendarwin.org@… (next)

comment:4 Changed 21 years ago by danielluke (Daniel J. Luke)

That looks good to me. I've tested with both of the 'dp' variants and it works on my systems.

comment:5 Changed 21 years ago by opendarwin.org@…

Thanks for testing. What systems are you running (i.e Mac OS X 10.2.6 or pure darwin, or both, or??. I'll also ask for someone to commit this. -eric

comment:6 Changed 21 years ago by danielluke (Daniel J. Luke)

10.2.6 on both test systems (although I have a pure Darwin partition I could boot into to test ...)

comment:7 Changed 21 years ago by mij@…

Resolution: fixed
Status: assignedclosed

Committed, thanks.

comment:8 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: nmap added
Note: See TracTickets for help on using tickets.