diff options
author | Jeroen Roovers <jer@gentoo.org> | 2014-11-29 12:08:21 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2014-11-29 12:08:21 +0000 |
commit | fda443d9864f7d24fb306c5c884861eb01de4681 (patch) | |
tree | 89a40f5c6bd0cd4b9bcb9a27a89c6d83093ca4b9 /net-libs/libcrafter | |
parent | Fix missing src_configure() (diff) | |
download | gentoo-2-fda443d9864f7d24fb306c5c884861eb01de4681.tar.gz gentoo-2-fda443d9864f7d24fb306c5c884861eb01de4681.tar.bz2 gentoo-2-fda443d9864f7d24fb306c5c884861eb01de4681.zip |
Version bump. libpcap is not optional (bug #531106 by Toralf Förster).
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-libs/libcrafter')
-rw-r--r-- | net-libs/libcrafter/ChangeLog | 9 | ||||
-rw-r--r-- | net-libs/libcrafter/libcrafter-0.2_p20140626.ebuild | 33 | ||||
-rw-r--r-- | net-libs/libcrafter/libcrafter-0.3.ebuild | 38 | ||||
-rw-r--r-- | net-libs/libcrafter/libcrafter-9999.ebuild | 13 | ||||
-rw-r--r-- | net-libs/libcrafter/metadata.xml | 3 |
5 files changed, 53 insertions, 43 deletions
diff --git a/net-libs/libcrafter/ChangeLog b/net-libs/libcrafter/ChangeLog index 725e44f499a3..d58018892cdb 100644 --- a/net-libs/libcrafter/ChangeLog +++ b/net-libs/libcrafter/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-libs/libcrafter # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libcrafter/ChangeLog,v 1.4 2014/06/27 13:10:08 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libcrafter/ChangeLog,v 1.5 2014/11/29 12:08:21 jer Exp $ + +*libcrafter-0.3 (29 Nov 2014) + + 29 Nov 2014; Jeroen Roovers <jer@gentoo.org> + -libcrafter-0.2_p20140626.ebuild, +libcrafter-0.3.ebuild, + libcrafter-9999.ebuild: + Version bump. libpcap is not optional (bug #531106 by Toralf Förster). 27 Jun 2014; Jeroen Roovers <jer@gentoo.org> metadata.xml: Refer to the "Scapy" package by atom. diff --git a/net-libs/libcrafter/libcrafter-0.2_p20140626.ebuild b/net-libs/libcrafter/libcrafter-0.2_p20140626.ebuild deleted file mode 100644 index f1134e1fe6af..000000000000 --- a/net-libs/libcrafter/libcrafter-0.2_p20140626.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libcrafter/libcrafter-0.2_p20140626.ebuild,v 1.2 2014/06/26 23:06:46 jer Exp $ - -EAPI=5 -inherit eutils - -DESCRIPTION="a high level library for C++ designed to make easier the creation and decoding of network packets" -HOMEPAGE="https://code.google.com/p/libcrafter/" -SRC_URI="https://dev.gentoo.org/~jer/libcrafter-${PV}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="pcap static-libs" - -DEPEND=" - pcap? ( net-libs/libpcap ) -" - -S=${WORKDIR}/${P}/${PN} - -src_configure() { - econf \ - $(use_enable static-libs static) \ - $(use_with pcap libpcap) -} - -src_install() { - default - - prune_libtool_files -} diff --git a/net-libs/libcrafter/libcrafter-0.3.ebuild b/net-libs/libcrafter/libcrafter-0.3.ebuild new file mode 100644 index 000000000000..16a6aa65be6a --- /dev/null +++ b/net-libs/libcrafter/libcrafter-0.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libcrafter/libcrafter-0.3.ebuild,v 1.1 2014/11/29 12:08:21 jer Exp $ + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="A high level C++ network packet sniffing and crafting library" +HOMEPAGE="https://github.com/pellegre/libcrafter" +SRC_URI="https://github.com/pellegre/${PN}/archive/version-${PV}.tar.gz -> ${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +RDEPEND=" + net-libs/libpcap +" +DEPEND=" + ${RDEPEND} +" + +S=${WORKDIR}/${PN}-version-${PV}/${PN} + +src_prepare() { + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + + prune_libtool_files +} diff --git a/net-libs/libcrafter/libcrafter-9999.ebuild b/net-libs/libcrafter/libcrafter-9999.ebuild index f3895f91ee16..9d03f5e1009b 100644 --- a/net-libs/libcrafter/libcrafter-9999.ebuild +++ b/net-libs/libcrafter/libcrafter-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libcrafter/libcrafter-9999.ebuild,v 1.1 2014/06/26 22:08:22 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libcrafter/libcrafter-9999.ebuild,v 1.2 2014/11/29 12:08:21 jer Exp $ EAPI=5 inherit autotools eutils git-r3 @@ -12,10 +12,13 @@ EGIT_REPO_URI="https://github.com/pellegre/${PN}" LICENSE="BSD" SLOT="0" KEYWORDS="" -IUSE="pcap static-libs" +IUSE="static-libs" +RDEPEND=" + net-libs/libpcap +" DEPEND=" - pcap? ( net-libs/libpcap ) + ${RDEPEND} " S=${WORKDIR}/${P}/${PN} @@ -25,9 +28,7 @@ src_prepare() { } src_configure() { - econf \ - $(use_enable static-libs static) \ - $(use_with pcap libpcap) + econf $(use_enable static-libs static) } src_install() { diff --git a/net-libs/libcrafter/metadata.xml b/net-libs/libcrafter/metadata.xml index 45cfdef0b404..eb5ed86328e5 100644 --- a/net-libs/libcrafter/metadata.xml +++ b/net-libs/libcrafter/metadata.xml @@ -2,9 +2,6 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>netmon</herd> -<use> -<flag name='pcap'>Use <pkg>net-libs/libpcap</pkg> for packet capturing</flag> -</use> <longdescription lang='en'> Libcrafter is a high level library for C++ designed to facilitate the creation and decoding of network packets. It is able to craft or decode packets of most |