commit:     358e1409706d1aa3e078e27014a6efdc0a3d8bef
Author:     Till Schäfer <till2.schaefer <AT> uni-dortmund <DOT> de>
AuthorDate: Wed Mar  3 09:55:27 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Mar  4 12:26:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=358e1409

www-apps/davical: remove ldap dep and useflag

remove ldap dependency, since it is a runtime dependency only.
remove obsolete comment about already removed PHP compatibility restriction

Closes: https://bugs.gentoo.org/773547
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Till Schäfer <till2.schaefer <AT> uni-dortmund.de>
Closes: https://github.com/gentoo/gentoo/pull/19750
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-apps/davical/davical-1.1.9.3-r1.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/www-apps/davical/davical-1.1.9.3-r1.ebuild 
b/www-apps/davical/davical-1.1.9.3-r1.ebuild
index 4b2bc1b3ed4..b8f309f898b 100644
--- a/www-apps/davical/davical-1.1.9.3-r1.ebuild
+++ b/www-apps/davical/davical-1.1.9.3-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit webapp
+inherit optfeature webapp
 
 DESCRIPTION="A CalDAV and CardDAV Server"
 HOMEPAGE="https://www.davical.org/";
@@ -11,13 +11,11 @@ 
SRC_URI="https://www.davical.org/downloads/${PN}_${PV}.orig.tar.xz -> ${P}.tar.x
 
 LICENSE="GPL-2 GPL-2+ GPL-3+ LGPL-2.1+ LGPL-3+"
 KEYWORDS="~amd64 ~x86"
-IUSE="ldap"
 
 BDEPEND="sys-devel/gettext"
 
-# >=dev-lang/php-8:curly braces string offset access was removed (Bug 764908)
 RDEPEND="app-admin/pwgen
-       dev-lang/php[calendar,curl,iconv,imap,ldap?,nls,pdo,postgres,xml]
+       dev-lang/php[calendar,curl,iconv,imap,nls,pdo,postgres,xml]
        dev-perl/DBD-Pg
        dev-perl/DBI
        dev-perl/YAML
@@ -70,4 +68,8 @@ pkg_postinst() {
        elog "       ./update-davical-database -dbuser xxxxxxx -appuser xxxxxx"
 
        webapp_pkg_postinst
+
+       elog ""
+       elog "Optional runtime dependencies:"
+       optfeature "LDAP authentication" dev-lang/php[ldap]
 }

Reply via email to