diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-analyzer/gspoof/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-analyzer/gspoof/files')
-rw-r--r-- | net-analyzer/gspoof/files/gspoof-3.2-icon.patch | 71 | ||||
-rw-r--r-- | net-analyzer/gspoof/files/gspoof-def-values.patch | 29 |
2 files changed, 100 insertions, 0 deletions
diff --git a/net-analyzer/gspoof/files/gspoof-3.2-icon.patch b/net-analyzer/gspoof/files/gspoof-3.2-icon.patch new file mode 100644 index 000000000000..df13a08677db --- /dev/null +++ b/net-analyzer/gspoof/files/gspoof-3.2-icon.patch @@ -0,0 +1,71 @@ +Fix icon path and name. + +--- gtk.c ++++ gtk.c +@@ -24,9 +24,7 @@ + gtk_set_locale (); + gtk_init (&_argc, &_argv); + +- add_pixmap_directory ("pixmap"); +- add_pixmap_directory ("/usr/local/share/gspoof/pixmap"); +- add_pixmap_directory ("/usr/share/gspoof/pixmap"); ++ add_pixmap_directory ("/usr/share/pixmaps"); + + MainWin = create_MainWin(); + +--- interface.c ++++ interface.c +@@ -102,7 +102,7 @@ + gtk_widget_set_size_request (MainWin, 640, 480); + gtk_window_set_title (GTK_WINDOW (MainWin), BANNER); + gtk_window_set_position (GTK_WINDOW (MainWin), GTK_WIN_POS_CENTER); +- MainWin_icon_pixbuf = create_pixbuf ("icon.png"); ++ MainWin_icon_pixbuf = create_pixbuf ("gspoof.png"); + if (MainWin_icon_pixbuf) + { + gtk_window_set_icon (GTK_WINDOW (MainWin), MainWin_icon_pixbuf); +@@ -663,7 +663,7 @@ + gtk_widget_set_extension_events (DataWin, GDK_EXTENSION_EVENTS_CURSOR); + gtk_window_set_title (GTK_WINDOW (DataWin), _("Payload options")); + gtk_window_set_position (GTK_WINDOW (DataWin), GTK_WIN_POS_CENTER); +- DataWin_icon_pixbuf = create_pixbuf ("icon.png"); ++ DataWin_icon_pixbuf = create_pixbuf ("gspoof.png"); + if (DataWin_icon_pixbuf) + { + gtk_window_set_icon (GTK_WINDOW (DataWin), DataWin_icon_pixbuf); +@@ -754,7 +754,7 @@ + gtk_window_set_title (GTK_WINDOW (MultiPackets), _("Pseudo-flood options")); + gtk_window_set_position (GTK_WINDOW (MultiPackets), GTK_WIN_POS_CENTER); + gtk_window_set_resizable (GTK_WINDOW (MultiPackets), FALSE); +- MultiPackets_icon_pixbuf = create_pixbuf ("icon.png"); ++ MultiPackets_icon_pixbuf = create_pixbuf ("gspoof.png"); + if (MultiPackets_icon_pixbuf) + { + gtk_window_set_icon (GTK_WINDOW (MultiPackets), MultiPackets_icon_pixbuf); +@@ -884,7 +884,7 @@ + gtk_window_set_position (GTK_WINDOW (AboutWin), GTK_WIN_POS_CENTER); + gtk_window_set_default_size (GTK_WINDOW (AboutWin), 350, 200); + gtk_window_set_resizable (GTK_WINDOW (AboutWin), FALSE); +- AboutWin_icon_pixbuf = create_pixbuf ("icon.png"); ++ AboutWin_icon_pixbuf = create_pixbuf ("gspoof.png"); + if (AboutWin_icon_pixbuf) + { + gtk_window_set_icon (GTK_WINDOW (AboutWin), AboutWin_icon_pixbuf); +@@ -896,7 +896,7 @@ + gtk_container_add (GTK_CONTAINER (AboutWin), hbox1); + gtk_container_set_border_width (GTK_CONTAINER (hbox1), 2); + +- image16 = create_pixmap (AboutWin, "icon.png"); ++ image16 = create_pixmap (AboutWin, "gspoof.png"); + gtk_widget_show (image16); + gtk_box_pack_start (GTK_BOX (hbox1), image16, TRUE, TRUE, 0); + +@@ -936,7 +936,7 @@ + gtk_widget_set_size_request (ECNWin, -1, 90); + gtk_window_set_title (GTK_WINDOW (ECNWin), _("ECN options")); + gtk_window_set_position (GTK_WINDOW (ECNWin), GTK_WIN_POS_CENTER); +- ECNWin_icon_pixbuf = create_pixbuf ("icon.png"); ++ ECNWin_icon_pixbuf = create_pixbuf ("gspoof.png"); + if (ECNWin_icon_pixbuf) + { + gtk_window_set_icon (GTK_WINDOW (ECNWin), ECNWin_icon_pixbuf); diff --git a/net-analyzer/gspoof/files/gspoof-def-values.patch b/net-analyzer/gspoof/files/gspoof-def-values.patch new file mode 100644 index 000000000000..442f8e821b01 --- /dev/null +++ b/net-analyzer/gspoof/files/gspoof-def-values.patch @@ -0,0 +1,29 @@ +diff -Naurp gspoof-3.2-orig/gfuncts.c gspoof-3.2/gfuncts.c +--- gspoof-3.2-orig/gfuncts.c 2006-09-15 16:39:59.000000000 +0200 ++++ gspoof-3.2/gfuncts.c 2006-09-15 17:20:49.000000000 +0200 +@@ -47,12 +47,6 @@ int RestoreDefault() + struct libnet_ether_addr *ethaddr; /* eth address */ + libnet_t *l; + +- /* put default value */ +- bzero (&f, 6); +- bzero (&ck, 2); +- memset (data, '\0', 128); +- memset (device, '\0', 10); +- + /* loading libnet core */ + if ((l=libnet_init(LIBNET_LINK, NULL, ebuf))==NULL) + { +@@ -126,6 +120,12 @@ int RestoreDefault() + gtk_entry_set_text (GTK_ENTRY (win_entry), "32767"); + gtk_entry_set_text(GTK_ENTRY (urg_entry), ltostr(urgp)); + ++ /* put default value */ ++ bzero (&f, sizeof(f)); ++ bzero (&ck, sizeof(ck)); ++ memset (data, '\0', 128); ++ memset (device, '\0', 10); ++ + /* Set default variable values */ + f.syn=1; + m.number=10; |