Hello community, here is the log from the commit of package nmap for openSUSE:Factory checked in at 2012-12-03 10:52:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nmap (Old) and /work/SRC/openSUSE:Factory/.nmap.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "nmap", Maintainer is "VDziewiecki@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/nmap/nmap.changes 2012-07-18 17:35:41.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.nmap.new/nmap.changes 2012-12-03 10:52:38.000000000 +0100 @@ -1,0 +2,47 @@ +Sun Dec 2 14:09:50 UTC 2012 - andreas.stieger@gmx.de + +- update to 6.25 + + add 373 IPv4 OS fingerprints and improve existing fingerprints + + add more than 400 service/version detection fingerprints + + integrate latest IPv6 OS submissions and corrections + + Enabled support for IPv6 traceroute using UDP, SCTP, and IPProto + (Next Header) probes. + + Scripts can now return a structured name-value table so that results + are query-able from XML output. Scripts can return a string as + before, or a table, or a table and a string. In this last case, the + table will go to XML output and the string will go to screen output. + + Ncat: Added support for Unix domain sockets. The new -U and + --unixsock options activate this mode. + + removal of Windows dependencies reduces size of source tarball + + Replaced old RPC grinder with NSE-based implementation + + Updated Nmap Scripting Engine to use Lua 5.2 + + Added 85 NSE scripts + + Added 12 new protocol libraries: + * ajp (Apache JServ Protocol) + * base32 (Base32 encoding/decoding - RFC 4648) + * bjnp (Canon BJNP printer/scanner discovery protocol) + * cassandra (Cassandra database protocol) + * eigrp (Cisco Enhanced Interior Gateway Routing Protocol) + * gps (Global Positioning System - does GPRMC NMEA decoding) + * ipp (CUPS Internet Printing Protocol) + * isns (Internet Storage Name Service) + * jdwp (Java Debug Wire Protocol) + * mobileme (a service for managing Apple/Mac devices) + * ospf (Open Shortest Path First routing protocol) + * rdp (Remote Desktop Protocol) + + added more Common Platform Enumeration (CPE) identifiers + + Scans that use OS sockets (including TCP connect scan, version + detection, and script scan) now use the SO_BINDTODEVICE sockopt on + Linux, so that the -e (select network device) option is + honored. + + [Zenmap] Host filters can now do negative matching, for example you + can use "os:!linux" to match hosts NOT detected as Linux. + + further minor improvements and bug fixes as listed in + http://nmap.org/changelog.html +- for openSUSE releases where lua 5.2 is available, build with that + library, otherwise use the library that comes with the sources +- add tests for the correct system or included libraries +- refresh nmap-4.75-nostrip.patch +- refresh su-to-zenmap.patch + +------------------------------------------------------------------- Old: ---- nmap-6.01.tar.bz2 New: ---- nmap-6.25.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nmap.spec ++++++ --- /var/tmp/diff_new_pack.NCLSWf/_old 2012-12-03 10:52:40.000000000 +0100 +++ /var/tmp/diff_new_pack.NCLSWf/_new 2012-12-03 10:52:40.000000000 +0100 @@ -19,23 +19,23 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%define with_system_lua 0%{?suse_version} >= 1220 + Name: nmap +BuildRequires: dos2unix +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gtk2-devel BuildRequires: libpcap-devel -%if 0%{?suse_version} > 1210 -BuildRequires: lua51-devel -%else -BuildRequires: lua-devel -%endif -BuildRequires: dos2unix -BuildRequires: fdupes BuildRequires: openssl-devel BuildRequires: pcre-devel BuildRequires: python-devel BuildRequires: update-desktop-files -Url: http://www.insecure.org/nmap/ -Version: 6.01 +%if %with_system_lua +BuildRequires: pkgconfig(lua) >= 5.2 +%endif +Url: http://nmap.org/ +Version: 6.25 Release: 0 Summary: Portscanner License: GPL-2.0+ @@ -164,6 +164,11 @@ export CXXFLAGS="%optflags -DOPENSSL_LOAD_CONF" %configure --with-libpcap=%{_usr} \ --with-libdnet=included \ +%if %with_system_lua + --with-liblua=%{_usr} \ +%else + --with-liblua=included \ +%endif --with-libpcre=%{_usr} %__make %{?jobs:-j%jobs} @@ -181,6 +186,25 @@ %fdupes -s %{buildroot} +%check +# retrieve list of compiled in modules +compiled_with=$("${RPM_BUILD_ROOT}%{_bindir}/nmap" -V | %__grep "Compiled with:" ) +# for the following tests, the leading space is relevant +# check features built with system libraries +[[ $compiled_with == *\ libpcre-* ]] +[[ $compiled_with == *\ libpcap-* ]] +[[ $compiled_with == *\ openssl-* ]] +# check features built with included sources +[[ $compiled_with == *\ nmap-libdnet-* ]] +# check for lua +%if %with_system_lua +[[ $compiled_with == *\ liblua-5.2* ]] +%else +# lua in nmap tarball identifies itself as "liblua-5.2.1" +[[ $compiled_with == *\ liblua-5.2.1* ]] +%endif +# + %clean %__rm -rf "%{buildroot}" ++++++ nmap-4.75-nostrip.patch ++++++ --- /var/tmp/diff_new_pack.NCLSWf/_old 2012-12-03 10:52:40.000000000 +0100 +++ /var/tmp/diff_new_pack.NCLSWf/_new 2012-12-03 10:52:40.000000000 +0100 @@ -1,8 +1,8 @@ Index: Makefile.in =================================================================== ---- Makefile.in.orig 2011-12-21 00:00:05.000000000 +0000 -+++ Makefile.in 2012-03-26 22:20:22.000000000 +0100 -@@ -252,9 +252,6 @@ my_distclean: +--- Makefile.in.orig 2012-09-13 01:17:42.000000000 +0100 ++++ Makefile.in 2012-12-02 11:47:22.000000000 +0000 +@@ -253,9 +253,6 @@ my_distclean: install-nmap: $(TARGET) $(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(nmapdatadir) $(INSTALL) -c -m 755 nmap $(DESTDIR)$(bindir)/nmap ++++++ nmap-6.01.tar.bz2 -> nmap-6.25.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/nmap/nmap-6.01.tar.bz2 /work/SRC/openSUSE:Factory/.nmap.new/nmap-6.25.tar.bz2 differ: char 11, line 1 ++++++ su-to-zenmap.patch ++++++ --- /var/tmp/diff_new_pack.NCLSWf/_old 2012-12-03 10:52:40.000000000 +0100 +++ /var/tmp/diff_new_pack.NCLSWf/_new 2012-12-03 10:52:40.000000000 +0100 @@ -1,7 +1,7 @@ Index: zenmap/install_scripts/unix/su-to-zenmap.sh =================================================================== ---- zenmap/install_scripts/unix/su-to-zenmap.sh.orig 2009-05-03 05:33:50.000000000 +0100 -+++ zenmap/install_scripts/unix/su-to-zenmap.sh 2012-03-26 22:20:29.000000000 +0100 +--- zenmap/install_scripts/unix/su-to-zenmap.sh.orig 2012-08-19 21:11:06.000000000 +0100 ++++ zenmap/install_scripts/unix/su-to-zenmap.sh 2012-12-02 11:48:38.000000000 +0000 @@ -13,8 +13,8 @@ if test "$euid" = "$privid"; then $COMMAND else @@ -13,14 +13,12 @@ if test "X$KDE_FULL_SESSION" = "Xtrue" ; then if which kdesu >/dev/null 2>&1 ; then SU_TO_ROOT_X=kdesu -@@ -39,8 +39,8 @@ else +@@ -39,7 +39,7 @@ else fi fi case $SU_TO_ROOT_X in - gksu) gksu -u "$PRIV" "$COMMAND";; -- kdesu) kdesu -u "$PRIV" "$COMMAND";; + gnomesu) gnomesu -u "$PRIV" -c "$COMMAND";; -+ kdesu) kdesu -u "$PRIV" -c "$COMMAND";; - kde4su) /usr/lib/kde4/libexec/kdesu -u "$PRIV" "$COMMAND";; + kdesu) kdesu -u "$PRIV" -c "$COMMAND";; + kde4su) /usr/lib/kde4/libexec/kdesu -u "$PRIV" -c "$COMMAND";; ktsuss) ktsuss -u "$PRIV" "$COMMAND";; - # As a last resort, open a new xterm use sudo/su -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org