Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 May 2015 09:12:02 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r385876 - in head/www/yaws: . files
Message-ID:  <201505090912.t499C2cA067122@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}" | \



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