summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Donenfeld <zx2c4@gentoo.org>2013-07-01 13:44:52 +0000
committerJason Donenfeld <zx2c4@gentoo.org>2013-07-01 13:44:52 +0000
commit3bfade5ad2ed8bc806cbe4c5a756861a60d997d1 (patch)
treee0e0f801847a907a60ee9d50f4b6c0d0c460626d /net-analyzer
parentremove old (diff)
downloadhistorical-3bfade5ad2ed8bc806cbe4c5a756861a60d997d1.tar.gz
historical-3bfade5ad2ed8bc806cbe4c5a756861a60d997d1.tar.bz2
historical-3bfade5ad2ed8bc806cbe4c5a756861a60d997d1.zip
Fix endianness issues and keyword for mips.
Package-Manager: portage-2.2.0_alpha179/cvs/Linux x86_64 Manifest-Sign-Key: 0xA5DE03AE
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/dhcpdump/ChangeLog9
-rw-r--r--net-analyzer/dhcpdump/Manifest33
-rw-r--r--net-analyzer/dhcpdump/dhcpdump-1.8.ebuild7
-rw-r--r--net-analyzer/dhcpdump/files/dhcpdump-1.8-endianness.patch13
4 files changed, 45 insertions, 17 deletions
diff --git a/net-analyzer/dhcpdump/ChangeLog b/net-analyzer/dhcpdump/ChangeLog
index 3653f3000c69..0722a389a469 100644
--- a/net-analyzer/dhcpdump/ChangeLog
+++ b/net-analyzer/dhcpdump/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/dhcpdump
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dhcpdump/ChangeLog,v 1.6 2011/07/21 01:50:53 jer Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dhcpdump/ChangeLog,v 1.7 2013/07/01 13:44:47 zx2c4 Exp $
+
+ 01 Jul 2013; Jason A. Donenfeld <zx2c4@gentoo.org>
+ +files/dhcpdump-1.8-endianness.patch, dhcpdump-1.8.ebuild:
+ Fix endianness issues and keyword for mips.
21 Jul 2011; Jeroen Roovers <jer@gentoo.org> dhcpdump-1.8.ebuild:
Add pod2man dependency.
@@ -27,4 +31,3 @@
26 Aug 2007; Thilo Bangert <bangert@gentoo.org> +metadata.xml,
+dhcpdump-1.7.ebuild:
initial import - thanks Adam Carheden - bug #121895
-
diff --git a/net-analyzer/dhcpdump/Manifest b/net-analyzer/dhcpdump/Manifest
index b5a22a84130b..5245532be673 100644
--- a/net-analyzer/dhcpdump/Manifest
+++ b/net-analyzer/dhcpdump/Manifest
@@ -1,16 +1,27 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
-AUX dhcpdump-1.8-Makefile.patch 556 RMD160 ae2b96e60017f50ccb56370d0239170990a94994 SHA1 c967060911bcad11c6cd080658a3fd0285a248e0 SHA256 3d66108312d40ae64b149d92d08a641da412fbe474942df150603c8b7ad19b89
-AUX dhcpdump-1.8-debian.patch 2877 RMD160 70e317a32aa743cbbe64ce09b133899d21fa852d SHA1 370a8997854b73ae7b091317ea72fc899a3f8c24 SHA256 c7c9567dbf8f4f84c8d4037154d8a2ca533169ea37083e1ebf448a4ff00528fc
-DIST dhcpdump-1.8.tar.gz 10740 RMD160 825d6bd37fe4e85df8146f0d63d3dc66c8fd3419 SHA1 96fae94d9bac4cf3b5a4c62be2b06a2d72a9fa48 SHA256 6d5eb9418162fb738bc56e4c1682ce7f7392dd96e568cc996e44c28de7f77190
-EBUILD dhcpdump-1.8.ebuild 802 RMD160 f7ca6f7ad597ee83e51554f6f7e5b1209100ff45 SHA1 d29d5f9ad458a1c012930c645fa6c21586531d09 SHA256 39a00592f6dae1178c911b980c3fdb6910baaa2f5c7245500cba377e715870f5
-MISC ChangeLog 1052 RMD160 80ead856214e3f691c8656ea50cfd8a194194838 SHA1 b8a9a3630d0af1b52503668fa19f7066d4f76289 SHA256 026ff8d4bed71dcf1bfdcea0f81aaebadd02bc480d0feb0e3172003e16305253
-MISC metadata.xml 301 RMD160 bd259b4395d3aec8f32a02b51b28867fe51d75b4 SHA1 6ee7d71b170b59b083a1a6c4d6b83d84c21eb4a9 SHA256 5aa8da2c652ee2be61c424b798bb0c07c27c29767d131d0a49d4f648d361adb3
+AUX dhcpdump-1.8-Makefile.patch 556 SHA256 3d66108312d40ae64b149d92d08a641da412fbe474942df150603c8b7ad19b89 SHA512 c92117a35ead050c999e32139be92065f6e44c622404e1a9e51f57c1c2b0cfeefbcec2457cc2c38a43986e95140f735718e1b54547bd715a715e9b9a9ab4929d WHIRLPOOL c8bb5a0501cda1463b55f13f5df433fe97f0389604123b5b94d934338b6719a80e7f933f5e4bfed0a8d61e23e5d9492ccf1103ad9e83cc7c6ba784618400336b
+AUX dhcpdump-1.8-debian.patch 2877 SHA256 c7c9567dbf8f4f84c8d4037154d8a2ca533169ea37083e1ebf448a4ff00528fc SHA512 39e66debe8f5d91565b5906f8654dde4934d7174c707915262a49113f4264419806d7ad00cb2669ce64a4fcbee2694a969084c2362268b69ff3bedd870f26963 WHIRLPOOL f6bd24feb307dc7b92e9ca16832472247f15df2aff272cd60d171f74aa77808cf426d38b06f0dc3b6a1a4fb9ed5435ec34f393e732fac138095045dee669d048
+AUX dhcpdump-1.8-endianness.patch 428 SHA256 c2256d8c6b24d23f3c70bcd05eac3748561cd23f745243391eb06c74cfa16f98 SHA512 c4ad899639f10953425d679511cae01822f5f80acbee758440d63a50a1d6f2647693aeece87e3df88f9b7d7dc660233398b940b4abd278726d80572cd5a7d7d3 WHIRLPOOL e35566f552f2eaa7cd217156d9b58eb5f82b81d8d2ed75b8ee09650e5136ea5dfb09c91fa02e2a2c21979e971921cc853a98c29d0d3151db1d0b188256744517
+DIST dhcpdump-1.8.tar.gz 10740 SHA256 6d5eb9418162fb738bc56e4c1682ce7f7392dd96e568cc996e44c28de7f77190 SHA512 52cd63d581a3c530c2f5baa66808d5b0241853651c720bd513b769b8301b4dff9c87243787014aea98a5b3ebed86ec317b58d262bf5031015141a4da50fb76e6 WHIRLPOOL 4741d6242a16c45beb84c5d5e29d0245954703d40a688cc35af41c42bfc09d8977f01a7e1c96879004ab7b230097457d251ed1c2bb6b15c506cf5fe913e75ccf
+EBUILD dhcpdump-1.8.ebuild 854 SHA256 ff1c001911496c38def2becb61252e95626a1fb012e788fb2fe2de60d45a0d1b SHA512 8398d589eceee96a4ce1fb30d98e2ca3f16f5f0038494959cfbacd519edc406e71c8ea773533173d4071174fe7d0d2928feb0bfa56ab6ee846099a7a288d10f0 WHIRLPOOL 1754e3c6b0f79e7384e6b6977f075466d1d5f3560986dbfdb98397bf881d8f83fe2f610644d693a845f919179421432e1cb24f211d87356b4d2158aa8398056c
+MISC ChangeLog 1214 SHA256 92dd4ebdc0912ecb9fcf5817f2ae6d61673ecf04b0da50d839574aea74808686 SHA512 f0e11b70856556aaf6bb0ec745aa83f600b9478af38a887be1b3dd195d746d25c0f50f1fd9e2c3fa6a3599ef11dd9f5e60fffaf22eb193160d63997b7d6088d3 WHIRLPOOL 278ad693c89029ceb7c7599648ab448cdc97d4c268fd8c8b1cb751cce60d6f76be1c06c29043fd3b28a3506a7e08ea3bfedbc157c42cdf0fbf4b5de00a7b3c04
+MISC metadata.xml 301 SHA256 5aa8da2c652ee2be61c424b798bb0c07c27c29767d131d0a49d4f648d361adb3 SHA512 4415a109d9ee1635f30e5a061ad869d6c671862cbe3aeb0a0eb7430ea6c3bcf4439a68d6a56c74f69d7d9f7904674634d51fe5662a5b3f38dc65758f410aa57c WHIRLPOOL aedb79d31900538777dc6f89c70454cbe4c7166324270ad9256bf19d880eb1d5676cbf7a0e7f4d953cc404443f7dc48ad2cc3bda5ce6798790e1a5a7ad57ea8b
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.20 (GNU/Linux)
-iEYEARECAAYFAk4nhgcACgkQVWmRsqeSphMKUQCggDWlqqjBtQxq56tTIoi80jnu
-WnUAnRhNXK/WDBZD59e3myIEyxVDnEBr
-=1ad6
+iQIcBAEBCAAGBQJR0YfUAAoJEEn8cBKl3gOuR08P/2vMCCq5DCnBf4+eVXXoJvrW
+tDQ8s4R7q+6G/FGqGQNTa/Q0l31dVe48ohojvy0H7VuDgzIwfQ4YptILs8qBm7Qd
+AklSlXmEndeMibRcY7ppCGAHr/YTSd4QOpcf/cod/nvK4RKoGeE7XOvXdhR7xEdn
+8RDeq4kEgHNYmnJFs3jzhldpUW5hlaL8zHJ2gMoyW3vGji3rx+mics4GnI0zs8sF
+txaNPuGJQb/PYK9BEfwue5DHdeyYHoQm8ffvkXB7VQIobcemdMqoppUSmHqjpH1z
+sRG+jd//yL/tWpKTVf0NBs0qyo0CWGXqCsNkmxOQExby+kG/iLic4RKIjxrRzR3v
+SqTO1D5jd76UnjJmZ+D6bkYmU2yl8C0QbH0TdLMEjK83Gn4XDp2CM8dvfcpj0s9Q
+l89NDfbxMxrBpwJuF50yKZov3upQn6PO4rZzRh2GFNQipC6XxnD6O0FScu6A0EXT
+OEPvARXpsBH1Ba2Wz98C8uVhaVzNVM5g9q7DZSxlvOwB56uabxweVO2ibN55VE21
+FJTcWKQzXbmV9nE9A4IiQ15x6s18Hsudfvox5MdXcZK5bAWltY4WzmcLAtkA3fmq
+ZItyN9sD7+42jUJ36UTHi/0/Szdtsmk5Wwou21bvXvJKQeWGpntChx5kY2c+6lt5
+QWNvjzADvCSlMHWLe3oy
+=RGpE
-----END PGP SIGNATURE-----
diff --git a/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild b/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild
index de964086537c..5d3404460708 100644
--- a/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild
+++ b/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild,v 1.2 2011/07/21 01:50:53 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild,v 1.3 2013/07/01 13:44:47 zx2c4 Exp $
inherit eutils toolchain-funcs
@@ -10,7 +10,7 @@ SRC_URI="http://www.mavetju.org/download/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~x86 ~amd64 ~mips"
IUSE=""
CDEPEND="net-libs/libpcap"
@@ -22,6 +22,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/${P}-Makefile.patch
epatch "${FILESDIR}"/${P}-debian.patch
+ epatch "${FILESDIR}"/${P}-endianness.patch
}
src_compile() {
diff --git a/net-analyzer/dhcpdump/files/dhcpdump-1.8-endianness.patch b/net-analyzer/dhcpdump/files/dhcpdump-1.8-endianness.patch
new file mode 100644
index 000000000000..c0dc2f6a9467
--- /dev/null
+++ b/net-analyzer/dhcpdump/files/dhcpdump-1.8-endianness.patch
@@ -0,0 +1,13 @@
+diff -ru dhcpdump-1.8/dhcpdump.c dhcpdump-1.8-modified/dhcpdump.c
+--- dhcpdump-1.8/dhcpdump.c 2008-06-24 05:26:52.000000000 +0200
++++ dhcpdump-1.8-modified/dhcpdump.c 2013-07-01 15:31:04.260609883 +0200
+@@ -130,7 +130,7 @@
+ offset += ETHER_HDR_LEN;
+
+ // Check for IPv4 packets
+- if (eh->ether_type != 8) {
++ if (eh->ether_type != htons(0x0800)) {
+ printf("Ignored non IPv4 packet: %d\n", eh->ether_type);
+ return;
+ }
+