pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Initial import of lighttpd-1.4.3 as www/lighttpd.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a441a8a6ad3
branches:  trunk
changeset: 498841:1a441a8a6ad3
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Sep 04 06:37:05 2005 +0000

description:
Initial import of lighttpd-1.4.3 as www/lighttpd.

LightTPD is a secure, fast, compliant, and very flexible web-server
which designed and optimized for for high-performance environments.
With a small memory footprint compared to other webservers, effective
management of the CPU load, and advanced feature set (FastCGI, CGI,
Auth, Output-Compression, URL-Rewriting and many more), LightTPD is
the perfect solution for every server that is suffering load problems.

This is loosely based on the lighttpd package from pkgsrc-wip by
Piotr Stolc <socrtp%soclab.eu.org@localhost>.

diffstat:

 doc/CHANGES                    |   3 +-
 www/lighttpd/DESCR             |   6 +++
 www/lighttpd/Makefile          |  45 +++++++++++++++++++++++
 www/lighttpd/PLIST             |  81 +++++++++++++++++++++++++++++++++++++++++
 www/lighttpd/distinfo          |   6 +++
 www/lighttpd/files/lighttpd.sh |  19 +++++++++
 www/lighttpd/options.mk        |  82 ++++++++++++++++++++++++++++++++++++++++++
 www/lighttpd/patches/patch-aa  |  13 ++++++
 8 files changed, 254 insertions(+), 1 deletions(-)

diffs (294 lines):

diff -r c19ef85e2055 -r 1a441a8a6ad3 doc/CHANGES
--- a/doc/CHANGES       Sun Sep 04 06:31:07 2005 +0000
+++ b/doc/CHANGES       Sun Sep 04 06:37:05 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.11018 2005/09/04 06:31:07 taca Exp $
+$NetBSD: CHANGES,v 1.11019 2005/09/04 06:39:23 jlam Exp $
 
 Changes to the packages collection and infrastructure in 2005:
 
@@ -3894,3 +3894,4 @@
        Updated www/squid to 2.5.10nb2 [taca 2005-09-04]
        Updated wm/windowlab to 1.32 [xtraeme 2005-09-04]
        Updated databases/ruby-mysql to 2.7 [taca 2005-09-04]
+       Added www/lighttpd version 1.4.3 [jlam 2005-09-04]
diff -r c19ef85e2055 -r 1a441a8a6ad3 www/lighttpd/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/lighttpd/DESCR        Sun Sep 04 06:37:05 2005 +0000
@@ -0,0 +1,6 @@
+LightTPD is a secure, fast, compliant, and very flexible web-server
+which designed and optimized for for high-performance environments.
+With a small memory footprint compared to other webservers, effective
+management of the CPU load, and advanced feature set (FastCGI, CGI,
+Auth, Output-Compression, URL-Rewriting and many more), LightTPD is
+the perfect solution for every server that is suffering load problems.
diff -r c19ef85e2055 -r 1a441a8a6ad3 www/lighttpd/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/lighttpd/Makefile     Sun Sep 04 06:37:05 2005 +0000
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/09/04 06:37:05 jlam Exp $
+
+DISTNAME=      lighttpd-1.4.3
+CATEGORIES=    www
+MASTER_SITES=  http://www.lighttpd.net/download/
+
+MAINTAINER=    tech-pkg%NetBSD.org@localhost
+HOMEPAGE=      http://www.lighttpd.net/
+COMMENT=       fast, light-footprint HTTP server
+
+USE_LIBTOOL=           yes
+SHLIBTOOL_OVERRIDE=    libtool
+
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --libdir=${PREFIX}/lib/${PKGBASE}
+CONFIGURE_ARGS+=       --with-pcre
+
+DOCDIR=                        ${PREFIX}/share/doc/${PKGBASE}
+EGDIR=                 ${PREFIX}/share/examples/${PKGBASE}
+PKG_SYSCONFSUBDIR=     ${PKGBASE}
+
+USE_PKGINSTALL=                yes
+RCD_SCRIPTS=           lighttpd
+CONF_FILES=            ${EGDIR}/lighttpd.conf ${PKG_SYSCONFDIR}/lighttpd.conf
+
+.include "options.mk"
+
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+
+post-install:
+       ${INSTALL_DATA_DIR} ${DOCDIR}
+       ${INSTALL_DATA_DIR} ${EGDIR}
+       cd ${WRKSRC}; for f in doc/*.css doc/*.dot doc/*.txt; do        \
+               ${INSTALL_DATA} $$f ${DOCDIR};                          \
+       done
+       for f in AUTHORS COPYING ChangeLog NEWS README; do              \
+               ${INSTALL_DATA} ${WRKSRC}/$$f ${DOCDIR};                \
+       done
+       for f in lighttpd.conf rrdtool-graph.sh spawn-php.sh; do        \
+               ${INSTALL_DATA} ${WRKSRC}/doc/$$f ${EGDIR};             \
+       done
+
+.include "../../mk/bsd.pkg.mk"
diff -r c19ef85e2055 -r 1a441a8a6ad3 www/lighttpd/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/lighttpd/PLIST        Sun Sep 04 06:37:05 2005 +0000
@@ -0,0 +1,81 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/09/04 06:37:05 jlam Exp $
+bin/spawn-fcgi
+lib/lighttpd/mod_access.la
+lib/lighttpd/mod_accesslog.la
+lib/lighttpd/mod_alias.la
+lib/lighttpd/mod_auth.la
+lib/lighttpd/mod_cgi.la
+lib/lighttpd/mod_cml.la
+lib/lighttpd/mod_compress.la
+lib/lighttpd/mod_dirlisting.la
+lib/lighttpd/mod_evhost.la
+lib/lighttpd/mod_expire.la
+lib/lighttpd/mod_fastcgi.la
+lib/lighttpd/mod_indexfile.la
+lib/lighttpd/mod_mysql_vhost.la
+lib/lighttpd/mod_proxy.la
+lib/lighttpd/mod_redirect.la
+lib/lighttpd/mod_rewrite.la
+lib/lighttpd/mod_rrdtool.la
+lib/lighttpd/mod_scgi.la
+lib/lighttpd/mod_secdownload.la
+lib/lighttpd/mod_setenv.la
+lib/lighttpd/mod_simple_vhost.la
+lib/lighttpd/mod_ssi.la
+lib/lighttpd/mod_staticfile.la
+lib/lighttpd/mod_status.la
+lib/lighttpd/mod_trigger_b4_dl.la
+lib/lighttpd/mod_userdir.la
+lib/lighttpd/mod_usertrack.la
+lib/lighttpd/mod_webdav.la
+man/man1/lighttpd.1
+man/man1/spawn-fcgi.1
+sbin/lighttpd
+share/doc/lighttpd/AUTHORS
+share/doc/lighttpd/COPYING
+share/doc/lighttpd/ChangeLog
+share/doc/lighttpd/NEWS
+share/doc/lighttpd/README
+share/doc/lighttpd/access.txt
+share/doc/lighttpd/accesslog.txt
+share/doc/lighttpd/alias.txt
+share/doc/lighttpd/authentication.txt
+share/doc/lighttpd/cgi.txt
+share/doc/lighttpd/cml.txt
+share/doc/lighttpd/compress.txt
+share/doc/lighttpd/configuration.txt
+share/doc/lighttpd/fastcgi-state.dot
+share/doc/lighttpd/fastcgi-state.txt
+share/doc/lighttpd/fastcgi.txt
+share/doc/lighttpd/features.txt
+share/doc/lighttpd/mysqlvhost.txt
+share/doc/lighttpd/newstyle.css
+share/doc/lighttpd/oldstyle.css
+share/doc/lighttpd/performance.txt
+share/doc/lighttpd/plugins.txt
+share/doc/lighttpd/proxy.txt
+share/doc/lighttpd/redirect.txt
+share/doc/lighttpd/rewrite.txt
+share/doc/lighttpd/rrdtool.txt
+share/doc/lighttpd/scgi.txt
+share/doc/lighttpd/secdownload.txt
+share/doc/lighttpd/security.txt
+share/doc/lighttpd/setenv.txt
+share/doc/lighttpd/simple-vhost.txt
+share/doc/lighttpd/skeleton.txt
+share/doc/lighttpd/ssi.txt
+share/doc/lighttpd/ssl.txt
+share/doc/lighttpd/state.dot
+share/doc/lighttpd/state.txt
+share/doc/lighttpd/status.txt
+share/doc/lighttpd/traffic-shaping.txt
+share/doc/lighttpd/trigger_b4_dl.txt
+share/doc/lighttpd/userdir.txt
+share/doc/lighttpd/webdav.txt
+share/examples/lighttpd/lighttpd.conf
+share/examples/lighttpd/rrdtool-graph.sh
+share/examples/lighttpd/spawn-php.sh
+share/examples/rc.d/lighttpd
+@dirrm share/examples/lighttpd
+@dirrm share/doc/lighttpd
+@dirrm lib/lighttpd
diff -r c19ef85e2055 -r 1a441a8a6ad3 www/lighttpd/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/lighttpd/distinfo     Sun Sep 04 06:37:05 2005 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/09/04 06:37:05 jlam Exp $
+
+SHA1 (lighttpd-1.4.3.tar.gz) = 67bff414ff2c2ac025565330b57514980adf734c
+RMD160 (lighttpd-1.4.3.tar.gz) = aac19b2576f8c30c446013d27e2bcc8513a19cbc
+Size (lighttpd-1.4.3.tar.gz) = 765903 bytes
+SHA1 (patch-aa) = eecd1782e720028b112389322ecdea2f789d14f2
diff -r c19ef85e2055 -r 1a441a8a6ad3 www/lighttpd/files/lighttpd.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/lighttpd/files/lighttpd.sh    Sun Sep 04 06:37:05 2005 +0000
@@ -0,0 +1,19 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: lighttpd.sh,v 1.1.1.1 2005/09/04 06:37:05 jlam Exp $
+#
+# PROVIDE: lighttpd
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="lighttpd"
+rcvar=$name
+command="@PREFIX@/sbin/${name}"
+conf_file="@PKG_SYSCONFDIR@/${name}.conf"
+required_files="${conf_file}"
+extra_commands="reload"
+command_args="-f ${conf_file}"
+
+load_rc_config $name
+run_rc_command $1
diff -r c19ef85e2055 -r 1a441a8a6ad3 www/lighttpd/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/lighttpd/options.mk   Sun Sep 04 06:37:05 2005 +0000
@@ -0,0 +1,82 @@
+# $NetBSD: options.mk,v 1.1.1.1 2005/09/04 06:37:05 jlam Exp $
+
+PKG_OPTIONS_VAR =       PKG_OPTIONS.lighttpd
+PKG_SUPPORTED_OPTIONS=  bzip fam gdbm inet6 ldap lua mysql ssl
+PKG_SUGGESTED_OPTIONS= inet6 ssl
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Allow using bzip as a compression method in the "compress" module.
+###
+.if !empty(PKG_OPTIONS:Mbzip)
+.  include "../../archivers/bzip2/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-bzip2
+.endif
+
+###
+### Use FAM to optimize number of stat() syscalls used.
+###
+.if !empty(PKG_OPTIONS:Mfam)
+.  include "../../mk/fam.buildlink3.mk"
+CONFIGURE_ARGS+=       --with-fam
+.endif
+
+###
+### Support using GDBM for storage in the "trigger before download" module.
+###
+.if !empty(PKG_OPTIONS:Mgdbm)
+.  include "../../databases/gdbm/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-gdbm
+.endif
+
+###
+### IPv6 support.
+###
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+=       --enable-ipv6
+.else
+CONFIGURE_ARGS+=       --disable-ipv6
+.endif
+
+###
+### Allow using LDAP for "basic" authentication.
+###
+.if !empty(PKG_OPTIONS:Mldap)
+.  include "../../databases/openldap/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-ldap
+.endif
+
+###
+### Support enabling the Cache Meta Language module with the Lua engine.
+###
+.if !empty(PKG_OPTIONS:Mlua)
+.  include "../../lang/lua/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-lua
+.endif
+
+###
+### Support using memcached as an in-memory caching system for the
+### "trigger before download" and CML modules.
+###
+#.if !empty(PKG_OPTIONS:Mmemcache)
+#.  include "../../devel/libmemcache/buildlink3.mk"
+#CONFIGURE_ARGS+=      --with-memcache
+#.endif
+
+###
+### Allow using MySQL for virtual host configuration.
+###
+.if !empty(PKG_OPTIONS:Mmysql)
+.  include "../../mk/mysql.buildlink3.mk"
+MYSQL_CONFIG?=         ${BUILDLINK_PREFIX.mysql-client}/bin/mysql_config
+CONFIGURE_ARGS+=       --with-mysql=${MYSQL_CONFIG}
+.endif
+
+###
+### HTTPS support
+###
+.if !empty(PKG_OPTIONS:Mssl)
+.  include "../../security/openssl/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-openssl=${SSLBASE}
+.endif
diff -r c19ef85e2055 -r 1a441a8a6ad3 www/lighttpd/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/lighttpd/patches/patch-aa     Sun Sep 04 06:37:05 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/09/04 06:37:05 jlam Exp $
+
+--- configure.orig     Wed Aug 31 11:33:24 2005
++++ configure
+@@ -26112,7 +26112,7 @@ if test `eval echo '${'$as_ac_Header'}'`
+ #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+ _ACEOF
+ 
+-                 LUA_LIB=-llua -llualib
++                 LUA_LIB="-llua -llualib"
+ 
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_LUA 1



Home | Main Index | Thread Index | Old Index