diff options
author | Till Schäfer <till2.schaefer@uni-dortmund.de> | 2020-04-21 16:43:06 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-04-23 10:41:06 +0300 |
commit | 6b9e36bc3bb01b7015297edcfe3f29a5301940bc (patch) | |
tree | e9c666c0024bb9a4778006964cf01df762fa9e38 /www-apps/davical | |
parent | dev-python/pykwalify: Fix tests, modernize, py3.8 (diff) | |
download | gentoo-6b9e36bc3bb01b7015297edcfe3f29a5301940bc.tar.gz gentoo-6b9e36bc3bb01b7015297edcfe3f29a5301940bc.tar.bz2 gentoo-6b9e36bc3bb01b7015297edcfe3f29a5301940bc.zip |
www-apps/davical: bump to version 1.1.9.3
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Till Schäfer <till2.schaefer@uni-dortmund.de>
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.9.3.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/www-apps/davical/Manifest b/www-apps/davical/Manifest index e1b7f4932355..4e2700a7f98a 100644 --- a/www-apps/davical/Manifest +++ b/www-apps/davical/Manifest @@ -1 +1,2 @@ DIST davical-1.1.9.2.tar.xz 1359636 BLAKE2B 6161e98dc4683310ec51ca1272f4869dd56711f6bd2f3aadf4481c847056c060a7d2811368587aea42377ff27ccdbaf0095d4fd915aec7c5b766fd7e073d25ef SHA512 025f6600fde809ef95708197e62523b400e06a187461221a4fa86326ebef2452857b1d433c25b0b50ee56df89040aec733fc597d8f966ab22720a8ce38a0f5b2 +DIST davical-1.1.9.3.tar.xz 1359608 BLAKE2B d936fa5809413eac92e996262074972a04e1ac2d50d06c921e0f70468dde2b67175c6463d73ead09d5b2bce4ab1c2a02ccb45b64ee43066f6a9609c5ccdd01ee SHA512 cad28a991900d4cd9b1f86aeda7861482eef8707a02a371af53bd9cd17f9b5417ae81ccf1129d01fa5786f7bc9edc7478eb5a7274147039ce3ef603874c093a6 diff --git a/www-apps/davical/davical-1.1.9.3.ebuild b/www-apps/davical/davical-1.1.9.3.ebuild new file mode 100644 index 000000000000..4df670a5ffac --- /dev/null +++ b/www-apps/davical/davical-1.1.9.3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit 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" +IUSE="ldap" + +BDEPEND="sys-devel/gettext" + +RDEPEND="app-admin/pwgen + dev-lang/php:*[calendar,curl,iconv,imap,ldap?,nls,pdo,postgres,xml] + dev-perl/DBD-Pg + dev-perl/DBI + dev-perl/YAML + >=dev-php/awl-0.61 + 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 +} |