diff options
author | Richard Farina <zerochaos@gentoo.org> | 2013-05-26 05:11:14 +0000 |
---|---|---|
committer | Richard Farina <zerochaos@gentoo.org> | 2013-05-26 05:11:14 +0000 |
commit | 920067ba6050f308f15f1aa9b33a16edea850919 (patch) | |
tree | 68c7eac32e98d739713d9708a69dc1ba9bec57f6 /net-wireless/lorcon | |
parent | Version bump, remove old. (diff) | |
download | historical-920067ba6050f308f15f1aa9b33a16edea850919.tar.gz historical-920067ba6050f308f15f1aa9b33a16edea850919.tar.bz2 historical-920067ba6050f308f15f1aa9b33a16edea850919.zip |
adding snapshot
Package-Manager: portage-2.1.11.62/cvs/Linux x86_64
Manifest-Sign-Key: 0xDD11F94A
Diffstat (limited to 'net-wireless/lorcon')
-rw-r--r-- | net-wireless/lorcon/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/lorcon/Manifest | 30 | ||||
-rw-r--r-- | net-wireless/lorcon/lorcon-0.0_p20130212.ebuild | 108 |
3 files changed, 130 insertions, 15 deletions
diff --git a/net-wireless/lorcon/ChangeLog b/net-wireless/lorcon/ChangeLog index 241a14803733..e7246c84cbca 100644 --- a/net-wireless/lorcon/ChangeLog +++ b/net-wireless/lorcon/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-wireless/lorcon # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/lorcon/ChangeLog,v 1.2 2013/04/19 13:34:39 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/lorcon/ChangeLog,v 1.3 2013/05/26 05:10:58 zerochaos Exp $ + +*lorcon-0.0_p20130212 (26 May 2013) + + 26 May 2013; Rick Farina <zerochaos@gentoo.org> +lorcon-0.0_p20130212.ebuild: + adding snapshot 19 Apr 2013; Rick Farina <zerochaos@gentoo.org> lorcon-9999.ebuild: cleanup DEPEND so it's correct diff --git a/net-wireless/lorcon/Manifest b/net-wireless/lorcon/Manifest index c2b45b8c28ed..40e87ed06d8e 100644 --- a/net-wireless/lorcon/Manifest +++ b/net-wireless/lorcon/Manifest @@ -1,23 +1,25 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 +DIST lorcon-0.0_p20130212.tar.xz 956024 SHA256 1266bbd53e483456aca3031a49ea47fe3bd004e3e109b86a61672c881801742b SHA512 d7c33d9e8b5678e0b8b9513b6a132ab1b13045503e884d077474745a4a9731fa609ba8dc9c35f344ad93b65eb0ddc038919a6349d32187b6c6c92a020155b34f WHIRLPOOL b5e6af7977fd742b34a0f394eb443cc1aca95f9c44177b7353e8a19e1593bca4ccf7e72cf1fc2f05eb4fc5d77303bb162440462957fcc37a7f8a69443f1f4df5 +EBUILD lorcon-0.0_p20130212.ebuild 2342 SHA256 9b76380a792ef7ff850436da4901e193e6cc0631a6e059b643921b08a2888dff SHA512 683f5c7c327ab622e342712c15e50d330d2e6e0e551ccd148a08bbeafea9980f840e4d4fd3b9f92c6b635418cc804648f365cc1fdd5059c0bdee4b514a3b1261 WHIRLPOOL 0087f217da5745e37232407553ef136031714e6cca50752473060f8da5912d948f9783762fc10899e2b89ceae32f3f7f5c4bea7d903540c9ec02d3e2f481c8c8 EBUILD lorcon-9999.ebuild 2080 SHA256 396ba4609df29d713e7be492a175104da592cc72b50aee0707a2b3f495f53074 SHA512 6eb48557cb7146d744db4dc029286329bdbd1269df0ed3144d75eb9f150d9b7101c8ed7577111d9ee6f6f6526b8c2a5b2ad22d64f9dbedd727ee8f758bef0e46 WHIRLPOOL 30efa9ef35d970673d719fa5b0eca3285b1b64150048e82a41a7170c25a5693b893fb2ea3b1878e49c2e221b2a19b279451a691d68d28ea32b4c72747ae5578f -MISC ChangeLog 461 SHA256 35e1b07956edc4451e2baf122491f672e534b5a4f942d04284d6c15b8cfb82c1 SHA512 ed656faac7d0c04532c458df041f49138df3a29940ff53640f21d2265e238d525b6c5dc93719915217146588115a5622d4cd81b2ae0e6daf9759e737f0e34610 WHIRLPOOL 6e6b2c3d094506507fbbfb08a0f0f689ae4055e4f68745835da3d5b49318dc1bec182b1ab75d459b4ac39f0bd9823b39aacb822798f317aa46c1e8134525db9b +MISC ChangeLog 597 SHA256 e3ec6927c7ac0adeb9f935fa469736f5d48c313fb66892ca86ef24246f6ac67e SHA512 258ca352bde90924972fdb6e98ab94a9a9035a255be0d926d34c98d25cca4fc8ae27747da40eccb58ed7760f17b6c8eadf7bd74208a3e7e4157c32a6a9230ea0 WHIRLPOOL 369852969e09bb50efe953f38d289ec3dc10cba2f0722e1ad5e78f3d26d16a19e10f0157306514534df72b19953898cc4c1efab5a6755334091eda33ac0c6c9c MISC metadata.xml 275 SHA256 ddea40fdfb3de36c4e8ec395d93195500089d461dc340ca376d7d93a3b6c3c70 SHA512 23a0fff59aeb0bceae496a74b75da3bc80d71fe9c60f63b1c20eecb97dd75fa32180457dfca21871c1e8d0a34f85a4a201a0eae0b46cbf91abb0fc8322d0b9f2 WHIRLPOOL 9f6a81dc72dc72656e6c32be440c3276225a7d7d09b4b1833db219eee071d3916e8eda3bdf6dbde6db1e5a6c9b4972fa6bb6e6ddecd2302941d9fdf283246761 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCgAGBQJRcUiDAAoJEKXdFCfdEflKpyoP/2QXHFsbng9rMrzH/UhSfdS2 -yPUVxUUbcUBZG+5v0DAZGz5zpRUYgZEbEfQNlsTlp3OnLMIT2kHL2rDrpVL/q1bF -VS/dim7THaziTTxPEyiXJhSVIdJgaumPdMSPHkexwwVkhJn8Bu9PWaV0eE3EgWUd -QSAYNSIaNEvd/8eJ4U3+IOnN9ckxFtgSCScYA24t889eWkmcaKNILNBo28h2hNU1 -UY7VpKla3Fi7vV7MgXD5h5vUfwKNgYzYCM3F4CNtbQQE9NT02pWKaE3y1upD3DhC -WN0xDhT0gDl0HGDIdOqZlkwcWx2+gIaYsERkE7KkquhXVlDqNk4xJpZ/iA9Vcy6a -5Fg/F1k6NWzhy9K+qHFbYQG4xZ9q8i9gaBlL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-wireless/lorcon/lorcon-0.0_p20130212.ebuild b/net-wireless/lorcon/lorcon-0.0_p20130212.ebuild new file mode 100644 index 000000000000..89d64c85fe20 --- /dev/null +++ b/net-wireless/lorcon/lorcon-0.0_p20130212.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/lorcon/lorcon-0.0_p20130212.ebuild,v 1.1 2013/05/26 05:10:58 zerochaos Exp $ + +EAPI=5 + +PYTHON_DEPEND="python? 2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +USE_RUBY="ruby18 ruby19" +RUBY_OPTIONAL=yes + +inherit distutils ruby-ng + +DESCRIPTION="A generic library for injecting 802.11 frames" +HOMEPAGE="http://802.11ninja.net/lorcon" + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://code.google.com/p/lorcon/" + inherit git-2 + KEYWORDS="" +else + SRC_URI="http://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +fi + + +LICENSE="GPL-2" +SLOT="0" +IUSE="python ruby" + +DEPEND="ruby? ( $(ruby_implementations_depend) ) + dev-libs/libnl + net-libs/libpcap" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${P} + +pkg_setup() { + if use python; then + python_pkg_setup; + DISTUTILS_SETUP_FILES=("${S}/pylorcon2|setup.py") + fi + use ruby && ruby-ng_pkg_setup +} + +src_unpack() { + if [[ ${PV} == "9999" ]] ; then + git-2_src_unpack + else + default_src_unpack + fi + use ruby && ruby-ng_src_unpack +} + +src_prepare() { + sed -i 's#<lorcon2/lorcon.h>#"../lorcon.h"#' pylorcon2/PyLorcon2.c + sed -i 's#find_library("orcon2", "lorcon_list_drivers", "lorcon2/lorcon.h") and ##' ruby-lorcon/extconf.rb + sed -i "s#-I/usr/include/lorcon2#-I${WORKDIR}/all#" ruby-lorcon/extconf.rb + sed -i 's#<lorcon2/lorcon.h>#"../lorcon.h"#' ruby-lorcon/Lorcon2.h + use python && distutils_src_prepare + use ruby && ruby-ng_src_prepare +} + +src_configure() { + default_src_configure + use ruby && ruby-ng_src_configure +} + +src_compile() { + default_src_compile + if use python; then + LDFLAGS+=" -L${S}/.libs/" + distutils_src_compile + fi + use ruby && ruby-ng_src_compile +} + +src_install() { + emake DESTDIR="${ED}" install + use python && distutils_src_install + use ruby && ruby-ng_src_install +} + +src_test() { + : +} + +pkg_postinst() { + use python && distutils_pkg_postinst +} +pkg_postrm() { + use python && distutils_pkg_postrm +} + +each_ruby_configure() { + ${RUBY} -C "ruby-lorcon" extconf.rb + sed -i "s#-L\.#-L. -L${WORKDIR}/all/.libs -lorcon2 #g" ruby-lorcon/Makefile +} + +each_ruby_compile() { + emake -C ruby-lorcon +} + +each_ruby_install() { + DESTDIR="${ED}" emake -C ruby-lorcon install +} |