From cf37296ef95f8a2d208f173ea329c7bb55c96162 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 19 Aug 2023 16:47:55 +0100 Subject: net-nds/ldapvi: add subslot dep on openssl Signed-off-by: Sam James --- net-nds/ldapvi/ldapvi-1.7_p20101214-r4.ebuild | 57 -------------------------- net-nds/ldapvi/ldapvi-1.7_p20101214-r5.ebuild | 59 +++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 57 deletions(-) delete mode 100644 net-nds/ldapvi/ldapvi-1.7_p20101214-r4.ebuild create mode 100644 net-nds/ldapvi/ldapvi-1.7_p20101214-r5.ebuild (limited to 'net-nds/ldapvi') diff --git a/net-nds/ldapvi/ldapvi-1.7_p20101214-r4.ebuild b/net-nds/ldapvi/ldapvi-1.7_p20101214-r4.ebuild deleted file mode 100644 index d899442229e4..000000000000 --- a/net-nds/ldapvi/ldapvi-1.7_p20101214-r4.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Manage LDAP entries with a text editor" -HOMEPAGE="http://www.lichteblau.com/ldapvi/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" -S="${WORKDIR}"/${P}/${PN} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~hppa ~ppc ~sparc x86" -IUSE="gnutls sasl" - -RDEPEND="dev-libs/popt - dev-libs/glib:2 - sys-libs/readline:= - sys-libs/ncurses:0= - virtual/libcrypt:= - gnutls? ( - net-libs/gnutls - net-nds/openldap[gnutls] - ) - !gnutls? ( - dev-libs/openssl:0 - net-nds/openldap[ssl] - ) - sasl? ( dev-libs/cyrus-sasl:2[ssl] )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( "${FILESDIR}/${PN}-1.7-fix-implicit-function-declarations.patch" ) - -src_prepare() { - default - - # bug #459478 - sed -i \ - -e '/^AC_SEARCH_LIBS/s:curses ncurses:curses ncurses tinfo:' \ - configure.in || die - - eautoreconf -} - -src_configure() { - econf \ - --with-libcrypto=$(usex gnutls gnutls openssl) -} - -src_install() { - dobin ldapvi - doman ldapvi.1 - dodoc NEWS manual/{bg.png,html.xsl,manual.{css,xml}} -} diff --git a/net-nds/ldapvi/ldapvi-1.7_p20101214-r5.ebuild b/net-nds/ldapvi/ldapvi-1.7_p20101214-r5.ebuild new file mode 100644 index 000000000000..be2ce0f73d2f --- /dev/null +++ b/net-nds/ldapvi/ldapvi-1.7_p20101214-r5.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Manage LDAP entries with a text editor" +HOMEPAGE="http://www.lichteblau.com/ldapvi/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" +S="${WORKDIR}"/${P}/${PN} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~hppa ~ppc ~sparc x86" +IUSE="gnutls sasl" + +RDEPEND=" + dev-libs/popt + dev-libs/glib:2 + sys-libs/readline:= + sys-libs/ncurses:= + virtual/libcrypt:= + gnutls? ( + net-libs/gnutls:= + net-nds/openldap[gnutls] + ) + !gnutls? ( + dev-libs/openssl:= + net-nds/openldap[ssl] + ) + sasl? ( dev-libs/cyrus-sasl:2[ssl] ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/${PN}-1.7-fix-implicit-function-declarations.patch" ) + +src_prepare() { + default + + # bug #459478 + sed -i \ + -e '/^AC_SEARCH_LIBS/s:curses ncurses:curses ncurses tinfo:' \ + configure.in || die + + eautoreconf +} + +src_configure() { + econf \ + --with-libcrypto=$(usex gnutls gnutls openssl) +} + +src_install() { + dobin ldapvi + doman ldapvi.1 + dodoc NEWS manual/{bg.png,html.xsl,manual.{css,xml}} +} -- cgit v1.2.3-65-gdbad