summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2013-05-02 06:29:36 +0000
committerRick Farina <zerochaos@gentoo.org>2013-05-02 06:29:36 +0000
commitfeee5df19cc62626ced640ea781ebdd6e566c5be (patch)
tree51545db32e14322797c67fd47649b7f273968a3b
parentBump (diff)
downloadgentoo-2-feee5df19cc62626ced640ea781ebdd6e566c5be.tar.gz
gentoo-2-feee5df19cc62626ced640ea781ebdd6e566c5be.tar.bz2
gentoo-2-feee5df19cc62626ced640ea781ebdd6e566c5be.zip
fixed as-needed linking issue and horribly incorrect deps
(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
-rw-r--r--net-wireless/airpwn/ChangeLog5
-rw-r--r--net-wireless/airpwn/airpwn-1.4-r1.ebuild19
2 files changed, 14 insertions, 10 deletions
diff --git a/net-wireless/airpwn/ChangeLog b/net-wireless/airpwn/ChangeLog
index f578ac074159..bed9d1532f4c 100644
--- a/net-wireless/airpwn/ChangeLog
+++ b/net-wireless/airpwn/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-wireless/airpwn
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/airpwn/ChangeLog,v 1.1 2013/04/19 14:05:47 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/airpwn/ChangeLog,v 1.2 2013/05/02 06:29:36 zerochaos Exp $
+
+ 02 May 2013; Rick Farina <zerochaos@gentoo.org> airpwn-1.4-r1.ebuild:
+ fixed as-needed linking issue and horribly incorrect deps
*airpwn-1.4-r1 (19 Apr 2013)
diff --git a/net-wireless/airpwn/airpwn-1.4-r1.ebuild b/net-wireless/airpwn/airpwn-1.4-r1.ebuild
index a7669f5987a0..632a2874fcc6 100644
--- a/net-wireless/airpwn/airpwn-1.4-r1.ebuild
+++ b/net-wireless/airpwn/airpwn-1.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/airpwn/airpwn-1.4-r1.ebuild,v 1.1 2013/04/19 14:05:47 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/airpwn/airpwn-1.4-r1.ebuild,v 1.2 2013/05/02 06:29:36 zerochaos Exp $
EAPI="5"
@@ -17,10 +17,12 @@ SLOT="0"
KEYWORDS=""
IUSE="+examples"
-DEPEND=""
-RDEPEND="net-wireless/lorcon-old
- net-libs/libnet
- dev-lang/python"
+DEPEND="dev-libs/libpcre
+ dev-libs/openssl
+ net-libs/libnet
+ net-libs/libpcap
+ net-wireless/lorcon-old"
+RDEPEND="${DEPEND}"
pkg_setup() {
python_set_active_version 2
@@ -28,11 +30,9 @@ pkg_setup() {
}
src_configure() {
- append-ldflags $(no-as-needed)
econf
- # this is a huge mess...
- sed -i "s/python2.4/python$(python_get_version)/g" conf.h || die "sed failed"
- sed -i "s|-lssl -lorcon -lpthread -lpcre -lpcap -lnet|-lssl -lorcon -lpthread -lpcre -lpcap -lnet -lpython$(python_get_version)|g" Makefile || die "sed failed"
+ sed -i "s/python2.4/python$(python_get_version)/g" conf.h
+ sed -i "s|-lorcon -lpthread -lpcre -lpcap -lnet|-lorcon -lpthread -lpcre -lpcap -lnet -lcrypto -lpython$(python_get_version)|g" Makefile
}
src_install() {
@@ -40,6 +40,7 @@ src_install() {
dodoc README
if use examples; then
docinto sample-configs
+ rm -rf conf/CVS
dodoc conf/*
fi
}