Package: thttpd-util Version: 2.23beta1-6 Severity: wishlist Tags: patch X-Debbugs-CC: [EMAIL PROTECTED]
The .diff.gz contains a spurious change which was probably intended to avoid compiling the CGI utilities statically. However, the utilities are not compiled statically by default in any event, and if you do want to compile the utilities statically (which is required if you want to use them with thttpd running under chroot), it is a hassle with this rather spurious change. Thus, I would like to suggest that this change is backed out, and (perhaps even) that you document in debian/rules how to actually compile the cgi-src/* stuff statically (i.e., debian/rules build STATICFLAG=-static). /* era */ -- If this were a real .signature, it would suck less. Well, maybe not.
Wed Oct 25 22:03:02 EEST 2006 [EMAIL PROTECTED] * era's patch to revert STATICFLAG removal from cgi-src/Makefile.in diff -rN -u old-thttpd-apt-get-source/cgi-src/Makefile.in new-thttpd-apt-get-source/cgi-src/Makefile.in --- old-thttpd-apt-get-source/cgi-src/Makefile.in 2007-05-01 13:18:01.000000000 +0300 +++ new-thttpd-apt-get-source/cgi-src/Makefile.in 2007-05-01 13:18:01.000000000 +0300 @@ -35,7 +35,7 @@ DEFS = @DEFS@ INCLS = -I.. CFLAGS = $(CCOPT) $(DEFS) $(INCLS) -LDFLAGS = @LDFLAGS@ +LDFLAGS = @LDFLAGS@ @V_STATICFLAG@ LIBS = @LIBS@ NETLIBS = @V_NETLIBS@ INSTALL = @INSTALL@ @@ -51,15 +51,15 @@ all: redirect ssi phf redirect: redirect.o - $(CC) $(LDFLAGS) redirect.o $(LIBS) -o redirect + $(CC) $(LDFLAGS) $(STATICFLAG) redirect.o $(LIBS) -o redirect ssi: ssi.o ../match.o - $(CC) $(LDFLAGS) ssi.o ../match.o $(LIBS) -o ssi + $(CC) $(LDFLAGS) $(STATICFLAG) ssi.o ../match.o $(LIBS) -o ssi ssi.o: ../match.h phf: phf.o - $(CC) $(LDFLAGS) phf.o $(LIBS) -o phf + $(CC) $(LDFLAGS) $(STATICFLAG) phf.o $(LIBS) -o phf strerror.o: @rm -f strerror.o