From 559f2e1ad48d1c79d6a321ff8bf61091da5f1584 Mon Sep 17 00:00:00 2001 From: brad Date: Fri, 1 Oct 2004 06:23:40 +0000 Subject: [PATCH] add lighttpd 1.3.2 -- lighttpd a secure, fast, compliant and very flexible web-server which has been optimized for high-performance environments. It has a very low memory footprint compared to other webservers and takes care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) make lighttpd the perfect webserver-software for every server that is suffering load problems. --- www/lighttpd/Makefile | 35 ++++++++++++++ www/lighttpd/distinfo | 3 ++ www/lighttpd/patches/patch-ltmain_sh | 53 ++++++++++++++++++++++ www/lighttpd/patches/patch-src_Makefile_in | 12 +++++ www/lighttpd/pkg/DESCR | 7 +++ www/lighttpd/pkg/PLIST | 43 ++++++++++++++++++ 6 files changed, 153 insertions(+) create mode 100644 www/lighttpd/Makefile create mode 100644 www/lighttpd/distinfo create mode 100644 www/lighttpd/patches/patch-ltmain_sh create mode 100644 www/lighttpd/patches/patch-src_Makefile_in create mode 100644 www/lighttpd/pkg/DESCR create mode 100644 www/lighttpd/pkg/PLIST diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile new file mode 100644 index 00000000000..320d62e4f3e --- /dev/null +++ b/www/lighttpd/Makefile @@ -0,0 +1,35 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2004/10/01 06:23:40 brad Exp $ + +SHARED_ONLY= Yes + +COMMENT= "secure, fast, compliant, and very flexible web-server" + +DISTNAME= lighttpd-1.3.2 +CATEGORIES= www net + +MAINTAINER= Brad Smith + +HOMEPAGE= http://jan.kneschke.de/projects/lighttpd/ + +LIB_DEPENDS+= bz2::archivers/bzip2 \ + pcre::devel/pcre + +# QPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${HOMEPAGE}download/ + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= --with-openssl +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/lighttpd + ${INSTALL_DATA} ${WRKSRC}/doc/lighttpd.conf \ + ${PREFIX}/share/examples/lighttpd + +.include diff --git a/www/lighttpd/distinfo b/www/lighttpd/distinfo new file mode 100644 index 00000000000..8a2a0a9ccc5 --- /dev/null +++ b/www/lighttpd/distinfo @@ -0,0 +1,3 @@ +MD5 (lighttpd-1.3.2.tar.gz) = 53f1ddfeabf37b7c19021973e824db2a +RMD160 (lighttpd-1.3.2.tar.gz) = b11ef296d326c9c3c0b257db486b69a00d39017b +SHA1 (lighttpd-1.3.2.tar.gz) = 58d669eca1795527664c452d64fb8cd06677e5e0 diff --git a/www/lighttpd/patches/patch-ltmain_sh b/www/lighttpd/patches/patch-ltmain_sh new file mode 100644 index 00000000000..afc4353c8cb --- /dev/null +++ b/www/lighttpd/patches/patch-ltmain_sh @@ -0,0 +1,53 @@ +$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2004/10/01 06:23:40 brad Exp $ +--- ltmain.sh.orig Sun Aug 22 13:22:48 2004 ++++ ltmain.sh Wed Sep 22 23:54:59 2004 +@@ -2611,7 +2611,7 @@ EOF + add_dir= + add= + # Finalize command for both is simple: just hardcode it. +- if test "$hardcode_direct" = yes; then ++ if test "$hardcode_direct" = yes && test -f $libdir/$linklib; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$libdir" +@@ -5804,40 +5804,6 @@ relink_command=\"$relink_command\"" + # Exit here if they wanted silent mode. + test "$show" = : && exit $EXIT_SUCCESS + +- $echo "----------------------------------------------------------------------" +- $echo "Libraries have been installed in:" +- for libdir in $libdirs; do +- $echo " $libdir" +- done +- $echo +- $echo "If you ever happen to want to link against installed libraries" +- $echo "in a given directory, LIBDIR, you must either use libtool, and" +- $echo "specify the full pathname of the library, or use the \`-LLIBDIR'" +- $echo "flag during linking and do at least one of the following:" +- if test -n "$shlibpath_var"; then +- $echo " - add LIBDIR to the \`$shlibpath_var' environment variable" +- $echo " during execution" +- fi +- if test -n "$runpath_var"; then +- $echo " - add LIBDIR to the \`$runpath_var' environment variable" +- $echo " during linking" +- fi +- if test -n "$hardcode_libdir_flag_spec"; then +- libdir=LIBDIR +- eval flag=\"$hardcode_libdir_flag_spec\" +- +- $echo " - use the \`$flag' linker flag" +- fi +- if test -n "$admincmds"; then +- $echo " - have your system administrator run these commands:$admincmds" +- fi +- if test -f /etc/ld.so.conf; then +- $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" +- fi +- $echo +- $echo "See any operating system documentation about shared libraries for" +- $echo "more information, such as the ld(1) and ld.so(8) manual pages." +- $echo "----------------------------------------------------------------------" + exit $EXIT_SUCCESS + ;; + diff --git a/www/lighttpd/patches/patch-src_Makefile_in b/www/lighttpd/patches/patch-src_Makefile_in new file mode 100644 index 00000000000..544e5821cbb --- /dev/null +++ b/www/lighttpd/patches/patch-src_Makefile_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2004/10/01 06:23:40 brad Exp $ +--- src/Makefile.in.orig Sat Sep 18 17:12:18 2004 ++++ src/Makefile.in Wed Sep 22 23:54:59 2004 +@@ -150,7 +150,7 @@ host_vendor = @host_vendor@ + includedir = @includedir@ + infodir = @infodir@ + install_sh = @install_sh@ +-libdir = @libdir@ ++libdir = @libdir@/lighttpd + libexecdir = @libexecdir@ + localstatedir = @localstatedir@ + mandir = @mandir@ diff --git a/www/lighttpd/pkg/DESCR b/www/lighttpd/pkg/DESCR new file mode 100644 index 00000000000..81661c8749c --- /dev/null +++ b/www/lighttpd/pkg/DESCR @@ -0,0 +1,7 @@ +lighttpd a secure, fast, compliant and very flexible web-server +which has been optimized for high-performance environments. It has +a very low memory footprint compared to other webservers and takes +care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, +Output-Compression, URL-Rewriting and many more) make lighttpd the +perfect webserver-software for every server that is suffering load +problems. diff --git a/www/lighttpd/pkg/PLIST b/www/lighttpd/pkg/PLIST new file mode 100644 index 00000000000..fa7c2e5f725 --- /dev/null +++ b/www/lighttpd/pkg/PLIST @@ -0,0 +1,43 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2004/10/01 06:23:40 brad Exp $ +lib/lighttpd/ +@comment lib/lighttpd/mod_access.la +lib/lighttpd/mod_access.so +@comment lib/lighttpd/mod_accesslog.la +lib/lighttpd/mod_accesslog.so +@comment lib/lighttpd/mod_auth.la +lib/lighttpd/mod_auth.so +@comment lib/lighttpd/mod_cgi.la +lib/lighttpd/mod_cgi.so +@comment lib/lighttpd/mod_compress.la +lib/lighttpd/mod_compress.so +@comment lib/lighttpd/mod_evhost.la +lib/lighttpd/mod_evhost.so +@comment lib/lighttpd/mod_expire.la +lib/lighttpd/mod_expire.so +@comment lib/lighttpd/mod_fastcgi.la +lib/lighttpd/mod_fastcgi.so +@comment lib/lighttpd/mod_httptls.la +lib/lighttpd/mod_httptls.so +@comment lib/lighttpd/mod_maps.la +lib/lighttpd/mod_maps.so +@comment lib/lighttpd/mod_proxy.la +lib/lighttpd/mod_proxy.so +@comment lib/lighttpd/mod_redirect.la +lib/lighttpd/mod_redirect.so +@comment lib/lighttpd/mod_rewrite.la +lib/lighttpd/mod_rewrite.so +@comment lib/lighttpd/mod_secdownload.la +lib/lighttpd/mod_secdownload.so +@comment lib/lighttpd/mod_simple_vhost.la +lib/lighttpd/mod_simple_vhost.so +@comment lib/lighttpd/mod_ssi.la +lib/lighttpd/mod_ssi.so +@comment lib/lighttpd/mod_status.la +lib/lighttpd/mod_status.so +@comment lib/lighttpd/mod_usertrack.la +lib/lighttpd/mod_usertrack.so +@man man/man1/lighttpd.1 +sbin/lighttpd +share/examples/lighttpd/ +share/examples/lighttpd/lighttpd.conf +@sample ${SYSCONFDIR}/lighttpd.conf