pkgsrc/net/nmap/Makefile
adam a967d623a3 Nmap 7.01 [2015-12-09]
o Switch to using gtk-mac-bundler and jhbuild for building the OS X installer.
  This promises to reduce a lot of the problems we've had with local paths and
  dependencies using the py2app and macports build system. [Daniel Miller]

o The Windows installer is now built with NSIS 2.47 which features LoadLibrary
  security hardening to prevent DLL hijacking and other unsafe use of temporary
  directories. Thanks to Stefan Kanthak for reporting the issue to NSIS and to
  us and the many other projects that use it.

o Updated the OpenSSL shipped with our binary builds (Windows, OS X, and RPM)
  to 1.0.2e.

o [Zenmap] [GH-235] Fix several failures to launch Zenmap on OS X. The new
  build process eliminates these errors:
    IOError: [Errno 2] No such file or directory: '/Applications/Zenmap.app/Contents/Resources/etc/pango/pangorc.in'
    LSOpenURLsWithRole() failed for the application /Applications/Zenmap.app with error -10810.

o [NSE] [GH-254] Update the TLSSessionRequest probe in ssl-enum-ciphers to
  match the one in nmap-service-probes, which was fixed previously to correct a
  length calculation error. [Daniel Miller]

o [NSE] [GH-251] Correct false positives and unexpected behavior in http-*
  scripts which used http.identify_404 to determine when a file was not found
  on the target. The function was following redirects, which could be an
  indication of a soft-404 response. [Tom Sellers]

o [NSE] [GH-241] Fix a false-positive in hnap-info when the target responds
  with 200 OK to any request. [Tom Sellers]

o [NSE] [GH-244] Fix an error response in xmlrpc-methods when run against a
  non-HTTP service. The expected behavior is no output. [Niklaus Schiess]

o [NSE] Fix SSN validation function in http-grep, reported by Bruce Barnett.
2015-12-31 12:06:34 +00:00

67 lines
2.3 KiB
Makefile

# $NetBSD: Makefile,v 1.126 2015/12/31 12:06:34 adam Exp $
DISTNAME= nmap-7.01
CATEGORIES= net security
MASTER_SITES= http://nmap.org/dist/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pettai@NetBSD.org
HOMEPAGE= http://insecure.org/nmap/
COMMENT= Network/port scanner with OS detection
LICENSE= gnu-gpl-v2
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=1.0.0
BUILDLINK_API_DEPENDS.libpcre+= libpcre>=7.6
BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.8
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-liblinear=${BUILDLINK_PREFIX.liblinear}
CONFIGURE_ARGS+= --with-libpcap=${BUILDLINK_PREFIX.libpcap}
CONFIGURE_ARGS+= --with-libpcre=${BUILDLINK_PREFIX.pcre}
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
CONFIGURE_ARGS+= --without-subversion
BUILD_DEFS+= IPV6_READY
.include "options.mk"
CHECK_INTERPRETER_SKIP= bin/uninstall_zenmap
CHECK_INTERPRETER_SKIP+= share/zenmap/su-to-zenmap.sh
CHECK_INTERPRETER_SKIP+= share/nmap/nselib/data/oracle-default-accounts.lst
CHECK_INTERPRETER_SKIP+= share/nmap/nselib/data/oracle-sids
CHECK_INTERPRETER_SKIP+= share/nmap/nselib/data/passwords.lst
CHECK_INTERPRETER_SKIP+= share/nmap/nselib/data/rtsp-urls.txt
CHECK_INTERPRETER_SKIP+= share/nmap/nselib/data/snmpcommunities.lst
CHECK_PORTABILITY_SKIP+= libpcap/configure
CHECK_PORTABILITY_SKIP+= zenmap/install_scripts/macosx/launcher.sh
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
MAKE_ENV+= CPPFLAGS=""
.endif
# The SunPro C++ compiler does not understand __FUNCTION__, as well as
# __func__. So __FILE__ is the nearest replacement.
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Msunpro)
CFLAGS.SunOS+= -D__FUNCTION__=__FILE__
.endif
.if empty(PKGSRC_COMPILER:Mgcc)
# The Makefile uses a hard-coded option -MM to get the dependencies, which
# is only understood by the GNU compiler. For a normal build the dependen-
# cies are not needed anyway, only when patching files and fixing bugs.
pre-build:
${ECHO} "# ignored" > ${WRKSRC}/makefile.dep
.endif
.include "../../devel/pcre/buildlink3.mk"
.include "../../math/liblinear/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
#.include "../../devel/subversion-base/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"