Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 55049
Collapse All | Expand All

(-)old/lighttpd-1.2.2.ebuild (-7 / +5 lines)
Lines 11-17 Link Here
11
LICENSE="QPL-1.0"
11
LICENSE="QPL-1.0"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="~x86"
13
KEYWORDS="~x86"
14
IUSE="mysql ssl php"
14
IUSE="mysql ssl php ldap"
15
DEPEND="virtual/libc
15
DEPEND="virtual/libc
16
		>=dev-libs/libpcre-3.1
16
		>=dev-libs/libpcre-3.1
17
		>=sys-libs/zlib-1.1
17
		>=sys-libs/zlib-1.1
Lines 29-38 Link Here
29
LOG_DIR="/var/log/lighttpd/"
29
LOG_DIR="/var/log/lighttpd/"
30
30
31
pkg_setup() {
31
pkg_setup() {
32
	if ! grep -q ^lighttpd: /etc/passwd ; then
32
	enewuser lighttpd -1 /bin/false ${LIGHTTPD_DIR} \
33
		useradd  -g nofiles -s /bin/false -d ${LIGHTTPD_DIR} \
33
		|| die "problem adding user lighttpd"
34
			-c "lighttpd" lighttpd || die "problem adding user lighttpd"
35
	fi
36
}
34
}
37
35
38
src_unpack() {
36
src_unpack() {
Lines 63-70 Link Here
63
	newdoc doc/lighttpd.conf lighttpd.conf.example
61
	newdoc doc/lighttpd.conf lighttpd.conf.example
64
	dodoc doc/fastcgi.txt doc/authentification.txt
62
	dodoc doc/fastcgi.txt doc/authentification.txt
65
	insinto /etc;  doins doc/lighttpd.conf
63
	insinto /etc;  doins doc/lighttpd.conf
66
	exeinto /etc/init.d;   newexe ${FILESDIR}/${PN}-${PV}.initd ${PN}
64
	exeinto /etc/init.d;   newexe ${FILESDIR}/${PN}-1.2.2.initd ${PN}
67
	dodir ${LIGHTTPD_DIR} ${LOG_DIR}
65
	keepdir ${LIGHTTPD_DIR} ${LOG_DIR}
68
	chown lighttpd:root ${D}/${LOG_DIR}
66
	chown lighttpd:root ${D}/${LOG_DIR}
69
}
67
}
70
68

Return to bug 55049