diff options
author | Richard Farina <zerochaos@gentoo.org> | 2013-04-12 03:14:40 +0000 |
---|---|---|
committer | Richard Farina <zerochaos@gentoo.org> | 2013-04-12 03:14:40 +0000 |
commit | 042b1e4dd90ae3a77a9aaa061cb821fbc2cce80f (patch) | |
tree | 8fd86a4b07c708505da689c1ce271850aabc1c70 /net-wireless | |
parent | had an issue where /var/lib/misc/oui.txt was unclaimed, now it is (diff) | |
download | historical-042b1e4dd90ae3a77a9aaa061cb821fbc2cce80f.tar.gz historical-042b1e4dd90ae3a77a9aaa061cb821fbc2cce80f.tar.bz2 historical-042b1e4dd90ae3a77a9aaa061cb821fbc2cce80f.zip |
initial commit of lorcon
Package-Manager: portage-2.1.11.55/cvs/Linux x86_64
Manifest-Sign-Key: 0xDD11F94A
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/lorcon/ChangeLog | 9 | ||||
-rw-r--r-- | net-wireless/lorcon/Manifest | 23 | ||||
-rw-r--r-- | net-wireless/lorcon/lorcon-9999.ebuild | 95 | ||||
-rw-r--r-- | net-wireless/lorcon/metadata.xml | 11 |
4 files changed, 138 insertions, 0 deletions
diff --git a/net-wireless/lorcon/ChangeLog b/net-wireless/lorcon/ChangeLog new file mode 100644 index 000000000000..204f6156e331 --- /dev/null +++ b/net-wireless/lorcon/ChangeLog @@ -0,0 +1,9 @@ +# 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.1 2013/04/12 03:14:24 zerochaos Exp $ + +*lorcon-9999 (12 Apr 2013) + + 12 Apr 2013; Rick Farina <zerochaos@gentoo.org> +lorcon-9999.ebuild, + +metadata.xml: + initial commit of lorcon diff --git a/net-wireless/lorcon/Manifest b/net-wireless/lorcon/Manifest new file mode 100644 index 000000000000..a7f78783c1c0 --- /dev/null +++ b/net-wireless/lorcon/Manifest @@ -0,0 +1,23 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + +EBUILD lorcon-9999.ebuild 2062 SHA256 a9c43592989ad269ee8a0a01b8cd3199a61841c6fb994d3bf90c7fcb01c0e6d6 SHA512 d00a2797cbaeb33d129bc0bbb4b74c02afd01f915d2d02f40668daef402f88144751ee76bb98cf6db57cfe52caf69f76d89451b1d6bacae7827663f13d665add WHIRLPOOL cfc75ac2410e6f37d314170b45cd7d46277a7019f9543b8cd7b8c73e9859b97995a278b24dca5533c5bd66cea65a6b740d474d3cf04ef56504f7d03c2227846d +MISC ChangeLog 357 SHA256 807853488dc8c9aa0f140289808d11b758083cd3017a15d993a6e2c95080d956 SHA512 6f48fc36e1d057bc668da7c974f78b89f4286980fa5197cdeca1edec0a8dd2b99bbbd96685b56162d6ae460e62256fed2e4f1efea5d53e45784789a47094a680 WHIRLPOOL a440adef39f1ae9807bfd1a71f2a3fa3eeca973793db5888a1d9373a5328e05f5d91e54e13000f652485cb1d5c60cb38e6a5382ec43bde65312b3e6aa074a028 +MISC metadata.xml 275 SHA256 ddea40fdfb3de36c4e8ec395d93195500089d461dc340ca376d7d93a3b6c3c70 SHA512 23a0fff59aeb0bceae496a74b75da3bc80d71fe9c60f63b1c20eecb97dd75fa32180457dfca21871c1e8d0a34f85a4a201a0eae0b46cbf91abb0fc8322d0b9f2 WHIRLPOOL 9f6a81dc72dc72656e6c32be440c3276225a7d7d09b4b1833db219eee071d3916e8eda3bdf6dbde6db1e5a6c9b4972fa6bb6e6ddecd2302941d9fdf283246761 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQIcBAEBCgAGBQJRZ3ygAAoJEKXdFCfdEflKbMoP/jf7QChLC4NYa6Psiu+uzNFb +9cRsBKZqT21JQWfxZ7QkchHZvLwDqU/DRVq0wDl4b8p+pqXqQwP8bczIBSAKEyo9 +aRav6S+xQx5Jj/RI8oi3jLxouQOpgz4B7pAZazCtt6FFMSm7dFKgH9Dmu6HSPCa+ +FXxSO02SSpF2JWC8DnhPIkNMkl2Bgpieo2YY+ZWMx3A0I5nhySiX+oVJeB4NhUEM +NNmFPKb9jLbh1UBI0mRt48z/Hoe7mNsOrYnYBwa8P+I3Fz/gh50ZJBoVNydf96TX +baVSgoRSKbt5Z5kngJgLBBtEbhl8AMhHZvklkRMHgsm1iL8FhFBxgmZEfPuXIRbf +0oFIguH6bcGAil8NKOO2ewFZdDS/91GUzfDczx5jhwWqPcCefE8Rm32+zQSPJfTv +vh7X+Ndk/jgtPtO0+3ZGjr0felwMYWuoGLTpv0qz2o3j1cjExaM5/yg+pJbEVzNq +Gb+1yz388sMZtZy5KlL60aV1y2T7z4oDmO8HmLKGIUQb+iuv/5HFphAyUS5w6MMJ +BXpe7teoULzHv43GnpSy3oiT5Beu/oqi4RJ+qpDKQivRefezQyWXGO9kmzK1UvZy +ZNARRPCJdrY3XWXAIrsgqVzZ3bt8eU+iKg0JqQ+fMCzFOdZZxV5egROVlR4yxcwH +GgE5KvuC10+MaRvpJdx6 +=eNev +-----END PGP SIGNATURE----- diff --git a/net-wireless/lorcon/lorcon-9999.ebuild b/net-wireless/lorcon/lorcon-9999.ebuild new file mode 100644 index 000000000000..05b359b87795 --- /dev/null +++ b/net-wireless/lorcon/lorcon-9999.ebuild @@ -0,0 +1,95 @@ +# 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-9999.ebuild,v 1.1 2013/04/12 03:14:24 zerochaos Exp $ + +EAPI=5 + +PYTHON_DEPEND="python? 2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +USE_RUBY="ruby18 ruby19" +RUBY_OPTIONAL=yes + +inherit git-2 distutils ruby-ng + +DESCRIPTION="A generic library for injecting 802.11 frames" +HOMEPAGE="http://802.11ninja.net/lorcon" +EGIT_REPO_URI="https://code.google.com/p/lorcon/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="python ruby" + +DEPEND="ruby? ( $(ruby_implementations_depend) )" +RDEPEND="${DEPEND} + dev-libs/libnl" + +S="${WORKDIR}"/all + +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() { + git-2_src_unpack + use ruby && ruby-ng_src_unpack +} + +src_prepare() { + use python && distutils_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 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 +} diff --git a/net-wireless/lorcon/metadata.xml b/net-wireless/lorcon/metadata.xml new file mode 100644 index 000000000000..5fcbf8e1851a --- /dev/null +++ b/net-wireless/lorcon/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>zerochaos@gentoo.org</email> +<name>Rick Farina</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + |