diff options
-rw-r--r-- | net-misc/packETH/ChangeLog | 11 | ||||
-rw-r--r-- | net-misc/packETH/Manifest | 6 | ||||
-rw-r--r-- | net-misc/packETH/files/packETH-1.6.3-gentoo.patch | 25 | ||||
-rw-r--r-- | net-misc/packETH/files/packETH-1.6.3-pixmaps.patch | 11 | ||||
-rw-r--r-- | net-misc/packETH/packETH-1.6.3.ebuild | 37 |
5 files changed, 87 insertions, 3 deletions
diff --git a/net-misc/packETH/ChangeLog b/net-misc/packETH/ChangeLog index 479634c97ea7..113462920633 100644 --- a/net-misc/packETH/ChangeLog +++ b/net-misc/packETH/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/packETH -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/packETH/ChangeLog,v 1.4 2008/01/30 21:08:35 pva Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/packETH/ChangeLog,v 1.5 2009/11/01 22:41:57 jer Exp $ + +*packETH-1.6.3 (01 Nov 2009) + + 01 Nov 2009; Jeroen Roovers <jer@gentoo.org> +packETH-1.6.3.ebuild, + +files/packETH-1.6.3-gentoo.patch, +files/packETH-1.6.3-pixmaps.patch: + Version bump thanks to DrChandra (bug #260381). Respect CC, CFLAGS, + LDFLAGS, and point to proper pixmaps directory. 30 Jan 2008; <pva@gentoo.org> -packETH-1.3.ebuild, packETH-1.4.ebuild: Fixed missing gtk+ dependency, bug 205423, thank Evil Compile Person <bugs diff --git a/net-misc/packETH/Manifest b/net-misc/packETH/Manifest index d536d3fb6669..df276092678b 100644 --- a/net-misc/packETH/Manifest +++ b/net-misc/packETH/Manifest @@ -1,4 +1,8 @@ +AUX packETH-1.6.3-gentoo.patch 1196 RMD160 b4b35c6ad8b82829c12e2a556733c3ff5d6e8a58 SHA1 626d889bb5232ff5da788ec4b1ed35bb4f724878 SHA256 350ad570ea93e618284c0ca32be0eb734f1388ae6a3945e0acc5fa4bc597e057 +AUX packETH-1.6.3-pixmaps.patch 479 RMD160 72248dc086818eb6b041212957c79589f618192f SHA1 0ba023c76f1314dde095d1f714e8a3f66b8caba5 SHA256 fe9f7b4ecded9c7b05f04b2ad3eebaecf62400206ff4ce09f728169d04a2942f DIST packETH-1.4.tar.gz 149503 RMD160 8ff05cff86c6831f7d0f4f516b5812cc7f23925b SHA1 5b84c97ae715ac60983cb25c45364e782ec5f248 SHA256 685d5aec5df8e6ea9bf5423c638163c7496be6f0e1f70468c27e46545dda4768 +DIST packETH-1.6.3.tar.gz 204102 RMD160 1680795a21a7d5df7556986b9081fc3d48a1e99e SHA1 322bdd48bc1a334fb5f09278ab32ad67f45f3d02 SHA256 d1c74c609184fe9bd076d5ec434587cb7f9ea86c139e3aa012679fd6e647ae77 EBUILD packETH-1.4.ebuild 625 RMD160 0f46601bc123deb9695041feec71d637d9c2e83c SHA1 5290bf89b3af115fb545ccefcff0165c5f4d5f90 SHA256 dbe340b80ed50af86c58c1b6bd21188d2e222790d32826515b7d9f9654119a55 -MISC ChangeLog 831 RMD160 53bce9c1f60cc0770cdc4188720ebfaaa3718a47 SHA1 4cd65f469ee76e1bda4678359cd96063ae6682c5 SHA256 61dc7fd2b774a82f49216369ca774ee2f1c255a25d5a761bc1e1b164693448e0 +EBUILD packETH-1.6.3.ebuild 807 RMD160 df6c13bbf43290f04e8c9685633c4f47aebeda5e SHA1 6a5227cac179366a707e92993df8a3fa29699478 SHA256 e8865d2a036db200bcd631945ef2938ea2815ebc3b875254a2fc8bf7496dfcd2 +MISC ChangeLog 1125 RMD160 6555060f5164c73fe03bdf2fc9ab95e578d28b24 SHA1 c8844e8f3acc3f737485d086bbe362f249162d5f SHA256 ceedc54178172f8e7a2eab0fe4697990587c48d72a0a1d55bb665fb81f6dce7b MISC metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b SHA1 9f5df3eabd621951a959cc8e0e2e0d352cd1fe1e SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6 diff --git a/net-misc/packETH/files/packETH-1.6.3-gentoo.patch b/net-misc/packETH/files/packETH-1.6.3-gentoo.patch new file mode 100644 index 000000000000..cd336673e685 --- /dev/null +++ b/net-misc/packETH/files/packETH-1.6.3-gentoo.patch @@ -0,0 +1,25 @@ +--- packETH-1.6.3/Makefile.orig 2009-01-20 16:07:51.000000000 +0100 ++++ packETH-1.6.3/Makefile 2009-11-01 23:22:52.000000000 +0100 +@@ -22,17 +22,15 @@ + prefix = /usr + includedir = /usr/src/include + ++packages = gthread-2.0 gtk+-x11-2.0 ++ + INSTALL = /usr/bin/install -c + INSTALL_DATA = ${INSTALL} -m 644 + INSTALL_PREFIX = /usr + +-CC = gcc +-CPPFLAGS = -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include +-LDFLAGS = +-CFLAGS = -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations +-#LIBS = -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -lglib -lXi -lXext -lX11 -lm -lpthread -lgthread +-#LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lpthread -lgthread-2.0 +-LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lglib-2.0 -lpthread -lgthread-2.0 ++CPPFLAGS = $(shell pkg-config --cflags $(packages)) ++CFLAGS += -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations ++LIBS = $(shell pkg-config --libs $(packages)) + + SOURCES = \ + main.c \ diff --git a/net-misc/packETH/files/packETH-1.6.3-pixmaps.patch b/net-misc/packETH/files/packETH-1.6.3-pixmaps.patch new file mode 100644 index 000000000000..035755880ab8 --- /dev/null +++ b/net-misc/packETH/files/packETH-1.6.3-pixmaps.patch @@ -0,0 +1,11 @@ +--- packETH-1.6.3/interface.c.orig 2009-10-23 17:24:31.000000000 +0200 ++++ packETH-1.6.3/interface.c 2009-11-01 23:27:22.000000000 +0100 +@@ -914,6 +914,8 @@ + GtkWidget *label251; + GtkWidget *statusbar1; + ++ add_pixmap_directory ("/usr/share/pixmaps/packETH"); ++ + window1 = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_window_set_title (GTK_WINDOW (window1), _("PackETH - ethernet packet generator")); + gtk_window_set_position (GTK_WINDOW (window1), GTK_WIN_POS_CENTER); diff --git a/net-misc/packETH/packETH-1.6.3.ebuild b/net-misc/packETH/packETH-1.6.3.ebuild new file mode 100644 index 000000000000..e3a048dfc8f8 --- /dev/null +++ b/net-misc/packETH/packETH-1.6.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/packETH/packETH-1.6.3.ebuild,v 1.1 2009/11/01 22:41:57 jer Exp $ + +EAPI="2" + +inherit eutils toolchain-funcs + +DESCRIPTION="Packet generator tool for ethernet" +HOMEPAGE="http://packeth.sourceforge.net/" +SRC_URI="mirror://sourceforge/packeth/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="=x11-libs/gtk+-2*" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + epatch "${FILESDIR}"/${P}-pixmaps.patch +} + +src_compile() { + tc-export CC + default_src_compile +} + +src_install() { + insinto /usr/bin + dobin packETH || die + insinto /usr/share/pixmaps/packETH + doins pixmaps/* + dodoc ChangeLog README TODO +} |