Lines 12-22
Link Here
|
12 |
DEPEND="virtual/glibc |
12 |
DEPEND="virtual/glibc |
13 |
>=dev-libs/libpcre-3.1 |
13 |
>=dev-libs/libpcre-3.1 |
14 |
>=sys-libs/zlib-1.1 |
14 |
>=sys-libs/zlib-1.1 |
15 |
>=sys-devel/libtool-1.4" |
15 |
>=sys-devel/libtool-1.4 |
|
|
16 |
mysql? ( >=dev-db/mysql-4.0.0 ) |
17 |
ssl? ( >=dev-libs/openssl-0.9.7 )" |
16 |
RDEPEND=">=sys-libs/zlib-1.1 |
18 |
RDEPEND=">=sys-libs/zlib-1.1 |
17 |
>=sys-devel/libtool-1.4" |
19 |
>=sys-devel/libtool-1.4 |
|
|
20 |
mysql? ( >=dev-db/mysql-4.0.0 ) |
21 |
ssl? ( >=dev-libs/openssl-0.9.7 )" |
18 |
S=${WORKDIR}/${P} |
22 |
S=${WORKDIR}/${P} |
19 |
LIGHTTPD_DIR="/home/lighttpd" |
23 |
LIGHTTPD_DIR="/var/www/localhost/htdocs/" |
|
|
24 |
LOG_DIR="/var/log/lighttpd/" |
20 |
|
25 |
|
21 |
pkg_setup() { |
26 |
pkg_setup() { |
22 |
if ! grep -q ^lighttpd: /etc/passwd ; then |
27 |
if ! grep -q ^lighttpd: /etc/passwd ; then |
Lines 45-50
Link Here
|
45 |
dodoc doc/fastcgi.txt doc/authentification.txt |
50 |
dodoc doc/fastcgi.txt doc/authentification.txt |
46 |
insinto /etc/conf.d/; doins doc/lighttpd.conf |
51 |
insinto /etc/conf.d/; doins doc/lighttpd.conf |
47 |
exeinto /etc/init.d; newexe ${FILESDIR}/lighttpd.initd lighttpd |
52 |
exeinto /etc/init.d; newexe ${FILESDIR}/lighttpd.initd lighttpd |
48 |
dodir ${LIGHTTPD_DIR} ${LIGHTTPD_DIR}/logs |
53 |
dodir ${LIGHTTPD_DIR} ${LOG_DIR} |
49 |
chown lighttpd:root ${D}/${LIGHTTPD_DIR} ${D}/${LIGHTTPD_DIR}/logs |
54 |
chown lighttpd:root ${D}/${LOG_DIR} |
|
|
55 |
} |
56 |
|
57 |
pkg_postinst() { |
58 |
einfo "In order to use fast-cgi for php you have to emerge dev-php/php-cgi and" |
59 |
einfo "please read /usr/share/doc/lighttpd-1.1.8/fastcgi.txt.gz for more information" |
50 |
} |
60 |
} |