Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/webapp-config-1.50.16-r2.ebuild,v 1.1 2007/09/09 21:11:40 hollow Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/webapp-config-1.50.16-r2.ebuild,v 1.1 2007/09/09 21:11:40 hollow Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI="prefix" |
6 |
|
5 |
inherit eutils distutils |
7 |
inherit eutils distutils |
6 |
|
8 |
|
7 |
DESCRIPTION="Gentoo's installer for web-based applications" |
9 |
DESCRIPTION="Gentoo's installer for web-based applications" |
Lines 10-16
Link Here
|
10 |
|
12 |
|
11 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
12 |
SLOT="0" |
14 |
SLOT="0" |
13 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
15 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-macos" |
14 |
IUSE="" |
16 |
IUSE="" |
15 |
|
17 |
|
16 |
DEPEND="" |
18 |
DEPEND="" |
Lines 20-25
Link Here
|
20 |
cd "${S}" |
22 |
cd "${S}" |
21 |
epatch "${FILESDIR}"/${P}-apache-move.patch |
23 |
epatch "${FILESDIR}"/${P}-apache-move.patch |
22 |
epatch "${FILESDIR}"/${P}-baselayout2.patch |
24 |
epatch "${FILESDIR}"/${P}-baselayout2.patch |
|
|
25 |
test -z "$EPREFIX" || epatch "${FILESDIR}"/${P}-prefixportage.patch |
23 |
} |
26 |
} |
24 |
|
27 |
|
25 |
src_install() { |
28 |
src_install() { |
Lines 29-38
Link Here
|
29 |
# distutils does not provide for specifying two different script install |
32 |
# distutils does not provide for specifying two different script install |
30 |
# locations. Since we only install one script here the following should |
33 |
# locations. Since we only install one script here the following should |
31 |
# be ok |
34 |
# be ok |
32 |
distutils_src_install --install-scripts="/usr/sbin" |
35 |
distutils_src_install --install-scripts="$EPREFIX/usr/sbin" |
33 |
|
36 |
|
34 |
dodir /etc/vhosts |
37 |
dodir /etc/vhosts |
35 |
cp config/webapp-config ${D}/etc/vhosts/ |
38 |
cp config/webapp-config ${ED}/etc/vhosts/ |
36 |
keepdir /usr/share/webapps |
39 |
keepdir /usr/share/webapps |
37 |
keepdir /var/db/webapps |
40 |
keepdir /var/db/webapps |
38 |
dodoc examples/phpmyadmin-2.5.4-r1.ebuild AUTHORS.txt TODO.txt CHANGES.txt examples/postinstall-en.txt |
41 |
dodoc examples/phpmyadmin-2.5.4-r1.ebuild AUTHORS.txt TODO.txt CHANGES.txt examples/postinstall-en.txt |
Lines 60-64
Link Here
|
60 |
elog "config files in /etc/vhosts/webapp-config before you emerge any" |
63 |
elog "config files in /etc/vhosts/webapp-config before you emerge any" |
61 |
elog "packages that use webapp-config." |
64 |
elog "packages that use webapp-config." |
62 |
echo |
65 |
echo |
|
|
66 |
if test ! -z "$EPREFIX"; then |
67 |
elog "If you receive error messages similar to the following..." |
68 |
elog "'You did specify an invalid group value for the variable \"vhost_default_gid\"'" |
69 |
elog "... then you have to edit $EPREFIX/etc/vhosts/webapp-config to" |
70 |
elog "contain only user and group names present on the system." |
71 |
echo |
72 |
elog "If you receive error messages similar to..." |
73 |
elog "Fatal error: The user for the server type \"Apache\" does not exist!" |
74 |
elog "...you need to create the user/group accounts for the webserver." |
75 |
elog "The dscl and niload commands assist you on the command line in doing this." |
76 |
echo |
77 |
fi |
63 |
epause 5 |
78 |
epause 5 |
64 |
} |
79 |
} |