<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[150285] trunk/dports/www/yaws</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/150285">150285</a></dd>
<dt>Author</dt> <dd>ciserlohn@macports.org</dd>
<dt>Date</dt> <dd>2016-07-14 04:26:42 -0700 (Thu, 14 Jul 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>yaws: update to version 2.0.3</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportswwwyawsPortfile">trunk/dports/www/yaws/Portfile</a></li>
<li><a href="#trunkdportswwwyawsfilespatchscriptsyawsconftemplate">trunk/dports/www/yaws/files/patch-scripts-yaws.conf.template</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportswwwyawsfilespatchscriptsregularinstall">trunk/dports/www/yaws/files/patch-scripts-regular-install</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkdportswwwyawsfilespatchconfigurein">trunk/dports/www/yaws/files/patch-configure.in</a></li>
<li><a href="#trunkdportswwwyawsfilespatchscriptsInstall">trunk/dports/www/yaws/files/patch-scripts-Install</a></li>
<li><a href="#trunkdportswwwyawsfilespatchscriptsMakefile">trunk/dports/www/yaws/files/patch-scripts-Makefile</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportswwwyawsPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/www/yaws/Portfile (150284 => 150285)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/www/yaws/Portfile        2016-07-14 06:10:58 UTC (rev 150284)
+++ trunk/dports/www/yaws/Portfile        2016-07-14 11:26:42 UTC (rev 150285)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> PortSystem 1.0
</span><span class="cx">
</span><span class="cx"> name yaws
</span><del>-version 1.98
</del><ins>+version 2.0.3
</ins><span class="cx"> categories www
</span><span class="cx"> maintainers ciserlohn
</span><span class="cx"> platforms darwin
</span><span class="lines">@@ -16,8 +16,8 @@
</span><span class="cx"> homepage http://yaws.hyber.org/
</span><span class="cx"> master_sites http://yaws.hyber.org/download/
</span><span class="cx">
</span><del>-checksums rmd160 98a3977c5f0f29cb3aeeedf6fe9adaa1ebc7bc40 \
- sha256 d47d14cce5173d18e5cf0e7f63b06447021ff250450ac4865547c1fe8e6a0831
</del><ins>+checksums rmd160 e7d8a9ec8600cad0302ff16adfc93bd36575f101 \
+ sha256 450a4b2b2750a6feb34238c0b38bc9801de80b228188a22d85dccbb4b4e049f6
</ins><span class="cx">
</span><span class="cx"> depends_build port:erlang
</span><span class="cx">
</span><span class="lines">@@ -26,13 +26,11 @@
</span><span class="cx"> extract.post_args | tar -xf - --exclude \
</span><span class="cx"> "${name}-${version}/www/testdir/xx*xx.jpg"
</span><span class="cx">
</span><del>-patchfiles patch-configure.in \
- patch-man-yaws.1 \
</del><ins>+patchfiles patch-man-yaws.1 \
</ins><span class="cx"> patch-man-yaws_api.5 \
</span><span class="cx"> patch-man-yaws.conf.5 \
</span><del>- patch-scripts-Install \
- patch-scripts-Makefile \
- patch-scripts-yaws.conf.template
</del><ins>+ patch-scripts-yaws.conf.template \
+ patch-scripts-regular-install
</ins><span class="cx">
</span><span class="cx"> post-patch {
</span><span class="cx"> reinplace "s|__PREFIX|${prefix}|g" \
</span><span class="lines">@@ -62,7 +60,7 @@
</span><span class="cx"> post-destroot {
</span><span class="cx"> xinstall -d "${destroot}${prefix}/var/log/yaws/"
</span><span class="cx"> system "touch ${destroot}${prefix}/var/log/yaws/.turd"
</span><del>- file rename "${destroot}${prefix}/etc/yaws/yaws.conf" "${destroot}${prefix}/etc/yaws/yaws.conf.template"
</del><ins>+ file delete "${destroot}${prefix}/etc/yaws/yaws.conf"
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> notes "\
</span></span></pre></div>
<a id="trunkdportswwwyawsfilespatchconfigurein"></a>
<div class="delfile"><h4>Deleted: trunk/dports/www/yaws/files/patch-configure.in (150284 => 150285)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/www/yaws/files/patch-configure.in        2016-07-14 06:10:58 UTC (rev 150284)
+++ trunk/dports/www/yaws/files/patch-configure.in        2016-07-14 11:26:42 UTC (rev 150285)
</span><span class="lines">@@ -1,24 +0,0 @@
</span><del>---- configure.in.orig        2011-12-23 23:57:55.000000000 +0100
-+++ configure.in        2011-12-23 23:57:04.000000000 +0100
-@@ -274,21 +274,6 @@
- AC_LANG(C)
- AC_CHECK_LIB([c],[sendfile],[HAVE_SENDFILE=true])
- case "$host_os" in
-- darwin1?*)
-- AC_LANG(Erlang)
-- AC_RUN_IFELSE(
-- [AC_LANG_PROGRAM([],[dnl
-- halt(try erlang:system_info({wordsize,external}) of
-- 8 -> 0; 4 -> 1
-- catch _:badarg ->
-- case erlang:system_info(wordsize) of
-- 8 -> 0; 4 -> 1
-- end end)])],
--         [AC_MSG_NOTICE(found 64-bit Erlang)
-- CBIT=-m64],
--         [AC_MSG_NOTICE(found 32-bit Erlang)
-- CBIT=-m32])
-- ;;
- *)
- CBIT=""
- ;;
</del></span></pre></div>
<a id="trunkdportswwwyawsfilespatchscriptsInstall"></a>
<div class="delfile"><h4>Deleted: trunk/dports/www/yaws/files/patch-scripts-Install (150284 => 150285)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/www/yaws/files/patch-scripts-Install        2016-07-14 06:10:58 UTC (rev 150284)
+++ trunk/dports/www/yaws/files/patch-scripts-Install        2016-07-14 11:26:42 UTC (rev 150285)
</span><span class="lines">@@ -1,71 +0,0 @@
</span><del>---- scripts/Install.orig        2013-10-21 21:33:23.000000000 +0200
-+++ scripts/Install        2013-10-21 21:35:02.000000000 +0200
-@@ -33,68 +33,3 @@
-
- install -d ${destdir}${libdir}/yaws/examples/ebin
- install -d ${destdir}${libdir}/yaws/examples/include
--
--## seems gentoo don't like to be installed in /usr/local/etc
--## since /sbin/runscript still reads /etc/conf.d
--if [ -f /etc/gentoo-release ]; then
-- install -d ${destdir}${etcdir}/init.d/
-- install -d ${destdir}${etcdir}/conf.d/
-- install -d ${destdir}${vardir}/run/yaws
-- chmod a+rwx ${destdir}${vardir}/run/yaws
-- sed -e "s;%prefix%;$p;g" \
--        -e "s;%etcdir%;$e;g" gentoo/init.d.yaws > ${destdir}${etcdir}/init.d/yaws
-- chmod +x ${destdir}${etcdir}/init.d/yaws
--elif [ -f /etc/redhat-release ]; then
-- install -d ${destdir}${etcdir}/init.d
-- sed -e "s;%prefix%;$p;g" \
--        -e "s;%etcdir%;$e;g" redhat/yaws.init.d > \
-- ${destdir}${etcdir}/init.d/yaws
-- chmod +x ${destdir}${etcdir}/init.d/yaws
-- install -d ${destdir}${vardir}/run/yaws
-- chmod a+rwx ${destdir}${vardir}/run/yaws
--elif [ -f /etc/suseservers ]; then
-- install -d ${destdir}${etcdir}/init.d
-- sed -e "s;%prefix%;$p;g" \
--        -e "s;%etcdir%;$e;g" suse/yaws.init.d/ > ${destdir}${etcdir}/init.d/yaws
-- chmod +x ${destdir}${etcdir}/init.d/yaws
-- install -d ${destdir}${vardir}/run/yaws
-- chmod a+rwx ${destdir}${vardir}/run/yaws
--elif [ -f /etc/debian_version ]; then
-- install -d ${destdir}${etcdir}/init.d
-- sed -e "s;%prefix%;$p;g" \
--        -e "s;%etcdir%;$e;g" debian/yaws.init.d > \
-- ${destdir}${etcdir}/init.d/yaws
-- chmod +x ${destdir}${etcdir}/init.d/yaws
-- install -d ${destdir}${vardir}/run/yaws
-- chmod a+rwx ${destdir}${vardir}/run/yaws
--
--elif [ "`uname -s`" = "Darwin" -a `id -u` = 0 ]; then
-- startupdir="/Library/StartupItems/Yaws"
-- if [ ! -e ${startupdir} ]; then
-- mkdir ${startupdir};
-- elif [ ! -d ${startupdir} ]; then
--         echo "${startupdir} exists but is not a directory, bailing out ..."
--         exit 1
-- fi
-- sed -e "s;%prefix%;$p;g" darwin/Yaws.StartupItem > ${startupdir}/Yaws
-- chmod +x ${startupdir}/Yaws
-- cp darwin/Yaws.plist ${startupdir}/StartupParameters.plist
-- # MacOS is particular about the ownership of startup items.
-- chown -R root:wheel ${startupdir}
--elif [ "`uname -s`" = "FreeBSD" ]; then
-- sed -e "s;%prefix%;$p;g" -e "s;%etcdir%;$e;g" \
-- freebsd/yaws > ${destdir}${etcdir}/rc.d/yaws
--elif [ "`uname -s`" = "NetBSD" ]; then
-- sed -e "s;%prefix%;$p;g" -e "s;%etcdir%;$e;g" \
-- netbsd/yaws.sh > /etc/rc.d/yaws
--else
-- install -d ${destdir}${etcdir}
-- echo "Don't know how to make /etc/init scripts for this system"
-- echo "possibly add ${prefix}/bin/yaws --daemon --heart to your /etc/rc.local manually"
--fi
--
--
--
--
--
--
</del></span></pre></div>
<a id="trunkdportswwwyawsfilespatchscriptsMakefile"></a>
<div class="delfile"><h4>Deleted: trunk/dports/www/yaws/files/patch-scripts-Makefile (150284 => 150285)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/www/yaws/files/patch-scripts-Makefile        2016-07-14 06:10:58 UTC (rev 150284)
+++ trunk/dports/www/yaws/files/patch-scripts-Makefile        2016-07-14 11:26:42 UTC (rev 150285)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>---- scripts/Makefile.orig        2009-11-09 10:08:37.000000000 +0200
-+++ scripts/Makefile        2009-11-09 10:10:14.000000000 +0200
-@@ -1,3 +1,5 @@
-+.PHONY : install
-+
- include ../include.mk
-
-
</del></span></pre></div>
<a id="trunkdportswwwyawsfilespatchscriptsregularinstall"></a>
<div class="addfile"><h4>Added: trunk/dports/www/yaws/files/patch-scripts-regular-install (0 => 150285)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/www/yaws/files/patch-scripts-regular-install         (rev 0)
+++ trunk/dports/www/yaws/files/patch-scripts-regular-install        2016-07-14 11:26:42 UTC (rev 150285)
</span><span class="lines">@@ -0,0 +1,133 @@
</span><ins>+--- scripts/regular-install.orig        2016-07-14 10:07:24.000000000 +0200
++++ scripts/regular-install        2016-07-14 10:11:27.000000000 +0200
+@@ -3,130 +3,4 @@
+ install -d ${DESTDIR}${ETCDIR}
+ install -d ${DESTDIR}${LOGDIR}
+
+-# Start by detecting if systemd is used
+-(which systemctl && systemctl list-units) >/dev/null 2>&1
+-if [ $? = 0 ]; then
+- install -d ${DESTDIR}${ETCDIR}/systemd/system/
+- sed -e "s;%prefix%;${PREFIX};g" \
+- -e "s;%etcdir%;${ETCDIR};g" \
+- -e "s;%bindir%;${BINDIR};g" \
+- systemd/yaws.service > ${DESTDIR}${ETCDIR}/systemd/system/yaws.service
+- exit 0
+-fi
+-
+-# Else, looking at distro-specific files
+-os=$( uname -s )
+-which lsb_release >/dev/null 2>&1
+-if [ $? = 0 ]; then
+- os=$( lsb_release -si )
+-elif [ -f /etc/os-release ]; then
+- . /etc/os-release
+- os=${ID}
+-elif [ -f /etc/arch-release ]; then
+- os="arch"
+-elif [ -f /etc/gentoo-release ]; then
+- os="gentoo"
+-elif [ -f /etc/fedora-release ]; then
+- os="fedora"
+-elif [ -f /etc/centos-release ]; then
+- os="centos"
+-elif [ -f /etc/redhat-release ]; then
+- os="redhat"
+-elif [ -f /etc/debian_version ]; then
+- os="debian"
+-elif [ -f /etc/SuSE-release ]; then
+- os="suse"
+-elif [ $os = "Darwin" -a $(id -u) = 0 ]; then
+- os="darwin"
+-elif [ $os = "FreeBSD" ]; then
+- os="freebsd"
+-elif [ $os = "NetBSD" ]; then
+- os="netbsd"
+-else
+- os="Unknown"
+-fi
+-
+-case $(printf $os | tr '[:upper:]' '[:lower:]') in
+- debian | ubuntu)
+- install -d ${DESTDIR}${ETCDIR}/init.d
+- sed -e "s;%prefix%;${PREFIX};g" \
+- -e "s;%etcdir%;${ETCDIR};g" \
+- -e "s;%bindir%;${BINDIR};g" \
+- debian/yaws.init > ${DESTDIR}${ETCDIR}/init.d/yaws
+- chmod +x ${DESTDIR}${ETCDIR}/init.d/yaws
+- ;;
+-
+- gentoo)
+- # seems gentoo don't like to be installed in /usr/local/etc since #
+- # /sbin/runscript still reads /etc/conf.d
+- install -d ${DESTDIR}${ETCDIR}/init.d
+- install -d ${DESTDIR}${ETCDIR}/conf.d
+- sed -e "s;%prefix%;${PREFIX};g" \
+- -e "s;%etcdir%;${ETCDIR};g" \
+- -e "s;%bindir%;${BINDIR};g" \
+- gentoo/yaws.init > ${DESTDIR}${ETCDIR}/init.d/yaws
+- chmod +x ${DESTDIR}${ETCDIR}/init.d/yaws
+- ;;
+-
+- redhat | fedora | centos)
+- install -d ${DESTDIR}${ETCDIR}/init.d
+- sed -e "s;%prefix%;${PREFIX};g" \
+- -e "s;%etcdir%;${ETCDIR};g" \
+- -e "s;%bindir%;${BINDIR};g" \
+- redhat/yaws.init > ${DESTDIR}${ETCDIR}/init.d/yaws
+- chmod +x ${DESTDIR}${ETCDIR}/init.d/yaws
+- ;;
+-
+- *suse*)
+- install -d ${DESTDIR}${ETCDIR}/init.d
+- sed -e "s;%prefix%;${PREFIX};g" \
+- -e "s;%etcdir%;${ETCDIR};g" \
+- -e "s;%bindir%;${BINDIR};g" \
+- suse/yaws.init > ${DESTDIR}${ETCDIR}/init.d/yaws
+- chmod +x ${DESTDIR}${ETCDIR}/init.d/yaws
+- ;;
+-
+-
+- darwin)
+- startupdir="/Library/StartupItems/Yaws"
+- if [ ! -e ${startupdir} ]; then
+- mkdir ${startupdir};
+- elif [ ! -d ${startupdir} ]; then
+- echo "${startupdir} exists but is not a directory, bailing out ..."
+- exit 1
+- fi
+- sed -e "s;%prefix%;${PREFIX};g" \
+- -e "s;%etcdir%;${ETCDIR};g" \
+- -e "s;%bindir%;${BINDIR};g" \
+- darwin/Yaws.StartupItem > ${startupdir}/Yaws
+- chmod +x ${startupdir}/Yaws
+- cp darwin/Yaws.plist ${startupdir}/StartupParameters.plist
+- # MacOS is particular about the ownership of startup items.
+- chown -R root:wheel ${startupdir}
+- ;;
+-
+- freebsd)
+- install -d ${DESTDIR}${ETCDIR}/rc.d
+- sed -e "s;%prefix%;${PREFIX};g" \
+- -e "s;%etcdir%;${ETCDIR};g" \
+- -e "s;%bindir%;${BINDIR};g" \
+- freebsd/yaws > ${DESTDIR}${ETCDIR}/rc.d/yaws
+- chmod +x ${DESTDIR}${ETCDIR}/rc.d/yaws
+- ;;
+-
+- netbsd)
+- sed -e "s;%prefix%;${PREFIX};g" \
+- -e "s;%etcdir%;${ETCDIR};g" \
+- -e "s;%bindir%;${BINDIR};g" \
+- netbsd/yaws.sh > ${DESTDIR}${ETCDIR}/rc.d/yaws
+- chmod +x /etc/rc.d/yaws
+- ;;
+- *)
+- install -d ${DESTDIR}${ETCDIR}
+- echo "Don't know how to make /etc/init scripts for this system"
+- echo "possibly add ${PREFIX}/bin/yaws --daemon --heart to your /etc/rc.local manually"
+- ;;
+-esac
+-
+-
+ exit 0
</ins></span></pre></div>
<a id="trunkdportswwwyawsfilespatchscriptsyawsconftemplate"></a>
<div class="modfile"><h4>Modified: trunk/dports/www/yaws/files/patch-scripts-yaws.conf.template (150284 => 150285)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/www/yaws/files/patch-scripts-yaws.conf.template        2016-07-14 06:10:58 UTC (rev 150284)
+++ trunk/dports/www/yaws/files/patch-scripts-yaws.conf.template        2016-07-14 11:26:42 UTC (rev 150285)
</span><span class="lines">@@ -1,29 +1,28 @@
</span><del>---- scripts/yaws.conf.template.orig        2011-05-30 23:16:15.000000000 +0200
-+++ scripts/yaws.conf.template        2011-05-30 23:31:41.000000000 +0200
-@@ -10,13 +10,13 @@
- # These are the paths to directories where additional
- # beam code can be placed. The daemon will add these
- # directories to its search path.
--ebin_dir = %yawsdir%/examples/ebin
-+ebin_dir = %yawsdir%/ebin
- ebin_dir = %vardir%/yaws/ebin
</del><ins>+--- scripts/yaws.conf.template.orig        2016-07-14 09:51:58.000000000 +0200
++++ scripts/yaws.conf.template        2016-07-14 09:53:35.000000000 +0200
+@@ -106,41 +106,41 @@
+ # The examples below first show two virthosted servers on the same IP (0.0.0.0)
+ # in this case, but an explicit IP can be given as well.
</ins><span class="cx">
</span><del>- # This is a directory where application specific .hrl
- # files can be placed. Application-specific .yaws code can
- # then include these .hrl files.
--include_dir = %yawsdir%/examples/include
-+include_dir = %yawsdir%/include
</del><ins>+-<server *>
+- port = %port%
+- listen = 0.0.0.0
+- docroot = %docroot%
+- auth_log = true
+- appmods = <cgi-bin, yaws_appmod_cgi>
+-</server>
++#<server *>
++# port = %port%
++# listen = 0.0.0.0
++# docroot = %docroot%
++# auth_log = true
++# appmods = <cgi-bin, yaws_appmod_cgi>
++#</server>
</ins><span class="cx">
</span><del>- # Set this to an integer value to control
- # max number of connections from clients into the server.
-@@ -119,32 +119,32 @@
- appmods = <cgi-bin, yaws_appmod_cgi>
- </server>
-
</del><span class="cx"> -<server localhost>
</span><span class="cx"> - port = %port%
</span><span class="cx"> - listen = 0.0.0.0
</span><del>-- docroot = /tmp
</del><ins>+- docroot = %tmpdir%
</ins><span class="cx"> - dir_listings = true
</span><span class="cx"> - auth_log = true
</span><span class="cx"> - statistics = true
</span><span class="lines">@@ -37,7 +36,7 @@
</span><span class="cx"> +#<server localhost>
</span><span class="cx"> +# port = %port%
</span><span class="cx"> +# listen = 0.0.0.0
</span><del>-+# docroot = /tmp
</del><ins>++# docroot = %docroot%
</ins><span class="cx"> +# dir_listings = true
</span><span class="cx"> +# auth_log = true
</span><span class="cx"> +# statistics = true
</span><span class="lines">@@ -51,27 +50,29 @@
</span><span class="cx">
</span><span class="cx"> # Now an SSL server
</span><span class="cx">
</span><del>--<server %host%>
</del><ins>+-<server *>
</ins><span class="cx"> - port = %sslport%
</span><del>-- docroot = /tmp
</del><ins>+- docroot = %tmpdir%
</ins><span class="cx"> - listen = 0.0.0.0
</span><span class="cx"> - dir_listings = true
</span><span class="cx"> - auth_log = true
</span><span class="cx"> - <ssl>
</span><span class="cx"> - keyfile = %certdir%/yaws-key.pem
</span><span class="cx"> - certfile = %certdir%/yaws-cert.pem
</span><ins>+- dhfile = %certdir%/dhparams.pem
</ins><span class="cx"> - depth = 0
</span><span class="cx"> - </ssl>
</span><span class="cx"> -</server>
</span><del>-+#<server %host%>
</del><ins>++#<server *>
</ins><span class="cx"> +# port = %sslport%
</span><del>-+# docroot = /tmp
</del><ins>++# docroot = %docroot%
</ins><span class="cx"> +# listen = 0.0.0.0
</span><span class="cx"> +# dir_listings = true
</span><span class="cx"> +# auth_log = true
</span><span class="cx"> +# <ssl>
</span><span class="cx"> +# keyfile = %certdir%/yaws-key.pem
</span><span class="cx"> +# certfile = %certdir%/yaws-cert.pem
</span><ins>++# dhfile = %certdir%/dhparams.pem
</ins><span class="cx"> +# depth = 0
</span><span class="cx"> +# </ssl>
</span><span class="cx"> +#</server>
</span></span></pre>
</div>
</div>
</body>
</html>