mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- update to 1.3.11
- add --libdir configure arg to preserve correct module directory PR: ports/77811 (based on) Submitted by: Rui Lopes <rui(at)ruilopes.com> Modified by: maintainer
This commit is contained in:
parent
3b73b5ac4f
commit
5bd25f6cfe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129561
4 changed files with 7 additions and 40 deletions
|
@ -6,8 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= lighttpd
|
PORTNAME= lighttpd
|
||||||
PORTVERSION= 1.3.10
|
PORTVERSION= 1.3.11
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= http://www.lighttpd.net/download/ \
|
MASTER_SITES= http://www.lighttpd.net/download/ \
|
||||||
http://dl.fkb.wormulon.net/lighttpd/ \
|
http://dl.fkb.wormulon.net/lighttpd/ \
|
||||||
|
@ -25,6 +24,7 @@ USE_LIBTOOL_VER= 15
|
||||||
USE_GNOME= lthack
|
USE_GNOME= lthack
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||||
CONFIGURE_ENV= CPPFLAGS=-I${PREFIX}/include LIBS=-L${PREFIX}/lib
|
CONFIGURE_ENV= CPPFLAGS=-I${PREFIX}/include LIBS=-L${PREFIX}/lib
|
||||||
|
CONFIGURE_ARGS= --libdir=${PREFIX}/lib/lighttpd
|
||||||
STARTUP_FILE= ${PREFIX}/etc/rc.d/lighttpd.sh
|
STARTUP_FILE= ${PREFIX}/etc/rc.d/lighttpd.sh
|
||||||
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (lighttpd-1.3.10.tar.gz) = 28623eff50653a9b104ddb20fe65aaf1
|
MD5 (lighttpd-1.3.11.tar.gz) = 730c9b9d743360d23e523968ab4fe7c5
|
||||||
SIZE (lighttpd-1.3.10.tar.gz) = 667324
|
SIZE (lighttpd-1.3.11.tar.gz) = 670438
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
--- src/Makefile.in.orig Fri Oct 1 03:47:40 2004
|
|
||||||
+++ src/Makefile.in Fri Oct 1 17:05:04 2004
|
|
||||||
@@ -65,7 +65,7 @@
|
|
||||||
|
|
||||||
#hdr += chat.h chat_misc.h chat_endec.h chat_user.h \
|
|
||||||
# chat_channel.h
|
|
||||||
-DEFS = @DEFS@ -DLIBRARY_DIR="\"$(libdir)\""
|
|
||||||
+DEFS = @DEFS@ -DLIBRARY_DIR="\"$(libdir)/lighttpd\""
|
|
||||||
DEPDIR = @DEPDIR@
|
|
||||||
DL_LIB = @DL_LIB@
|
|
||||||
ECHO = @ECHO@
|
|
||||||
@@ -599,12 +599,12 @@
|
|
||||||
libLTLIBRARIES_INSTALL = $(INSTALL)
|
|
||||||
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
- $(mkinstalldirs) $(DESTDIR)$(libdir)
|
|
||||||
+ $(mkinstalldirs) $(DESTDIR)$(libdir)/lighttpd
|
|
||||||
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
|
||||||
- echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
|
|
||||||
- $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
|
|
||||||
+ echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/lighttpd/$$f"; \
|
|
||||||
+ $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/lighttpd/$$f; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
|
@ -1,14 +1,8 @@
|
||||||
--- ./src/cgi.c~ 2005-02-08 00:08:01.000000000 +0200
|
--- src/mod_cgi.c (revision 34)
|
||||||
+++ ./src/cgi.c 2005-02-08 00:13:02.000000000 +0200
|
+++ src/mod_cgi.c (revision 35)
|
||||||
@@ -686,16 +686,18 @@
|
@@ -690,12 +690,14 @@
|
||||||
|
|
||||||
int to_cgi_fds[2];
|
|
||||||
int from_cgi_fds[2];
|
|
||||||
- struct stat st;
|
|
||||||
-
|
|
||||||
+
|
|
||||||
#ifndef __WIN32
|
#ifndef __WIN32
|
||||||
+ struct stat st;
|
|
||||||
|
|
||||||
- /* stat the exec file */
|
- /* stat the exec file */
|
||||||
- if (-1 == (stat(cgi_handler->ptr, &st))) {
|
- if (-1 == (stat(cgi_handler->ptr, &st))) {
|
Loading…
Add table
Reference in a new issue