diff options
author | Till Schäfer <till2.schaefer@uni-dortmund.de> | 2024-04-22 23:35:17 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-05-27 16:24:35 +0300 |
commit | 7537cf1ca953444c8c529d4c3de105826f8b55e1 (patch) | |
tree | b040702ab352d46a014db7cfa4746675f425b366 /www-apps/davical | |
parent | profiles/arch/amd64/x32: one more libpcre2[jit] mask (diff) | |
download | gentoo-7537cf1ca953444c8c529d4c3de105826f8b55e1.tar.gz gentoo-7537cf1ca953444c8c529d4c3de105826f8b55e1.tar.bz2 gentoo-7537cf1ca953444c8c529d4c3de105826f8b55e1.zip |
www-apps/davical: add 1.1.12
Closes: https://bugs.gentoo.org/909532
Signed-off-by: Till Schäfer <till2.schaefer@uni-dortmund.de>
Closes: https://github.com/gentoo/gentoo/pull/36366
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-apps/davical')
-rw-r--r-- | www-apps/davical/Manifest | 1 | ||||
-rw-r--r-- | www-apps/davical/davical-1.1.12.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/www-apps/davical/Manifest b/www-apps/davical/Manifest index 7d2d5b00161f..e308efe1d4d7 100644 --- a/www-apps/davical/Manifest +++ b/www-apps/davical/Manifest @@ -1 +1,2 @@ DIST davical-1.1.11.tar.xz 1371432 BLAKE2B a1779175dfe112189e3e3fb8c317c568e8bac62ef15588058f9ac1cda61ede9c2f538da24bff2678f0457e1636538d12801c38dbb884ad9e0bc44482045bb07b SHA512 263bd11ca73c54689de3c3eefbadd9bcd99a88b60ce0922702584b42183302aa1e0dbee9559329d8789daae177f6e916dee803019e9059c6bc4ab1a855889d8f +DIST davical-1.1.12.tar.xz 1377212 BLAKE2B 872f23d3aae0aaf561b4802efacf8e74cbb94803a579dfe47446918a111887c2da3da0d518bc11bffb572264d85b996547714c315edbd8f723d26f65e130c86b SHA512 e1aefd18a5ad938d7a80732dcf8ecdd729e22a99810525e111d895ed7832e775774e639c9431055033049e3bc2a61dacd20c17e4f33fa0dc5416cd2ab85d2ff9 diff --git a/www-apps/davical/davical-1.1.12.ebuild b/www-apps/davical/davical-1.1.12.ebuild new file mode 100644 index 000000000000..1139b9f12e9a --- /dev/null +++ b/www-apps/davical/davical-1.1.12.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature webapp + +DESCRIPTION="A CalDAV and CardDAV Server" +HOMEPAGE="https://www.davical.org/" +SRC_URI="https://www.davical.org/downloads/${PN}_${PV}.orig.tar.xz -> ${P}.tar.xz" + +LICENSE="GPL-2 GPL-2+ GPL-3+ LGPL-2.1+ LGPL-3+" +KEYWORDS="~amd64 ~x86" + +BDEPEND="sys-devel/gettext" + +RDEPEND="app-admin/pwgen + dev-lang/php[calendar,curl,iconv,imap,nls,pdo,postgres,xml] + dev-perl/DBD-Pg + dev-perl/DBI + dev-perl/YAML + >=dev-php/awl-0.64 + virtual/httpd-php" + +need_httpd + +S="${WORKDIR}" + +src_compile() { + emake built-locale +} + +src_install() { + webapp_src_preinst + + einstalldocs + + einfo "Installing web files" + insinto "${MY_HTDOCSDIR}" + doins -r htdocs/. htdocs/.htaccess + + einfo "Installing main files and i18n" + insinto "${MY_HOSTROOTDIR}/${PN}" + doins -r inc locale + rm "${ED}/${MY_HOSTROOTDIR}/${PN}/inc/always.php.in" || die + + einfo "Installing sql files" + insinto "${MY_SQLSCRIPTSDIR}" + doins -r dba/. + + insinto /etc/${PN} + doins -r config/. "${FILESDIR}/vhost-example" + + webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt" + webapp_postupgrade_txt en "${FILESDIR}/postupgrade-en.txt" + webapp_src_install + + fperms +x "${MY_SQLSCRIPTSDIR}/create-database.sh" + fperms +x "${MY_SQLSCRIPTSDIR}/update-davical-database" +} + +pkg_postinst() { + elog "If you are upgrading from a previous version of davical, don't forget to" + elog "upgrade the database structure with" + elog " cd /usr/share/webapps/davical/${PVR}/sqlscripts/" + elog " ./update-davical-database -dbuser xxxxxxx -appuser xxxxxx" + + webapp_pkg_postinst + + elog "" + optfeature "LDAP authentication" dev-lang/php[ldap] +} |