From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 48D0F1382C5 for ; Tue, 20 Mar 2018 19:06:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E806E0A63; Tue, 20 Mar 2018 19:06:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 596CBE0A63 for ; Tue, 20 Mar 2018 19:06:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2056E335C07 for ; Tue, 20 Mar 2018 19:06:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 92C64216 for ; Tue, 20 Mar 2018 19:06:55 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1521572809.1ed7a1ca5ca23db14d7a915ef61b3bc372b34a6d.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/agendav/files/, www-apps/agendav/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/agendav/Manifest www-apps/agendav/agendav-2.2.0.ebuild www-apps/agendav/files/postinstall-2.2.0-en.txt X-VCS-Directories: www-apps/agendav/ www-apps/agendav/files/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 1ed7a1ca5ca23db14d7a915ef61b3bc372b34a6d X-VCS-Branch: master Date: Tue, 20 Mar 2018 19:06:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 22748c7b-dfdc-4327-8c7e-f87f99307bc9 X-Archives-Hash: 72ce0b31a06fd84badc8ca186f7c9d6d commit: 1ed7a1ca5ca23db14d7a915ef61b3bc372b34a6d Author: Fabian Groffen gentoo org> AuthorDate: Tue Mar 20 19:06:33 2018 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Tue Mar 20 19:06:49 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ed7a1ca www-apps/agendav: version bump, bug #650922 Closes: https://bugs.gentoo.org/650922 Package-Manager: Portage-2.3.24, Repoman-2.3.6 www-apps/agendav/Manifest | 1 + www-apps/agendav/agendav-2.2.0.ebuild | 48 +++++++++++++++++++++++++ www-apps/agendav/files/postinstall-2.2.0-en.txt | 14 ++++++++ 3 files changed, 63 insertions(+) diff --git a/www-apps/agendav/Manifest b/www-apps/agendav/Manifest index 2e58abf4833..4c8863519f3 100644 --- a/www-apps/agendav/Manifest +++ b/www-apps/agendav/Manifest @@ -1 +1,2 @@ DIST agendav-1.2.6.2.tar.gz 2586820 BLAKE2B 440bb7d8fafb482e99d1a9745c71914668d8aa262a1e5ea72c65a0feaa527cdebb8191551971e46661221b558f1fe78ed3aa937b1a5ed723407649c45e1cad19 SHA512 bfae7c00ab7f8baf239310e2c04229ee76a56befc57d9ab449654bb0c28dd30aab628a2292670dc8c1ce479593bd1b6a57ba1e4f3bcffb4de27214c855ccabab +DIST agendav-2.2.0.tar.gz 5313351 BLAKE2B 3d7f47900f0030c87fe00c187faee5c508cd740afee2a5021a38e2e2f3986207d324891fc71b53c6b8938684981933f29c7c3022179e90f3b9e5b19e2437df99 SHA512 4bf3c6152d69d8c58cea4e4377acdc30ef90d7d40946ad495715a34348051db8d2c20c60d495fb629dd9ad143836025082109c2102149ab143e98ad2ba4b191b diff --git a/www-apps/agendav/agendav-2.2.0.ebuild b/www-apps/agendav/agendav-2.2.0.ebuild new file mode 100644 index 00000000000..b2cd58dfa2a --- /dev/null +++ b/www-apps/agendav/agendav-2.2.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit webapp + +DESCRIPTION="multilanguage CalDAV web client" +HOMEPAGE="http://agendav.org/" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-3+" +KEYWORDS="~amd64 ~ppc64" + +RDEPEND=">=dev-lang/php-5.5.9[ctype,curl,crypt,unicode,tokenizer,xml,xmlreader,xmlwriter] + virtual/httpd-php + || ( >=virtual/mysql-5.1 >=dev-db/postgresql-8.1 )" + +src_install() { + webapp_src_preinst + + einfo "Installing web files" + # fix references to the rest of the application code + sed -i -e '/__DIR__/s:/\.\./:/../../agendav/:' web/public/index.php || die + insinto "${MY_HTDOCSDIR}" + doins -r web/public/* || die + + einfo "Installing main files" + cp web/config/{default.,}settings.php || die + insinto "${MY_HOSTROOTDIR}/${PN}" + doins -r web/{app,config,lang,src,templates,var,vendor} || die + + einfo "Installing agendavcli utility" + sed -i -e '/__DIR__/s:/web/:/:' agendavcli || die + sed -i -e '/migrations_directory/s:web/::' || die + doins migrations.yml + exeinto "${MY_HOSTROOTDIR}/${PN}" + doexe agendavcli + + local f + for f in "${ED}"/${MY_HOSTROOTDIR}/${PN}/config/* ; do + webapp_configfile "${f#${ED%/}}" + done + webapp_serverowned -R "${MY_HOSTROOTDIR}"/${PN}/var + + webapp_postinst_txt en "${FILESDIR}/postinstall-2.2.0-en.txt" + webapp_src_install +} diff --git a/www-apps/agendav/files/postinstall-2.2.0-en.txt b/www-apps/agendav/files/postinstall-2.2.0-en.txt new file mode 100644 index 00000000000..76b44064aab --- /dev/null +++ b/www-apps/agendav/files/postinstall-2.2.0-en.txt @@ -0,0 +1,14 @@ +Next to a CalDAV server, you need access to a mysql or postgresql +database to use agendav. + +Read http://docs.agendav.org/en/2.2.0/admin/installation/ for +installation instructions of the database. This includes loading the +SQL statements using agendavcli utility. + +Next you have to edit all config files in your installation's + /path/to/hostroot/agendav/config. + +Before you can use agendav, you need to upgrade the database (you also +need this on a new install) using: + + $ /path/to/hostroot/agendav/agendavcli dbupdate