Commit 0e7cb6cc authored by Raphaël Hertzog's avatar Raphaël Hertzog

Drop the debian files from the upstream branch

parent cd7f4e23
This package uses dpatch in order to apply patches to the upstream
source.
Patches are stored in debian/patches and their filenames usually end in
.dpatch .
For further details, see the man pages for dpatch and dpatch-edit-patch.
All commands described below should be run from the top directory of the
package source tree, unless otherwise stated.
* To generate the fully patched source, in a form ready for
editing, that would be built to create Debian packages, run:
dpatch apply-all
Note: This should happen automatically when you run
dpkg-source -x on a dpatch source package.
* To modify the source and save those modifications so that
they will be applied when building the package, pick a
suitably informative patch file name, for example
01_add_README.source_file.dpatch, and then run:
dpatch-edit-patch 01_add_README.source_file.dpatch
This will place you in a new shell in a temporary copy of the
source tree. Make your desired modifications to it, and then
exit the shell to create the patch file containing them (this
file will appear in debian/patches).
* To remove source modifications that are currently being
applied when building the package, run:
dpatch unapply-all
wireshark (1.8.2) unstable; urgency=low
* Self-made package
-- Wireshark Self-made package <wireshark@example.com> Wed, 27 Jan 2010 00:00:00 +0000
Source: wireshark
Section: net
Priority: optional
Maintainer: Wireshark Self-made package <wireshark@example.com>
X-Orig-Maintainer: Frederic Peters <fpeters@debian.org>
X-Orig-Uploaders: Joost Yervante Damad <andete@debian.org>
Standards-Version: 3.8.1.0
Homepage: http://www.wireshark.org
Build-Depends: libgtk2.0-dev (>=2.12.0-0), libpcap0.8-dev, flex, libz-dev, dpatch, debhelper (>= 6), libtool, python, automake1.9, autoconf, autotools-dev, libc-ares-dev, xsltproc, docbook-xsl (>= 1.64.1.0-0), libcap-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], bison, libgnutls-dev, python-support (>= 0.3), portaudio19-dev, libkrb5-dev, liblua5.1-0-dev, libsmi2-dev, libgeoip-dev
Build-Conflicts: libsnmp4.2-dev, libsnmp-dev
XS-Python-Version: all
Package: wireshark-common
Architecture: any
Depends: ${shlibs:Depends}
Recommends: wireshark (>= ${binary:Version}) | tshark (>= ${binary:Version})
Suggests: snmp-mibs-downloader
Replaces: ethereal-common (<< 0.99.2-0)
Conflicts: ethereal-common (<< 0.99.2-0)
Description: network traffic analyser (common files)
Wireshark is a network traffic analyzer, or "sniffer", for Unix and
Unix-like operating systems. A sniffer is a tool used to capture
packets off the wire. Wireshark decodes numerous protocols (too many
to list).
.
This package provides files common to both wireshark (the GTK+ version)
and tshark (the console version).
Package: wireshark
Architecture: any
Depends: ${shlibs:Depends}, wireshark-common (= ${binary:Version})
Recommends: gksu
Replaces: ethereal (<< 0.99.2-0)
Conflicts: ethereal (<< 0.99.2-0)
Description: network traffic analyzer
Wireshark is a network traffic analyzer, or "sniffer", for Unix and
Unix-like operating systems. A sniffer is a tool used to capture
packets off the wire. Wireshark decodes numerous protocols (too many
to list).
.
This package provides wireshark (the GTK+ version)
Package: tshark
Architecture: any
Depends: ${shlibs:Depends}, wireshark-common (= ${binary:Version})
Replaces: tethereal (<< 0.99.2-0)
Conflicts: tethereal (<< 0.99.2-0)
Description: network traffic analyzer (console)
Wireshark is a network traffic analyzer, or "sniffer", for Unix and
Unix-like operating systems. A sniffer is a tool used to capture
packets off the wire. Wireshark decodes numerous protocols (too many
to list).
.
This package provides the console version of wireshark, named
"tshark".
Package: wireshark-dev
Architecture: any
Section: devel
Depends: ${shlibs:Depends}, omniidl4 (>= 4.0.1-2), libpcap0.8-dev, libtool, libglib2.0-dev, ${python:Depends}, snacc, autotools-dev, debhelper, cdbs, automake1.9, autoconf
Replaces: ethereal-dev (<< 0.99.2-0)
Conflicts: ethereal-dev (<< 0.99.2-0)
XB-Python-Version: ${python:Versions}
Description: network traffic analyser (development tools)
Wireshark is a network traffic analyzer, or "sniffer", for Unix and
Unix-like operating systems. A sniffer is a tool used to capture
packets off the wire. Wireshark decodes numerous protocols (too many
to list).
.
This package provides idl2wrs and other necessary files to develop
new packet dissectors.
This diff is collapsed.
#include <wireshark/config.h>
#include <epan/packet.h>
#include <epan/prefs.h>
#01_idl2deb
#02_asn2deb
03_preferences
#04_drop-capabilities
#05_plugin-libdir
#06_giop-buffer
#07_gcc4
#08_wireshark-desktop-menu
#09_idl2wrs
#10_wireshark_gen
#14_disable-cmip
#15_sensitive_open
#16_licence_about_location
#17_clique_rm_support
#! /bin/sh /usr/share/dpatch/dpatch-run
## 03_preferences.dpatch by <fpeters@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: use Debian sensible-browser
@DPATCH@
diff -urNad wireshark-0.99.7~pre1~/epan/prefs.c wireshark-0.99.7~pre1/epan/prefs.c
--- wireshark-0.99.7~pre1~/epan/prefs.c 2007-11-22 17:57:25.000000000 +0100
+++ wireshark-0.99.7~pre1/epan/prefs.c 2007-11-22 18:04:50.555226510 +0100
@@ -1198,7 +1198,7 @@
prefs.gui_ask_unsaved = TRUE;
prefs.gui_find_wrap = TRUE;
prefs.gui_use_pref_save = FALSE;
- prefs.gui_webbrowser = g_strdup(HTML_VIEWER " %s");
+ prefs.gui_webbrowser = g_strdup("sensible-browser %s");
prefs.gui_window_title = g_strdup("");
prefs.gui_layout_type = layout_type_5;
prefs.gui_layout_content_1 = layout_pane_content_plist;
#! /bin/sh -e
if test -e /usr/etc/manuf ; then rm /usr/etc/manuf ; fi
#DEBHELPER#
#!/usr/bin/make -f
# Made with the aid of dh_make, by Craig Small
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
# Some lines taken from debmake, by Cristoph Lameter.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
include /usr/share/dpatch/dpatch.make
DB2MAN=/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
PYTHON_VERSION=python2.4
CFLAGS=-g -O2
# Enable IEEE-conformant floating point math on alphas (not the default)
ifeq (alpha-linux,$(DEB_HOST_GNU_TYPE))
CFLAGS += -mieee
endif
CONFIGURE_FLAGS=--prefix=/usr --sysconfdir=/usr/share --datadir=/usr/share --libdir=/usr/lib/wireshark --disable-static --enable-warnings-as-errors=no --enable-setuid-install --with-plugins=/usr/lib/wireshark/plugins --with-lua=/usr/
configure: configure-stamp
configure-stamp: patch
dh_testdir
cp /usr/share/misc/config.guess /usr/share/misc/config.sub .
libtoolize --force --copy
-mkdir aclocal-missing
./autogen.sh
CFLAGS="$(CFLAGS)" ./configure $(CONFIGURE_FLAGS)
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
$(MAKE)
touch build-stamp
patch: patch-stamp
patch-stamp:
dpatch apply-all
clean: unpatch-stamp
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
[ ! -f Makefile ] || $(MAKE) distclean
rm -f rdps wireshark.1 tshark.1 wireshark-filter.4
rm -f conftest conftest.c
rm -f config.guess config.sub config.log
rm -f config.h.in config.h configure
dh_clean
unpatch: unpatch-stamp
unpatch-stamp:
dpatch deapply-all
rm -rf patch-stamp debian/patched
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the files into debian/tmp
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
mkdir -p $(CURDIR)/debian/tmp/usr/share/applications/
cp debian/wireshark.desktop $(CURDIR)/debian/tmp/usr/share/applications/
cp tools/idl2wrs $(CURDIR)/debian/tmp/usr/bin/
#cp debian/wireshark-root.desktop $(CURDIR)/debian/tmp/usr/share/applications/
mkdir -p $(CURDIR)/debian/tmp/usr/share/pixmaps/
cp image/hi48-app-wireshark.png $(CURDIR)/debian/tmp/usr/share/pixmaps/
cp image/wsicon32.xpm $(CURDIR)/debian/tmp/usr/share/pixmaps/
mkdir -p $(CURDIR)/debian/tmp/etc/wireshark/
mv $(CURDIR)/debian/tmp/usr/share/wireshark/init.lua \
$(CURDIR)/debian/tmp/etc/wireshark/
ln -s /etc/wireshark/init.lua \
$(CURDIR)/debian/tmp/usr/share/wireshark/init.lua
mkdir -p $(CURDIR)/debian/tmp/usr/lib/$(PYTHON_VERSION)/site-packages/
cp $(CURDIR)/tools/wireshark_be.py $(CURDIR)/tools/wireshark_gen.py \
$(CURDIR)/debian/tmp/usr/lib/$(PYTHON_VERSION)/site-packages/
mkdir -p $(CURDIR)/debian/tmp/usr/include/wireshark/
for F in `cat debian/wireshark-dev.header-files`; do \
cp --parents $$F $(CURDIR)/debian/tmp/usr/include/wireshark; \
done
-rm -rf $(CURDIR)/debian/tmp/usr/man
dh_installman
cp doc/idl2wrs.1 $(CURDIR)/debian/tmp/usr/man
dh_movefiles
dh_pysupport
dh_installdocs
dh_installmenu
dh_installchangelogs NEWS
# Build architecture-independent files here.
binary-indep: install
# We have nothing to do by default.
check: install
# check all necessary headers are included
gcc -c debian/headers-check.c `pkg-config --cflags glib-2.0` -Idebian/wireshark-dev/usr/include/ -Idebian/wireshark-dev/usr/include/wireshark/ -o /dev/null
# Build architecture-dependent files here.
binary-arch: install check
dh_strip
dh_compress
dh_fixperms -Xdumpcap
dh_installdeb
LD_LIBRARY_PATH=/usr/lib/wireshark/:/usr/lib/libfakeroot/ dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
source diff:
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
binary: binary-indep binary-arch
.PHONY: build clean install check binary-indep binary-arch binary
version=3
http://www.wireshark.org/download/src/all-versions/wireshark-(.*)\.tar\.gz
/usr/bin/dumpcap
/usr/bin/capinfos
/usr/bin/editcap
/usr/bin/mergecap
/usr/bin/text2pcap
/usr/bin/rawshark
/usr/lib/wireshark/libwireshark.so.2
/usr/lib/wireshark/libwireshark.so.2.0.2
/usr/lib/wireshark/libwiretap.so.2
/usr/lib/wireshark/libwiretap.so.2.0.2
/usr/lib/wireshark/libwsutil.so.2
/usr/lib/wireshark/libwsutil.so.2.0.0
/usr/lib/wireshark/plugins/*
/usr/share/wireshark/*
/etc/wireshark/init.lua
doc/dumpcap.1
doc/editcap.1
doc/mergecap.1
doc/text2pcap.1
doc/wireshark-filter.4
doc/capinfos.1
doc/rawshark.1
libwireshark 0 wireshark-common
libwiretap 0 wireshark-common
libwsutil 0 wireshark-common
doc/README.binarytrees
doc/README.capture
doc/README.design
doc/README.developer
doc/README.display_filter
doc/README.idl2wrs
doc/README.malloc
doc/README.packaging
doc/README.plugins
doc/README.regression
doc/README.request_response_tracking
doc/README.stats_tree
doc/README.tapping
doc/README.xml-output
/usr/bin/idl2wrs
/usr/lib/wireshark/libwireshark.so
/usr/lib/wireshark/libwireshark.la
/usr/lib/wireshark/libwiretap.so
/usr/lib/wireshark/libwiretap.la
/usr/lib/python2.3/*
/usr/include/wireshark/*
color.h
config.h
register.h
epan/*.h
epan/crypt/*.h
epan/dfilter/*.h
epan/dissectors/*.h
epan/ftypes/*.h
wiretap/*.h
#! /bin/bash -e
#
# Debian prerm script for Python x.y hierarchical modules
# Written by Gregor Hoffleit <flight@debian.org>
# Extended by Matthias Klose <doko@debian.org>
#
PACKAGE=`basename $0 | sed -e 's/\.[^.]*$//'`
dpkg --listfiles $PACKAGE |
awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
xargs rm -f >&2
#DEBHELPER#
[Desktop Entry]
# $Id: wireshark-root.desktop 25408 2008-06-02 07:26:34Z jake $
# The format of this file is specified at
# http://freedesktop.org/Standards/desktop-entry-spec
# The entries are in the order they are listed in version 1.0
Type=Application
Version=1.0
Name=Wireshark (as root)
GenericName=Network Analyzer
GenericName[af]=Netwerk Analiseerder
GenericName[az]=Şəbəkə Analiz Proqramı
GenericName[bg]=Анализатор на мрежови трафик
GenericName[bs]=Mrežni analizer
GenericName[ca]=Analitzador de xarxa
GenericName[cs]=Analyzátor sítě
GenericName[da]=Netværksanalyse
GenericName[de]=Programm für die Netzwerk-Analyse
GenericName[el]=Αναλυτής Δικτύων
GenericName[en_GB]=Network Analyser
GenericName[eo]=Retanalizilo
GenericName[es]=Analizador de redes
GenericName[et]=Võrguliikluse analüsaator
GenericName[eu]=Sare ikerketaria
GenericName[fa]=تحلیل‌گر شبکه
GenericName[fi]=Verkkoanalysaattori
GenericName[fr]=Analyseur réseau
GenericName[he]=מאבחן רשת
GenericName[hr]=Program za analiziranje mreža
GenericName[hu]=hálózatanalizáló
GenericName[id]=Analisis jaringan
GenericName[is]=Netskoðunartól
GenericName[it]=Analizzatore di rete
GenericName[ja]=ネットワークアナライザ
GenericName[ko]=네트웍 분석기
GenericName[lo]=ເຄື່ອງມືວິເຄາະເຄືອຂ່າຍ
GenericName[lt]=Tinklo analizatorius
GenericName[lv]=Tīkla Analizators
GenericName[mk]=Анализатор на мрежи
GenericName[mn]=Сүлжээ-шинжлэлийн програм
GenericName[mt]=Analizzatur tan-network
GenericName[nb]=Nettverksanalysator
GenericName[nl]=netwerkanalyseprogramma
GenericName[nn]=Nettverksanalysator
GenericName[nso]=Moahlaahli wa Kgokagano
GenericName[pl]=Analizator sieci
GenericName[pt]=Analisador de Redes
GenericName[pt_BR]=Analisador de rede
GenericName[ro]=Analizor de reţea
GenericName[ru]=Анализатор сетевого трафика
GenericName[se]=Fierbmeanalysa
GenericName[sk]=Analyzátor siete
GenericName[sl]=Analizator omrežij
GenericName[sr]=Analizatror mreže
GenericName[ss]=Sihlatiyi seluchungechunge
GenericName[sv]=Nätverksanalyserare
GenericName[ta]=Å¨Ä ¬öÅ¡Ç÷
GenericName[th]=เครื่องมือวิเคราะห์เครือข่าย
GenericName[tr]=Ağ Analiz Programı
GenericName[uk]=Аналізатор мережі
GenericName[ven]=Musengulusi wa Vhukwamani
GenericName[vi]=Trình phân tích mạng
GenericName[xh]=Umcukucezi Womsebenzi womnatha
GenericName[zh_CN]=网络分析程序
GenericName[zh_TW]=網路分析程式
GenericName[zu]=Umhloli Woxhumano olusakazekile
Comment=Network traffic analyzer
Comment[fi]=Verkkoliikenne analysaattori
Comment[fr]=Analyseur de trafic réseau
Comment[sv]=Nätverkstrafikanalysator
Icon=hi48-app-wireshark.png
TryExec=su-to-root
Exec=su-to-root -X -c /usr/bin/wireshark
Terminal=false
# Categorie entry according to version 1.0 of
# http://www.freedesktop.org/wiki/Specifications/menu-spec
Categories=System;Monitor;GTK;
[Desktop Entry]
# $Id: wireshark.desktop 25408 2008-06-02 07:26:34Z jake $
# The format of this file is specified at
# http://freedesktop.org/Standards/desktop-entry-spec
# The entries are in the order they are listed in version 1.0
Type=Application
Version=1.0
Name=Wireshark
GenericName=Network Analyzer
GenericName[af]=Netwerk Analiseerder
GenericName[az]=Şəbəkə Analiz Proqramı
GenericName[bg]=Анализатор на мрежови трафик
GenericName[bs]=Mrežni analizer
GenericName[ca]=Analitzador de xarxa
GenericName[cs]=Analyzátor sítě
GenericName[da]=Netværksanalyse
GenericName[de]=Programm für die Netzwerk-Analyse
GenericName[el]=Αναλυτής Δικτύων
GenericName[en_GB]=Network Analyser
GenericName[eo]=Retanalizilo
GenericName[es]=Analizador de redes
GenericName[et]=Võrguliikluse analüsaator
GenericName[eu]=Sare ikerketaria
GenericName[fa]=تحلیل‌گر شبکه
GenericName[fi]=Verkkoanalysaattori
GenericName[fr]=Analyseur réseau
GenericName[he]=מאבחן רשת
GenericName[hr]=Program za analiziranje mreža
GenericName[hu]=hálózatanalizáló
GenericName[id]=Analisis jaringan
GenericName[is]=Netskoðunartól
GenericName[it]=Analizzatore di rete
GenericName[ja]=ネットワークアナライザ
GenericName[ko]=네트웍 분석기
GenericName[lo]=ເຄື່ອງມືວິເຄາະເຄືອຂ່າຍ
GenericName[lt]=Tinklo analizatorius
GenericName[lv]=Tīkla Analizators
GenericName[mk]=Анализатор на мрежи
GenericName[mn]=Сүлжээ-шинжлэлийн програм
GenericName[mt]=Analizzatur tan-network
GenericName[nb]=Nettverksanalysator
GenericName[nl]=netwerkanalyseprogramma
GenericName[nn]=Nettverksanalysator
GenericName[nso]=Moahlaahli wa Kgokagano
GenericName[pl]=Analizator sieci
GenericName[pt]=Analisador de Redes
GenericName[pt_BR]=Analisador de rede
GenericName[ro]=Analizor de reţea
GenericName[ru]=Анализатор сетевого трафика
GenericName[se]=Fierbmeanalysa
GenericName[sk]=Analyzátor siete
GenericName[sl]=Analizator omrežij
GenericName[sr]=Analizatror mreže
GenericName[ss]=Sihlatiyi seluchungechunge
GenericName[sv]=Nätverksanalyserare
GenericName[ta]=Å¨Ä ¬öÅ¡Ç÷
GenericName[th]=เครื่องมือวิเคราะห์เครือข่าย
GenericName[tr]=Ağ Analiz Programı
GenericName[uk]=Аналізатор мережі
GenericName[ven]=Musengulusi wa Vhukwamani
GenericName[vi]=Trình phân tích mạng
GenericName[xh]=Umcukucezi Womsebenzi womnatha
GenericName[zh_CN]=网络分析程序
GenericName[zh_TW]=網路分析程式
GenericName[zu]=Umhloli Woxhumano olusakazekile
Comment=Network traffic analyzer
Comment[fi]=Verkkoliikenne analysaattori
Comment[fr]=Analyseur de trafic réseau
Comment[sv]=Nätverkstrafikanalysator
Icon=hi48-app-wireshark.png
Exec=wireshark
Terminal=false
# Categorie entry according to version 1.0 of
# http://www.freedesktop.org/wiki/Specifications/menu-spec
Categories=System;Monitor;GTK;
/usr/bin/wireshark
/usr/share/applications/
/usr/share/pixmaps/
?package(wireshark):needs="X11" section="Applications/Network/Monitoring" \
title="Wireshark" \
command="/usr/bin/wireshark" \
icon="/usr/share/pixmaps/wsicon32.xpm"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment