From 4f4c991655e46771f98efb52feab7780b4ae3567 Mon Sep 17 00:00:00 2001 From: lebarjack Date: Fri, 14 Jan 2011 07:55:35 +0000 Subject: www-apps/davical: New version of davical svn path=/sunrise/; revision=11667 --- www-apps/davical/ChangeLog | 7 ++- www-apps/davical/Manifest | 8 +-- www-apps/davical/davical-0.9.9.3.ebuild | 73 ----------------------- www-apps/davical/davical-0.9.9.4.ebuild | 73 +++++++++++++++++++++++ www-apps/davical/files/postinstall-en-0.9.9.3.txt | 19 ------ www-apps/davical/files/postinstall-en-0.9.9.4.txt | 19 ++++++ 6 files changed, 102 insertions(+), 97 deletions(-) delete mode 100644 www-apps/davical/davical-0.9.9.3.ebuild create mode 100644 www-apps/davical/davical-0.9.9.4.ebuild delete mode 100644 www-apps/davical/files/postinstall-en-0.9.9.3.txt create mode 100644 www-apps/davical/files/postinstall-en-0.9.9.4.txt diff --git a/www-apps/davical/ChangeLog b/www-apps/davical/ChangeLog index e4f8bb989..9d169207f 100644 --- a/www-apps/davical/ChangeLog +++ b/www-apps/davical/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for www-apps/davical -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 14 Jan 2011; lebarjack + -davical-0.9.9.3.ebuild, -files/postinstall-en-0.9.9.3.txt, + +davical-0.9.9.4.ebuild, +files/postinstall-en-0.9.9.4.txt: + New version of davical + 05 Nov 2010; lebarjack -davical-0.9.9.ebuild, +davical-0.9.9.3.ebuild, +files/postinstall-en-0.9.9.3.txt, -files/postinstall-en-0.9.9.txt: diff --git a/www-apps/davical/Manifest b/www-apps/davical/Manifest index 510c803b4..70013264f 100644 --- a/www-apps/davical/Manifest +++ b/www-apps/davical/Manifest @@ -1,6 +1,6 @@ -AUX postinstall-en-0.9.9.3.txt 829 RMD160 cd088da5602233551a9a2f57012b9ad2e1ebdf8d SHA1 257efaa0655ec85bdd71885cdd9ccc5b1900cb9c SHA256 9d3e8e91a6e464e50486f21f5d92620d41bba8a56719345a5e4a6b677fe5f1bf +AUX postinstall-en-0.9.9.4.txt 829 RMD160 cd088da5602233551a9a2f57012b9ad2e1ebdf8d SHA1 257efaa0655ec85bdd71885cdd9ccc5b1900cb9c SHA256 9d3e8e91a6e464e50486f21f5d92620d41bba8a56719345a5e4a6b677fe5f1bf AUX vhost-example 433 RMD160 8ce2aee1f3bcad5ab296b3c09704630d533fbd38 SHA1 d0d5d1af9b0ce41866ddf034d048afc547820c88 SHA256 324589afec23b5d7f10b5c95a162cf0cdeb1e05253fd8f8206fffada95209ffa -DIST davical-0.9.9.3.tar.gz 2021073 RMD160 e2a11bbc6b53619d4d40f129f8ee893e2f28f0a4 SHA1 7c407178f546451a643c33bcec6cbd4da0710628 SHA256 d72f924f0dba4134f5e06f4e87b5a1b2f4e28b49898f385f48d9831c5191cc31 -EBUILD davical-0.9.9.3.ebuild 1758 RMD160 4e352c4522dd1a005496a1eb5a9efb180d1ef372 SHA1 fd474e3d4f78492d415976e6579a3d1bc317ae0b SHA256 f500f52574829c8519e68fc15cd7895b4352fa3cce95d707b754b3c6ad063d91 -MISC ChangeLog 4471 RMD160 37fb1d1eb28fb95b3a1c73d76d0db287ae916e18 SHA1 d0f02c09ab7d0c7f550dcb38a3c2f830b90fc78b SHA256 8f082f294e0087ea453ab272c267da7cf64d966f3b5d328be56d4b45f135a78b +DIST davical-0.9.9.4.tar.gz 2194526 RMD160 89b12a13f061862c6269eccdb67faa448b0eebe1 SHA1 590d73bf2574449e81fcc3aabab2bf450eee683a SHA256 944a18de89d8db12e47cacdfbeea7bbc02f2c6fdefbfc025a2ee8899fa2b8411 +EBUILD davical-0.9.9.4.ebuild 1758 RMD160 db11fb0079026e69072c85172963d0702ec6ece8 SHA1 c4f34454a6edfa727abbc2773820702d545584c7 SHA256 a9fc05b4236ee958035ce77cc3cb6a17834506c127043a65d87a334ca785db0f +MISC ChangeLog 4681 RMD160 fddd9bdb4f90dc8fc7b418bba5deb5621be74aaf SHA1 286fcd4c655eda93b5c14fdae10ae933bfa1eb41 SHA256 2258410210ea515d12df54f48470c23d91ac0c9f3095ad0cad2a35febad554ad MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f diff --git a/www-apps/davical/davical-0.9.9.3.ebuild b/www-apps/davical/davical-0.9.9.3.ebuild deleted file mode 100644 index 7dcb1e9a8..000000000 --- a/www-apps/davical/davical-0.9.9.3.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=2 - -inherit depend.php webapp - -DESCRIPTION="A CalDAV and iCal server" -HOMEPAGE="http://davical.org/" -SRC_URI="http://debian.mcmillan.net.nz/packages/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -DEPEND="doc? ( dev-php/PEAR-PhpDocumentor )" -RDEPEND="app-admin/pwgen - || ( =dev-lang/php-5.3[pdo,postgres,xml] ) - dev-perl/DBI - dev-perl/DBD-Pg - dev-perl/yaml - >=dev-php/awl-0.45 - www-servers/apache" - -need_php5 -need_httpd - -src_compile() { - if use doc ; then - einfo "Generating documentation" - phpdoc -c "docs/api/phpdoc.ini"\ - || die "Documentation failed to build" - fi - emake built-po || die "emake failed" -} - -src_install() { - webapp_src_preinst - - dodoc-php INSTALL README debian/README.Debian \ - testing/README.regression_tests TODO debian/changelog \ - || die "dodoc failed" - - einfo "Installing web files" - insinto "${MY_HTDOCSDIR}" - doins -r htdocs/* htdocs/.htaccess || die "doins failed" - - einfo "Installing main files and i18n" - insinto "${MY_HOSTROOTDIR}" - doins -r inc locale || die "doins failed" - rm -f "${D}/${MY_HOSTROOTDIR}/inc/always.php.in" - - einfo "Installing sql files" - insinto "${MY_SQLSCRIPTSDIR}" - doins -r dba/* || die "doins failed" - - if use doc ; then - einfo "Installing documentation" - dohtml -r docs/api/ docs/website/ || die "dohtml failed" - fi - - insinto /etc/${PN} - doins config/* "${FILESDIR}/vhost-example" \ - || die "newins failed" - - webapp_postinst_txt en "${FILESDIR}/postinstall-en-${PV}.txt" - webapp_src_install - - fperms +x "${MY_SQLSCRIPTSDIR}/create-database.sh" - fperms +x "${MY_SQLSCRIPTSDIR}/update-davical-database" -} diff --git a/www-apps/davical/davical-0.9.9.4.ebuild b/www-apps/davical/davical-0.9.9.4.ebuild new file mode 100644 index 000000000..f482a7c70 --- /dev/null +++ b/www-apps/davical/davical-0.9.9.4.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit depend.php webapp + +DESCRIPTION="A CalDAV and iCal server" +HOMEPAGE="http://davical.org/" +SRC_URI="http://debian.mcmillan.net.nz/packages/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="doc? ( dev-php/PEAR-PhpDocumentor )" +RDEPEND="app-admin/pwgen + || ( =dev-lang/php-5.3[pdo,postgres,xml] ) + dev-perl/DBI + dev-perl/DBD-Pg + dev-perl/yaml + >=dev-php/awl-0.46 + www-servers/apache" + +need_php5 +need_httpd + +src_compile() { + if use doc ; then + einfo "Generating documentation" + phpdoc -c "docs/api/phpdoc.ini"\ + || die "Documentation failed to build" + fi + emake built-po || die "emake failed" +} + +src_install() { + webapp_src_preinst + + dodoc-php INSTALL README debian/README.Debian \ + testing/README.regression_tests TODO debian/changelog \ + || die "dodoc failed" + + einfo "Installing web files" + insinto "${MY_HTDOCSDIR}" + doins -r htdocs/* htdocs/.htaccess || die "doins failed" + + einfo "Installing main files and i18n" + insinto "${MY_HOSTROOTDIR}" + doins -r inc locale || die "doins failed" + rm -f "${D}/${MY_HOSTROOTDIR}/inc/always.php.in" + + einfo "Installing sql files" + insinto "${MY_SQLSCRIPTSDIR}" + doins -r dba/* || die "doins failed" + + if use doc ; then + einfo "Installing documentation" + dohtml -r docs/api/ docs/website/ || die "dohtml failed" + fi + + insinto /etc/${PN} + doins config/* "${FILESDIR}/vhost-example" \ + || die "newins failed" + + webapp_postinst_txt en "${FILESDIR}/postinstall-en-${PV}.txt" + webapp_src_install + + fperms +x "${MY_SQLSCRIPTSDIR}/create-database.sh" + fperms +x "${MY_SQLSCRIPTSDIR}/update-davical-database" +} diff --git a/www-apps/davical/files/postinstall-en-0.9.9.3.txt b/www-apps/davical/files/postinstall-en-0.9.9.3.txt deleted file mode 100644 index 004cc0346..000000000 --- a/www-apps/davical/files/postinstall-en-0.9.9.3.txt +++ /dev/null @@ -1,19 +0,0 @@ -You will need access to postgresql database to use davical. - -Read /usr/share/doc/www-apps/davical-${PVR}/INSTALL.gz for installation -instructions. -Release notes are available at -http://wiki.davical.org/w/Release_Notes/${PVR}. -Full documentation and wiki on http://davical.org - -If you are upgrading from a previous version of davical, don't forget to -upgrade the database structure with - cd /usr/share/webapps/davical/${PVR}/sqlscripts/ - ./update-davical-database -dbuser xxxxxxx -appuser xxxxxx - -If you are upgrading from a version <= 0.9.8.4 please note inc/ and locale/ -have been moved away from the htdocs directory and placed into hostroot for -safety reasons. Update you include_path accordingly. - -You may have to configure the locale path in the davical configuration file. -(add a $c->locale_path = '/path/to/the/locales';) diff --git a/www-apps/davical/files/postinstall-en-0.9.9.4.txt b/www-apps/davical/files/postinstall-en-0.9.9.4.txt new file mode 100644 index 000000000..004cc0346 --- /dev/null +++ b/www-apps/davical/files/postinstall-en-0.9.9.4.txt @@ -0,0 +1,19 @@ +You will need access to postgresql database to use davical. + +Read /usr/share/doc/www-apps/davical-${PVR}/INSTALL.gz for installation +instructions. +Release notes are available at +http://wiki.davical.org/w/Release_Notes/${PVR}. +Full documentation and wiki on http://davical.org + +If you are upgrading from a previous version of davical, don't forget to +upgrade the database structure with + cd /usr/share/webapps/davical/${PVR}/sqlscripts/ + ./update-davical-database -dbuser xxxxxxx -appuser xxxxxx + +If you are upgrading from a version <= 0.9.8.4 please note inc/ and locale/ +have been moved away from the htdocs directory and placed into hostroot for +safety reasons. Update you include_path accordingly. + +You may have to configure the locale path in the davical configuration file. +(add a $c->locale_path = '/path/to/the/locales';) -- cgit v1.2.3