Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 46833 | Differences between
and this patch

Collapse All | Expand All

(-)old/files/lighttpd-1.1.8-gentoo.diff (-2 / +2 lines)
Lines 9-15 Link Here
9
 
9
 
10
 ## where to send error-messages to
10
 ## where to send error-messages to
11
-server.errorlog            = "/www/logs/lighttpd.error.log"
11
-server.errorlog            = "/www/logs/lighttpd.error.log"
12
+server.errorlog            = "/var/logs/lighttpd/error.log"
12
+server.errorlog            = "/var/log/lighttpd/error.log"
13
 
13
 
14
 # files to check for if .../ is requested
14
 # files to check for if .../ is requested
15
 server.indexfiles          = ( "index.php", "index.html", 
15
 server.indexfiles          = ( "index.php", "index.html", 
Lines 18-24 Link Here
18
 
18
 
19
 #### accesslog module
19
 #### accesslog module
20
-accesslog.filename          = "/www/logs/access.log"
20
-accesslog.filename          = "/www/logs/access.log"
21
+accesslog.filename          = "/var/logs/lighttpd/access.log"
21
+accesslog.filename          = "/var/log/lighttpd/access.log"
22
 
22
 
23
 ## deny access the file-extensions
23
 ## deny access the file-extensions
24
 #
24
 #
(-)old/lighttpd-1.1.8.ebuild (-5 / +15 lines)
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
}

Return to bug 46833