app-admin/radmind: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Sat, 26 Dec 2015 01:18:23 +0000 (20:18 -0500)
committerAnthony G. Basile <blueness@gentoo.org>
Sat, 26 Dec 2015 01:18:23 +0000 (20:18 -0500)
Package-Manager: portage-2.2.24

app-admin/radmind/radmind-1.14.1-r1.ebuild [new file with mode: 0644]

diff --git a/app-admin/radmind/radmind-1.14.1-r1.ebuild b/app-admin/radmind/radmind-1.14.1-r1.ebuild
new file mode 100644 (file)
index 0000000..ed0b79b
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="command-line tools and server to remotely administer multiple Unix filesystems"
+HOMEPAGE="http://rsug.itd.umich.edu/software/radmind/"
+SRC_URI="mirror://sourceforge/radmind/${P}.tar.gz"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl"
+
+DEPEND="
+       !libressl? ( dev-libs/openssl:0 )
+       libressl? ( dev-libs/libressl )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       epatch "${FILESDIR}"/${PN}-1.7.0-gentoo.patch
+       # remove dnssd as it doesn't compile
+       epatch "${FILESDIR}"/${PN}-1.7.1-dnssd.patch
+       epatch "${FILESDIR}"/${PN}-1.14.0-parallel-make.patch
+}
+
+src_install() {
+       default
+       dodoc README VERSION COPYRIGHT
+}