From 7ce080240c0c739a2ee72e76fd5f598fdb3028d9 Mon Sep 17 00:00:00 2001 From: lebarjack Date: Fri, 5 Nov 2010 14:09:23 +0000 Subject: www-apps/davical: New version of davical svn path=/sunrise/; revision=11520 --- www-apps/davical/ChangeLog | 5 ++ www-apps/davical/Manifest | 8 +-- www-apps/davical/davical-0.9.9.3.ebuild | 73 +++++++++++++++++++++++ www-apps/davical/davical-0.9.9.ebuild | 73 ----------------------- www-apps/davical/files/postinstall-en-0.9.9.3.txt | 19 ++++++ www-apps/davical/files/postinstall-en-0.9.9.txt | 19 ------ 6 files changed, 101 insertions(+), 96 deletions(-) create mode 100644 www-apps/davical/davical-0.9.9.3.ebuild delete mode 100644 www-apps/davical/davical-0.9.9.ebuild create mode 100644 www-apps/davical/files/postinstall-en-0.9.9.3.txt delete mode 100644 www-apps/davical/files/postinstall-en-0.9.9.txt (limited to 'www-apps') diff --git a/www-apps/davical/ChangeLog b/www-apps/davical/ChangeLog index fd1d2ab7a..e4f8bb989 100644 --- a/www-apps/davical/ChangeLog +++ b/www-apps/davical/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 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: + New version of davical + 03 Nov 2010; lebarjack davical-0.9.9.ebuild: Dropped the pcre use for >=php-5.3 as done for awl by Michael Weber (xmw) diff --git a/www-apps/davical/Manifest b/www-apps/davical/Manifest index 1bce56323..510c803b4 100644 --- a/www-apps/davical/Manifest +++ b/www-apps/davical/Manifest @@ -1,6 +1,6 @@ -AUX postinstall-en-0.9.9.txt 829 RMD160 cd088da5602233551a9a2f57012b9ad2e1ebdf8d SHA1 257efaa0655ec85bdd71885cdd9ccc5b1900cb9c SHA256 9d3e8e91a6e464e50486f21f5d92620d41bba8a56719345a5e4a6b677fe5f1bf +AUX postinstall-en-0.9.9.3.txt 829 RMD160 cd088da5602233551a9a2f57012b9ad2e1ebdf8d SHA1 257efaa0655ec85bdd71885cdd9ccc5b1900cb9c SHA256 9d3e8e91a6e464e50486f21f5d92620d41bba8a56719345a5e4a6b677fe5f1bf AUX vhost-example 433 RMD160 8ce2aee1f3bcad5ab296b3c09704630d533fbd38 SHA1 d0d5d1af9b0ce41866ddf034d048afc547820c88 SHA256 324589afec23b5d7f10b5c95a162cf0cdeb1e05253fd8f8206fffada95209ffa -DIST davical-0.9.9.tar.gz 1949981 RMD160 74a4abecd7527b09e425dbff4b5c1cf845670205 SHA1 c1ec44757a769a5c999c8348958a8a6ad59379fc SHA256 9052f844b8b1139d62ec9f1cc8cb31a4f34d86b783476fe674148fe6fd99c96c -EBUILD davical-0.9.9.ebuild 1758 RMD160 0da88abdca7e5d68105794a6e8400ae3d493fbea SHA1 4758457dd71edf92c711097229926d22dd604608 SHA256 5b04e1cf0a09d9905a07a041a97d5025eed128f5cdb006c33ff128a97e8a18bf -MISC ChangeLog 4265 RMD160 a1aa85ea541fa2f78aa57f48e9472c41afef796f SHA1 f7159436b828a990b7cf9c72f19f809c1a780d37 SHA256 7b3087cea9676eaf9a3638ba8cdfe65120ef2b65a425e9ddc4c4e586faa9eb8e +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 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 new file mode 100644 index 000000000..7dcb1e9a8 --- /dev/null +++ b/www-apps/davical/davical-0.9.9.3.ebuild @@ -0,0 +1,73 @@ +# 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.ebuild b/www-apps/davical/davical-0.9.9.ebuild deleted file mode 100644 index 8aa0ef70a..000000000 --- a/www-apps/davical/davical-0.9.9.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.43 - 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 new file mode 100644 index 000000000..004cc0346 --- /dev/null +++ b/www-apps/davical/files/postinstall-en-0.9.9.3.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';) diff --git a/www-apps/davical/files/postinstall-en-0.9.9.txt b/www-apps/davical/files/postinstall-en-0.9.9.txt deleted file mode 100644 index 004cc0346..000000000 --- a/www-apps/davical/files/postinstall-en-0.9.9.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';) -- cgit v1.2.3-18-g5258