1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

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

This commit is contained in:
Jimmy Olgeni 2015-05-09 09:12:01 +00:00
parent a99ab7817a
commit d1997bff32
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385876
2 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= yaws
PORTVERSION= 1.99
PORTREVISION= 1
CATEGORIES= www devel
MASTER_SITES= http://yaws.hyber.org/download/

View File

@ -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}" | \