debian/0000755000000000000000000000000011633653052007172 5ustar debian/install0000644000000000000000000000006011633653052010557 0ustar debian/packeth.desktop /usr/share/applications/ debian/rules0000755000000000000000000000057311633653052010257 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export CFLAGS = -Wall -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations export LDFLAGS = -Wl,-z,defs -Wl,--as-needed override_dh_auto_install: dh_auto_install mv $(CURDIR)/debian/packeth/usr/bin/packETH \ $(CURDIR)/debian/packeth/usr/bin/packeth %: dh $@ debian/packeth.10000644000000000000000000000142311633653052010673 0ustar .TH PACKETH 1 "March 2010" .SH NAME packeth \- ethernet packet generator .SH SYNOPSIS .B packeth .SH DESCRIPTION \fBpacketh\fR is a GUI program that lets you create Ethernet packages\. Please refer to /usr/share/doc/packeth/README for information on its usage. .SH AUTHOR This manual page was written by David Paleino for the Debian\(tm system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL. .SH COPYRIGHT packeth is \(co 2003\-2007 Miha Jemec debian/watch0000644000000000000000000000014411633653052010222 0ustar version=3 http://sf.net/packeth/packETH-(.*)\.tar\.gz http://sf.net/packeth/packETH-(.*)\.tar\.bz debian/control0000644000000000000000000000164611633653052010604 0ustar Source: packeth Section: net Priority: optional Maintainer: David Paleino Build-Depends: debhelper (>= 8~) , libgtk2.0-dev , libatk1.0-dev , libcairo2-dev , libpango1.0-dev , libglib2.0-dev Vcs-Browser: http://git.debian.org/?p=collab-maint/packeth.git Vcs-Git: git://git.debian.org/git/collab-maint/packeth.git Homepage: http://packeth.sourceforge.net Standards-Version: 3.9.2 Package: packeth Architecture: any Depends: ${shlibs:Depends} , ${misc:Depends} Description: Ethernet packet generator packeth is a GUI packet generator tool for Ethernet. It allows you to create and send any possible packet or sequence of packets via Ethernet. It also supports the PCAP format, so you can load packets from any other program (i.e. wireshark). . You can create and send any Ethernet packet. The supported protocols are: Ethernet II, Ethernet 802.3, 802.1q, QinQ, ARP, IPv4, UDP, TCP, ICMP, IGMP, RTP. debian/changelog0000644000000000000000000001207211633653052011046 0ustar packeth (1.6.5-2) unstable; urgency=low * Fix FTBFS because of wrong link order, thanks to Colin Watson (Closes: #641422) * Standards-Version bumped to 3.9.2, no changes needed * Bump debhelper compatibility to 8 -- David Paleino Tue, 13 Sep 2011 15:10:01 +0200 packeth (1.6.5-1) unstable; urgency=low * New upstream version * debian/control: - updated my email address - DMUA removed - bumped Standards-Version to 3.8.4 (no changes needed) - bumped debhelper dependency to >= 7.0.50~, to use overridden rules - removed Build-Dependency on quilt * debian/rules: - use dh7 - rename /usr/bin/packETH to /usr/bin/packeth * debian/watch updated * debian/source/format: use 3.0 (quilt) * debian/patches/: - fix_pixmaps.patch removed, fixed upstream - fix_warnings.patch updated, and renamed to 01-fix_warnings.patch - fix_Makefile.patch removed, fixed in debian/rules - 02-fix_typo.patch added * debian/examples removed, no more available upstream * debian/packeth.1 manually rewritten, without using docbook sources * debian/copyright: point to the non-symlink license -- David Paleino Thu, 04 Mar 2010 21:32:00 +0100 packeth (1.6.3-1) unstable; urgency=low * New upstream version * debian/rules rewritten to adapt to new source layout - debian/manpages added - debian/examples added - debian/dirs added * debian/control: - bumped quilt Build-Depends to >= 0.46-7~ (to use --with quilt in dh7) - Standards-Version bumped to 3.8.3 (no changes needed) * debian/patches/* refreshed to cleanly apply -- David Paleino Sat, 31 Oct 2009 21:27:00 +0100 packeth (1.6.2-3) unstable; urgency=low * debian/rules: - fix clean target, FTBFS because of cruft left in debian/ (Closes: #515719) -- David Paleino Tue, 17 Feb 2009 12:30:30 +0100 packeth (1.6.2-2) unstable; urgency=low * Upload to unstable. -- David Paleino Sun, 15 Feb 2009 12:40:34 +0100 packeth (1.6.2-1) experimental; urgency=low * New Upstream Version * debian/copyright updated * debian/control: - setting DM-Upload-Allowed * Packaging switched to dh7 -- David Paleino Sun, 01 Feb 2009 17:07:14 +0100 packeth (1.6-2) unstable; urgency=low * [67fe44f] Packaging converted to git: fixed Vcs-* urls accordingly * [dc4ed8d] Adding .desktop file * [a2b61db] Added menu file (Closes: #501384) * [dd20a8f] debian/rules updated * [e999125] debian/changelog updated * [bc31532] Added descriptions to the patches * [3a7c40c] Standards-Version bump to 3.8.0, debian/README.source added. * [2a748ea] Fixed menu section -- David Paleino Wed, 31 Dec 2008 16:03:20 +0100 packeth (1.6-1) unstable; urgency=low * New upstream release * debian/control: - "Ethernet" not capitalized in descriptions (Closes: #466497) - debhelper dependency bumped to 6 (also debian/compat) -- David Paleino Thu, 21 Feb 2008 10:42:00 +0100 packeth (1.5-2) unstable; urgency=low * debian/patches/fix_pixmaps.patch added (Closes: #465999) -- David Paleino Sat, 16 Feb 2008 11:14:37 +0100 packeth (1.5-1) unstable; urgency=low * New upstream release * debian/control: - updated Vcs-Svn and Vcs-Browser (were missing a "/trunk" at the end) - Standards-Version bumped to 3.7.3 * debian/rules: - updated to fix new upstream source tree * debian/patches: - updated: upstream integrated the patches :) - added new patch to fix some GCC warnings -- David Paleino Sat, 05 Jan 2008 12:32:24 +0100 packeth (1.4.1-3) unstable; urgency=low * Maintenance upload; no new features / bug fixes. * Using quilt as patch system now. * debian/control: - now the package is in collab-maint, added Vcs-Browser and Vcs-Svn fields - moving deprecated Homepage pseudo-field in the long description to the real one in the source stanza - wrapped Build-Depends * debian/rules: - using quilt now; adjusting targets - added new target (packeth.1) for offline static manpage generation - adding addresslist as example - minor changes * debian/packeth.1 is now generated offline, not by buildds. This will save some space for Build-Depends and building time on slower machines. * debian/manpage.xml moved to debian/packeth.xml * debian/dirs removed * debian/docs removed * debian/patches/fix_Makefile.patch: removing unused library linkings (keeping commented the old one, for any future reference) -- David Paleino Sat, 17 Nov 2007 16:46:15 +0100 packeth (1.4.1-2) unstable; urgency=low * Fixing cutting-out of "Send" button (Closes: #434129) * Fixing "debian-rules-ignores-make-clean-error" from lintian -- David Paleino Mon, 17 Sep 2007 13:18:15 +0200 packeth (1.4.1-1) unstable; urgency=low * Initial release (Closes: #332396) -- David Paleino Fri, 25 May 2007 19:30:39 +0200 debian/menu0000644000000000000000000000020211633653052010053 0ustar ?package(packeth):\ needs="X11" \ section="Applications/Network/Communication" \ title="PackETH" \ command="/usr/bin/packeth" debian/copyright0000644000000000000000000000210411633653052011122 0ustar Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat Files: debian/* Copyright: © 2007-2009, David Paleino License: GPL-2+ Files: * Copyright: © 2003-2009, Miha Jemec License: GPL-2+ License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA X-Comment: On Debian systems, the complete text of the GNU General Public License v2 can be found in `/usr/share/common-licenses/GPL-2'. debian/manpages0000644000000000000000000000002111633653052010701 0ustar debian/packeth.1 debian/source/0000755000000000000000000000000011633653052010472 5ustar debian/source/format0000644000000000000000000000001411633653052011700 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000063111633653052011351 0ustar packeth for Debian ------------------ This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. To read how to use quilt, please refer to its documentation, which you can find in /usr/share/doc/quilt/README.source . -- David Paleino Wed, 31 Dec 2008 15:59:22 +0100 debian/patches/0000755000000000000000000000000011633653052010621 5ustar debian/patches/01-fix_warnings.patch0000644000000000000000000000332111633653052014555 0ustar From: David Paleino Subject: fix some harmless gcc warnings Forwarded: no --- src/interface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- packeth.orig/src/interface.c +++ packeth/src/interface.c @@ -8762,7 +8762,7 @@ create_fileselection1 (void) GtkWidget *cancel_button1; GtkWidget *ok_button1; - fileselection1 = gtk_file_chooser_dialog_new (_("Load Dialog"), NULL, GTK_FILE_CHOOSER_ACTION_OPEN, NULL); + fileselection1 = gtk_file_chooser_dialog_new (_("Load Dialog"), NULL, GTK_FILE_CHOOSER_ACTION_OPEN, NULL, 0, NULL); gtk_container_set_border_width (GTK_CONTAINER (fileselection1), 1); gtk_window_set_type_hint (GTK_WINDOW (fileselection1), GDK_WINDOW_TYPE_HINT_DIALOG); @@ -8813,7 +8813,7 @@ create_fileselection2 (void) GtkWidget *cancel_button2; GtkWidget *ok_button2; - fileselection2 = gtk_file_chooser_dialog_new (_("Save Dialog"), NULL, GTK_FILE_CHOOSER_ACTION_SAVE, NULL); + fileselection2 = gtk_file_chooser_dialog_new (_("Save Dialog"), NULL, GTK_FILE_CHOOSER_ACTION_SAVE, NULL, 0, NULL); gtk_container_set_border_width (GTK_CONTAINER (fileselection2), 1); gtk_window_set_type_hint (GTK_WINDOW (fileselection2), GDK_WINDOW_TYPE_HINT_DIALOG); @@ -8864,7 +8864,7 @@ create_fileselection3 (void) GtkWidget *cancel_button3; GtkWidget *ok_button3; - fileselection3 = gtk_file_chooser_dialog_new (_("Select Database"), NULL, GTK_FILE_CHOOSER_ACTION_OPEN, NULL); + fileselection3 = gtk_file_chooser_dialog_new (_("Select Database"), NULL, GTK_FILE_CHOOSER_ACTION_OPEN, NULL, 0, NULL); gtk_container_set_border_width (GTK_CONTAINER (fileselection3), 5); gtk_window_set_type_hint (GTK_WINDOW (fileselection3), GDK_WINDOW_TYPE_HINT_DIALOG); debian/patches/02-fix_typo.patch0000644000000000000000000000256511633653052013732 0ustar From: David Paleino Subject: fix some typos Forwarded: no --- src/loadpacket.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- packeth.orig/src/loadpacket.c +++ packeth/src/loadpacket.c @@ -1311,7 +1311,7 @@ int tcp_header(GtkButton *button, int wh * we insert this later but need now to see that the packet is long enough */ x = retint(ptrf+24); if ( (x * 4) > remain ) { - error("Can't load packet:\nPacket lenght shorter than TCP header length!"); + error("Can't load packet:\nPacket length shorter than TCP header length!"); return -1; } if ( x < 5 ) { @@ -1523,7 +1523,7 @@ int ipv4_header(GtkButton *button, int w return -1; } if ( (header_l * 4) > remain ) { - error("Can't load packet:\nPacket lenght shorter than IPv4 header length!"); + error("Can't load packet:\nPacket length shorter than IPv4 header length!"); return -1; } ptrf--; @@ -1732,7 +1732,7 @@ int ethernet_8023(GtkButton *button, int /* substract 3 for oui and 2 for pid */ remain = remain - 5; - /* ok, so we have dsap and ssap == 0xAA, Ctlr == 0x03, OUI == 0x0 and lenght is long enough */ + /* ok, so we have dsap and ssap == 0xAA, Ctlr == 0x03, OUI == 0x0 and length is long enough */ /* set llc-snap button */ w1 = lookup_widget(GTK_WIDGET(button), "L_8023_llcsnap_tbt"); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (w1), TRUE); debian/patches/series0000644000000000000000000000007411633653052012037 0ustar 01-fix_warnings.patch 02-fix_typo.patch 03-link_order.patch debian/patches/03-link_order.patch0000644000000000000000000000211111633653052014205 0ustar Description: List libraries after the objects that require them Author: Colin Watson Bug-Ubuntu: https://bugs.launchpad.net/bugs/771125 Forwarded: no Last-Update: 2011-09-13 --- Makefile.am | 2 +- Makefile.in | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) --- packeth.orig/Makefile.am +++ packeth/Makefile.am @@ -29,7 +29,7 @@ pixmap_DATA=$(pixmaps) DEFS= \ -DPKGDATADIR=\"$(pkgdatadir)/\" -AM_LDFLAGS=$(DEPS_LIBS) +packETH_LDADD=$(DEPS_LIBS) AM_CPPFLAGS = \ -g \ --- packeth.orig/Makefile.in +++ packeth/Makefile.in @@ -55,7 +55,6 @@ am_packETH_OBJECTS = src/main.$(OBJEXT) src/function.$(OBJEXT) src/function_send.$(OBJEXT) \ src/loadpacket.$(OBJEXT) src/savepacket.$(OBJEXT) packETH_OBJECTS = $(am_packETH_OBJECTS) -packETH_LDADD = $(LDADD) DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles @@ -203,7 +202,7 @@ pixmaps = \ pixmapdir = $(pkgdatadir)/pixmaps pixmap_DATA = $(pixmaps) -AM_LDFLAGS = $(DEPS_LIBS) +packETH_LDADD = $(DEPS_LIBS) AM_CPPFLAGS = \ -g \ -O2 \ debian/packeth.desktop0000644000000000000000000000021711633653052012204 0ustar [Desktop Entry] Name=PackETH GenericName=Packet Generator Type=Application Categories=Network; Exec=packeth StartupNotify=false Terminal=false debian/dirs0000644000000000000000000000003711633653052010056 0ustar usr/bin usr/share/applications debian/compat0000644000000000000000000000000211633653052010370 0ustar 8