Lines 12-18
Link Here
|
12 |
|
12 |
|
13 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
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" |
16 |
IUSE="" |
16 |
IUSE="" |
17 |
|
17 |
|
18 |
DEPEND="" |
18 |
DEPEND="" |
Lines 22-27
Link Here
|
22 |
cd "${S}" |
22 |
cd "${S}" |
23 |
epatch "${FILESDIR}"/${P}-apache-move.patch |
23 |
epatch "${FILESDIR}"/${P}-apache-move.patch |
24 |
epatch "${FILESDIR}"/${P}-baselayout2.patch |
24 |
epatch "${FILESDIR}"/${P}-baselayout2.patch |
|
|
25 |
test -z "${EPREFIX}" || epatch "${FILESDIR}"/${P}-prefixportage.patch |
26 |
eprefixify \ |
27 |
WebappConfig/config.py \ |
28 |
WebappConfig/db.py \ |
29 |
WebappConfig/sandbox.py \ |
30 |
WebappConfig/wrapper.py \ |
31 |
sbin/webapp-cleaner |
25 |
} |
32 |
} |
26 |
|
33 |
|
27 |
src_install() { |
34 |
src_install() { |
Lines 31-37
Link Here
|
31 |
# distutils does not provide for specifying two different script install |
38 |
# distutils does not provide for specifying two different script install |
32 |
# locations. Since we only install one script here the following should |
39 |
# locations. Since we only install one script here the following should |
33 |
# be ok |
40 |
# be ok |
34 |
distutils_src_install --install-scripts="/usr/sbin" |
41 |
distutils_src_install --install-scripts="${EPREFIX}/usr/sbin" |
35 |
|
42 |
|
36 |
dodir /etc/vhosts |
43 |
dodir /etc/vhosts |
37 |
cp config/webapp-config ${ED}/etc/vhosts/ |
44 |
cp config/webapp-config ${ED}/etc/vhosts/ |
Lines 62-66
Link Here
|
62 |
elog "config files in /etc/vhosts/webapp-config before you emerge any" |
69 |
elog "config files in /etc/vhosts/webapp-config before you emerge any" |
63 |
elog "packages that use webapp-config." |
70 |
elog "packages that use webapp-config." |
64 |
echo |
71 |
echo |
|
|
72 |
if test ! -z "${EPREFIX}"; then |
73 |
elog "If you receive error messages similar to the following..." |
74 |
elog "'You did specify an invalid group value for the variable \"vhost_default_gid\"'" |
75 |
elog "... then you have to edit ${EPREFIX}/etc/vhosts/webapp-config to" |
76 |
elog "contain only user and group names present on the system." |
77 |
echo |
78 |
elog "If you receive error messages similar to..." |
79 |
elog "Fatal error: The user for the server type \"Apache\" does not exist!" |
80 |
elog "...you need to create the user/group accounts for the webserver." |
81 |
elog "The dscl and niload commands assist you on the command line in doing this." |
82 |
echo |
83 |
fi |
65 |
epause 5 |
84 |
epause 5 |
66 |
} |
85 |
} |