diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-29 00:07:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-29 00:07:15 +0100 |
commit | 5c4786a868bad6e3f46aecf32ad6c6dc5de98408 (patch) | |
tree | 1a1792815761a5b6f645c8d55b6b698e102dca48 /www-apps/davical | |
parent | 3c1648a0749c1d66b300d857e6b417c1162890da (diff) |
gentoo auto-resync : 29:05:2024 - 00:07:15
Diffstat (limited to 'www-apps/davical')
-rw-r--r-- | www-apps/davical/Manifest | 2 | ||||
-rw-r--r-- | www-apps/davical/davical-1.1.12.ebuild | 72 |
2 files changed, 74 insertions, 0 deletions
diff --git a/www-apps/davical/Manifest b/www-apps/davical/Manifest index b96718334e44..bbdd85dca204 100644 --- a/www-apps/davical/Manifest +++ b/www-apps/davical/Manifest @@ -2,5 +2,7 @@ AUX postinstall-en.txt 201 BLAKE2B 4e4ff030cb8031785d62b17e83b7bb2e40124466081b4 AUX postupgrade-en.txt 218 BLAKE2B 83d752f4a76637ac90d65b7c458c7dadb44a2d5ba496419ce71c9763793abbd95b97b0ead133fe7afd1b2b4b382dc00149d9b6135fa2430300281741ed2a8d34 SHA512 0154d820ed27e43f091d535550dc61fdb91faaf303926cd3a2ba16300b963d0ea5226015fc546cb6419c9df82ab7e99f0f05287b4a5240c2ea381a43ec8e52d3 AUX vhost-example 366 BLAKE2B 2aef55fee2759d1063936a583cdf6b96fcab77a0d6b056d59390931327ebcfdc338a515a8f7d9cfc5a6f071e0266fa82f0b6b3b4bab97979ff4dd8231fa2d729 SHA512 a2fde5ad64445aee0936a4fe2c608f48ec8163c46949cccd98c1b36b548e769477d387fb82e065b6dade5277580ad43426264ce13dca614182db16a4951247b9 DIST davical-1.1.11.tar.xz 1371432 BLAKE2B a1779175dfe112189e3e3fb8c317c568e8bac62ef15588058f9ac1cda61ede9c2f538da24bff2678f0457e1636538d12801c38dbb884ad9e0bc44482045bb07b SHA512 263bd11ca73c54689de3c3eefbadd9bcd99a88b60ce0922702584b42183302aa1e0dbee9559329d8789daae177f6e916dee803019e9059c6bc4ab1a855889d8f +DIST davical-1.1.12.tar.xz 1377212 BLAKE2B 872f23d3aae0aaf561b4802efacf8e74cbb94803a579dfe47446918a111887c2da3da0d518bc11bffb572264d85b996547714c315edbd8f723d26f65e130c86b SHA512 e1aefd18a5ad938d7a80732dcf8ecdd729e22a99810525e111d895ed7832e775774e639c9431055033049e3bc2a61dacd20c17e4f33fa0dc5416cd2ab85d2ff9 EBUILD davical-1.1.11.ebuild 1709 BLAKE2B 5d37fa4201d6c9aaefd34af7080c655fc969a95aad0ccdfec7ef1971914911c8fab291e6c5227218adc1beb3fd283200cb961534a658067781c5b1e9bea339fc SHA512 dff28c4a6f501efe71d91cf83cde1821c30dbf3a598597b17ca4dd2eb36e169bb8599ad335f2a111f4e931786856fcaa251b877055c9ff19766bd1f457f9dd51 +EBUILD davical-1.1.12.ebuild 1709 BLAKE2B aa39fffd532b4f55cb939a0e9737e1ec2d44809ee96a088c8d3c05d9c4b7e9b0e3535515692f73ee5d926d9adf0002fc3e2e764a7d1364008f9a64177cfaf0a0 SHA512 51240f65d2aa953bdbd1618af8c45678b90688218df68eb0260d1c5f53da8bac663dabe2ee1555509792d9248359e1465fc5a7195a5429b38faeed3c7ea66812 MISC metadata.xml 519 BLAKE2B 7b92b6bc8b09d51d4f959a6da70571542d3aa04ecd98d7cc1a2583daa4f923bb56204beac7bc2ebe10f748b026f46171522cdcc91321fc75236551304b142e5e SHA512 40d2e80ac3f514d3303f0941c768397343bb1371966a8afd19143b03cb4838dab333d120d46df970ba83afa25f99a2bd0622f4d4216b637a7f49e86e9988446f 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] +} |