head 1.16;
access;
symbols
OPENPKG_E1_MP_HEAD:1.9
OPENPKG_E1_MP:1.9
OPENPKG_E1_MP_2_STABLE:1.7.2.2
OPENPKG_E1_FP:1.7.2.2
OPENPKG_2_STABLE_MP:1.7
OPENPKG_2_STABLE_20061018:1.7.2.2
OPENPKG_2_STABLE:1.7.0.2;
locks; strict;
comment @-- @;
1.16
date 2009.04.18.13.18.22; author rse; state Exp;
branches;
next 1.15;
commitid 4pHXU27WTIGCZuKt;
1.15
date 2008.02.28.07.17.55; author rse; state Exp;
branches;
next 1.14;
commitid 5xIKRJnDQ7Rar8Ts;
1.14
date 2008.01.01.15.07.11; author rse; state Exp;
branches;
next 1.13;
commitid B8esaHJHoduuKILs;
1.13
date 2007.12.19.19.34.16; author rse; state Exp;
branches;
next 1.12;
commitid oQI6uMf6p9UhN4Ks;
1.12
date 2007.07.13.09.57.04; author rse; state Exp;
branches;
next 1.11;
commitid ztax6iBFhcw9IAps;
1.11
date 2007.07.06.09.42.55; author rse; state Exp;
branches;
next 1.10;
commitid UeAvo3nhhE6fRGos;
1.10
date 2007.02.03.08.31.54; author rse; state Exp;
branches;
next 1.9;
commitid eBzV2516KiINn15s;
1.9
date 2007.01.01.17.42.50; author rse; state Exp;
branches;
next 1.8;
commitid BicZD6VUl7GuqP0s;
1.8
date 2006.11.01.11.46.03; author rse; state Exp;
branches;
next 1.7;
commitid iEGgH4qtaFRItXSr;
1.7
date 2006.10.13.17.35.43; author thl; state Exp;
branches
1.7.2.1;
next 1.6;
commitid q5GSxzsSDX29XxQr;
1.6
date 2006.09.24.13.37.01; author rse; state Exp;
branches;
next 1.5;
commitid cxJySMYT3lxvj5Or;
1.5
date 2006.08.31.19.03.56; author rse; state Exp;
branches;
next 1.4;
commitid o7yQx6ogdQhvT1Lr;
1.4
date 2006.08.31.08.26.58; author rse; state Exp;
branches;
next 1.3;
commitid XQnF1WRCO9RZmYKr;
1.3
date 2006.08.25.06.48.16; author rse; state Exp;
branches;
next 1.2;
commitid 18DNmZhRIoo51cKr;
1.2
date 2006.07.31.07.28.57; author rse; state Exp;
branches;
next 1.1;
commitid BexkWdBFnnGR2ZGr;
1.1
date 2006.06.27.15.24.26; author cs; state Exp;
branches;
next ;
commitid cLY9Jm9j2MLKLECr;
1.7.2.1
date 2006.10.13.17.35.43; author rse; state dead;
branches;
next 1.7.2.2;
commitid iZxwRSmmWscPXUQr;
1.7.2.2
date 2006.10.16.14.57.59; author rse; state Exp;
branches;
next ;
commitid iZxwRSmmWscPXUQr;
desc
@@
1.16
log
@bump years in copyright messages
@
text
@##
## wireshark.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: wireshark
Summary: Graphical Realtime Network Protocol Analyzer
URL: http://www.wireshark.org/
Vendor: Gerald Combs
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Capturing
License: GPL
Version: 0.99.8
Release: 20080228
# package options
%option with_gui yes
%option with_zlib yes
%option with_adns yes
%option with_pcre yes
%option with_snmp yes
%option with_ssl yes
# list of sources
Source0: http://www.wireshark.org/download/src/wireshark-%{version}.tar.gz
Patch0: wireshark.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, gcc, make, perl, sed, pkgconfig
PreReq: OpenPKG, openpkg >= 20040130
BuildPreReq: libpcap, gcrypt, glib2
PreReq: libpcap, gcrypt, glib2
%if "%{with_gui}" == "yes"
BuildPreReq: gtk2
PreReq: gtk2
%endif
%if "%{with_zlib}" == "yes"
BuildPreReq: zlib
PreReq: zlib
%endif
%if "%{with_ssl}" == "yes"
BuildPreReq: openssl
PreReq: openssl
%endif
%if "%{with_snmp}" == "yes"
BuildPreReq: snmp
PreReq: snmp
%endif
%if "%{with_adns}" == "yes"
BuildPreReq: adns
PreReq: adns
%endif
%if "%{with_pcre}" == "yes"
BuildPreReq: pcre
PreReq: pcre
%endif
AutoReq: no
AutoReqProv: no
%description
Wireshark is a free network protocol analyzer for Unix and Windows.
It allows you to examine data from a live network or from a capture
file on disk. You can interactively browse the capture data, viewing
summary and detail information for each packet. Wireshark has several
powerful features, including a rich display filter language and the
ability to view the reconstructed stream of a TCP session.
%track
prog wireshark = {
version = %{version}
url = http://www.wireshark.org/download/src/
regex = wireshark-(__VER__)\.tar\.(bz2|gz)
}
%prep
%setup -q
%patch -p0
%{l_shtool} subst \
-e 's;-Werror;;g' \
configure Makefile.in */Makefile.in
%{l_shtool} subst \
-e 's;-Wl,-static *;;g' \
-e 's;-all-static *;;g' \
-e 's;-static *;;g' \
Makefile.in
%{l_shtool} subst \
-e 's;\([, ]\)encrypt;\1myencrypt;g' \
epan/radius_dict.c
%build
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
CPPFLAGS="%{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
./configure \
--prefix=%{l_prefix} \
--mandir=%{l_prefix}/man \
--sysconfdir=%{l_prefix}/etc/wireshark \
--with-plugins=%{l_prefix}/libexec/wireshark \
--enable-tshark \
%if "%{with_gui}" == "yes"
--enable-wireshark \
--enable-gtk2 \
--with-glib-prefix=%{l_prefix} \
--with-gtk-prefix=%{l_prefix} \
%else
--disable-wireshark \
%endif
--with-pcap=%{l_prefix} \
--with-libgcrypt-prefix=%{l_prefix} \
%if "%{with_zlib}" == "yes"
--with-zlib=%{l_prefix} \
%else
--without-zlib \
%endif
%if "%{with_ssl}" == "yes"
--with-ssl=%{l_prefix} \
%else
--without-ssl \
%endif
%if "%{with_snmp}" == "yes"
--with-net-snmp=%{l_prefix}/bin/net-snmp-config \
%else
--without-net-snmp \
%endif
%if "%{with_adns}" == "yes"
--with-adns=%{l_prefix} \
%else
--without-adns \
%endif
%if "%{with_pcre}" == "yes"
--with-pcre=%{l_prefix} \
%else
--without-pcre \
%endif
--without-krb5 \
--disable-shared \
--enable-static \
--disable-ipv6
%{l_make} %{l_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
%if "%{with_gui}" == "yes"
ln $RPM_BUILD_ROOT%{l_prefix}/bin/wireshark $RPM_BUILD_ROOT%{l_prefix}/bin/ethereal
%endif
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.15
log
@upgrading package: wireshark 0.99.7 -> 0.99.8
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.14
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d34 2
a35 2
Version: 0.99.7
Release: 20080101
@
1.13
log
@upgrading package: wireshark 0.99.6 -> 0.99.7
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d35 1
a35 1
Release: 20071219
@
1.12
log
@fix filesystem layout
@
text
@d35 2
a36 2
Version: 0.99.6
Release: 20070713
@
1.11
log
@upgrading package: wireshark 0.99.5 -> 0.99.6
@
text
@d36 1
a36 1
Release: 20070706
d121 1
@
1.10
log
@upgrading package: wireshark 0.99.4 -> 0.99.5
@
text
@d35 2
a36 2
Version: 0.99.5
Release: 20070203
d103 3
@
1.9
log
@Welcome Year 2007!
@
text
@d35 2
a36 2
Version: 0.99.4
Release: 20061101
@
1.8
log
@upgrading package: wireshark 0.99.3a -> 0.99.4
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@
1.7
log
@new world order for "Packager" and "Distribution" headers
@
text
@d35 2
a36 2
Version: 0.99.3a
Release: 20061013
@
1.7.2.1
log
@file wireshark.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:57:59 +0000
@
text
@d1 175
@
1.7.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 175
##
## wireshark.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: wireshark
Summary: Graphical Realtime Network Protocol Analyzer
URL: http://www.wireshark.org/
Vendor: Gerald Combs
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Capturing
License: GPL
Version: 0.99.3a
Release: 2.20061018
# package options
%option with_gui yes
%option with_zlib yes
%option with_adns yes
%option with_pcre yes
%option with_snmp yes
%option with_ssl yes
# list of sources
Source0: http://www.wireshark.org/download/src/wireshark-%{version}.tar.gz
Patch0: wireshark.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 2.20061018, gcc, make, perl, sed, pkgconfig
PreReq: OpenPKG, openpkg >= 2.20061018
BuildPreReq: libpcap, gcrypt, glib2
PreReq: libpcap, gcrypt, glib2
%if "%{with_gui}" == "yes"
BuildPreReq: gtk2
PreReq: gtk2
%endif
%if "%{with_zlib}" == "yes"
BuildPreReq: zlib
PreReq: zlib
%endif
%if "%{with_ssl}" == "yes"
BuildPreReq: openssl
PreReq: openssl
%endif
%if "%{with_snmp}" == "yes"
BuildPreReq: snmp
PreReq: snmp
%endif
%if "%{with_adns}" == "yes"
BuildPreReq: adns
PreReq: adns
%endif
%if "%{with_pcre}" == "yes"
BuildPreReq: pcre
PreReq: pcre
%endif
AutoReq: no
AutoReqProv: no
%description
Wireshark is a free network protocol analyzer for Unix and Windows.
It allows you to examine data from a live network or from a capture
file on disk. You can interactively browse the capture data, viewing
summary and detail information for each packet. Wireshark has several
powerful features, including a rich display filter language and the
ability to view the reconstructed stream of a TCP session.
%track
prog wireshark = {
version = %{version}
url = http://www.wireshark.org/download/src/
regex = wireshark-(__VER__)\.tar\.(bz2|gz)
}
%prep
%setup -q
%patch -p0
%{l_shtool} subst \
-e 's;-Wl,-static *;;g' \
-e 's;-all-static *;;g' \
-e 's;-static *;;g' \
Makefile.in
%{l_shtool} subst \
-e 's;\([, ]\)encrypt;\1myencrypt;g' \
epan/radius_dict.c
%build
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
CPPFLAGS="%{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
./configure \
--prefix=%{l_prefix} \
--sysconfdir=%{l_prefix}/etc/wireshark \
--with-plugins=%{l_prefix}/libexec/wireshark \
--enable-tshark \
%if "%{with_gui}" == "yes"
--enable-wireshark \
--enable-gtk2 \
--with-glib-prefix=%{l_prefix} \
--with-gtk-prefix=%{l_prefix} \
%else
--disable-wireshark \
%endif
--with-pcap=%{l_prefix} \
--with-libgcrypt-prefix=%{l_prefix} \
%if "%{with_zlib}" == "yes"
--with-zlib=%{l_prefix} \
%else
--without-zlib \
%endif
%if "%{with_ssl}" == "yes"
--with-ssl=%{l_prefix} \
%else
--without-ssl \
%endif
%if "%{with_snmp}" == "yes"
--with-net-snmp=%{l_prefix}/bin/net-snmp-config \
%else
--without-net-snmp \
%endif
%if "%{with_adns}" == "yes"
--with-adns=%{l_prefix} \
%else
--without-adns \
%endif
%if "%{with_pcre}" == "yes"
--with-pcre=%{l_prefix} \
%else
--without-pcre \
%endif
--without-krb5 \
--disable-shared \
--enable-static \
--disable-ipv6
%{l_make} %{l_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
%if "%{with_gui}" == "yes"
ln $RPM_BUILD_ROOT%{l_prefix}/bin/wireshark $RPM_BUILD_ROOT%{l_prefix}/bin/ethereal
%endif
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.6
log
@adjust Group header
@
text
@d30 2
a31 2
Packager: OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release: 20060924
@
1.5
log
@fix dependencies
@
text
@d33 1
a33 1
Group: Network
d36 1
a36 1
Release: 20060831
@
1.4
log
@allow building without Gtk GUI
@
text
@d53 1
a53 1
BuildPreReq: OpenPKG, openpkg >= 20040130, gcc, make, perl, sed
d55 2
d58 2
a59 2
BuildPreReq: glib2, gtk2
PreReq: glib2, gtk2
a60 2
BuildPreReq: libpcap, gcrypt
PreReq: libpcap, gcrypt
@
1.3
log
@upgrading package: wireshark 0.99.2 -> 0.99.3a
@
text
@d36 1
a36 1
Release: 20060825
d39 1
d55 6
a60 2
BuildPreReq: glib2, gtk2, libpcap, gcrypt
PreReq: glib2, gtk2, libpcap, gcrypt
d120 2
d126 3
d166 1
d168 1
@
1.2
log
@upgrading package: wireshark 0.99.1pre1 -> 0.99.2
@
text
@d35 2
a36 2
Version: 0.99.2
Release: 20060731
@
1.1
log
@new package: wireshark 0.99.1pre1 (Graphical Realtime Network Protocol Analyzer)
@
text
@d35 2
a36 2
Version: 0.99.1pre1
Release: 20060627
d46 1
a46 1
Source0: http://www.wireshark.org/download/prerelease/wireshark-%{version}.tar.gz
d52 4
a55 2
BuildPreReq: OpenPKG, openpkg >= 20040130, glib2, gtk2, libpcap, gcc, make, perl, sed
PreReq: OpenPKG, openpkg >= 20040130, glib2, gtk2, libpcap
d90 1
a90 1
url = http://www.wireshark.org/download/
d120 1
d156 1
@