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.
This commit is contained in:
brad 2004-10-01 06:23:40 +00:00
parent f4481585d4
commit 559f2e1ad4
6 changed files with 153 additions and 0 deletions

35
www/lighttpd/Makefile Normal file
View File

@ -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 <brad@openbsd.org>
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 <bsd.port.mk>

3
www/lighttpd/distinfo Normal file
View File

@ -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

View File

@ -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
;;

View File

@ -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@

7
www/lighttpd/pkg/DESCR Normal file
View File

@ -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.

43
www/lighttpd/pkg/PLIST Normal file
View File

@ -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