summaryrefslogtreecommitdiff
path: root/dev-ml/odns
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-ml/odns
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ml/odns')
-rw-r--r--dev-ml/odns/Manifest6
-rw-r--r--dev-ml/odns/files/odns-0.3-parmake.patch16
-rw-r--r--dev-ml/odns/metadata.xml8
-rw-r--r--dev-ml/odns/odns-0.3-r1.ebuild40
4 files changed, 70 insertions, 0 deletions
diff --git a/dev-ml/odns/Manifest b/dev-ml/odns/Manifest
new file mode 100644
index 000000000000..785580fde186
--- /dev/null
+++ b/dev-ml/odns/Manifest
@@ -0,0 +1,6 @@
+AUX odns-0.3-parmake.patch 631 SHA256 b6f62f6ebf44d261e2d2523197dbdbb627bb79bf4a2d051ff30bd32802a8a4aa SHA512 e831d5fc0a310680ed75205b5d08fde65f679fa54791798eca528ccfa245b68f7b2afb320ee70716430fae0cd6d36340d480506cd8cf70b7c53bf067e63cb0b8 WHIRLPOOL 60a8a8db4b9401fe853f616888d5b99a0b32809a6cc3f66edea718cd574fa3128b2332c052cefb95a556647adfc2d000a59f7d51f0a83c9fc3e59acc750167e1
+DIST odns-0.3.tar.gz 57616 SHA256 368bfbfe240de99f705e162c4382ff51969ff0f69d2c8315f52b813f919f148f SHA512 6d40d7fc882185500aaa58582112abd57faf72ee0a57fabc211ad4bf39739b39cb956e6cb109808e05d767560a942c3300e9ec0e6b28c13cec2a2b4dd0c3bf5d WHIRLPOOL 911f92169ceeb0e35af37585ce2e48e28f12b371784c156c741a3d66fe7d30bf8620bc76d9dce0948c73ec666ccea934a7a91e7cef88e1e9beacaf39f941a6e5
+EBUILD odns-0.3-r1.ebuild 811 SHA256 4d68c0261af837d3347c5208d23c79d753296dbe1a50b157d986a95a2bcd25c3 SHA512 74ad911a4259badce852b24a5d0f806442e2cd3be1795db4bcaafaa8133e9c07f59a2c7ac81c2a124a738bdab9977566226d45e6f80590d972a28db1e670ad48 WHIRLPOOL bc0cd5eaf4adadd00b4d84bd62d53740e8fa0f1bd4c9b47de83302017d5f094ba7d89014e8cb2fb8baa4bf6998b1aca05e06045953adf1b7d4272fa57961ee15
+MISC ChangeLog 2643 SHA256 75a739558899c1088421a66292c9cc66d6fd3f434b9772e71b009198767573a1 SHA512 80d9fa8289d566ac2fcb5a07ab968df51c4bbcf9f5a8d9d8f5717d0f8ba09616ea3d252d68e28585c8b5832f7807ea963ddadced41772837cbcc0b500ff56d5e WHIRLPOOL 18fedceb24837d2edf9b131fd6ee6962bf2476909b86cad9fc2da35b563ce612c28dc1a05c331931f754c01c7597549b318386ab247490f399d81edf16f749f3
+MISC ChangeLog-2015 1025 SHA256 6d0afb09077a20a3f3131ccbbc84a84a0854c068def67a8e5791f02c131dbed9 SHA512 57ebef3e6b8ee69f7da891bc20401a216f0d48c544cad05395873d1102e6db179b94bf8c359c831560f545a7b5b453f846119bf3af8d3e9248ce5e004cb0c63f WHIRLPOOL 5a6b40b54d64931666fa27a02a7bb9b2518e1d5e01fe1836586addae8b74ce7a7cb50a7af74060b9036d60c219d231a8489be9c062f5cabebd4dcbdc7f075ef3
+MISC metadata.xml 243 SHA256 5e9b58b0b795266f973d066675839499e3a56d7d932d702404a4b91ded8eb26c SHA512 1c5b4b2163017e496999d1f87e5c9c5ac6c11b2e9187450ccfb3df258f34e54d278972f04ee0e8429476c6f87e091a869ac2a28c6e8c8e6d20678c3e74061449 WHIRLPOOL 085df2e84901cbe563c7c1d30d04c229547f15f8ee26ac61d44d07c3f6999f2bbfa4cf309963172fb507cce5450d27598b762c3ccab92351601965c3afc05e3a
diff --git a/dev-ml/odns/files/odns-0.3-parmake.patch b/dev-ml/odns/files/odns-0.3-parmake.patch
new file mode 100644
index 000000000000..7034abd25cf2
--- /dev/null
+++ b/dev-ml/odns/files/odns-0.3-parmake.patch
@@ -0,0 +1,16 @@
+fix parallel make
+https://bugs.gentoo.org/show_bug.cgi?id=422683
+
+Index: odns-0.3/OCamlMakefile
+===================================================================
+--- odns-0.3.orig/OCamlMakefile
++++ odns-0.3/OCamlMakefile
+@@ -1152,7 +1152,7 @@ $(BCDIDIR)/%.di $(NCDIDIR)/%.di: %.mli
+ $(DOC_DIR)/$(RESULT)/html:
+ mkdir -p $@
+
+-$(DOC_DIR)/$(RESULT)/html/index.html: $(DOC_DIR)/$(RESULT)/html $(DOC_FILES)
++$(DOC_DIR)/$(RESULT)/html/index.html: $(DOC_DIR)/$(RESULT)/html $(DOC_FILES) byte-code-library
+ rm -rf $</*
+ $(QUIET)pp=`sed -n -e '/^#/d' -e 's/(\*pp \([^*]*\) \*)/\1/p;q' $(FIRST_DOC_FILE)`; \
+ if [ -z "$$pp" ]; then \
diff --git a/dev-ml/odns/metadata.xml b/dev-ml/odns/metadata.xml
new file mode 100644
index 000000000000..ffac4d7ebc01
--- /dev/null
+++ b/dev-ml/odns/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-ml/odns/odns-0.3-r1.ebuild b/dev-ml/odns/odns-0.3-r1.ebuild
new file mode 100644
index 000000000000..d330c21321f0
--- /dev/null
+++ b/dev-ml/odns/odns-0.3-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit findlib eutils
+
+DESCRIPTION="OCaml library to query DNS servers"
+HOMEPAGE="http://odns.tuxfamily.org/"
+SRC_URI="http://download.tuxfamily.org/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+# It is ancient and upstream is dead. Consider using ocaml-dns instead.
+RDEPEND="
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt]
+ !dev-ml/dns
+ !dev-ml/ocaml-dns
+"
+DEPEND="${RDEPEND}"
+
+CLIBS="" # Workaround for bug #422683
+
+src_prepare() {
+ sed -i -e "s/version=\"0.2\"/version=\"${PV}\"/" META || die
+ epatch "${FILESDIR}/${P}-parmake.patch"
+}
+
+src_compile() {
+ emake -j1 #453434
+}
+
+src_install() {
+ findlib_src_preinst
+ PREFIX="${D}/usr" emake install
+ dodoc AUTHORS README
+}