File project.diff of Package libnids
--- libnids.changes.orig
+++ libnids.changes
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Sun Feb 9 15:28:10 UTC 2014 - andreas.stieger@gmx.de
+
+- fix ppc64 build
+- update source URLs
+- verify source signature
+
+-------------------------------------------------------------------
Tue Jan 31 12:22:56 UTC 2012 - jengelh@medozas.de
- Remove redundant tags/sections per specfile guideline suggestions
--- libnids.spec.orig
+++ libnids.spec
@@ -1,7 +1,7 @@
#
# spec file for package libnids
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -11,23 +11,26 @@
# 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/
#
+
Name: libnids
Version: 1.24
-%define soname 1.24
Release: 0
-License: GPL-2.0+
+%define soname 1.24
Summary: Network Intrusion Detection System Library
-Url: http://libnids.sourceforge.net/
+License: GPL-2.0+
Group: System/Libraries
-Source: http://softlayer.dl.sourceforge.net/project/libnids/libnids/1.24/libnids-1.24.tar.gz
+Url: http://libnids.sourceforge.net/
+Source: https://sourceforge.net/projects/libnids/files/%name/%version/%name-%version.tar.gz
+Source1: https://sourceforge.net/projects/libnids/files/%name/%version/%name-%version.tar.gz.asc
+Source2: http://warszawa.7bulls.com/~nergal/nergal.pub#/libnids.keyring
BuildRequires: glibc-devel
%if 0%{?suse_version} <= 1130
-BuildRequires: libnet
BuildRequires: glib2-devel
+BuildRequires: libnet
%else
BuildRequires: libnet-devel
BuildRequires: pkgconfig(glib-2.0)
@@ -35,6 +38,9 @@ BuildRequires: pkgconfig(glib-2.0)
BuildRequires: libpcap-devel
BuildRequires: libtool
BuildRequires: pkgconfig
+%if 0%{?suse_version} >= 1230
+BuildRequires: gpg-offline
+%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -73,7 +79,12 @@ System. It emulates the IP stack of Linu
defragmentation, TCP stream assembly and TCP port scan detection.
%prep
+%{?gpg_verify: %gpg_verify %{S:1}}
%setup -q
+%ifarch ppc64
+libtoolize --force
+%__cp -f %{_datadir}/automake-*/config.* .
+%endif
%build
%configure \