Hello community,

here is the log from the commit of package nload for openSUSE:Factory checked 
in at 2016-09-14 23:33:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nload (Old)
 and      /work/SRC/openSUSE:Factory/.nload.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nload"

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

--- /dev/null   2016-07-07 10:01:34.856033756 +0200
+++ /work/SRC/openSUSE:Factory/.nload.new/nload.changes 2016-09-14 
23:33:51.000000000 +0200
@@ -0,0 +1,34 @@
+-------------------------------------------------------------------
+Thu Jul 14 07:26:58 UTC 2016 - adam.ma...@suse.de
+
+- use standard SPDX license names in spec License field
+- GNU_address_update.diff:
+  * update GNU foundation address in COPYING to current
+
+-------------------------------------------------------------------
+Thu Jun 30 10:39:07 UTC 2016 - adam.ma...@suse.de
+
+- replace nload-ncurses.patch with form_h_paths.diff:
+  There is no need to hardcoded these paths when we can detect them
+  propertly and send patch upstream.
+- simplify spec file
+
+-------------------------------------------------------------------
+Sun Feb 12 16:53:18 UTC 2012 - pascal.ble...@opensuse.org
+
+- update to 0.7.4:
+
+-------------------------------------------------------------------
+Sun Jun 12 20:47:38 UTC 2011 - pascal.ble...@opensuse.org
+
+- update to 0.7.3:
+  * fix calculation of traffic and data units (fixes Debian bug #586943)
+  * fix memory leak in BSD network device detection
+  * workaround for faulty newwin() in ncurses 5.8
+  * correctly escape minus signs in man page
+
+-------------------------------------------------------------------
+Tue Apr 28 00:00:00 UTC 2009 - cgoncal...@opensuse.org
+
+- initial release (version 0.7.2)
+

New:
----
  GNU_address_update.diff
  form_h_paths.diff
  nload-0.7.4.tar.gz
  nload.changes
  nload.spec

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

Other differences:
------------------
++++++ nload.spec ++++++
# Copyright (c) 2012 Pascal Bleser <pascal.ble...@opensuse.org>
#
# 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/

# vim: set ts=4 sw=4 et:

Name:           nload
BuildRequires:  gcc-c++
BuildRequires:  ncurses-devel
BuildRequires:  automake
BuildRequires:  autoconf
Url:            http://www.roland-riegel.de/nload/
Version:        0.7.4
Release:        0
License:        GPL-2.0+
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          Productivity/Networking/Diagnostic
Summary:        Monitors network traffic and bandwidth usage
Source:         http://www.roland-riegel.de/nload/nload-%{version}.tar.gz
Patch1:         form_h_paths.diff
Patch2:         GNU_address_update.diff

%description
nload is a console application which monitors network traffic and bandwidth
usage in real time. It visualizes the in- and outgoing traffic using two graphs
and provides additional info like total amount of transfered data and min/max
network usage.

%prep
%setup -q
%patch1 -p1
%patch2 -p1

%build
./run_autotools
%configure
make %{?_smp_flags}

%install
%makeinstall

%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/%{name}
%doc %{_mandir}/man1/%{name}.1*

%changelog

++++++ GNU_address_update.diff ++++++
Index: nload-0.7.4/COPYING
===================================================================
--- nload-0.7.4.orig/COPYING
+++ nload-0.7.4/COPYING
@@ -1,8 +1,8 @@
                    GNU GENERAL PUBLIC LICENSE
                       Version 2, June 1991
 
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-                          675 Mass Ave, Cambridge, MA 02139, USA
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
 
++++++ form_h_paths.diff ++++++
Index: nload-0.7.4/configure.in
===================================================================
--- nload-0.7.4.orig/configure.in
+++ nload-0.7.4/configure.in
@@ -75,13 +75,16 @@ AC_CHECK_LIB(form, new_form)
 
 dnl Checks for header files.
 AC_HEADER_STDC
-AC_CHECK_HEADERS([limits.h stdlib.h string.h unistd.h curses.h form.h math.h 
sys/param.h sys/socket.h sys/time.h sys/ioctl.h arpa/inet.h netinet/in.h])
+AC_CHECK_HEADERS([limits.h stdlib.h string.h unistd.h curses.h form.h 
ncurses/form.h math.h sys/param.h sys/socket.h sys/time.h sys/ioctl.h 
arpa/inet.h netinet/in.h])
 
 if test "$ac_cv_lib_ncurses_initscr $ac_cv_header_curses_h" != "yes yes"; then
     AC_MSG_ERROR([ncurses library or development files not found. ncurses is 
required for $PACKAGE_NAME.])
 fi
-if test "$ac_cv_lib_form_new_form $ac_cv_header_form_h" != "yes yes"; then
-    AC_MSG_ERROR([form library or development files not found. These are part 
of ncurses which is required for $PACKAGE_NAME.])
+if test "$ac_cv_lib_form_new_form" != "yes"; then
+    AC_MSG_ERROR([form library not found. These are part of ncurses which is 
required for $PACKAGE_NAME.])
+fi
+if test "$ac_cv_header_form_h $ac_cv_header_ncurses_form_h" = "no no"; then
+    AC_MSG_ERROR([form development files not found. These are part of ncurses 
which is required for $PACKAGE_NAME.])
 fi
 
 dnl Checks for typedefs, structures, and compiler characteristics.
Index: nload-0.7.4/src/form_field.h
===================================================================
--- nload-0.7.4.orig/src/form_field.h
+++ nload-0.7.4/src/form_field.h
@@ -18,8 +18,15 @@
 #ifndef FORM_FIELD_H
 #define FORM_FIELD_H
 
+#include "../config.h"
 #include <curses.h>
+
+#if defined(HAVE_FORM_H)
 #include <form.h>
+#elif defined(HAVE_NCURSES_FORM_H)
+#include <ncurses/form.h>
+#endif
+
 #undef clear
 #undef erase
 #undef refresh

Reply via email to