diff options
author | olgeni <olgeni@FreeBSD.org> | 2015-05-09 17:12:01 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2015-05-09 17:12:01 +0800 |
commit | 76ed75589b32dc82aa4a55cf0101e3f6822daa4f (patch) | |
tree | 9b6324c4321e52ff6e62abd702269c4476504b68 /www | |
parent | 997e122ea7cf95da5970f91edaf7e16e77acbde3 (diff) | |
download | freebsd-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/Makefile | 1 | ||||
-rw-r--r-- | www/yaws/files/patch-scripts_gen-yaws-conf | 11 |
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}" | \ |