summaryrefslogtreecommitdiff
path: root/dev-libs/libdnet
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/libdnet
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/libdnet')
-rw-r--r--dev-libs/libdnet/Manifest6
-rw-r--r--dev-libs/libdnet/libdnet-1.12.ebuild70
-rw-r--r--dev-libs/libdnet/metadata.xml12
3 files changed, 88 insertions, 0 deletions
diff --git a/dev-libs/libdnet/Manifest b/dev-libs/libdnet/Manifest
new file mode 100644
index 000000000000..6e9a220b857d
--- /dev/null
+++ b/dev-libs/libdnet/Manifest
@@ -0,0 +1,6 @@
+DIST libdnet-1.12.ipv6-1.patch.gz 5124 SHA256 5e646901ae13d8aa47f0c5c063b86ecccb90780f9e3734cdbabf7a2d472c39ac SHA512 fa2380e41548ecdd978722930ecf90dffabd15cf06cbae0e113285072fe98a066f1e686b6d79e2d8b9f8adcf29783f313d61933b9e1e74e71da8dc7d741f815a WHIRLPOOL 27f356053749e1abdab24bd420f22e380e0970f7a2926474482a2e2532d1d8561f4b48d0eb243b5a62777543b3644adafd3cead4cc09f21d6cb5391a0b7e00f2
+DIST libdnet-1.12.tgz 970125 SHA256 83b33039787cf99990e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026 SHA512 b763d2caa77b8d16b531142a5bce3b862ed20198406a00e1fe7f3b45ce308b97d638b0c7f03bd8593fdd206cc1645952839bc340b77537298a3df88599835bf3 WHIRLPOOL 9e5b3a217bfef840ca0ed936dbc3573e51a9283a5a7d3ffd43606b98e8760586196261f34a2508cdcf9f868ccd08c9fd1d499252c9a43bb2f71a5b7b2c00c13e
+EBUILD libdnet-1.12.ebuild 1523 SHA256 6d25378c3c32e4a35933f4b1ff77d10ed5fe2398658947946c0f5d7cdd33b3ba SHA512 0128a0f669d3ce291b65e71b725b8f8e66934df2bd0036d96fd288a03047344921e038204cb44a6db781bc07c28e38a84c785efdd84b255dd68ca607e7b8ab10 WHIRLPOOL d48cc4a8d194926838756dd50dac127a655303f146d93ce0134e31f6491fd7826fd1f3ab69206dbd5562cdb91302e4d91d4403ade6ec2efdf55d06fccd1c927b
+MISC ChangeLog 3053 SHA256 540f1119a66534ac8e0822c766d9894f3ca3cf18c9be54a2307573493c320e75 SHA512 32f277478f5f2a16f6b3d8b0439bafacdbbc85c0698f208acc82814362bcb5d86d6c6506be9ade35f51580dd404a7c7641ebaf278c921700a4b3cf6666ec4a80 WHIRLPOOL 6c988dbfc9c826730cedc53bf70fd42e7d2ad21d0e041c37ae5932cfedc8a4077c32080ef951c8fe027c7311709bee07ea810ed30e03e83f287d33994b3a1884
+MISC ChangeLog-2015 9580 SHA256 393dc932c1598f069f81af7365d662a17f87e5537ae12508b203b99d067ff04c SHA512 7ab4b37fac02d509623b7d4b2ac37126b296ae8247102ebeefe3e42d2be60e1593cba7e6034454cd764b430f89ab8ac9fe7ead1a6282f1f3c101992b68b69f02 WHIRLPOOL 55edf379cbbf87211ba04328b8b80ac67dc3035bcc4327d4657d73ae5a1464afebffc4332a5e9290fc87bf895d1f79a202de946253c1f2276cd8bbef8bd55faf
+MISC metadata.xml 412 SHA256 034b702831c48070bf59eef53d83df3b42df2bffab719398b0cafec86b1eebb8 SHA512 ba32dc96871e434caec3a21dea3c5f005c4aacf122312dcd44a228ae92c02c90c02339761ea091fbcad618b02cd5e4d672914c5b6263ef386d49242e19e1febe WHIRLPOOL d94023b12134fdaffa036e492c07ff032107e890bc1488db30308131f3348aa3167210088354da88cb38964a305261396a8184f2c25bcb058f66ccaeeb2d2781
diff --git a/dev-libs/libdnet/libdnet-1.12.ebuild b/dev-libs/libdnet/libdnet-1.12.ebuild
new file mode 100644
index 000000000000..d1269f770acb
--- /dev/null
+++ b/dev-libs/libdnet/libdnet-1.12.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AT_M4DIR="config"
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_OPTIONAL=1
+
+inherit autotools distutils-r1 eutils
+
+DESCRIPTION="simplified, portable interface to several low-level networking routines"
+HOMEPAGE="https://github.com/dugsong/libdnet"
+SRC_URI="https://libdnet.googlecode.com/files/${P}.tgz
+ ipv6? ( https://fragroute-ipv6.googlecode.com/files/${P}.ipv6-1.patch.gz )"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="ipv6 python static-libs test"
+
+#DEPEND="test? ( dev-libs/check )"
+DEPEND="python? ( ${PYTHON_DEPS} )"
+RDEPEND="${DEPEND}"
+RESTRICT="test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DOCS=( README THANKS TODO )
+
+src_prepare() {
+ # Useless copy
+ rm -r trunk/ || die
+
+ sed -i \
+ -e 's/libcheck.a/libcheck.so/g' \
+ -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
+ configure.in || die
+ sed -i -e 's|-L@libdir@ ||g' dnet-config.in || die
+ use ipv6 && epatch "${WORKDIR}/${P}.ipv6-1.patch"
+ sed -i -e '/^SUBDIRS/s|python||g' Makefile.am || die
+ eautoreconf
+ if use python; then
+ cd python
+ distutils-r1_src_prepare
+ fi
+}
+
+src_configure() {
+ econf \
+ $(use_with python) \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ default
+ if use python; then
+ cd python
+ distutils-r1_src_compile
+ fi
+}
+
+src_install() {
+ default
+ if use python; then
+ cd python
+ unset DOCS
+ distutils-r1_src_install
+ fi
+ prune_libtool_files
+}
diff --git a/dev-libs/libdnet/metadata.xml b/dev-libs/libdnet/metadata.xml
new file mode 100644
index 000000000000..041d20f37f34
--- /dev/null
+++ b/dev-libs/libdnet/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>netmon@gentoo.org</email>
+ <name>Gentoo network monitoring and analysis project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">libdnet</remote-id>
+ <remote-id type="github">dugsong/libdnet</remote-id>
+ </upstream>
+</pkgmetadata>