diff --git a/www/zerowait-httpd/files/patch-src_httpd_Makefile b/www/zerowait-httpd/files/patch-src_httpd_Makefile index 134147c948cb..027c883505da 100644 --- a/www/zerowait-httpd/files/patch-src_httpd_Makefile +++ b/www/zerowait-httpd/files/patch-src_httpd_Makefile @@ -1,16 +1,25 @@ ---- src/httpd/Makefile.orig Sat Sep 16 08:17:17 2006 -+++ src/httpd/Makefile Tue Dec 5 15:10:18 2006 -@@ -18,11 +18,11 @@ +--- src/httpd/Makefile.orig 2006-09-16 12:17:17 UTC ++++ src/httpd/Makefile +@@ -18,12 +18,10 @@ $(CC) $(LDFLAGS) $(OBJS) $(COMMON) built.o -o $@ convert-ranges: $(COMMON) Makefile ../Rules.make convert-ranges.c - $(CC) $(CFLAGS) $(LDFLAGS) $@.c $(COMMON) -o $@ +- chmod +s $@ + $(CC) $(CFLAGS) -I.. $(LDFLAGS) $@.c $(COMMON) -o $@ - chmod +s $@ convert-geoip: $(COMMON) Makefile ../Rules.make convert-geoip.c - $(CC) $(CFLAGS) $(LDFLAGS) $@.c $(COMMON) -o $@ +- chmod +s $@ + $(CC) $(CFLAGS) -I.. $(LDFLAGS) $@.c $(COMMON) -o $@ - chmod +s $@ $(COMMON): + cd ../common &&$(MAKE) +@@ -31,7 +29,6 @@ + install: 0W-httpd + mv ../../bin/0W-httpd ../../bin/0W-httpd~ + cp 0W-httpd ../../bin/0W-httpd +- chmod +s ../../bin/0W-httpd + + clean: + rm -f $(BIN) *.o *~ diff --git a/www/zerowait-httpd/pkg-plist b/www/zerowait-httpd/pkg-plist index 6f7e65e13da6..5aaa6d508d42 100644 --- a/www/zerowait-httpd/pkg-plist +++ b/www/zerowait-httpd/pkg-plist @@ -6,8 +6,6 @@ etc/0W-httpd/countries.ips etc/0W-httpd/countries.rus @sample etc/0W-httpd/httpd.conf.sample @(%%WWWOWN%%,%%WWWGRP%%,6755) sbin/0W-httpd -@dirrmtry(%%WWWOWN%%,%%WWWGRP%%,) 0W-httpd/pids -@dirrmtry(%%WWWOWN%%,%%WWWGRP%%,) 0W-httpd/data -@dirrmtry(%%WWWOWN%%,%%WWWGRP%%,) 0W-httpd/logs -@dirrmtry etc/0W-httpd -@dirrmtry 0W-httpd +@dir(%%WWWOWN%%,%%WWWGRP%%,) 0W-httpd/pids +@dir(%%WWWOWN%%,%%WWWGRP%%,) 0W-httpd/data +@dir(%%WWWOWN%%,%%WWWGRP%%,) 0W-httpd/logs