Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/davical: davical-1.1.0.ebuild ChangeLog
Date: Tue, 26 Jun 2012 09:39:46
Message-Id: 20120626093933.C2CD82004B@flycatcher.gentoo.org
1 patrick 12/06/26 09:39:33
2
3 Modified: ChangeLog
4 Added: davical-1.1.0.ebuild
5 Log:
6 Bump for #423603
7
8 (Portage version: 2.2.0_alpha113/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.2 www-apps/davical/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/davical/ChangeLog?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/davical/ChangeLog?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/davical/ChangeLog?r1=1.1&r2=1.2
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-apps/davical/ChangeLog,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- ChangeLog 14 Mar 2012 06:46:26 -0000 1.1
24 +++ ChangeLog 26 Jun 2012 09:39:33 -0000 1.2
25 @@ -1,6 +1,11 @@
26 # ChangeLog for www-apps/davical
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-apps/davical/ChangeLog,v 1.1 2012/03/14 06:46:26 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-apps/davical/ChangeLog,v 1.2 2012/06/26 09:39:33 patrick Exp $
30 +
31 +*davical-1.1.0 (26 Jun 2012)
32 +
33 + 26 Jun 2012; Patrick Lauer <patrick@g.o> +davical-1.1.0.ebuild:
34 + Bump for #423603
35
36 12 Mar 2012; lebarjack <francois.perichon@×××××××××××.fr>
37 -davical-1.0.2.ebuild, +davical-1.0.2-r1.ebuild:
38 @@ -135,4 +140,3 @@
39 +davical-0.9.5.ebuild, +files/postinstall-en-0.9.5.txt,
40 +files/driver_ldap.patch, +files/rscds.conf, +metadata.xml:
41 New ebuild for bug 195118 - (initial work by Cory Coager <ccoager@×××××.com>)
42 -
43
44
45
46 1.1 www-apps/davical/davical-1.1.0.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/davical/davical-1.1.0.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/davical/davical-1.1.0.ebuild?rev=1.1&content-type=text/plain
50
51 Index: davical-1.1.0.ebuild
52 ===================================================================
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/www-apps/davical/davical-1.1.0.ebuild,v 1.1 2012/06/26 09:39:33 patrick Exp $
56
57 EAPI=2
58
59 inherit depend.php webapp
60
61 DESCRIPTION="A CalDAV and CardDAV Server"
62 HOMEPAGE="http://davical.org/"
63 SRC_URI="http://debian.mcmillan.net.nz/packages/${PN}/${P}.tar.gz"
64
65 LICENSE="GPL-2"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="doc"
68
69 DEPEND="doc? ( dev-php/PEAR-PhpDocumentor )"
70 RDEPEND="app-admin/pwgen
71 dev-lang/php[calendar,curl,pdo,postgres,xml]
72 dev-perl/DBI
73 dev-perl/DBD-Pg
74 dev-perl/yaml
75 >=dev-php/awl-0.51
76 www-servers/apache"
77
78 need_php5
79 need_httpd
80
81 src_prepare() {
82 epatch "${FILESDIR}/awl_location.patch"
83 epatch "${FILESDIR}/inc_path.patch"
84 }
85
86 src_compile() {
87 if use doc ; then
88 einfo "Generating documentation"
89 phpdoc -q -c "docs/api/phpdoc.ini"\
90 || die "Documentation failed to build"
91 fi
92 emake built-po || die "emake failed"
93 }
94
95 src_install() {
96 webapp_src_preinst
97
98 dodoc-php INSTALL README debian/README.Debian \
99 testing/README.regression_tests TODO debian/changelog \
100 || die "dodoc failed"
101
102 einfo "Installing web files"
103 insinto "${MY_HTDOCSDIR}"
104 doins -r htdocs/* htdocs/.htaccess || die "doins failed"
105
106 einfo "Installing main files and i18n"
107 insinto "${MY_HOSTROOTDIR}/${PN}"
108 doins -r inc locale || die "doins failed"
109 rm "${D}/${MY_HOSTROOTDIR}/${PN}/inc/always.php.in" || die
110
111 einfo "Installing sql files"
112 insinto "${MY_SQLSCRIPTSDIR}"
113 doins -r dba/* || die "doins failed"
114
115 if use doc ; then
116 einfo "Installing documentation"
117 dohtml -r docs/api/ docs/website/ || die "dohtml failed"
118 fi
119
120 insinto /etc/${PN}
121 doins config/* "${FILESDIR}/vhost-example" \
122 || die "newins failed"
123
124 webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt"
125 webapp_src_install
126
127 fperms +x "${MY_SQLSCRIPTSDIR}/create-database.sh"
128 fperms +x "${MY_SQLSCRIPTSDIR}/update-davical-database"
129 }