Hello community,

here is the log from the commit of package netdiscover for openSUSE:Factory 
checked in at 2017-08-24 18:41:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/netdiscover (Old)
 and      /work/SRC/openSUSE:Factory/.netdiscover.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "netdiscover"

Thu Aug 24 18:41:43 2017 rev:1 rq:512245 version:0.3_beta7

Changes:
--------
New Changes file:

--- /dev/null   2017-07-20 07:30:00.335470106 +0200
+++ /work/SRC/openSUSE:Factory/.netdiscover.new/netdiscover.changes     
2017-08-24 18:41:46.103240332 +0200
@@ -0,0 +1,59 @@
+-------------------------------------------------------------------
+Mon Jul 24 11:25:06 UTC 2017 - [email protected]
+
+- Cleaned up spec file with spec-cleaner 
+- Add patches:
+  * netdiscover-update-oui.patch
+  * netdiscover-fix-makefile.patch
+  * netdiscover-fix-spelling-binary.patch
+  * netdiscover-fix-manpage.patch
+
+-------------------------------------------------------------------
+Sun May 22 22:09:18 UTC 2016 - [email protected] - 0.3_beta7
+
+- updated sources from svn
+  * fix for debian bug #818791
+  * updated oui update script
+- updated oui database
+
+-------------------------------------------------------------------
+Sun Jun 21 21:12:53 UTC 2015 - [email protected] - 0.3_beta7
+
+- updated oui database
+
+-------------------------------------------------------------------
+Wed May 20 10:23:57 UTC 2015 - [email protected] - 0.3_beta7
+
+- updated oui database
+
+-------------------------------------------------------------------
+Sat May  2 12:49:56 UTC 2015 - [email protected] - 0.3_beta7
+
+- updated to 0.3 beta7 pre-release 
+- updated oui database
+
+-------------------------------------------------------------------
+Sun Mar 24 00:00:00 UTC 2013 - blingblong
+
+- Initial openSUSE .spec
+- Patch updates oui.h with updated MAC addresses
+
+
+-------------------------------------------------------------------
+Tue May  2 00:00:00 UTC 2006 - [email protected]
+
+- Modified for RedHat/Fedora
+
+
+-------------------------------------------------------------------
+Wed Apr 26 00:00:00 UTC 2006 - [email protected]
+
+- Correction of installation directories
+
+
+-------------------------------------------------------------------
+Mon Mar 27 00:00:00 UTC 2006 - [email protected]
+
+- Initial writing
+
+

New:
----
  netdiscover-0.3-pre-beta7-LINUXONLY.tar.gz
  netdiscover-fix-makefile.patch
  netdiscover-fix-manpage.patch
  netdiscover-fix-spelling-binary.patch
  netdiscover-update-oui.patch
  netdiscover.changes
  netdiscover.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ netdiscover.spec ++++++
#
# spec file for package netdiscover
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define                                 pkgver 0.3-pre-beta7
Name:           netdiscover
Version:        0.3_beta7
Release:        0
Summary:        A network address discovering/monitoring tool
License:        GPL-3.0+
Group:          Productivity/Networking/Other
Url:            https://sourceforge.net/projects/netdiscover/?source=directory
Source0:        
https://sourceforge.net/projects/netdiscover/files/netdiscover/%{pkgver}-LINUXONLY/netdiscover-%{pkgver}-LINUXONLY.tar.gz
# PATCH-FIX-OPENSUSE netdiscover-update-oui.patch -- alows us updating oui
# database from hwdata
Patch0:         netdiscover-update-oui.patch
# Patches from debian
Patch1:         netdiscover-fix-makefile.patch
Patch2:         netdiscover-fix-spelling-binary.patch
Patch3:         netdiscover-fix-manpage.patch
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  hwdata
BuildRequires:  libnet-devel
BuildRequires:  libpcap-devel

%description
Netdiscover is an active/passive address reconnaissance tool, mainly developed
for those wireless networks without dhcp server, when you are wardriving. It
can be also used on hub/switched networks.

Built on top of libnet and libpcap, it can passively detect online hosts, or
search for them, by actively sending arp requests, it can also be used to
inspect your network arp traffic, and find network addresses using auto scan
mode, which will scan for common local networks.

%prep
%setup -q -n netdiscover-%{pkgver}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1

%build
autoreconf -fiv
%configure
cp %{_datadir}/hwdata/oui.txt ./
sh update-oui-database.sh
make %{?_smp_mflags}

%install
%make_install
rm -rf %{buildroot}%{_datadir}/doc

%files
%doc ChangeLog COPYING README AUTHORS NEWS TODO
%{_sbindir}/netdiscover
%{_mandir}/man8/netdiscover.8%{ext_man}

%changelog
++++++ netdiscover-fix-makefile.patch ++++++
Description: avoid to install undesirable files.
Author: Joao Eriberto Mota Filho <[email protected]>
Last-Update: 2015-04-15
Index: netdiscover-0.3-pre-beta7/Makefile.am
===================================================================
--- netdiscover-0.3-pre-beta7.orig/Makefile.am
+++ netdiscover-0.3-pre-beta7/Makefile.am
@@ -5,10 +5,7 @@ SUBDIRS = src doc
 
 doc_DATA = \
         README\
-        COPYING\
         AUTHORS\
-        ChangeLog\
-        NEWS\
         TODO
 
 EXTRA_DIST = \
++++++ netdiscover-fix-manpage.patch ++++++
Description: fix some spelling mistakes.
Author: William Vera <[email protected]>
        Joao Eriberto Mota Filho <[email protected]>
Last-Update: 2016-11-28
Index: netdiscover-0.3-pre-beta7/doc/netdiscover.8
===================================================================
--- netdiscover-0.3-pre-beta7.orig/doc/netdiscover.8
+++ netdiscover-0.3-pre-beta7/doc/netdiscover.8
@@ -61,7 +61,7 @@ wireless networks with low signal level.
 .TP
 \fB\-f\fR
 Enable fast mode scan. This will only scan for .1, .100 and .254 on
-each network. This mode is usefull while searching for ranges being
+each network. This mode is useful while searching for ranges being
 used. After you found such range you can make a specific range scan to
 find online boxes.
 
@@ -83,7 +83,7 @@ When using -P, continue program executio
 to capture ARP packets passively.
 
 .SH USAGE
-If passive mode (-p), scan list (-l) or scan range (-r) options arent
+If passive mode (-p), scan list (-l) or scan range (-r) options aren't
 enabled, netdiscover will scan for common lan addresses.
 .PP
 Screen control keys 
@@ -102,7 +102,7 @@ Scroll up (or up arrow)
 
 .TP
 \fBa\fR
-Show arp replys list
+Show arp replies list
 
 .TP
 \fBr\fR
@@ -114,7 +114,7 @@ Close help screen or end application
 
 .SH CONFIG FILES
 There are 2 configuration files that netdiscover will look for, each
-time it is executed, if file doesnt exist it will use default values.
+time it is executed, if file doesn't exist it will use default values.
 You can use the -d switch to disable reading and loading configuration
 files.
 
@@ -131,7 +131,7 @@ Example:\fR
 
 .TP
 \fB~/.netdiscover/fastips\fR
-List contaning the last octect of the ips to be scanned on each
+List containing the last octect of the ips to be scanned on each
 subnet, when using fast mode, by default (1,100,154).
 
 Example:\fR
++++++ netdiscover-fix-spelling-binary.patch ++++++
Description: fix  spellings in final binary.
Author: Joao Eriberto Mota Filho <[email protected]>
Last-Update: 2016-04-14
Index: netdiscover-0.3-pre-beta7/src/screen.c
===================================================================
--- netdiscover-0.3-pre-beta7.orig/src/screen.c
+++ netdiscover-0.3-pre-beta7/src/screen.c
@@ -326,7 +326,7 @@ void fill_screen()
              "\t |     q: exit this screen or end               | \n"
              "\t |                                              | \n"
              "\t |    \33[1mScreen views\33[0m                              | 
\n"
-             "\t |     a: show arp replys list                  | \n"
+             "\t |     a: show arp replies list                 | \n"
              "\t |     r: show arp requests list                | \n"
              "\t |     u: show unique hosts detected            | \n"
              "\t |                                              | \n"
Index: netdiscover-0.3-pre-beta7/src/main.c
===================================================================
--- netdiscover-0.3-pre-beta7.orig/src/main.c
+++ netdiscover-0.3-pre-beta7/src/main.c
@@ -528,12 +528,12 @@ void usage(char *comando)
       "  -p passive mode: do not send anything, only sniff\n"
       "  -m file: scan the list of known MACs and host names\n"
       "  -F filter: Customize pcap filter expression (default: \"arp\")\n"
-      "  -s time: time to sleep between each arp request (miliseconds)\n"
+      "  -s time: time to sleep between each arp request (milliseconds)\n"
       "  -n node: last ip octet used for scanning (from 2 to 253)\n"
       "  -c count: number of times to send each arp reques (for nets with 
packet loss)\n"
       "  -f enable fastmode scan, saves a lot of time, recommended for auto\n"
       "  -d ignore home config files for autoscan and fast mode\n"
-      "  -S enable sleep time supression betwen each request (hardcore mode)\n"
+      "  -S enable sleep time supression between each request (hardcore 
mode)\n"
       "  -P print results in a format suitable for parsing by another 
program\n"
       "  -N Do not print header. Only valid when -P is enabled.\n"
       "  -L in parsable output mode (-P), continue listening after the active 
scan is completed\n\n"
++++++ netdiscover-update-oui.patch ++++++
Index: netdiscover-0.3-pre-beta7/update-oui-database.sh
===================================================================
--- netdiscover-0.3-pre-beta7.orig/update-oui-database.sh
+++ netdiscover-0.3-pre-beta7/update-oui-database.sh
@@ -23,15 +23,15 @@
 JA=${0##*/}
 DATE=$(date +'%Y%m%d')
 ORIGF=oui.txt
-DSTD=src
+#DSTD=src
 DSTF=oui.h
 URL="http://standards.ieee.org/develop/regauth/oui/oui.txt";
-TMPF=$ORIGF-$DATE
+TMPF=$ORIGF
 AWK="gawk"
 #AWK="mawk"
 #AWK="awk"
 
-[ -d "$DSTD" ] || { echo "$JA: Destdir \"$DSTD\" not exist!"; exit 1; }
+#[ -d "$DSTD" ] || { echo "$JA: Destdir \"$DSTD\" not exist!"; exit 1; }
 #if ! [ -f "$TMPF" -a -s "$TMPF" ]; then
 #   echo "Trying download \"$ORIGF\" with lynx..."
 #   if ! lynx -source $URL >"$TMPF"; then
@@ -47,32 +47,32 @@ AWK="gawk"
 #else
 #   echo "\"$TMPF\" already exist, skipping download..."
 #fi
-if ! [ -f "$TMPF" -a -s "$TMPF" ]; then
-  echo -n "Trying download \"$ORIGF\" with lynx..."
-  if [[ -x /usr/bin/lynx ]]; then
-    lynx -source $URL >"$TMPF"
-  else
-     echo -n " with elinks..."
-     if [[ -x /usr/bin/elinks ]]; then
-       elinks -source $URL >"$TMPF"
-     else
-        echo " with wget..."
-        if [[ -x /usr/bin/wget ]]; then
-          wget --quiet --output-document="$TMPF" $URL
-        else
-          if [[ -x /usr/bin/curl ]]; then
-             curl -s $URL >"$TMPF"
-          else
-             echo "$JA: Can't obtain \"$URL\"!"
-             exit 1
-          fi
-        fi
-     fi
-  fi
-else
-   echo -n "\"$TMPF\" already exist, skipping download..."
-fi
-echo ""
+#if ! [ -f "$TMPF" -a -s "$TMPF" ]; then
+#  echo -n "Trying download \"$ORIGF\" with lynx..."
+#  if [[ -x /usr/bin/lynx ]]; then
+#    lynx -source $URL >"$TMPF"
+#  else
+#     echo -n " with elinks..."
+#     if [[ -x /usr/bin/elinks ]]; then
+#       elinks -source $URL >"$TMPF"
+#     else
+#        echo " with wget..."
+#        if [[ -x /usr/bin/wget ]]; then
+#          wget --quiet --output-document="$TMPF" $URL
+#        else
+#          if [[ -x /usr/bin/curl ]]; then
+#             curl -s $URL >"$TMPF"
+#          else
+#             echo "$JA: Can't obtain \"$URL\"!"
+#             exit 1
+#          fi
+#        fi
+#     fi
+#  fi
+#else
+#   echo -n "\"$TMPF\" already exist, skipping download..."
+#fi
+#echo ""
 
 echo "Process oui.txt (\"$TMPF\")..."
 
@@ -108,7 +108,8 @@ BEGIN {
 END {
        printf("   { NULL, NULL }\n};\n\n");
        printf("// Total %i items.\n\n", NN);
-}' >"$DSTD/$DSTF"
+}' >"$DSTF"
+##}' >"$DSTD/$DSTF"
 
 
 if [ $? -ne 0 ]; then
@@ -116,5 +117,5 @@ if [ $? -ne 0 ]; then
   exit 1
 else
   echo "All OK"
-  ls -oh oui.txt-* src/oui.h
+##  ls -oh oui.txt-* src/oui.h
 fi

Reply via email to