diff options
author | Fabian Groffen <grobian@gentoo.org> | 2019-10-20 16:12:54 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2019-10-20 16:13:36 +0200 |
commit | 9b3c9c28f082ce8c2468e55f176dd14f6e7ab2f2 (patch) | |
tree | ddc7e8ce32e1b1435bb0e1477b33453ae6f6f650 /www-apps | |
parent | www-apps/baikal: add app-arch/unzip to DEPEND for SRC_URI (diff) | |
download | gentoo-9b3c9c28f082ce8c2468e55f176dd14f6e7ab2f2.tar.gz gentoo-9b3c9c28f082ce8c2468e55f176dd14f6e7ab2f2.tar.bz2 gentoo-9b3c9c28f082ce8c2468e55f176dd14f6e7ab2f2.zip |
www-apps/agendav: remove old
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/agendav/Manifest | 1 | ||||
-rw-r--r-- | www-apps/agendav/agendav-1.2.6.2.ebuild | 78 | ||||
-rw-r--r-- | www-apps/agendav/files/postinstall-en.txt | 13 |
3 files changed, 0 insertions, 92 deletions
diff --git a/www-apps/agendav/Manifest b/www-apps/agendav/Manifest index 4c8863519f3f..c19f4e989f00 100644 --- a/www-apps/agendav/Manifest +++ b/www-apps/agendav/Manifest @@ -1,2 +1 @@ -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-1.2.6.2.ebuild b/www-apps/agendav/agendav-1.2.6.2.ebuild deleted file mode 100644 index 81eb9196577b..000000000000 --- a/www-apps/agendav/agendav-1.2.6.2.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit webapp - -DESCRIPTION="multilanguage CalDAV web client" -HOMEPAGE="http://agendav.org/" -SRC_URI="https://github.com/adobo/${PN}/tarball/${PV} -> ${P}.tar.gz" - -LICENSE="BSD LGPL-3+ LGPL-2.1+ GPL-3+" -KEYWORDS="~amd64" - -RDEPEND=">=dev-lang/php-5.3[curl,unicode] - virtual/httpd-php - || ( >=virtual/mysql-5.1 >=dev-db/postgresql-8.1 )" - -S=${WORKDIR}/adobo-${PN}-84f869e - -src_install() { - webapp_src_preinst - - dodoc \ - doc/source/admin/configuration.rst \ - doc/source/admin/installation.rst \ - doc/source/admin/troubleshooting.rst \ - doc/source/admin/upgrading.rst \ - || die - - # fix locations - sed -i \ - -e "s:\(system_path = \)'[^']\+':\1'${MY_HOSTROOTDIR}/${PN}/system':" \ - -e "s:\(application_folder = \)'[^']\+':\1'${MY_HOSTROOTDIR}/${PN}/application':" \ - web/public/index.php || die - sed -i \ - -e "/require_once/s:'../:'${MY_HOSTROOTDIR}/${PN}/:" \ - web/config/autoload.php || die - sed -i \ - -e "1a\set_include_path(get_include_path() . PATH_SEPARATOR . APPPATH.'config');" \ - web/config/constants.php || die - - einfo "Installing web files" - insinto "${MY_HTDOCSDIR}" - doins -r web/public/* || die - - einfo "Creating configuration container" - dodir "/etc/agendav" - local f - for f in caldav database config ; do - cp web/config/${f}.php.template "${ED}"/etc/agendav/${f}.php || die - ln -s "${EPREFIX}"/etc/agendav/${f}.php web/config/${f}.php || die - done - - einfo "Installing main files" - insinto "${MY_HOSTROOTDIR}/${PN}" - doins -r web/{application,config,css_src,lang,system,templates_src,public} \ - || die - insinto "${MY_HOSTROOTDIR}/${PN}/application/libraries" - doins libs/icalcreator/*.php \ - libs/caldav-client/*.php \ - libs/awl/*.php \ - || die - dodir /usr/bin - cat > "${ED}"/usr/bin/agendavcli <<-EOF - #!/usr/bin/env bash - - exec php "${MY_HOSTROOTDIR}/${PN}/public/index.php" cli "\${@}" - EOF - chmod 755 "${ED}"/usr/bin/agendavcli - - einfo "Installing sql files" - insinto "${MY_SQLSCRIPTSDIR}" - doins -r sql/* || die - - webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt" - webapp_src_install -} diff --git a/www-apps/agendav/files/postinstall-en.txt b/www-apps/agendav/files/postinstall-en.txt deleted file mode 100644 index 5301576c6498..000000000000 --- a/www-apps/agendav/files/postinstall-en.txt +++ /dev/null @@ -1,13 +0,0 @@ -Next to a CalDAV server, you need access to a mysql or postgresql -database to use agendav. - -Read /usr/share/doc/www-apps/agendav-${PVR}/installation.rst.bz2 for -installation instructions of the database. This includes loading the -SQL statements from /usr/share/webapps/agendav/${PVR}/sqlscripts/. - -Next you have to edit all config files in /etc/agendav/. - -Before you can use agendav, you need to upgrade the database (even -though this is a new install) using: - - $ agendavcli dbupdate |