aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-05-09 17:12:01 +0800
committerolgeni <olgeni@FreeBSD.org>2015-05-09 17:12:01 +0800
commit76ed75589b32dc82aa4a55cf0101e3f6822daa4f (patch)
tree9b6324c4321e52ff6e62abd702269c4476504b68 /www
parent997e122ea7cf95da5970f91edaf7e16e77acbde3 (diff)
downloadfreebsd-ports-gnome-76ed75589b32dc82aa4a55cf0101e3f6822daa4f.tar.gz
freebsd-ports-gnome-76ed75589b32dc82aa4a55cf0101e3f6822daa4f.tar.zst
freebsd-ports-gnome-76ed75589b32dc82aa4a55cf0101e3f6822daa4f.zip
Do not let the build hostname creep into the sample configuration file.
Diffstat (limited to 'www')
-rw-r--r--www/yaws/Makefile1
-rw-r--r--www/yaws/files/patch-scripts_gen-yaws-conf11
2 files changed, 12 insertions, 0 deletions
diff --git a/www/yaws/Makefile b/www/yaws/Makefile
index b3739edff9d5..e6a9db0ec6bd 100644
--- a/www/yaws/Makefile
+++ b/www/yaws/Makefile
@@ -2,6 +2,7 @@
PORTNAME= yaws
PORTVERSION= 1.99
+PORTREVISION= 1
CATEGORIES= www devel
MASTER_SITES= http://yaws.hyber.org/download/
diff --git a/www/yaws/files/patch-scripts_gen-yaws-conf b/www/yaws/files/patch-scripts_gen-yaws-conf
new file mode 100644
index 000000000000..df086ca370db
--- /dev/null
+++ b/www/yaws/files/patch-scripts_gen-yaws-conf
@@ -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}" | \