diff options
author | Fabian Groffen <grobian@gentoo.org> | 2013-03-12 18:43:40 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2013-03-12 18:43:40 +0000 |
commit | 76dd8ba0b6440b5cf7c1097a11e3995db087ddd6 (patch) | |
tree | c7b96701d80167a1a680eee737764551a10e7588 /www-apps/baikal | |
parent | update deps (diff) | |
download | gentoo-2-76dd8ba0b6440b5cf7c1097a11e3995db087ddd6.tar.gz gentoo-2-76dd8ba0b6440b5cf7c1097a11e3995db087ddd6.tar.bz2 gentoo-2-76dd8ba0b6440b5cf7c1097a11e3995db087ddd6.zip |
Fix ChangeLog :(
(Portage version: 2.2.01.21688-prefix/cvs/Darwin i386, signed Manifest commit with key 0x5F75F607C5C74E89)
Diffstat (limited to 'www-apps/baikal')
-rw-r--r-- | www-apps/baikal/ChangeLog | 9 | ||||
-rw-r--r-- | www-apps/baikal/baikal-0.2.4.ebuild | 60 | ||||
-rw-r--r-- | www-apps/baikal/metadata.xml | 8 |
3 files changed, 77 insertions, 0 deletions
diff --git a/www-apps/baikal/ChangeLog b/www-apps/baikal/ChangeLog new file mode 100644 index 000000000000..c1ce6c4798be --- /dev/null +++ b/www-apps/baikal/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for www-apps/baikal +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/baikal/ChangeLog,v 1.1 2013/03/12 18:43:40 grobian Exp $ + +*baikal-0.2.4 (12 Mar 2013) + + 12 Mar 2013; Fabian Groffen <grobian@gentoo.org> +baikal-0.2.4.ebuild, + +metadata.xml: + Initial version, ebuild by me diff --git a/www-apps/baikal/baikal-0.2.4.ebuild b/www-apps/baikal/baikal-0.2.4.ebuild new file mode 100644 index 000000000000..8f80f4cd0a73 --- /dev/null +++ b/www-apps/baikal/baikal-0.2.4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/baikal/baikal-0.2.4.ebuild,v 1.1 2013/03/12 18:43:40 grobian Exp $ + +EAPI="5" + +inherit depend.php webapp + +DESCRIPTION="Lightweight CalDAV+CardDAV server" +HOMEPAGE="http://baikal-server.com/" +SRC_URI="http://baikal-server.com/get/${PN}-regular-${PV}.tgz" + +LICENSE="GPL-3" +KEYWORDS="~amd64" +IUSE="+mysql sqlite" +REQUIRED_USE="|| ( mysql sqlite )" + +RDEPEND=">=dev-lang/php-5.3[pdo,xml,mysql?,sqlite?] + mysql? ( dev-db/mysql ) + sqlite? ( dev-db/sqlite ) + virtual/httpd-php" + +need_php5 +need_httpd + +S=${WORKDIR}/${PN}-regular + +src_install() { + webapp_src_preinst + + dodoc-php *.md || die "dodoc failed" + + einfo "Installing web files" + insinto "${MY_HTDOCSDIR}" + doins -r html/* html/.htaccess Core || die "doins failed" + + einfo "Setting up container for configuration" + insinto /etc/${PN} + doins Specific/.htaccess || die "doins failed" + + einfo "Fixing symlinks" + local link target + find "${D}${MY_HTDOCSDIR}" -type l | while read link ; do + target=$(readlink "${link}") + target=${target/..\/Core/Core} + rm "${link}" && ln -s "${target}" "${link}" + done + dosym /etc/${PN} "${MY_HTDOCSDIR}"/Specific + dosym . "${MY_HTDOCSDIR}"/html + + webapp_src_install + + fowners -R apache:apache /etc/${PN} +} + +pkg_postinst() { + einfo "In order to setup baïkal:" + einfo "- create /etc/${PN}/ENABLE_INSTALL owner apache:apache" + einfo "- point your browser at the instal's URL and follow the setup" +} diff --git a/www-apps/baikal/metadata.xml b/www-apps/baikal/metadata.xml new file mode 100644 index 000000000000..263de02a5e77 --- /dev/null +++ b/www-apps/baikal/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>grobian@gentoo.org</email> + <name>Fabian Groffen</name> + </maintainer> +</pkgmetadata> |