Changeset 150285


Ignore:
Timestamp:
Jul 14, 2016, 11:26:42 AM (3 years ago)
Author:
ciserlohn@…
Message:

yaws: update to version 2.0.3

Location:
trunk/dports/www/yaws
Files:
1 added
3 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/yaws/Portfile

    r113186 r150285  
    55
    66name                yaws
    7 version             1.98
     7version             2.0.3
    88categories          www
    99maintainers         ciserlohn
     
    1717master_sites        http://yaws.hyber.org/download/
    1818
    19 checksums           rmd160  98a3977c5f0f29cb3aeeedf6fe9adaa1ebc7bc40 \
    20                     sha256  d47d14cce5173d18e5cf0e7f63b06447021ff250450ac4865547c1fe8e6a0831
     19checksums           rmd160  e7d8a9ec8600cad0302ff16adfc93bd36575f101 \
     20                    sha256  450a4b2b2750a6feb34238c0b38bc9801de80b228188a22d85dccbb4b4e049f6
    2121
    2222depends_build       port:erlang
     
    2727                    "${name}-${version}/www/testdir/xx*xx.jpg"
    2828
    29 patchfiles          patch-configure.in \
    30                     patch-man-yaws.1 \
     29patchfiles          patch-man-yaws.1 \
    3130                    patch-man-yaws_api.5 \
    3231                    patch-man-yaws.conf.5 \
    33                     patch-scripts-Install \
    34                     patch-scripts-Makefile \
    35                     patch-scripts-yaws.conf.template
     32                    patch-scripts-yaws.conf.template \
     33                    patch-scripts-regular-install
    3634
    3735post-patch {
     
    6361    xinstall -d "${destroot}${prefix}/var/log/yaws/"
    6462    system "touch ${destroot}${prefix}/var/log/yaws/.turd"
    65     file rename "${destroot}${prefix}/etc/yaws/yaws.conf" "${destroot}${prefix}/etc/yaws/yaws.conf.template"
     63    file delete "${destroot}${prefix}/etc/yaws/yaws.conf"
    6664}
    6765
  • trunk/dports/www/yaws/files/patch-scripts-yaws.conf.template

    r112385 r150285  
    1 --- scripts/yaws.conf.template.orig     2011-05-30 23:16:15.000000000 +0200
    2 +++ scripts/yaws.conf.template  2011-05-30 23:31:41.000000000 +0200
    3 @@ -10,13 +10,13 @@
    4  # These are the paths to directories where additional
    5  # beam code can be placed. The daemon will add these
    6  # directories to its search path.
    7 -ebin_dir = %yawsdir%/examples/ebin
    8 +ebin_dir = %yawsdir%/ebin
    9  ebin_dir = %vardir%/yaws/ebin
     1--- scripts/yaws.conf.template.orig     2016-07-14 09:51:58.000000000 +0200
     2+++ scripts/yaws.conf.template  2016-07-14 09:53:35.000000000 +0200
     3@@ -106,41 +106,41 @@
     4 # The examples below first show two virthosted servers on the same IP (0.0.0.0)
     5 # in this case, but an explicit IP can be given as well.
    106 
    11  # This is a directory where application specific .hrl
    12  # files can be placed. Application-specific .yaws code can
    13  # then include these .hrl files.
    14 -include_dir = %yawsdir%/examples/include
    15 +include_dir = %yawsdir%/include
    16  
    17  # Set this to an integer value to control
    18  # max number of connections from clients into the server.
    19 @@ -119,32 +119,32 @@
    20          appmods = <cgi-bin, yaws_appmod_cgi>
    21  </server>
     7-<server *>
     8-        port = %port%
     9-        listen = 0.0.0.0
     10-        docroot = %docroot%
     11-        auth_log = true
     12-        appmods = <cgi-bin, yaws_appmod_cgi>
     13-</server>
     14+#<server *>
     15+#        port = %port%
     16+#        listen = 0.0.0.0
     17+#        docroot = %docroot%
     18+#        auth_log = true
     19+#        appmods = <cgi-bin, yaws_appmod_cgi>
     20+#</server>
    2221 
    2322-<server localhost>
    2423-        port = %port%
    2524-        listen = 0.0.0.0
    26 -        docroot = /tmp
     25-        docroot = %tmpdir%
    2726-        dir_listings = true
    2827-        auth_log = true
     
    3837+#        port = %port%
    3938+#        listen = 0.0.0.0
    40 +#        docroot = /tmp
     39+#        docroot = %docroot%
    4140+#        dir_listings = true
    4241+#        auth_log = true
     
    5251 # Now an SSL server
    5352 
    54 -<server %host%>
     53-<server *>
    5554-        port = %sslport%
    56 -        docroot = /tmp
     55-        docroot = %tmpdir%
    5756-        listen = 0.0.0.0
    5857-        dir_listings = true
     
    6160-                keyfile = %certdir%/yaws-key.pem
    6261-                certfile = %certdir%/yaws-cert.pem
     62-                dhfile = %certdir%/dhparams.pem
    6363-                depth = 0
    6464-        </ssl>
    6565-</server>
    66 +#<server %host%>
     66+#<server *>
    6767+#        port = %sslport%
    68 +#        docroot = /tmp
     68+#        docroot = %docroot%
    6969+#        listen = 0.0.0.0
    7070+#        dir_listings = true
     
    7373+#                keyfile = %certdir%/yaws-key.pem
    7474+#                certfile = %certdir%/yaws-cert.pem
     75+#                dhfile = %certdir%/dhparams.pem
    7576+#                depth = 0
    7677+#        </ssl>
Note: See TracChangeset for help on using the changeset viewer.