1 |
grobian 14/06/06 18:37:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: baikal-0.2.7.ebuild |
5 |
Log: |
6 |
Version bump (bug #511956) and fix possibly invalid chown, bug #468508 |
7 |
|
8 |
(Portage version: HEAD/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 www-apps/baikal/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/baikal/ChangeLog?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/baikal/ChangeLog?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/baikal/ChangeLog?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/baikal/ChangeLog,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- ChangeLog 20 Apr 2013 15:23:34 -0000 1.2 |
24 |
+++ ChangeLog 6 Jun 2014 18:37:10 -0000 1.3 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for www-apps/baikal |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/baikal/ChangeLog,v 1.2 2013/04/20 15:23:34 grobian Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/baikal/ChangeLog,v 1.3 2014/06/06 18:37:10 grobian Exp $ |
31 |
+ |
32 |
+*baikal-0.2.7 (06 Jun 2014) |
33 |
+ |
34 |
+ 06 Jun 2014; Fabian Groffen <grobian@g.o> +baikal-0.2.7.ebuild, |
35 |
+ files/postinstall-en.txt: |
36 |
+ Version bump (bug #511956) and fix possibly invalid chown, bug #468508 |
37 |
|
38 |
20 Apr 2013; Fabian Groffen <grobian@g.o> +files/postinstall-en.txt, |
39 |
baikal-0.2.4.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 www-apps/baikal/baikal-0.2.7.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/baikal/baikal-0.2.7.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/baikal/baikal-0.2.7.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: baikal-0.2.7.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/www-apps/baikal/baikal-0.2.7.ebuild,v 1.1 2014/06/06 18:37:10 grobian Exp $ |
53 |
|
54 |
EAPI="5" |
55 |
|
56 |
inherit depend.php webapp |
57 |
|
58 |
DESCRIPTION="Lightweight CalDAV+CardDAV server" |
59 |
HOMEPAGE="http://baikal-server.com/" |
60 |
SRC_URI="http://baikal-server.com/get/${PN}-regular-${PV}.tgz" |
61 |
|
62 |
LICENSE="GPL-3" |
63 |
KEYWORDS="~amd64" |
64 |
IUSE="+mysql sqlite" |
65 |
REQUIRED_USE="|| ( mysql sqlite )" |
66 |
|
67 |
RDEPEND=">=dev-lang/php-5.3[pdo,xml,mysql?,sqlite?] |
68 |
mysql? ( virtual/mysql ) |
69 |
sqlite? ( dev-db/sqlite ) |
70 |
virtual/httpd-php" |
71 |
|
72 |
need_php5 |
73 |
need_httpd |
74 |
|
75 |
S=${WORKDIR}/${PN}-regular |
76 |
|
77 |
src_install() { |
78 |
webapp_src_preinst |
79 |
|
80 |
dodoc-php *.md || die "dodoc failed" |
81 |
|
82 |
einfo "Installing web files" |
83 |
insinto "${MY_HTDOCSDIR}" |
84 |
doins -r html/* html/.htaccess Core vendor || die "doins failed" |
85 |
|
86 |
einfo "Setting up container for configuration" |
87 |
insinto /etc/${PN} |
88 |
doins Specific/.htaccess || die "doins failed" |
89 |
|
90 |
einfo "Fixing symlinks" |
91 |
local link target |
92 |
find "${D}${MY_HTDOCSDIR}" -type l | while read link ; do |
93 |
target=$(readlink "${link}") |
94 |
target=${target/..\/Core/Core} |
95 |
rm "${link}" && ln -s "${target}" "${link}" |
96 |
done |
97 |
dosym /etc/${PN} "${MY_HTDOCSDIR}"/Specific |
98 |
dosym . "${MY_HTDOCSDIR}"/html |
99 |
|
100 |
webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt" |
101 |
webapp_src_install |
102 |
|
103 |
if has_version www-servers/apache ; then |
104 |
fowners -R apache:apache /etc/${PN} |
105 |
else |
106 |
einfo "/etc/${PN} must be owned by the webserver user for baikal" |
107 |
fi |
108 |
} |