diff options
author | Dane Smith <c1pher@gentoo.org> | 2010-12-10 18:47:31 +0000 |
---|---|---|
committer | Dane Smith <c1pher@gentoo.org> | 2010-12-10 18:47:31 +0000 |
commit | 3555c7e5a71acc103082e99db7c36d81cf7a92fb (patch) | |
tree | 08b2e76865057165daabc60ebe267613840314fc /net-wireless/wepdecrypt | |
parent | Run elibtoolize for FreeMiNT, bug #347317 (diff) | |
download | historical-3555c7e5a71acc103082e99db7c36d81cf7a92fb.tar.gz historical-3555c7e5a71acc103082e99db7c36d81cf7a92fb.tar.bz2 historical-3555c7e5a71acc103082e99db7c36d81cf7a92fb.zip |
Revbump for net-wireless/wepdecrypt. FORTIFY_SOURCE fix wrt bug 340148. Fixed jobserver respect.
Package-Manager: portage-2.2.0_alpha4/cvs/Linux i686
Diffstat (limited to 'net-wireless/wepdecrypt')
-rw-r--r-- | net-wireless/wepdecrypt/ChangeLog | 13 | ||||
-rw-r--r-- | net-wireless/wepdecrypt/Manifest | 22 | ||||
-rw-r--r-- | net-wireless/wepdecrypt/files/wepdecrypt-0.8-buffer.patch | 11 | ||||
-rw-r--r-- | net-wireless/wepdecrypt/wepdecrypt-0.8-r1.ebuild | 43 |
4 files changed, 82 insertions, 7 deletions
diff --git a/net-wireless/wepdecrypt/ChangeLog b/net-wireless/wepdecrypt/ChangeLog index 7d846cdca60f..caceca65309e 100644 --- a/net-wireless/wepdecrypt/ChangeLog +++ b/net-wireless/wepdecrypt/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-wireless/wepdecrypt -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/wepdecrypt/ChangeLog,v 1.13 2009/11/20 18:06:34 halcy0n Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wepdecrypt/ChangeLog,v 1.14 2010/12/10 18:47:31 c1pher Exp $ + +*wepdecrypt-0.8-r1 (10 Dec 2010) + + 10 Dec 2010; Dane Smith <c1pher@gentoo.org> +wepdecrypt-0.8-r1.ebuild, + +files/wepdecrypt-0.8-buffer.patch: + Revision bump. + *Addresses FORTIFY_SOURCE wrt bug 340148 via new patch. + *Fixed respect for jobserver. + *Ebuild cleanup. Moved to EAPI 2. Several QA fixes. 20 Nov 2009; Mark Loeser <halcy0n@gentoo.org> wepdecrypt-0.8.ebuild: Move EAPI definition up above the inherit diff --git a/net-wireless/wepdecrypt/Manifest b/net-wireless/wepdecrypt/Manifest index e44cc71c625f..c45ea4a6bdf9 100644 --- a/net-wireless/wepdecrypt/Manifest +++ b/net-wireless/wepdecrypt/Manifest @@ -1,15 +1,27 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX wepdecrypt-0.8-buffer.patch 588 RMD160 e5e57254abb57ba7a6dda03c2507ca2f45f2e1ca SHA1 9be03ae6f043ca81305d5b6aa4b70317c84e4836 SHA256 efccf595b5215be69b587bcfad2520f3c1030df7aa3b976f36c01b1faaa00a75 AUX wepdecrypt-0.8-build.patch 1249 RMD160 84e4cc84f575eb73ed97e069b040eca1ea6c587d SHA1 a37a430a0407d924acf6b9018660165bd1812687 SHA256 9867321bc33988b271d73d22e1d61d9e0d9a6175e435ba4dd1008d05c650ffce DIST wepdecrypt-0.8.tar.gz 90260 RMD160 8fb6ed688edef8220bc1b8f523b2ecfeaa412bdc SHA1 8f75e70ee27d7486a90e9ae631020c2f622ee48e SHA256 1c7cef077af4c162df1724d9149a15c231bf6c771380bb5789e66fb03f92c381 +EBUILD wepdecrypt-0.8-r1.ebuild 1028 RMD160 d6c89e53f45c85edec4fa5014bee237aad98d895 SHA1 5ac47aa9516f0fcdd752dc4fe2da4dd6341b8f6b SHA256 4c410d740054c007027c423397c6b21664dadeeaf44b9d0997ef3dec484002d5 EBUILD wepdecrypt-0.8.ebuild 957 RMD160 e4e1b71c80abace1eaa273e8e9d91493560b7808 SHA1 f17662fc98b906c45bbe86649364c5c12eb67cae SHA256 8d31319158c735556eef1a741ffb00a22c7bc24f34cc199e331c085af8f3dabf -MISC ChangeLog 2318 RMD160 ba76bb83545f6c167fa32c80671f4f76f6871d0b SHA1 a639268b6970ea5ad528763eba53226e551242a7 SHA256 53b99fc0c63188a35889e4d9f8121f2e51150888a59a6b24f21fe5f1a80a48a6 +MISC ChangeLog 2625 RMD160 84cd8f3f076dc1898c46f110c9f6b0a69994ca1b SHA1 58c89d80c4a278fe421ef0911923b88d7d6f604e SHA256 c6546596b9f86c8231ef7cc819014579b78545b96f64d4883d859e454edd2c18 MISC metadata.xml 251 RMD160 9c13ff790c7419d4e0d2d370036b7f4e4594ea4f SHA1 563aa19984b291a6cade6d6487dbf4a2a17e6874 SHA256 1739a4e8833a2a5b9501182eb830cbd3e26014ccef5e9ae1b4d7a0686c665c1b -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.13 (GNU/Linux) +Version: GnuPG v2.0.16 (GNU/Linux) -iEYEARECAAYFAksG2q8ACgkQCRZPokWLroR/IACfQsn0liGhHcBEhgbAiNsUgrbr -j/AAoIBR4o36N+n4RbohSZIV7jI4Hlcm -=78NH +iQIcBAEBAgAGBQJNAnWYAAoJEEsurZwMLhUxcVoQAJBxvWmdRCYBWluXZwNHPJCl +eUpqJIVciHQ4UCKst3YJi8FEZVzkeL+XaIDHsP3v2wHo+rgaxCDkEjHqiMfchK0f +N1P/BpYt/O7CxPr3/lpz/hKDw3brNuPoTpC08QSK111BCziXDLv58FUqcWET2Hoa +/+EsSmPOKSrOSJ9yWRlPQZslr/Gjn9Q7YLRZyUjf21dor39sJzFrRuf0flcvThVC +V0CQAoQfsU4vsuTqaf3KfF51QtgzOTj5egbkQ60FWrxtearWqMNqQWIzV6cHezlo +NKaKCAeN7EPNdkQDlAgUcjLeJ9T+GqFYHTL3MapN8Vy3hyzZlP4jJlQDiIz0srjt +Bu1V1Uz3F0GqKMJuE2fnSbUZr3NnUawjcyWP0KDUsuDcTe9YAxTx3GBwTe+shPRA +pdBiYY4S6FaEiXxX2M9dsoUcZcgaEcgetl7bEgL//Lf+ODAECdsEdzjtzctf6d3T +vSrcZH2ZVNkScmto1bcIW6u6PoCzn5fVx0WBTlTl12u8f3CtwRZdMErjYWX2I7Gv +DiivSWeuBq4q/xNQUrZYOTBFqctETpuhxGeUE5W1waQHcZkIsNIU+3t0nWGU2CGI +JEPfbmHmRweyrJ1qyLsVdS4yr1HMRqdnJoQqzOTkOIxKGeM/CZjsxkytuJBzfCe7 +Etiik9R2dq3dZFoZOjHl +=or9V -----END PGP SIGNATURE----- diff --git a/net-wireless/wepdecrypt/files/wepdecrypt-0.8-buffer.patch b/net-wireless/wepdecrypt/files/wepdecrypt-0.8-buffer.patch new file mode 100644 index 000000000000..528816f147b5 --- /dev/null +++ b/net-wireless/wepdecrypt/files/wepdecrypt-0.8-buffer.patch @@ -0,0 +1,11 @@ +--- src/wepclient.c 2006-07-08 19:48:08.000000000 -0400 ++++ src/wepclient.c.new 2010-12-10 13:16:32.000000000 -0500 +@@ -75,7 +75,7 @@ + int server_connection(unsigned char * server_host, int port, char * packet_file, unsigned char * init_key, unsigned char * end_key, unsigned char * decrypted_key, unsigned char * bssid, unsigned char * mode ,int option){ + int sd, read_bytes, write_bytes, i, fd; + char file[11]="local.dump"; +- unsigned char buffer[149], digest[16]; ++ unsigned char buffer[150], digest[16]; + struct sockaddr_in dest; + struct in_addr *host_ip; + struct hostent *host; diff --git a/net-wireless/wepdecrypt/wepdecrypt-0.8-r1.ebuild b/net-wireless/wepdecrypt/wepdecrypt-0.8-r1.ebuild new file mode 100644 index 000000000000..df66788ad376 --- /dev/null +++ b/net-wireless/wepdecrypt/wepdecrypt-0.8-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wepdecrypt/wepdecrypt-0.8-r1.ebuild,v 1.1 2010/12/10 18:47:31 c1pher Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="Enhanced version of WepAttack a tool for breaking 802.11 WEP keys" +HOMEPAGE="http://wepdecrypt.sourceforge.net/" +SRC_URI="mirror://sourceforge/wepdecrypt/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="X" +RDEPEND="dev-libs/openssl + net-libs/libpcap + sys-libs/zlib + X? ( x11-libs/fltk:1.1 )" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${P}-build.patch" + + #Fix buffer size wrt bug 340148. + epatch "${FILESDIR}/${P}-buffer.patch" + + #Fix respect for jobserver + sed -i 's/make/$(MAKE)/g' Makefile || die "Sed failed" +} + +src_configure() { + # build system is broken and --enabled-gui doesn't work + local myconf="" + ! use X && myconf="--disable-gui" + + econf ${myconf} +} + +src_install() { + emake install DESTDIR="${D}" || die +} |