Revision: 15435 http://gar.svn.sourceforge.net/gar/?rev=15435&view=rev Author: dmichelsen Date: 2011-08-25 08:29:14 +0000 (Thu, 25 Aug 2011) Log Message: ----------- nmap: Enable all binaries, enhance packaging
Modified Paths: -------------- csw/mgar/pkg/nmap/trunk/Makefile Modified: csw/mgar/pkg/nmap/trunk/Makefile =================================================================== --- csw/mgar/pkg/nmap/trunk/Makefile 2011-08-25 07:44:47 UTC (rev 15434) +++ csw/mgar/pkg/nmap/trunk/Makefile 2011-08-25 08:29:14 UTC (rev 15435) @@ -31,10 +31,25 @@ SPKG_DESC_CSWnmap = A network exploration tool and security/port scanner RUNTIME_DEP_PKGS_CSWnmap += CSWstlport RUNTIME_DEP_PKGS_CSWnmap += CSWlibpcre0 -RUNTIME_DEP_PKGS_CSWnmap += CSWlua RUNTIME_DEP_PKGS_CSWnmap += CSWosslrt RUNTIME_DEP_PKGS_CSWnmap += CSWlibpcap1 +RUNTIME_DEP_PKGS_CSWnmap += CSWlua +RUNTIME_DEP_PKGS_CSWnmap += CSWpython +# Tons of docs and identification of programs installed there +CHECKPKG_OVERRIDES_CSWnmap += file-with-bad-content + +# The Python module is really embedded here, that is ok +CHECKPKG_OVERRIDES_CSWnmap += pkgname-does-not-start-with-CSWpy- +CHECKPKG_OVERRIDES_CSWnmap += catalogname-does-not-start-with-py_ + +#PACKAGES += CSWzenmap +SPKG_DESC_CSWzenmap = zenmap +PKGFILES_CSWzenmap += $(bindir)/zenmap +PKGFILES_CSWzenmap += $(libdir)/python/.* +PKGFILES_CSWzenmap += $(mandir)/.*/zenmap\.1 +PKGFILES_CSWzenmap += $(sharedstatedir)/zenmap/.* + # See standards(5) for details EXTRA_CPPFLAGS += -features=extensions -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ EXTRA_CXXFLAGS += -features=extensions -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ @@ -49,17 +64,12 @@ # http://nmap.org/svn/libdnet-stripped/NMAP_MODIFICATIONS CONFIGURE_ARGS += --with-libdnet=included -# CONFIGURE_ARGS += --with-liblua=$(prefix) + +# Not necessary # CONFIGURE_ARGS += --with-libnbase= -#CONFIGURE_ARGS += --with-libnsock= +# CONFIGURE_ARGS += --with-libnsock= -# Disable most of the tools for now, enable later one by one -CONFIGURE_ARGS += --without-ndiff -CONFIGURE_ARGS += --without-zenmap -CONFIGURE_ARGS += --without-nping -CONFIGURE_ARGS += --without-ncat - # We can't put this in EXTRA_LINKER_FLAGS as LDFLAGS is used for cc too and -library=stlport4 breaks cc BUILD_OVERRIDE_VARS = STATIC BUILD_OVERRIDE_VAR_STATIC = -library=stlport4 -norunpath @@ -67,9 +77,11 @@ # There is no testsuite TEST_SCRIPTS = -# Tons of docs and identification of programs installed there -CHECKPKG_OVERRIDES_CSWnmap += file-with-bad-content +PYCOMPILE = 1 +EXTRA_MERGE_EXCLUDE_FILES += $(bindir)/uninstall_zenmap +EXTRA_PAX_ARGS += -s ',/ndiff,/nmap-ndiff,' + include gar/category.mk post-extract-modulated: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel