svn commit: r385876 - in head/www/yaws: . files

Jimmy Olgeni olgeni at FreeBSD.org
Sat May 9 09:12:02 UTC 2015


Author: olgeni
Date: Sat May  9 09:12:01 2015
New Revision: 385876
URL: https://svnweb.freebsd.org/changeset/ports/385876

Log:
  Do not let the build hostname creep into the sample configuration file.

Added:
  head/www/yaws/files/patch-scripts_gen-yaws-conf   (contents, props changed)
Modified:
  head/www/yaws/Makefile

Modified: head/www/yaws/Makefile
==============================================================================
--- head/www/yaws/Makefile	Sat May  9 08:43:00 2015	(r385875)
+++ head/www/yaws/Makefile	Sat May  9 09:12:01 2015	(r385876)
@@ -2,6 +2,7 @@
 
 PORTNAME=	yaws
 PORTVERSION=	1.99
+PORTREVISION=	1
 CATEGORIES=	www devel
 MASTER_SITES=	http://yaws.hyber.org/download/
 

Added: head/www/yaws/files/patch-scripts_gen-yaws-conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/yaws/files/patch-scripts_gen-yaws-conf	Sat May  9 09:12:01 2015	(r385876)
@@ -0,0 +1,11 @@
+--- scripts/gen-yaws-conf.orig	2015-05-09 08:50:11 UTC
++++ scripts/gen-yaws-conf
+@@ -9,7 +9,7 @@ cat yaws.conf.template                  
+     ./Subst %yawsdir% "$YAWSDIR"        | \
+     ./Subst %logdir%  "$LOGDIR"         | \
+     ./Subst %vardir%  "$VARDIR"         | \
+-    ./Subst %host%    `hostname`        | \
++    ./Subst %host%    "example"         | \
+     ./Subst %port%    $PORT             | \
+     ./Subst %docroot% "$DOCROOT"        | \
+     ./Subst %tmpdir%  "${TMPDIR:-/tmp}" | \


More information about the svn-ports-head mailing list