--- old/files/lighttpd-1.1.8-gentoo.diff 2004-04-23 19:30:26.000000000 +0200 +++ new/files/lighttpd-1.1.8-gentoo.diff 2004-04-23 22:07:45.135594776 +0200 @@ -9,7 +9,7 @@ ## where to send error-messages to -server.errorlog = "/www/logs/lighttpd.error.log" -+server.errorlog = "/var/logs/lighttpd/error.log" ++server.errorlog = "/var/log/lighttpd/error.log" # files to check for if .../ is requested server.indexfiles = ( "index.php", "index.html", @@ -18,7 +18,7 @@ #### accesslog module -accesslog.filename = "/www/logs/access.log" -+accesslog.filename = "/var/logs/lighttpd/access.log" ++accesslog.filename = "/var/log/lighttpd/access.log" ## deny access the file-extensions # --- old/lighttpd-1.1.8.ebuild 2004-04-23 19:30:26.000000000 +0200 +++ new/lighttpd/lighttpd-1.1.8.ebuild 2004-04-23 22:33:11.397567688 +0200 @@ -12,11 +12,16 @@ DEPEND="virtual/glibc >=dev-libs/libpcre-3.1 >=sys-libs/zlib-1.1 - >=sys-devel/libtool-1.4" + >=sys-devel/libtool-1.4 + mysql? ( >=dev-db/mysql-4.0.0 ) + ssl? ( >=dev-libs/openssl-0.9.7 )" RDEPEND=">=sys-libs/zlib-1.1 - >=sys-devel/libtool-1.4" + >=sys-devel/libtool-1.4 + mysql? ( >=dev-db/mysql-4.0.0 ) + ssl? ( >=dev-libs/openssl-0.9.7 )" S=${WORKDIR}/${P} -LIGHTTPD_DIR="/home/lighttpd" +LIGHTTPD_DIR="/var/www/localhost/htdocs/" +LOG_DIR="/var/log/lighttpd/" pkg_setup() { if ! grep -q ^lighttpd: /etc/passwd ; then @@ -45,6 +50,11 @@ dodoc doc/fastcgi.txt doc/authentification.txt insinto /etc/conf.d/; doins doc/lighttpd.conf exeinto /etc/init.d; newexe ${FILESDIR}/lighttpd.initd lighttpd - dodir ${LIGHTTPD_DIR} ${LIGHTTPD_DIR}/logs - chown lighttpd:root ${D}/${LIGHTTPD_DIR} ${D}/${LIGHTTPD_DIR}/logs + dodir ${LIGHTTPD_DIR} ${LOG_DIR} + chown lighttpd:root ${D}/${LOG_DIR} +} + +pkg_postinst() { + einfo "In order to use fast-cgi for php you have to emerge dev-php/php-cgi and" + einfo "please read /usr/share/doc/lighttpd-1.1.8/fastcgi.txt.gz for more information" }