Hello community,

here is the log from the commit of package ghc-network-info for 
openSUSE:Factory checked in at 2015-06-02 10:05:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-network-info (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-network-info.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-network-info"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-network-info/ghc-network-info.changes        
2015-05-27 12:44:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network-info.new/ghc-network-info.changes   
2015-06-02 10:05:30.000000000 +0200
@@ -1,0 +2,5 @@
+Sun May 31 20:02:50 UTC 2015 - [email protected]
+
+- update to 0.2.0.6 
+
+-------------------------------------------------------------------

Old:
----
  network-info-0.2.0.5.tar.gz

New:
----
  network-info-0.2.0.6.tar.gz

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

Other differences:
------------------
++++++ ghc-network-info.spec ++++++
--- /var/tmp/diff_new_pack.OIHCmY/_old  2015-06-02 10:05:31.000000000 +0200
+++ /var/tmp/diff_new_pack.OIHCmY/_new  2015-06-02 10:05:31.000000000 +0200
@@ -15,15 +15,16 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %global pkg_name network-info
 
-Name:           ghc-%{pkg_name}
-Version:        0.2.0.5
+Name:           ghc-network-info
+Version:        0.2.0.6
 Release:        0
 Summary:        Access the local computer's basic network configuration
+License:        BSD-3-Clause
 Group:          System/Libraries
 
-License:        BSD-3-Clause
 Url:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -56,31 +57,24 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %post devel
 %ghc_pkg_recache
 
-
 %postun devel
 %ghc_pkg_recache
 
-
 %files -f %{name}.files
 %defattr(-,root,root,-)
 %doc LICENSE
 
-
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
 %doc README.mkd
 
-
 %changelog

++++++ network-info-0.2.0.5.tar.gz -> network-info-0.2.0.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-info-0.2.0.5/cbits/network-unix.c 
new/network-info-0.2.0.6/cbits/network-unix.c
--- old/network-info-0.2.0.5/cbits/network-unix.c       2014-06-21 
11:55:52.000000000 +0200
+++ new/network-info-0.2.0.6/cbits/network-unix.c       2015-05-26 
03:48:46.000000000 +0200
@@ -18,10 +18,12 @@
 #         define AF_PACKET AF_LINK
 #      endif
 #   endif
-#   ifdef __sun
+#   if defined(__sun) || defined(__GNU__)
 #      include <net/if_arp.h>
-#      include <unistd.h>
 #      include <stropts.h>
+#   endif
+#   ifdef __sun
+#      include <unistd.h>
 #      include <sys/sockio.h>
 #   endif
 #endif
@@ -33,7 +35,7 @@
 #include "network.h"
 #include "common.h"
 
-#if defined(__sun) || !defined(AF_PACKET)
+#if defined(__sun) || (!defined(AF_PACKET) && defined(SIOCGARP))
 int maccopy_arp(unsigned char *dst, struct sockaddr *addr)
 {
     // SOURCE DERIVED FROM: http://www.pauliesworld.org/project/getmac.c
@@ -130,14 +132,14 @@
         family = addr->sa_family;
         if (family == AF_INET) {
             ipv4copy(&n->ip_address, addr);
-#if defined(__sun) || !defined(AF_PACKET)
+#if defined(__sun) || (!defined(AF_PACKET) && defined(SIOCGARP))
             if ((ifa->ifa_flags & IFF_LOOPBACK) == 0) {
                 maccopy_arp(n->mac_address, addr);
             }
 #endif
         } else if (family == AF_INET6) {
             ipv6copy(&n->ip6_address, addr);
-#if defined(__sun) || !defined(AF_PACKET)
+#if defined(__sun) || (!defined(AF_PACKET) && defined(SIOCGARP))
             if ((ifa->ifa_flags & IFF_LOOPBACK) == 0) {
                 maccopy_arp(n->mac_address, addr);
             }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-info-0.2.0.5/network-info.cabal 
new/network-info-0.2.0.6/network-info.cabal
--- old/network-info-0.2.0.5/network-info.cabal 2014-06-21 11:55:52.000000000 
+0200
+++ new/network-info-0.2.0.6/network-info.cabal 2015-05-26 03:48:46.000000000 
+0200
@@ -1,5 +1,5 @@
 name:           network-info
-version:        0.2.0.5
+version:        0.2.0.6
 synopsis:       Access the local computer's basic network configuration
 
 description:    This library provides simple read-only access to the


Reply via email to