1 |
commit: 6b9e36bc3bb01b7015297edcfe3f29a5301940bc |
2 |
Author: Till Schäfer <till2.schaefer <AT> uni-dortmund <DOT> de> |
3 |
AuthorDate: Tue Apr 21 14:43:06 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 23 07:41:06 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b9e36bc |
7 |
|
8 |
www-apps/davical: bump to version 1.1.9.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Till Schäfer <till2.schaefer <AT> uni-dortmund.de> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
www-apps/davical/Manifest | 1 + |
15 |
www-apps/davical/davical-1.1.9.3.ebuild | 70 +++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 71 insertions(+) |
17 |
|
18 |
diff --git a/www-apps/davical/Manifest b/www-apps/davical/Manifest |
19 |
index e1b7f493235..4e2700a7f98 100644 |
20 |
--- a/www-apps/davical/Manifest |
21 |
+++ b/www-apps/davical/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST davical-1.1.9.2.tar.xz 1359636 BLAKE2B 6161e98dc4683310ec51ca1272f4869dd56711f6bd2f3aadf4481c847056c060a7d2811368587aea42377ff27ccdbaf0095d4fd915aec7c5b766fd7e073d25ef SHA512 025f6600fde809ef95708197e62523b400e06a187461221a4fa86326ebef2452857b1d433c25b0b50ee56df89040aec733fc597d8f966ab22720a8ce38a0f5b2 |
24 |
+DIST davical-1.1.9.3.tar.xz 1359608 BLAKE2B d936fa5809413eac92e996262074972a04e1ac2d50d06c921e0f70468dde2b67175c6463d73ead09d5b2bce4ab1c2a02ccb45b64ee43066f6a9609c5ccdd01ee SHA512 cad28a991900d4cd9b1f86aeda7861482eef8707a02a371af53bd9cd17f9b5417ae81ccf1129d01fa5786f7bc9edc7478eb5a7274147039ce3ef603874c093a6 |
25 |
|
26 |
diff --git a/www-apps/davical/davical-1.1.9.3.ebuild b/www-apps/davical/davical-1.1.9.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4df670a5ffa |
29 |
--- /dev/null |
30 |
+++ b/www-apps/davical/davical-1.1.9.3.ebuild |
31 |
@@ -0,0 +1,70 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit webapp |
38 |
+ |
39 |
+DESCRIPTION="A CalDAV and CardDAV Server" |
40 |
+HOMEPAGE="https://www.davical.org/" |
41 |
+SRC_URI="https://www.davical.org/downloads/${PN}_${PV}.orig.tar.xz -> ${P}.tar.xz" |
42 |
+ |
43 |
+LICENSE="GPL-2 GPL-2+ GPL-3+ LGPL-2.1+ LGPL-3+" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="ldap" |
46 |
+ |
47 |
+BDEPEND="sys-devel/gettext" |
48 |
+ |
49 |
+RDEPEND="app-admin/pwgen |
50 |
+ dev-lang/php:*[calendar,curl,iconv,imap,ldap?,nls,pdo,postgres,xml] |
51 |
+ dev-perl/DBD-Pg |
52 |
+ dev-perl/DBI |
53 |
+ dev-perl/YAML |
54 |
+ >=dev-php/awl-0.61 |
55 |
+ virtual/httpd-php" |
56 |
+ |
57 |
+need_httpd |
58 |
+ |
59 |
+S="${WORKDIR}" |
60 |
+ |
61 |
+src_compile() { |
62 |
+ emake built-locale |
63 |
+} |
64 |
+ |
65 |
+src_install() { |
66 |
+ webapp_src_preinst |
67 |
+ |
68 |
+ einstalldocs |
69 |
+ |
70 |
+ einfo "Installing web files" |
71 |
+ insinto "${MY_HTDOCSDIR}" |
72 |
+ doins -r htdocs/. htdocs/.htaccess |
73 |
+ |
74 |
+ einfo "Installing main files and i18n" |
75 |
+ insinto "${MY_HOSTROOTDIR}/${PN}" |
76 |
+ doins -r inc locale |
77 |
+ rm "${ED}/${MY_HOSTROOTDIR}/${PN}/inc/always.php.in" || die |
78 |
+ |
79 |
+ einfo "Installing sql files" |
80 |
+ insinto "${MY_SQLSCRIPTSDIR}" |
81 |
+ doins -r dba/. |
82 |
+ |
83 |
+ insinto /etc/${PN} |
84 |
+ doins -r config/. "${FILESDIR}/vhost-example" |
85 |
+ |
86 |
+ webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt" |
87 |
+ webapp_postupgrade_txt en "${FILESDIR}/postupgrade-en.txt" |
88 |
+ webapp_src_install |
89 |
+ |
90 |
+ fperms +x "${MY_SQLSCRIPTSDIR}/create-database.sh" |
91 |
+ fperms +x "${MY_SQLSCRIPTSDIR}/update-davical-database" |
92 |
+} |
93 |
+ |
94 |
+pkg_postinst() { |
95 |
+ elog "If you are upgrading from a previous version of davical, don't forget to" |
96 |
+ elog "upgrade the database structure with" |
97 |
+ elog " cd /usr/share/webapps/davical/${PVR}/sqlscripts/" |
98 |
+ elog " ./update-davical-database -dbuser xxxxxxx -appuser xxxxxx" |
99 |
+ |
100 |
+ webapp_pkg_postinst |
101 |
+} |