Accepting request 181207 from network:utilities

- fix factory builds, prevent build failures with pod2man:
  wireshark-1.10.0-authors-pod2man.patch
  wireshark-1.10.0-pod-characters.patch (forwarded request 181206 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/181207
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wireshark?expand=0&rev=70
This commit is contained in:
Stephan Kulow 2013-06-29 12:52:53 +00:00 committed by Git OBS Bridge
commit 42cd4fbb4d
4 changed files with 116 additions and 2 deletions

View File

@ -0,0 +1,50 @@
From: Andreas Stieger <andreas.stieger@gmx.de>
Date: Thu, 27 Jun 2013 21:02:17 +0100
Subject: [patch] change characters in AUTHORS file to be compatible with pod2man
Upstream: never
* remove some characters for which Pod::Man does not have an escape sequence
* replace cyrillic name with transliteration
Wide character in printf at /usr/lib/perl5/5.18.0/Pod/Simple.pm line 539.
wireshark.pod around line 3455: Non-ASCII character seen before =encoding in 'Moń'. Assuming UTF-8
POD document had syntax errors at /usr/bin/pod2man line 71.
make: *** [wireshark.1] Error 255
error: Bad exit status from /var/tmp/rpm-tmp.PtRL60 (%build)
---
AUTHORS | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: wireshark-1.10.0/AUTHORS
===================================================================
--- wireshark-1.10.0.orig/AUTHORS 2013-05-29 17:52:27.000000000 +0100
+++ wireshark-1.10.0/AUTHORS 2013-06-27 20:04:34.000000000 +0100
@@ -3509,7 +3509,7 @@ Peter Hatina <phatina[AT]redhat.com> {
Gtk3 Wireshark fixes
}
-Tomasz Moń <desowin[AT]gmail.com> {
+Tomasz Mon <desowin[AT]gmail.com> {
USBPcap support
}
@@ -3612,7 +3612,7 @@ Cvetan Ivanov <zezo[AT]spnet.net>
Vasanth Manickam <vasanth.manickam[AT]bt.com>
Julian Onions <julian.onions[AT]gmail.com>
Samuel Thibault <samuel.thibault[AT]ens-lyon.org>
-Peter Kovář <peter.kovar[AT]gmail.com>
+Peter Kovár <peter.kovar[AT]gmail.com>
Paul Ollis <paul.ollis[AT]roke.co.uk>
Dominik Kuhlen <dkuhlen[AT]gmx.net>
Karl Knoebl <karl.knoebl[AT]siemens.com>
@@ -3703,7 +3703,7 @@ Paul Stath <pstath[AT]axxcelera.com>
DeCount <aatrade[AT]libero.it>
Andras Veres-Szentkiralyi <vsza[AT]vsza.hu>
Jakob Hirsch <jh.wireshark-bugzilla[AT]plonk.de>
-Роман Донченко <DXDragon[AT]yandex.ru>
+Roman Donchenko <DXDragon[AT]yandex.ru>
<billyjeans[AT]gmail.com>
Evan Huus <eapache[AT]gmail.com>
Tom Cook <tcook[AT]ixiacom.com>

View File

@ -0,0 +1,53 @@
From: Andreas Stieger <andreas.stieger@gmx.de>
Date: Thu, 27 Jun 2013 21:02:17 +0100
Subject: [patch] prevent pod2man failures due to non-ASCII characters
References: http://anonsvn.wireshark.org/viewvc?view=revision&revision=49424
Upstream: submitted (different patch upstream but creates other errors)
Prevents the following error sue to weird whitespache characters in the file:
POD2MAN asn2deb.1
asn2deb.pod around line 8: Non-ASCII character seen before =encoding in '[-a?I<ASN.1'. Assuming ISO8859-1
POD document had syntax errors at /usr/bin/pod2man line 71.
make: *** [asn2deb.1] Error 255
POD2MAN idl2deb.1
idl2deb.pod around line 8: Non-ASCII character seen before =encoding in '[B<-d?>I<opts>]'. Assuming ISO8859-1
POD document had syntax errors at /usr/bin/pod2man line 71.
make: *** [idl2deb.1] Error 255
---
doc/asn2deb.pod | 4 ++--
doc/idl2deb.pod | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Index: wireshark-1.10.0/doc/asn2deb.pod
===================================================================
--- wireshark-1.10.0.orig/doc/asn2deb.pod 2013-06-27 20:33:01.000000000 +0100
+++ wireshark-1.10.0/doc/asn2deb.pod 2013-06-27 20:33:42.000000000 +0100
@@ -5,8 +5,8 @@ asn2deb - Create a Debian package for BE
=head1 SYNOPSIS
-B<asn2deb> [-a I<ASN.1 file>] [--asn=I<ASN.1 file>] [B<-d >I<opts>] [B<--dbopts=>I<opts>] [B<-e >I<address>]
-[B<--email=>I<address>] [B<-h>] [B<--help>] [B<-n >I<name>] [B<--name=>I<name>] [B<-p>] [B<--preserve>] [B<-v>] [B<--version>]
+B<asn2deb> [-a I<ASN.1 file>] [--asn=I<ASN.1 file>] [B<-d >I<opts>] [B<--dbopts=>I<opts>] [B<-e >I<address>]
+[B<--email=>I<address>] [B<-h>] [B<--help>] [B<-n >I<name>] [B<--name=>I<name>] [B<-p>] [B<--preserve>] [B<-v>] [B<--version>]
=head1 DESCRIPTION
Index: wireshark-1.10.0/doc/idl2deb.pod
===================================================================
--- wireshark-1.10.0.orig/doc/idl2deb.pod 2013-06-27 20:33:01.000000000 +0100
+++ wireshark-1.10.0/doc/idl2deb.pod 2013-06-27 20:33:42.000000000 +0100
@@ -5,8 +5,8 @@ idl2deb - Create a Debian package for CO
=head1 SYNOPSIS
-B<idl2deb> [B<-d >I<opts>] [B<--dbopts=>I<opts>] [B<-e >I<address>] [B<--email=>I<address>] [-i I<idlfile>]
-[--idl=I<idlfile>] [B<-h>] [B<--help>] [B<-n >I<name>] [B<--name=>I<name>] [B<-p>] [B<--preserve>] [B<-v>] [B<--version>]
+B<idl2deb> [B<-d >I<opts>] [B<--dbopts=>I<opts>] [B<-e >I<address>] [B<--email=>I<address>] [-i I<idlfile>]
+[--idl=I<idlfile>] [B<-h>] [B<--help>] [B<-n >I<name>] [B<--name=>I<name>] [B<-p>] [B<--preserve>] [B<-v>] [B<--version>]
=head1 DESCRIPTION

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jun 27 20:26:33 UTC 2013 - andreas.stieger@gmx.de
- fix factory builds, prevent build failures with pod2man:
wireshark-1.10.0-authors-pod2man.patch
wireshark-1.10.0-pod-characters.patch
-------------------------------------------------------------------
Wed Jun 5 21:08:57 UTC 2013 - andreas.stieger@gmx.de

View File

@ -28,13 +28,14 @@ Group: Productivity/Networking/Diagnostic
Url: https://www.wireshark.org/
Source: https://www.wireshark.org/download/src/%{name}-%{version}.tar.bz2
Source2: https://www.wireshark.org/download/SIGNATURES-%{version}.txt
# https://www.wireshark.org/download/gerald_at_wireshark_dot_org.gpg
Source3: wireshark.keyring
Source3: https://www.wireshark.org/download/gerald_at_wireshark_dot_org.gpg#/wireshark.keyring
# PATCH-FIX-OPENSUSE wireshark-1.6.3-disable-warning-dialog.patch bnc#349782 prusnak@suse.cz -- don't show warning when running as root
Patch1: wireshark-1.2.0-disable-warning-dialog.patch
# PATCH-FEATURE-OPENSUSE wireshark-1.2.0-geoip.patch prusnak@suse.cz -- search in /var/lib/GeoIP if user hasn't set any GeoIP folders
Patch2: wireshark-1.2.0-geoip.patch
Patch4: wireshark-1.10.0-enable_lua.patch
Patch5: wireshark-1.10.0-authors-pod2man.patch
Patch6: wireshark-1.10.0-pod-characters.patch
BuildRequires: bison
BuildRequires: cairo-devel
BuildRequires: flex
@ -122,6 +123,9 @@ sed -i 's/^Icon=wireshark.png$/Icon=wireshark/' wireshark.desktop
sed -i 's!^Exec=wireshark!Exec=/usr/bin/xdg-su -c /usr/bin/wireshark!' wireshark.desktop
%endif
%patch5 -p1
%patch6 -p1
%build
# zlib-1.2.5 does not work well with wireshark, so disable it on pre-12.2