1 |
a3li 10/09/29 18:33:00 |
2 |
|
3 |
Modified: horde.eclass |
4 |
Log: |
5 |
horde.eclass: Support PORTAGE_COMPRESS when pointing at docs in the postinst messages. Reorder and use less lines. |
6 |
|
7 |
Revision Changes Path |
8 |
1.38 eclass/horde.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/horde.eclass?rev=1.38&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/horde.eclass?rev=1.38&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/horde.eclass?r1=1.37&r2=1.38 |
13 |
|
14 |
Index: horde.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/horde.eclass,v |
17 |
retrieving revision 1.37 |
18 |
retrieving revision 1.38 |
19 |
diff -u -r1.37 -r1.38 |
20 |
--- horde.eclass 8 Aug 2008 13:21:56 -0000 1.37 |
21 |
+++ horde.eclass 29 Sep 2010 18:33:00 -0000 1.38 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2006 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/horde.eclass,v 1.37 2008/08/08 13:21:56 wrobel Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/horde.eclass,v 1.38 2010/09/29 18:33:00 a3li Exp $ |
27 |
# |
28 |
# Help manage the horde project http://www.horde.org/ |
29 |
# |
30 |
@@ -149,28 +149,36 @@ |
31 |
} |
32 |
|
33 |
horde_pkg_postinst() { |
34 |
- if [[ -e ${ROOT}/usr/share/doc/${PF}/INSTALL.gz ]] ; then |
35 |
- einfo "Please read /usr/share/doc/${PF}/INSTALL.gz" |
36 |
+ if [ -e ${ROOT}/usr/share/doc/${PF}/INSTALL* ] ; then |
37 |
+ elog "Please read the INSTALL file in /usr/share/doc/${PF}." |
38 |
fi |
39 |
- einfo "Before this package will work, you have to setup" |
40 |
- einfo "the configuration files. Please review the" |
41 |
- einfo "config/ subdirectory of ${HORDE_PN} in the webroot." |
42 |
+ |
43 |
+ einfo "Before this package will work, you have to setup the configuration files." |
44 |
+ einfo "Please review the config/ subdirectory of ${HORDE_PN} in the webroot." |
45 |
+ |
46 |
+ if [ -e ${ROOT}/usr/share/doc/${PF}/SECURITY* ] ; then |
47 |
+ ewarn |
48 |
+ ewarn "Users are HIGHLY recommended to consult the SECURITY guide in" |
49 |
+ ewarn "/usr/share/doc/${PF} before going into production with Horde." |
50 |
+ fi |
51 |
+ |
52 |
if [[ ${HORDE_PN} != "horde" && ${HORDE_PN} != "horde-groupware" && ${HORDE_PN} != "horde-webmail" ]] ; then |
53 |
ewarn |
54 |
- ewarn "Make sure ${HORDE_PN} is accounted for in horde's root" |
55 |
+ ewarn "Make sure ${HORDE_PN} is accounted for in Horde's root" |
56 |
ewarn " config/registry.php" |
57 |
fi |
58 |
+ |
59 |
if [[ ${EHORDE_CVS} = "true" ]] ; then |
60 |
ewarn |
61 |
ewarn "Use these CVS versions at your own risk." |
62 |
- ewarn "They tend to break things when working with" |
63 |
- ewarn "the non CVS versions of horde." |
64 |
+ ewarn "They tend to break things when working with the non CVS versions of horde." |
65 |
fi |
66 |
+ |
67 |
if use vhosts ; then |
68 |
- echo |
69 |
- ewarn "When installing horde into a vhost dir, you will" |
70 |
- ewarn "need to use the -d option so that it is installed" |
71 |
- ewarn "into the proper location." |
72 |
+ ewarn |
73 |
+ ewarn "When installing Horde into a vhost dir, you will need to use the" |
74 |
+ ewarn "-d option so that it is installed into the proper location." |
75 |
fi |
76 |
+ |
77 |
webapp_pkg_postinst |
78 |
} |