Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2014 19:55:13 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371405 - in head/www/zerowait-httpd: . files
Message-ID:  <201410231955.s9NJtDN6025998@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Thu Oct 23 19:55:13 2014
New Revision: 371405
URL: https://svnweb.freebsd.org/changeset/ports/371405
QAT: https://qat.redports.org/buildarchive/r371405/

Log:
  Allow building as a regular user

Modified:
  head/www/zerowait-httpd/files/patch-src_httpd_Makefile
  head/www/zerowait-httpd/pkg-plist

Modified: head/www/zerowait-httpd/files/patch-src_httpd_Makefile
==============================================================================
--- head/www/zerowait-httpd/files/patch-src_httpd_Makefile	Thu Oct 23 19:54:50 2014	(r371404)
+++ head/www/zerowait-httpd/files/patch-src_httpd_Makefile	Thu Oct 23 19:55:13 2014	(r371405)
@@ -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 *~

Modified: head/www/zerowait-httpd/pkg-plist
==============================================================================
--- head/www/zerowait-httpd/pkg-plist	Thu Oct 23 19:54:50 2014	(r371404)
+++ head/www/zerowait-httpd/pkg-plist	Thu Oct 23 19:55:13 2014	(r371405)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410231955.s9NJtDN6025998>