diff options
-rw-r--r-- | www-servers/lighttpd/ChangeLog | 7 | ||||
-rw-r--r-- | www-servers/lighttpd/Manifest | 14 | ||||
-rw-r--r-- | www-servers/lighttpd/files/digest-lighttpd-1.3.5 | 1 | ||||
-rw-r--r-- | www-servers/lighttpd/lighttpd-1.3.5.ebuild | 81 |
4 files changed, 91 insertions, 12 deletions
diff --git a/www-servers/lighttpd/ChangeLog b/www-servers/lighttpd/ChangeLog index b5d8d628bc10..075a0135230e 100644 --- a/www-servers/lighttpd/ChangeLog +++ b/www-servers/lighttpd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-servers/lighttpd # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/ChangeLog,v 1.5 2004/09/28 02:01:03 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/ChangeLog,v 1.6 2004/11/02 20:22:44 stuart Exp $ + +*lighttpd-1.3.5 (02 Nov 2004) + + 02 Nov 2004; Stuart Herbert <stuart@gentoo.org> +lighttpd-1.3.5.ebuild: + Version bump; stable on x86 28 Sep 2004; Sven Wegener <swegener@gentoo.org> files/lighttpd-1.2.2.initd, files/lighttpd.initd: diff --git a/www-servers/lighttpd/Manifest b/www-servers/lighttpd/Manifest index 0ba17a58ac64..20d2ed49e0ee 100644 --- a/www-servers/lighttpd/Manifest +++ b/www-servers/lighttpd/Manifest @@ -1,11 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 d2c8641ff503b78d57fabc8c44b9c9a1 ChangeLog 2846 MD5 3e1d889652f2bbbe1a7213102f9e27ac lighttpd-1.1.8-r1.ebuild 1924 MD5 5667b4c4ad06685e3896ed5938557680 lighttpd-1.1.8.ebuild 1921 MD5 fae1d9e209a9d8a9179bcc689184910f lighttpd-1.2.2.ebuild 2046 MD5 4defd726d2b03decc5b7ff21b0aac1a3 metadata.xml 225 -MD5 71c7511a014e534c5e5d66e6c37bcf47 ChangeLog 2710 +MD5 c2ab8f7ceff38ffbd567b33edadf9e32 lighttpd-1.3.5.ebuild 2505 MD5 eb94c0fc2149e2543beb50e93058de99 files/digest-lighttpd-1.1.8 66 MD5 eb94c0fc2149e2543beb50e93058de99 files/digest-lighttpd-1.1.8-r1 66 MD5 0d9277bbfb98755640329afa81c8bee2 files/digest-lighttpd-1.2.2 66 @@ -13,10 +11,4 @@ MD5 352e2fac9cb73bdae7672f977b044894 files/lighttpd-1.1.8-gentoo.diff 1301 MD5 32569e20d3ecdd51ac0534cc85d52354 files/lighttpd-1.2.2-php.diff 1184 MD5 dcfa5883c3433b49204b6b4de25a9a3c files/lighttpd-1.2.2.initd 800 MD5 0b20460d5762811ccb8312c2666107e6 files/lighttpd.initd 635 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.9.10 (GNU/Linux) - -iD8DBQFBWMXvI1lqEGTUzyQRAuZEAJ4sVeI65Xi9dkN10oQGhamzSSDfqQCfcVIV -jYNG4OytU56He7vvu/RaC18= -=oV27 ------END PGP SIGNATURE----- +MD5 0cf0d92da4da90a9fc4f1b9a58b4eb1e files/digest-lighttpd-1.3.5 66 diff --git a/www-servers/lighttpd/files/digest-lighttpd-1.3.5 b/www-servers/lighttpd/files/digest-lighttpd-1.3.5 new file mode 100644 index 000000000000..be21c3d9ca52 --- /dev/null +++ b/www-servers/lighttpd/files/digest-lighttpd-1.3.5 @@ -0,0 +1 @@ +MD5 15afeba95fa157e3bdedd9a1a22358a0 lighttpd-1.3.5.tar.gz 628719 diff --git a/www-servers/lighttpd/lighttpd-1.3.5.ebuild b/www-servers/lighttpd/lighttpd-1.3.5.ebuild new file mode 100644 index 000000000000..5f4dbf960286 --- /dev/null +++ b/www-servers/lighttpd/lighttpd-1.3.5.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/lighttpd-1.3.5.ebuild,v 1.1 2004/11/02 20:22:44 stuart Exp $ + +inherit eutils confutils + +URI_ROOT="http://jan.kneschke.de/projects/lighttpd/download/" +DESCRIPTION="lightweight high-performance web server" +HOMEPAGE="http://jan.kneschke.de/projects/lighttpd/" +SRC_URI="$URI_ROOT/${P}.tar.gz" +LICENSE="QPL-1.0" +SLOT="0" +KEYWORDS="x86 ~ppc" +IUSE="mysql ssl php modchat modcache modlocalizer xattr ldap" +DEPEND="virtual/libc + >=dev-libs/libpcre-3.1 + >=sys-libs/zlib-1.1 + >=sys-devel/libtool-1.4 + >=dev-libs/localizer-0.3.3 + mysql? ( >=dev-db/mysql-4.0.0 ) + ssl? ( >=dev-libs/openssl-0.9.7 ) + php? ( >=dev-php/php-cgi-4.3.0 net-www/spawn-fcgi )" +RDEPEND=">=sys-libs/zlib-1.1 + >=sys-devel/libtool-1.4 + mysql? ( >=dev-db/mysql-4.0.0 ) + ssl? ( >=dev-libs/openssl-0.9.7 )" +S=${WORKDIR}/${P} +LIGHTTPD_DIR="/var/www/localhost/htdocs/" +LOG_DIR="/var/log/lighttpd/" + +pkg_setup() { + if ! grep -q ^lighttpd: /etc/passwd ; then + useradd -g nofiles -s /bin/false -d ${LIGHTTPD_DIR} \ + -c "lighttpd" lighttpd || die "problem adding user lighttpd" + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PN}-1.1.8-gentoo.diff + if useq php ; then + epatch ${FILESDIR}/${PN}-1.2.2-php.diff + fi +} + +src_compile() { + local my_conf + + my_conf="--libdir=/usr/lib/${PN}" + # extension USE flag shared? + # ----------------------------------------------------------------- + enable_extension_enable mod-chat modchat 0 + enable_extension_enable mod-cache modcache 0 + enable_extension_enable mod-localizer modlocalizer 0 + enable_extension_enable attr xattr 0 + enable_extension_enable ldap ldap 0 + enable_extension_enable openssl ssl 0 + enable_extension_enable mysql mysql 0 + # ----------------------------------------------------------------- + # extension USE flag shared? + + econf $my_conf || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die + dodoc README COPYING + newdoc doc/lighttpd.conf lighttpd.conf.example + dodoc doc/fastcgi.txt doc/authentification.txt + insinto /etc; doins doc/lighttpd.conf + exeinto /etc/init.d; newexe ${FILESDIR}/${PN}-${PV}.initd ${PN} + dodir ${LIGHTTPD_DIR} ${LOG_DIR} + chown lighttpd:root ${D}/${LOG_DIR} +} + +pkg_postinst () { + einfo "lighttpd.conf has moved from /etc/conf.d to /etc" +} |