commit hiawatha for openSUSE:Factory

2020-10-27 Thread root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2020-10-27 19:01:22

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new.3463 (New)


Package is "hiawatha"

Tue Oct 27 19:01:22 2020 rev:28 rq:844159 version:10.11

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2020-08-05 
20:29:49.183111788 +0200
+++ /work/SRC/openSUSE:Factory/.hiawatha.new.3463/hiawatha.changes  
2020-10-27 19:01:40.358862318 +0100
@@ -1,0 +2,5 @@
+Wed Aug 19 09:26:18 UTC 2020 - Callum Farmer 
+
+- Fixes for %_libexecdir changing to /usr/libexec (bsc#1174075)
+
+---



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.W9vQSu/_old  2020-10-27 19:01:40.978862769 +0100
+++ /var/tmp/diff_new_pack.W9vQSu/_new  2020-10-27 19:01:40.982862772 +0100
@@ -117,9 +117,9 @@
 sed "s/#ServerId = www-data/ServerId = wwwrun/" -i 
%{buildroot}%{_sysconfdir}/hiawatha/hiawatha.conf
 
 install -D -m 0644 %{SOURCE102} \
-%{buildroot}%{_libexecdir}/firewalld/services/%{name}.xml
+%{buildroot}%{_prefix}/lib/firewalld/services/%{name}.xml
 install -D -m 0644 %{SOURCE103} \
-%{buildroot}%{_libexecdir}/firewalld/services/%{name}-ssl.xml
+%{buildroot}%{_prefix}/lib/firewalld/services/%{name}-ssl.xml
 
 %pre
 %service_add_pre %{name}.service
@@ -150,10 +150,10 @@
 %config(noreplace) %{_sysconfdir}/%{name}/index.xslt
 %config(noreplace) %{_sysconfdir}/%{name}/error.xslt
 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
-%dir %{_libexecdir}/firewalld
-%dir %{_libexecdir}/firewalld/services
-%{_libexecdir}/firewalld/services/%{name}.xml
-%{_libexecdir}/firewalld/services/%{name}-ssl.xml
+%dir %{_prefix}/lib/firewalld
+%dir %{_prefix}/lib/firewalld/services
+%{_prefix}/lib/firewalld/services/%{name}.xml
+%{_prefix}/lib/firewalld/services/%{name}-ssl.xml
 %{_mandir}/man1/{cgi-wrapper,hiawatha,ssi-cgi,wigwam}.1%{ext_man}
 %dir %{webroot}/%{name}
 %dir %{webroot}/%{name}/htdocs




commit hiawatha for openSUSE:Factory

2020-08-05 Thread root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2020-08-05 20:29:41

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new.3592 (New)


Package is "hiawatha"

Wed Aug  5 20:29:41 2020 rev:27 rq:824499 version:10.11

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2019-08-16 
15:44:16.645723260 +0200
+++ /work/SRC/openSUSE:Factory/.hiawatha.new.3592/hiawatha.changes  
2020-08-05 20:29:49.183111788 +0200
@@ -1,0 +2,11 @@
+Thu Jul 16 20:10:30 UTC 2020 - Mariusz Fik 
+
+- Update to version 10.11:
+  * Default value of MinTLSversion set to 1.2.
+  * Small bugfixes.
+- Changes from 10.10:
+  * Removed several build options. Functionalities are now always enabled.
+  * Updated Let's Encrypt script due to changes in the API.
+  * Bugfix: AlterMode not working correctly.
+
+---

Old:

  hiawatha-10.9.tar.gz

New:

  hiawatha-10.11.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.0ZIGI7/_old  2020-08-05 20:29:49.983112205 +0200
+++ /var/tmp/diff_new_pack.0ZIGI7/_new  2020-08-05 20:29:49.987112208 +0200
@@ -1,8 +1,8 @@
 #
 # spec file for package hiawatha
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2013-2019 Mariusz Fik .
+# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2013-2020 Mariusz Fik .
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -13,7 +13,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,12 +21,12 @@
 %define mbedtls_version %(rpm -q mbedtls-devel --qf "%%{VERSION}")
 
 Name:   hiawatha
-Version:10.9
+Version:10.11
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0-only
 Group:  Productivity/Networking/Web/Servers
-Url:http://www.hiawatha-webserver.org
+URL:http://www.hiawatha-webserver.org
 Source0:
http://www.hiawatha-webserver.org/files/%{name}-%{version}.tar.gz
 Source1:%{name}.logrotate
 Source2:%{name}.service
@@ -135,7 +135,8 @@
 
 %files
 %defattr(-,root,root)
-%doc ChangeLog LICENSE README.md
+%doc ChangeLog README.md
+%license LICENSE
 %{_bindir}/ssi-cgi
 %{_sbindir}/%{name}
 %{_sbindir}/rc%{name}

++ hiawatha-10.9.tar.gz -> hiawatha-10.11.tar.gz ++
 76704 lines of diff (skipped)




commit hiawatha for openSUSE:Factory

2019-08-16 Thread root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2019-08-16 15:44:15

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new.22127 (New)


Package is "hiawatha"

Fri Aug 16 15:44:15 2019 rev:26 rq:723506 version:10.9

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2019-03-26 
15:40:43.276293571 +0100
+++ /work/SRC/openSUSE:Factory/.hiawatha.new.22127/hiawatha.changes 
2019-08-16 15:44:16.645723260 +0200
@@ -1,0 +2,8 @@
+Wed Jul 24 09:26:57 UTC 2019 - matthias.gerst...@suse.com
+
+- removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced by
+  firewalld, see [1].
+
+  [1]: https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html
+
+---

Old:

  hiawatha-ssl.firewall
  hiawatha.firewall



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.0GceQT/_old  2019-08-16 15:44:18.421722743 +0200
+++ /var/tmp/diff_new_pack.0GceQT/_new  2019-08-16 15:44:18.421722743 +0200
@@ -20,12 +20,6 @@
 %define webroot /srv/www
 %define mbedtls_version %(rpm -q mbedtls-devel --qf "%%{VERSION}")
 
-%if 0%{?suse_version} >= 1500
-%define use_firewalld 1
-%else
-%define use_firewalld 0
-%endif
-
 Name:   hiawatha
 Version:10.9
 Release:0
@@ -36,13 +30,10 @@
 Source0:
http://www.hiawatha-webserver.org/files/%{name}-%{version}.tar.gz
 Source1:%{name}.logrotate
 Source2:%{name}.service
-Source100:  %{name}.firewall
-Source101:  %{name}-ssl.firewall
-%if %{use_firewalld}
 Source102:  %{name}.firewalld
 Source103:  %{name}-ssl.firewalld
-%endif
 BuildRequires:  cmake >= 3.0
+BuildRequires:  firewall-macros
 BuildRequires:  gcc-c++
 BuildRequires:  mbedtls-devel >= 2.3
 BuildRequires:  pkgconfig
@@ -51,9 +42,6 @@
 BuildRequires:  pkgconfig(libxslt)
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(zlib)
-%if %{use_firewalld}
-BuildRequires:  firewall-macros
-%endif
 Requires:   logrotate
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %{?systemd_requires}
@@ -128,19 +116,10 @@
 # run as wwwrun user
 sed "s/#ServerId = www-data/ServerId = wwwrun/" -i 
%{buildroot}%{_sysconfdir}/hiawatha/hiawatha.conf
 
-# susefirewall config files
-install -D -m 0644 %{SOURCE100} \
-%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
-install -D -m 0644 %{SOURCE101} \
-%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}-ssl
-
-# firewalld config files
-%if %{use_firewalld}
 install -D -m 0644 %{SOURCE102} \
 %{buildroot}%{_libexecdir}/firewalld/services/%{name}.xml
 install -D -m 0644 %{SOURCE103} \
 %{buildroot}%{_libexecdir}/firewalld/services/%{name}-ssl.xml
-%endif
 
 %pre
 %service_add_pre %{name}.service
@@ -170,14 +149,10 @@
 %config(noreplace) %{_sysconfdir}/%{name}/index.xslt
 %config(noreplace) %{_sysconfdir}/%{name}/error.xslt
 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
-%config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
-%config(noreplace) 
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}-ssl
-%if %{use_firewalld}
 %dir %{_libexecdir}/firewalld
 %dir %{_libexecdir}/firewalld/services
 %{_libexecdir}/firewalld/services/%{name}.xml
 %{_libexecdir}/firewalld/services/%{name}-ssl.xml
-%endif
 %{_mandir}/man1/{cgi-wrapper,hiawatha,ssi-cgi,wigwam}.1%{ext_man}
 %dir %{webroot}/%{name}
 %dir %{webroot}/%{name}/htdocs




commit hiawatha for openSUSE:Factory

2019-03-26 Thread root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2019-03-26 15:39:43

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new.25356 (New)


Package is "hiawatha"

Tue Mar 26 15:39:43 2019 rev:25 rq:681986 version:10.9

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2018-10-01 
08:20:15.165859290 +0200
+++ /work/SRC/openSUSE:Factory/.hiawatha.new.25356/hiawatha.changes 
2019-03-26 15:40:43.276293571 +0100
@@ -1,0 +2,8 @@
+Mon Mar  4 20:13:01 UTC 2019 - Mariusz Fik 
+
+- Update to version 10.9:
+  * Let's Encrypt script installed via CMake.
+  * Bugfix: Directory traversal when AllowDotFiles is enabled.
+  * Small improvements.
+
+---

Old:

  hiawatha-10.8.3.tar.gz

New:

  hiawatha-10.9.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.BzO3VR/_old  2019-03-26 15:40:44.180293212 +0100
+++ /var/tmp/diff_new_pack.BzO3VR/_new  2019-03-26 15:40:44.184293210 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package hiawatha
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2013-2018 Mariusz Fik .
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2013-2019 Mariusz Fik .
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,7 +27,7 @@
 %endif
 
 Name:   hiawatha
-Version:10.8.3
+Version:10.9
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0-only
@@ -92,6 +92,13 @@
 sed -i 's/MBEDTLS_DHM_RFC5114_MODP_2048_P/MBEDTLS_DHM_RFC5114_MODP_P/' 
src/tls.c
 %endif
 
+# disable CHACHA2 cipher, it's not available in Leap 15.0 mbedtls
+%if 0%{?suse_version} == 1500
+sed '/MBEDTLS_TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256/d' -i src/tls.c
+sed '/MBEDTLS_TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256/d' -i src/tls.c
+sed '/MBEDTLS_TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256/d' -i src/tls.c
+%endif
+
 %build
 %cmake \
 -DCONFIG_DIR="%{_sysconfdir}/hiawatha" \
@@ -135,10 +142,6 @@
 %{buildroot}%{_libexecdir}/firewalld/services/%{name}-ssl.xml
 %endif
 
-# letsencrypt stuff
-mkdir -p %{buildroot}%{_datadir}/%{name}
-cp -r extra/letsencrypt %{buildroot}%{_datadir}/%{name}
-
 %pre
 %service_add_pre %{name}.service
 
@@ -175,7 +178,7 @@
 %{_libexecdir}/firewalld/services/%{name}.xml
 %{_libexecdir}/firewalld/services/%{name}-ssl.xml
 %endif
-%{_mandir}/man1/*.1%{ext_man}
+%{_mandir}/man1/{cgi-wrapper,hiawatha,ssi-cgi,wigwam}.1%{ext_man}
 %dir %{webroot}/%{name}
 %dir %{webroot}/%{name}/htdocs
 %{webroot}/%{name}/htdocs/index.html
@@ -184,7 +187,9 @@
 
 %files letsencrypt
 %defattr(-,root,root)
-%dir %{_datadir}/%{name}
-%{_datadir}/%{name}/letsencrypt
+%{_sbindir}/lefh
+%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/letsencrypt
+%{_mandir}/man1/lefh.1%{ext_man}
 
 %changelog

++ hiawatha-10.8.3.tar.gz -> hiawatha-10.9.tar.gz ++
 24250 lines of diff (skipped)




commit hiawatha for openSUSE:Factory

2018-10-01 Thread root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2018-10-01 08:19:56

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is "hiawatha"

Mon Oct  1 08:19:56 2018 rev:24 rq:639073 version:10.8.3

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2018-05-15 
10:33:41.511549381 +0200
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2018-10-01 
08:20:15.165859290 +0200
@@ -1,0 +2,9 @@
+Wed Sep 26 18:37:47 UTC 2018 - fi...@opensuse.org
+
+- Update to version 10.8.3:
+  * Several fixes in build system
+  * Added build system for nghttp2
+  * New style for directory index
+  * uri_depth added to XML for directory index
+
+---

Old:

  hiawatha-10.8.1.tar.gz

New:

  hiawatha-10.8.3.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.B1uwUH/_old  2018-10-01 08:20:16.093858700 +0200
+++ /var/tmp/diff_new_pack.B1uwUH/_new  2018-10-01 08:20:16.097858697 +0200
@@ -27,7 +27,7 @@
 %endif
 
 Name:   hiawatha
-Version:10.8.1
+Version:10.8.3
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0-only
@@ -46,6 +46,7 @@
 BuildRequires:  gcc-c++
 BuildRequires:  mbedtls-devel >= 2.3
 BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(libnghttp2)
 BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(libxslt)
 BuildRequires:  pkgconfig(systemd)
@@ -99,6 +100,7 @@
 -DWORK_DIR="%{_localstatedir}/lib/hiawatha" \
 -DWEBROOT_DIR="%{webroot}/%{name}/htdocs" \
 -DENABLE_CACHE=On \
+-DENABLE_HTTP2=On \
 -DENABLE_IPV6=On \
 -DENABLE_MONITOR=On \
 -DENABLE_RPROXY=On \
@@ -106,7 +108,8 @@
 -DENABLE_TOMAHAWK=On \
 -DENABLE_TOOLKIT=On \
 -DENABLE_XSLT=On \
--DUSE_SYSTEM_MBEDTLS=On
+-DUSE_SYSTEM_MBEDTLS=On \
+-DUSE_SYSTEM_NGHTTP2=On
 %make_jobs
 
 %install

++ hiawatha-10.8.1.tar.gz -> hiawatha-10.8.3.tar.gz ++
 30154 lines of diff (skipped)




commit hiawatha for openSUSE:Factory

2018-05-15 Thread root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2018-05-15 10:14:22

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is "hiawatha"

Tue May 15 10:14:22 2018 rev:23 rq:606704 version:10.8.1

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2018-03-31 
15:37:01.957372864 +0200
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2018-05-15 
10:33:41.511549381 +0200
@@ -1,0 +2,8 @@
+Tue May  8 20:49:52 UTC 2018 - fi...@opensuse.org
+
+- Update to version 10.8.1.:
+  * Removed support for secp192r1 and secp192k1 curves, to make it PCI DSS
+compliant out of the box.
+  * Small improvements to Let's Encrypt ACMEv2 script.
+
+---

Old:

  hiawatha-10.8.tar.gz

New:

  hiawatha-10.8.1.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.ola9bX/_old  2018-05-15 10:33:42.327519412 +0200
+++ /var/tmp/diff_new_pack.ola9bX/_new  2018-05-15 10:33:42.327519412 +0200
@@ -27,7 +27,7 @@
 %endif
 
 Name:   hiawatha
-Version:10.8
+Version:10.8.1
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0-only

++ hiawatha-10.8.tar.gz -> hiawatha-10.8.1.tar.gz ++
 2927 lines of diff (skipped)




commit hiawatha for openSUSE:Factory

2018-03-31 Thread root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2018-03-31 15:36:57

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is "hiawatha"

Sat Mar 31 15:36:57 2018 rev:22 rq:592256 version:10.8

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2018-02-20 
17:55:45.448990560 +0100
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2018-03-31 
15:37:01.957372864 +0200
@@ -1,0 +2,25 @@
+Mon Mar 26 21:47:26 UTC 2018 - fi...@opensuse.org
+
+- Ship Let's Encrypt script within subpackage.
+
+---
+Mon Mar 26 20:46:56 UTC 2018 - fi...@opensuse.org
+
+- Add firewalld config files for Leap/SLE >= 15 and TW.
+
+---
+Mon Mar 26 19:59:45 UTC 2018 - fi...@opensuse.org
+
+- Update to version 10.8:
+  * New Let's Encrypt script that supports ACME v2.
+  * Added Syslog option.
+  * Added GZipExtensions option.
+  * AllowDotFiles now used to show hidden files in directory listings.
+  * Removed support for static RSA ciphers.
+  * Hiawatha log format changed.
+  * Small improvements.
+  * Bugfix: certain characters in filenames disrupted directory index output.
+  * Bugfix: requesting non-regular files now results in a 403 instead of
+blocking that thread.
+
+---

Old:

  hiawatha-10.7.tar.gz

New:

  hiawatha-10.8.tar.gz
  hiawatha-ssl.firewalld
  hiawatha.firewalld



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.nVsp9N/_old  2018-03-31 15:37:02.877339507 +0200
+++ /var/tmp/diff_new_pack.nVsp9N/_new  2018-03-31 15:37:02.877339507 +0200
@@ -20,11 +20,17 @@
 %define webroot /srv/www
 %define mbedtls_version %(rpm -q mbedtls-devel --qf "%%{VERSION}")
 
+%if 0%{?suse_version} >= 1500
+%define use_firewalld 1
+%else
+%define use_firewalld 0
+%endif
+
 Name:   hiawatha
-Version:10.7
+Version:10.8
 Release:0
 Summary:A secure and advanced webserver
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Productivity/Networking/Web/Servers
 Url:http://www.hiawatha-webserver.org
 Source0:
http://www.hiawatha-webserver.org/files/%{name}-%{version}.tar.gz
@@ -32,6 +38,10 @@
 Source2:%{name}.service
 Source100:  %{name}.firewall
 Source101:  %{name}-ssl.firewall
+%if %{use_firewalld}
+Source102:  %{name}.firewalld
+Source103:  %{name}-ssl.firewalld
+%endif
 BuildRequires:  cmake >= 3.0
 BuildRequires:  gcc-c++
 BuildRequires:  mbedtls-devel >= 2.3
@@ -40,6 +50,9 @@
 BuildRequires:  pkgconfig(libxslt)
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(zlib)
+%if %{use_firewalld}
+BuildRequires:  firewall-macros
+%endif
 Requires:   logrotate
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %{?systemd_requires}
@@ -56,6 +69,18 @@
 such as CGI/FastCGI, HTTP authentication, virtual host support, request
 pipelining, keep alive connections, URL rewriting and many more.
 
+%package letsencrypt
+Summary:Let's Encrypt script for the Hiawatha webserver
+Group:  Productivity/Networking/Web/Servers
+Requires:   %{name}
+Requires:   php-cli
+
+%description letsencrypt
+This is the Let's Encrypt script for the Hiawatha webserver. It can be used to
+request, renew and revoke certificated as provided by Let's Encrypt in a very
+easy way. It requires the PHP command line interface and uses version 2 of the
+ACME protocol to communicate with the Let's Encrypt server.
+
 %prep
 %setup -q
 # Remove bundled source for mbedtls, we use system version
@@ -99,6 +124,18 @@
 install -D -m 0644 %{SOURCE101} \
 %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}-ssl
 
+# firewalld config files
+%if %{use_firewalld}
+install -D -m 0644 %{SOURCE102} \
+%{buildroot}%{_libexecdir}/firewalld/services/%{name}.xml
+install -D -m 0644 %{SOURCE103} \
+%{buildroot}%{_libexecdir}/firewalld/services/%{name}-ssl.xml
+%endif
+
+# letsencrypt stuff
+mkdir -p %{buildroot}%{_datadir}/%{name}
+cp -r extra/letsencrypt %{buildroot}%{_datadir}/%{name}
+
 %pre
 %service_add_pre %{name}.service
 
@@ -129,6 +166,12 @@
 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
 %config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
 %config(noreplace) 
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}-ssl
+%if %{use_firewalld}
+%dir %{_libexecdir}/firewalld
+%dir %{_libexecdir}/firewalld/services
+%{_libexecdir}/firewalld/services/%{name}.xml

commit hiawatha for openSUSE:Factory

2018-02-20 Thread root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2018-02-20 17:55:36

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is "hiawatha"

Tue Feb 20 17:55:36 2018 rev:21 rq:578148 version:10.7

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2017-11-09 
14:00:15.513735691 +0100
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2018-02-20 
17:55:45.448990560 +0100
@@ -1,0 +2,5 @@
+Sat Feb 17 20:21:12 UTC 2018 - fi...@opensuse.org
+
+- Fix build with mbedtls 2.7.0.
+
+---



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.TVcrmC/_old  2018-02-20 17:55:46.524951817 +0100
+++ /var/tmp/diff_new_pack.TVcrmC/_new  2018-02-20 17:55:46.528951673 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package hiawatha
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2013-2017 Mariusz Fik .
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2013-2018 Mariusz Fik .
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,6 +18,7 @@
 
 
 %define webroot /srv/www
+%define mbedtls_version %(rpm -q mbedtls-devel --qf "%%{VERSION}")
 
 Name:   hiawatha
 Version:10.7
@@ -60,6 +61,11 @@
 # Remove bundled source for mbedtls, we use system version
 rm -rv mbedtls
 
+# mbedtls 2.7.0 and its backward comaptybility...
+%if "%{mbedtls_version}" >= "2.7.0"
+sed -i 's/MBEDTLS_DHM_RFC5114_MODP_2048_P/MBEDTLS_DHM_RFC5114_MODP_P/' 
src/tls.c
+%endif
+
 %build
 %cmake \
 -DCONFIG_DIR="%{_sysconfdir}/hiawatha" \




commit hiawatha for openSUSE:Factory

2017-11-09 Thread root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2017-11-09 14:00:09

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is "hiawatha"

Thu Nov  9 14:00:09 2017 rev:20 rq:537987 version:10.7

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2017-08-10 
14:11:16.459455313 +0200
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2017-11-09 
14:00:15.513735691 +0100
@@ -1,0 +2,9 @@
+Tue Oct 24 19:48:10 UTC 2017 - fi...@opensuse.org
+
+- Update to version 10.7:
+  * Connect to a Unix socket via a reverse proxy.
+  * Added BlockExtensions setting.
+  * Small improvements.
+  * Bugfix: error in handling renewal scripts in Let's Encrypt script.
+
+---

Old:

  hiawatha-10.6.tar.gz

New:

  hiawatha-10.7.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.0tggvv/_old  2017-11-09 14:00:16.633694888 +0100
+++ /var/tmp/diff_new_pack.0tggvv/_new  2017-11-09 14:00:16.633694888 +0100
@@ -20,7 +20,7 @@
 %define webroot /srv/www
 
 Name:   hiawatha
-Version:10.6
+Version:10.7
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0

++ hiawatha-10.6.tar.gz -> hiawatha-10.7.tar.gz ++
 7749 lines of diff (skipped)




commit hiawatha for openSUSE:Factory

2017-08-10 Thread root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2017-08-10 14:02:27

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is "hiawatha"

Thu Aug 10 14:02:27 2017 rev:19 rq:506293 version:10.6

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2016-12-02 
16:42:35.0 +0100
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2017-08-10 
14:11:16.459455313 +0200
@@ -1,0 +2,13 @@
+Sat Jun 17 08:33:13 UTC 2017 - fi...@opensuse.org
+
+- Update to version 10.6:
+  * Added PublicKeyPins option.
+  * Added renewal-scripts to Let's Encrypt script.
+  * Small changes to CMake build system.
+  * Added CustomHeaderBackend option.
+  * Renamed CustomHeader option to CustomHeaderClient. Old name still works.
+  * Hiawatha ignores FileHashes and ReverseProxy for Let's Encrypt
+authentication requests.
+  * Small improvements and bugfixes.
+
+---

Old:

  hiawatha-10.4.tar.gz

New:

  hiawatha-10.6.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.FLjIEU/_old  2017-08-10 14:11:17.111363527 +0200
+++ /var/tmp/diff_new_pack.FLjIEU/_new  2017-08-10 14:11:17.115362964 +0200
@@ -1,8 +1,8 @@
 #
 # spec file for package hiawatha
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2013-2015 Mariusz Fik .
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2013-2017 Mariusz Fik .
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %define webroot /srv/www
 
 Name:   hiawatha
-Version:10.4
+Version:10.6
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0
@@ -31,7 +31,8 @@
 Source2:%{name}.service
 Source100:  %{name}.firewall
 Source101:  %{name}-ssl.firewall
-BuildRequires:  cmake >= 2.8.4
+BuildRequires:  cmake >= 3.0
+BuildRequires:  gcc-c++
 BuildRequires:  mbedtls-devel >= 2.3
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libxml-2.0)

++ hiawatha-10.4.tar.gz -> hiawatha-10.6.tar.gz ++
 14838 lines of diff (skipped)




commit hiawatha for openSUSE:Factory

2016-12-02 Thread h_root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2016-12-02 16:42:31

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is "hiawatha"

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2016-10-06 
12:44:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2016-12-02 
16:42:35.0 +0100
@@ -1,0 +2,9 @@
+Tue Nov 15 16:08:30 UTC 2016 - mplus...@suse.com
+
+- Update to version 10.4:
+  * SkipCacheCookie option added.
+  * Added Systemd init script to Debian package.
+  * Small improvements and bugfixes.
+- Small packaging changes and requirements update
+
+---

Old:

  hiawatha-10.3.tar.gz

New:

  hiawatha-10.4.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.yqQZps/_old  2016-12-02 16:42:36.0 +0100
+++ /var/tmp/diff_new_pack.yqQZps/_new  2016-12-02 16:42:36.0 +0100
@@ -20,7 +20,7 @@
 %define webroot /srv/www
 
 Name:   hiawatha
-Version:10.3
+Version:10.4
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0
@@ -32,10 +32,12 @@
 Source100:  %{name}.firewall
 Source101:  %{name}-ssl.firewall
 BuildRequires:  cmake >= 2.8.4
-BuildRequires:  libxslt-devel
 BuildRequires:  mbedtls-devel >= 2.3
-BuildRequires:  pkg-config
-BuildRequires:  systemd
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(libxml-2.0)
+BuildRequires:  pkgconfig(libxslt)
+BuildRequires:  pkgconfig(systemd)
+BuildRequires:  pkgconfig(zlib)
 Requires:   logrotate
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %{?systemd_requires}
@@ -73,8 +75,7 @@
 -DENABLE_TOOLKIT=On \
 -DENABLE_XSLT=On \
 -DUSE_SYSTEM_MBEDTLS=On
-
-make %{?_smp_mflags}
+%make_jobs
 
 %install
 %cmake_install
@@ -121,7 +122,7 @@
 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
 %config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
 %config(noreplace) 
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}-ssl
-%{_mandir}/man1/*.1.gz
+%{_mandir}/man1/*.1%{ext_man}
 %dir %{webroot}/%{name}
 %dir %{webroot}/%{name}/htdocs
 %{webroot}/%{name}/htdocs/index.html

++ hiawatha-10.3.tar.gz -> hiawatha-10.4.tar.gz ++
 6000 lines of diff (skipped)




commit hiawatha for openSUSE:Factory

2016-10-06 Thread h_root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2016-10-06 12:44:54

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is "hiawatha"

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2015-06-23 
11:59:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2016-10-06 
12:44:54.0 +0200
@@ -1,0 +2,56 @@
+Sun Oct  2 19:30:49 UTC 2016 - fi...@opensuse.org
+
+- Build fails with mbedtls < 2.
+
+---
+Sat Aug 27 11:43:20 UTC 2016 - mplus...@suse.com
+
+- Update to version 10.3:
+  * PreventCSRF, PreventSQLi and PreventXSS improved.
+  * Prevention of MySQL data mining via SQL injection.
+  * Added revoke option to Let's Encrypt script.
+  * Hiawatha ignores RequireTLS for Let's Encrypt authentication
+requests.
+  * Small bugfixes and improvements.
+  * Bugfix: possible HTTP request pipelining error after CSRF
+prevented.
+- Changes for version 10.2:
+  * Added Let's Encrypt script (see extra/letsencrypt).
+  * Added support for requesting Let's Encrypt certificates (see
+AccessList and PasswordFile settings in manual page).
+  * Small improvements.
+  * Bugfix: HideProxy not working for Forwarded header.
+- Changes for 10.1:
+  * Added Extensions setting.
+  * Added support for X-Sendfile header.
+  * mbed TLS updated to 2.2.1.
+  * Improved SQL injection detection.
+  * Small bugfixes and improvements.
+- Changes for 10.0:
+  * Usage of Directory sections changed.
+  * Added support for RFC 5785.
+  * Added support for GZip compression. Removed the UseGZfile
+option.
+  * Added ECDSA support for TLS 1.0 and TLS 1.1.
+  * Replaced UrlToolkit Expire option with ExpirePeriod in
+Directory section.
+  * Replaced IgnoreDotHiawatha option with UseLocalConfig.
+  * Removed the VolatileObject option.
+  * Improved SQL injection detection.
+  * mbed TLS updated to 2.2.0.
+  * Small improvements.
+- Changes for 9.15:
+  * Support for WebSockets via reverse proxy.
+  * UNIX socket support for connections to WebSockets.
+  * Responsive design for directory index and error message.
+  * mbed TLS updated to 2.1.2.
+  * Fixed mbed TLS linking in CMake configuration.
+  * ListenBacklog option added.
+  * Small bugfixes.
+- Changes for 9.14:
+  * mbed TLS updated to 2.0.0.
+  * Small bugfixes.
+  * Bugfix: crash when sending very large request to FastCGI
+server.
+
+---

Old:

  hiawatha-9.13.tar.gz

New:

  hiawatha-10.3.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.FpynwN/_old  2016-10-06 12:44:55.0 +0200
+++ /var/tmp/diff_new_pack.FpynwN/_new  2016-10-06 12:44:55.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hiawatha
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2013-2015 Mariusz Fik .
 #
 # All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
 %define webroot /srv/www
 
 Name:   hiawatha
-Version:9.13
+Version:10.3
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0
@@ -33,7 +33,7 @@
 Source101:  %{name}-ssl.firewall
 BuildRequires:  cmake >= 2.8.4
 BuildRequires:  libxslt-devel
-BuildRequires:  mbedtls-devel >= 1.3.10
+BuildRequires:  mbedtls-devel >= 2.3
 BuildRequires:  pkg-config
 BuildRequires:  systemd
 Requires:   logrotate

++ hiawatha-9.13.tar.gz -> hiawatha-10.3.tar.gz ++
 127216 lines of diff (skipped)




commit hiawatha for openSUSE:Factory

2015-06-23 Thread h_root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2015-06-23 11:59:02

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is hiawatha

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2015-04-07 
09:30:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2015-06-23 
11:59:04.0 +0200
@@ -1,0 +2,21 @@
+Sat Jun 20 09:28:30 UTC 2015 - mplus...@suse.com
+
+- Fix rpmlint warnings
+  * add rcsymlink
+  * fix log directory permissions
+
+---
+Mon Jun 15 22:07:08 UTC 2015 - fi...@opensuse.org
+
+- Update to 9.13:
+  * Renamed SSLcertFile to TLScertFile.
+  * Renamed RequireSSL to RequireTLS.
+  * Renamed SSL_* CGI environment variables to TLS_*.
+  * Renamed UrlToolkit option UseSSL to UseTLS.
+  * Replaced MinSSLversion by MinTLSversion.
+  * LogTimeouts option added.
+  * Added 'skip directories' parameter to reverse proxy.
+  * Failed logins sent to Hiawatha Monitor.
+  * Small bugfix and improvements.
+
+---

Old:

  hiawatha-9.12.tar.gz

New:

  hiawatha-9.13.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.OxqjCh/_old  2015-06-23 11:59:05.0 +0200
+++ /var/tmp/diff_new_pack.OxqjCh/_new  2015-06-23 11:59:05.0 +0200
@@ -20,7 +20,7 @@
 %define webroot /srv/www
 
 Name:   hiawatha
-Version:9.12
+Version:9.13
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0
@@ -68,7 +68,7 @@
 -DENABLE_IPV6=On \
 -DENABLE_MONITOR=On \
 -DENABLE_RPROXY=On \
--DENABLE_SSL=On \
+-DENABLE_TLS=On \
 -DENABLE_TOMAHAWK=On \
 -DENABLE_TOOLKIT=On \
 -DENABLE_XSLT=On \
@@ -80,6 +80,7 @@
 %cmake_install
 install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
 install -D -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
 
 # run as wwwrun user
 sed s/#ServerId = www-data/ServerId = wwwrun/ -i 
%{buildroot}%{_sysconfdir}/hiawatha/hiawatha.conf
@@ -107,6 +108,7 @@
 %doc ChangeLog LICENSE README.md
 %{_bindir}/ssi-cgi
 %{_sbindir}/%{name}
+%{_sbindir}/rc%{name}
 %{_sbindir}/wigwam
 %attr(0755,root,root) %verify(not mode) %{_sbindir}/cgi-wrapper
 %{_unitdir}/%{name}.service
@@ -124,6 +126,6 @@
 %dir %{webroot}/%{name}/htdocs
 %{webroot}/%{name}/htdocs/index.html
 %dir %attr(-,wwwrun,www) %{_localstatedir}/lib/%{name}/
-%dir %attr(-,wwwrun,www) %{_localstatedir}/log/%{name}/
+%dir %attr(750,wwwrun,www) %{_localstatedir}/log/%{name}/
 
 %changelog

++ hiawatha-9.12.tar.gz - hiawatha-9.13.tar.gz ++
 4377 lines of diff (skipped)

++ hiawatha.logrotate ++
--- /var/tmp/diff_new_pack.OxqjCh/_old  2015-06-23 11:59:05.0 +0200
+++ /var/tmp/diff_new_pack.OxqjCh/_new  2015-06-23 11:59:05.0 +0200
@@ -1,4 +1,5 @@
 /var/log/hiawatha/*.log {
+  su wwwrun www
compress
dateext
maxage 365




commit hiawatha for openSUSE:Factory

2015-04-07 Thread h_root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2015-04-07 09:30:01

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is hiawatha

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2015-02-11 
16:44:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2015-04-07 
09:30:02.0 +0200
@@ -1,0 +2,7 @@
+Thu Feb 26 22:51:06 UTC 2015 - fi...@opensuse.org
+
+- Update to 9.12:
+  * Bugfix: memory leak in SSL library.
+  * Small bugfix.
+
+---

Old:

  hiawatha-9.11.tar.gz

New:

  hiawatha-9.12.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.qGzKbs/_old  2015-04-07 09:30:02.0 +0200
+++ /var/tmp/diff_new_pack.qGzKbs/_new  2015-04-07 09:30:02.0 +0200
@@ -20,7 +20,7 @@
 %define webroot /srv/www
 
 Name:   hiawatha
-Version:9.11
+Version:9.12
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0
@@ -33,8 +33,8 @@
 Source101:  %{name}-ssl.firewall
 BuildRequires:  cmake = 2.8.4
 BuildRequires:  libxslt-devel
+BuildRequires:  mbedtls-devel = 1.3.10
 BuildRequires:  pkg-config
-BuildRequires:  polarssl-devel
 BuildRequires:  systemd
 Requires:   logrotate
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -54,8 +54,8 @@
 
 %prep
 %setup -q
-# Remove bundled source for polarssl, we use system version
-rm -rv polarssl
+# Remove bundled source for mbedtls, we use system version
+rm -rv mbedtls
 
 %build
 %cmake \
@@ -72,8 +72,7 @@
 -DENABLE_TOMAHAWK=On \
 -DENABLE_TOOLKIT=On \
 -DENABLE_XSLT=On \
--DENABLE_ZLIB_SUPPORT=On \
--DUSE_SYSTEM_POLARSSL=On
+-DUSE_SYSTEM_MBEDTLS=On
 
 make %{?_smp_mflags}
 

++ hiawatha-9.11.tar.gz - hiawatha-9.12.tar.gz ++
 153420 lines of diff (skipped)




commit hiawatha for openSUSE:Factory

2015-02-11 Thread h_root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2015-02-11 16:44:45

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is hiawatha

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2015-01-12 
09:50:22.0 +0100
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2015-02-11 
16:44:46.0 +0100
@@ -1,0 +2,10 @@
+Tue Feb  3 18:19:55 UTC 2015 - fi...@opensuse.org
+
+- Update to 9.11:
+  * ChallengeClient option added.
+  * UrlToolkit options TotalConnections and OmitRequestLog added.
+  * Improvements to UrlToolkit and reverse proxy swap.
+  * UrlToolkit rules are also applied to PUT and DELETE.
+  * Small improvements.
+
+---

Old:

  hiawatha-9.10.tar.gz

New:

  hiawatha-9.11.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.IZWOiN/_old  2015-02-11 16:44:47.0 +0100
+++ /var/tmp/diff_new_pack.IZWOiN/_new  2015-02-11 16:44:47.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package hiawatha
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2013-2015 Mariusz Fik fi...@opensuse.org.
 #
 # All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
 %define webroot /srv/www
 
 Name:   hiawatha
-Version:9.10
+Version:9.11
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0
@@ -36,8 +36,8 @@
 BuildRequires:  pkg-config
 BuildRequires:  polarssl-devel
 BuildRequires:  systemd
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Requires:   logrotate
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %{?systemd_requires}
 
 %description
@@ -86,9 +86,9 @@
 sed s/#ServerId = www-data/ServerId = wwwrun/ -i 
%{buildroot}%{_sysconfdir}/hiawatha/hiawatha.conf
 
 # susefirewall config files
-install -D -m 0644 %{S:100} \
+install -D -m 0644 %{SOURCE100} \
 %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
-install -D -m 0644 %{S:101} \
+install -D -m 0644 %{SOURCE101} \
 %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}-ssl
 
 %pre

++ hiawatha-9.10.tar.gz - hiawatha-9.11.tar.gz ++
 1753 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit hiawatha for openSUSE:Factory

2015-01-12 Thread h_root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2015-01-12 09:50:12

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is hiawatha

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2014-12-16 
14:48:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2015-01-12 
09:50:22.0 +0100
@@ -1,0 +2,12 @@
+Sun Jan 11 22:23:28 UTC 2015 - fi...@opensuse.org
+
+- Update to 9.10:
+  * Support for banning bad clients who connect via a proxy.
+  * UrlToolkit option Do added. Changed how Call and Skip should be called.
+  * General UrlToolkit improvements. See config/toolkit.conf for syntax.
+  * Hiawatha now prefers reverse proxies with a scheme matching the one of the
+client connection. See config/toolkit.conf for syntax.
+  * Hiawatha will now first process UrlToolkit rules before using ReverseProxy.
+  * Small bugfixes and improvements.
+
+---

Old:

  hiawatha-9.9.tar.gz

New:

  hiawatha-9.10.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.Loi9z4/_old  2015-01-12 09:50:23.0 +0100
+++ /var/tmp/diff_new_pack.Loi9z4/_new  2015-01-12 09:50:23.0 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package hiawatha
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# Copyright (c) 2013-2014 Mariusz Fik fi...@opensuse.org.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013-2015 Mariusz Fik fi...@opensuse.org.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %define webroot /srv/www
 
 Name:   hiawatha
-Version:9.9
+Version:9.10
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0
@@ -54,16 +54,11 @@
 
 %prep
 %setup -q
+# Remove bundled source for polarssl, we use system version
+rm -rv polarssl
 
 %build
-mkdir build 
-cd build
-cmake .. \
--DCMAKE_C_FLAGS=%{optflags} -pie -fPIC \
--DCMAKE_INSTALL_PREFIX=%{_prefix} \
--DCMAKE_INSTALL_BINDIR=%{_bindir} \
--DCMAKE_INSTALL_SBINDIR=%{_sbindir} \
--DCMAKE_INSTALL_LIBDIR=%{_libdir} \
+%cmake \
 -DCONFIG_DIR=%{_sysconfdir}/hiawatha \
 -DLOG_DIR=%{_localstatedir}/log/hiawatha \
 -DPID_DIR=%{_localstatedir}/run \
@@ -83,8 +78,7 @@
 make %{?_smp_mflags}
 
 %install
-cd build
-%make_install
+%cmake_install
 install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
 install -D -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
 
@@ -97,9 +91,6 @@
 install -D -m 0644 %{S:101} \
 %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}-ssl
 
-# temp fix
-rm -vf %{buildroot}%{_libdir}/%{name}/libpolarssl.so
-
 %pre
 %service_add_pre %{name}.service
 

++ hiawatha-9.9.tar.gz - hiawatha-9.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hiawatha-9.9/CMakeLists.txt 
new/hiawatha-9.10/CMakeLists.txt
--- old/hiawatha-9.9/CMakeLists.txt 2014-11-30 19:50:43.0 +0100
+++ new/hiawatha-9.10/CMakeLists.txt2015-01-01 20:53:39.0 +0100
@@ -35,13 +35,16 @@
 
 # Settings
 set(HIAWATHA_VERSION_MAJOR 9)
-set(HIAWATHA_VERSION_MINOR 9)
+set(HIAWATHA_VERSION_MINOR 10)
 set(HIAWATHA_VERSION_PATCH 0)
+set(HIAWATHA_VERSION_TWEAK 0)
 string(TOLOWER ${CMAKE_PROJECT_NAME} PROJECT_NAME)
-if(${HIAWATHA_VERSION_PATCH} EQUAL 0)
-   set(HIAWATHA_VERSION 
${HIAWATHA_VERSION_MAJOR}.${HIAWATHA_VERSION_MINOR})
-else()
-   set(HIAWATHA_VERSION 
${HIAWATHA_VERSION_MAJOR}.${HIAWATHA_VERSION_MINOR}.${HIAWATHA_VERSION_PATCH})
+set(HIAWATHA_VERSION ${HIAWATHA_VERSION_MAJOR}.${HIAWATHA_VERSION_MINOR})
+if(NOT ${HIAWATHA_VERSION_PATCH} EQUAL 0)
+   set(HIAWATHA_VERSION ${HIAWATHA_VERSION}.${HIAWATHA_VERSION_PATCH})
+endif()
+if(NOT ${HIAWATHA_VERSION_TWEAK} EQUAL 0)
+   set(HIAWATHA_VERSION ${HIAWATHA_VERSION}-${HIAWATHA_VERSION_TWEAK})
 endif()
 if(EXISTS /proc/loadavg)
option(ENABLE_LOADCHECK Enable the ability to check for server load. 
on)
@@ -172,6 +175,6 @@
 install(FILES extra/index.html DESTINATION ${WEBROOT_DIR})
 
 # Create directories
-install(DIRECTORY empty DESTINATION ${LOG_DIR} PATTERN empty EXCLUDE)
-install(DIRECTORY empty DESTINATION ${PID_DIR} PATTERN empty EXCLUDE)
-install(DIRECTORY empty DESTINATION ${WORK_DIR} PATTERN empty EXCLUDE)
+install(DIRECTORY DESTINATION ${LOG_DIR})
+install(DIRECTORY DESTINATION ${PID_DIR})
+install(DIRECTORY 

commit hiawatha for openSUSE:Factory

2014-12-16 Thread h_root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2014-12-16 14:48:41

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is hiawatha

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2014-11-04 
17:29:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2014-12-16 
14:48:36.0 +0100
@@ -1,0 +2,11 @@
+Sat Dec 13 12:10:31 UTC 2014 - fi...@opensuse.org
+
+- Update to 9.9:
+  * HTTPAuthToCGI option added.
+  * BanByCGI option added.
+  * Improved SSL ciphersuite selections.
+  * CAcertificates options added.
+  * Dropped support for SSL3.0.
+  * Small bugfixes and improvements.
+
+---

Old:

  hiawatha-9.8.tar.gz

New:

  hiawatha-9.9.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.DbW5ux/_old  2014-12-16 14:48:38.0 +0100
+++ /var/tmp/diff_new_pack.DbW5ux/_new  2014-12-16 14:48:38.0 +0100
@@ -20,7 +20,7 @@
 %define webroot /srv/www
 
 Name:   hiawatha
-Version:9.8
+Version:9.9
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0

++ hiawatha-9.8.tar.gz - hiawatha-9.9.tar.gz ++
 2797 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit hiawatha for openSUSE:Factory

2014-11-04 Thread h_root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2014-11-04 17:29:25

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is hiawatha

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2014-09-12 
10:03:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2014-11-04 
17:29:57.0 +0100
@@ -1,0 +2,8 @@
+Sun Nov  2 22:37:08 UTC 2014 - fi...@opensuse.org
+
+- Update to 9.8:
+  * Added support for websockets. WebSocket option added.
+  * SSL key and certificate checks added to wigwam.
+  * Small bugfixes and improvements.
+
+---

Old:

  hiawatha-9.7.tar.gz

New:

  hiawatha-9.8.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.UyEkxT/_old  2014-11-04 17:29:57.0 +0100
+++ /var/tmp/diff_new_pack.UyEkxT/_new  2014-11-04 17:29:57.0 +0100
@@ -20,7 +20,7 @@
 %define webroot /srv/www
 
 Name:   hiawatha
-Version:9.7
+Version:9.8
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0
@@ -78,7 +78,7 @@
 -DENABLE_TOOLKIT=On \
 -DENABLE_XSLT=On \
 -DENABLE_ZLIB_SUPPORT=On \
--DUSE_SYSTEM_POLARSSL=on
+-DUSE_SYSTEM_POLARSSL=On
 
 make %{?_smp_mflags}
 

++ hiawatha-9.7.tar.gz - hiawatha-9.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hiawatha-9.7/CMakeLists.txt 
new/hiawatha-9.8/CMakeLists.txt
--- old/hiawatha-9.7/CMakeLists.txt 2014-08-22 00:07:39.0 +0200
+++ new/hiawatha-9.8/CMakeLists.txt 2014-09-05 16:15:40.0 +0200
@@ -34,7 +34,7 @@
 
 # Settings
 set(HIAWATHA_VERSION_MAJOR 9)
-set(HIAWATHA_VERSION_MINOR 7)
+set(HIAWATHA_VERSION_MINOR 8)
 set(HIAWATHA_VERSION_PATCH 0)
 string(TOLOWER ${CMAKE_PROJECT_NAME} PROJECT_NAME)
 if(${HIAWATHA_VERSION_PATCH} EQUAL 0)
@@ -66,6 +66,7 @@
 check_function_exists(strnstr HAVE_STRNSTR)
 check_function_exists(strcasestr HAVE_STRCASESTR)
 check_function_exists(strncasestr HAVE_STRNCASESTR)
+check_function_exists(arc4random_uniform HAVE_ARC4RANDOM)
 
 check_library_exists(crypt crypt_r  HAVE_CRYPT_R)
 check_library_exists(crypt crypt  HAVE_CRYPT_LIBRARY)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hiawatha-9.7/ChangeLog new/hiawatha-9.8/ChangeLog
--- old/hiawatha-9.7/ChangeLog  2014-08-22 23:04:54.0 +0200
+++ new/hiawatha-9.8/ChangeLog  2014-09-27 14:13:17.0 +0200
@@ -1,3 +1,13 @@
+hiawatha (9.8) stable; urgency=low
+
+  * Added support for websockets. WebSocket option added.
+  * Added Red Hat package building script (extra/make_redhat_package).
+Thanks to Paul F. Bernal B.
+  * SSL key and certificate checks added to wigwam.
+  * Small bugfixes and improvements.
+
+ -- Hugo Leisink h...@leisink.net  Sat, 27 Sep 2014 14:13:21 +0200
+
 hiawatha (9.7) stable; urgency=low
 
   * UseToolkit now possible in .hiawatha file at root of website.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hiawatha-9.7/config.h.in new/hiawatha-9.8/config.h.in
--- old/hiawatha-9.7/config.h.in2014-08-22 00:07:39.0 +0200
+++ new/hiawatha-9.8/config.h.in2014-09-05 16:24:11.0 +0200
@@ -46,6 +46,7 @@
 #cmakedefine HAVE_STRNCASECMP ${HAVE_STRNCASECMP}
 #cmakedefine HAVE_STRNSTR ${HAVE_STRNSTR}
 #cmakedefine HAVE_STRCASESTR ${HAVE_STRCASESTR}
+#cmakedefine HAVE_ARC4RANDOM ${HAVE_ARC4RANDOM}
 
 /* Features
  */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hiawatha-9.7/extra/debian/init.d/hiawatha 
new/hiawatha-9.8/extra/debian/init.d/hiawatha
--- old/hiawatha-9.7/extra/debian/init.d/hiawatha   2014-08-22 
00:07:39.0 +0200
+++ new/hiawatha-9.8/extra/debian/init.d/hiawatha   2014-09-26 
14:21:02.0 +0200
@@ -43,7 +43,7 @@
 
if [ ${result} != 0 ]; then
echo -e ${RED}Hiawatha has NOT been started!${NORMAL}
-   exit 7
+   exit 0
fi
 
echo -n Starting webserver: 
@@ -53,7 +53,7 @@
echo -e ${GREEN}Hiawatha${NORMAL}
else
echo -e ${RED}error!${NORMAL}
-   exit 7
+   exit 0
fi
 }
 
@@ -61,7 +61,7 @@
if [ ! -f ${PIDFILE} ]; then
echo -e Hiawatha${NORMAL}
echo -e ${YELLOW}Hiawatha PID file not found${NORMAL}
-   exit 7
+   exit 0
fi
 
PID=`cat ${PIDFILE}`
@@ -70,7 +70,7 @@
if [ ! -d 

commit hiawatha for openSUSE:Factory

2014-09-12 Thread h_root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2014-09-12 10:03:19

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is hiawatha

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2014-09-08 
21:30:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2014-09-12 
10:03:20.0 +0200
@@ -1,0 +2,9 @@
+Wed Sep 10 16:04:57 UTC 2014 - jeng...@inai.de
+
+- Avoid generating libpolarssl.so.7, which led to have choice
+  for libpolarssl.so.7: libpolarssl7 hiawatha and make other
+  polarssl-using applications not run in practice because the
+  library is in a non-standard directory, yet discovered by rpm
+  as a provider.
+
+---



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.Wyx0hR/_old  2014-09-12 10:03:22.0 +0200
+++ /var/tmp/diff_new_pack.Wyx0hR/_new  2014-09-12 10:03:22.0 +0200
@@ -34,6 +34,7 @@
 BuildRequires:  cmake = 2.8.4
 BuildRequires:  libxslt-devel
 BuildRequires:  pkg-config
+BuildRequires:  polarssl-devel
 BuildRequires:  systemd
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Requires:   logrotate
@@ -76,13 +77,14 @@
 -DENABLE_TOMAHAWK=On \
 -DENABLE_TOOLKIT=On \
 -DENABLE_XSLT=On \
--DENABLE_ZLIB_SUPPORT=On
+-DENABLE_ZLIB_SUPPORT=On \
+-DUSE_SYSTEM_POLARSSL=on
 
 make %{?_smp_mflags}
 
 %install
 cd build
-%makeinstall
+%make_install
 install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
 install -D -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
 
@@ -118,8 +120,6 @@
 %{_sbindir}/wigwam
 %attr(0755,root,root) %verify(not mode) %{_sbindir}/cgi-wrapper
 %{_unitdir}/%{name}.service
-%dir %{_libdir}/%{name}
-%{_libdir}/%{name}/libpolarssl.so*
 %dir %{_sysconfdir}/%{name}
 %config(noreplace) %{_sysconfdir}/%{name}/cgi-wrapper.conf
 %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit hiawatha for openSUSE:Factory

2014-09-08 Thread h_root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2014-09-08 21:29:02

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is hiawatha

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2014-06-10 
14:38:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2014-09-08 
21:30:22.0 +0200
@@ -1,0 +2,15 @@
+Sun Sep  7 23:29:36 UTC 2014 - fi...@opensuse.org
+
+- Update to 9.7:
+  * UseToolkit now possible in .hiawatha file at root of website.
+  *  Method option added to URL Toolkit.
+  *  SetResourceLimit option added.
+  *  ThreadKillRate option added.
+  *  Improved SQL injection detection.
+  *  Default value for DHsize set to 2048.
+  *  PolarSSL updated to version 1.3.8.
+  *  Memory allocation debugger module added.
+  *  Small bugfixes and improvements.
+  *  Bugfix: incorrect file hash printing by wigwam with directory as symlink.
+
+---

Old:

  hiawatha-9.6.tar.gz

New:

  hiawatha-9.7.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.n8Zi29/_old  2014-09-08 21:30:23.0 +0200
+++ /var/tmp/diff_new_pack.n8Zi29/_new  2014-09-08 21:30:23.0 +0200
@@ -20,7 +20,7 @@
 %define webroot /srv/www
 
 Name:   hiawatha
-Version:9.6
+Version:9.7
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0

++ hiawatha-9.6.tar.gz - hiawatha-9.7.tar.gz ++
 24429 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit hiawatha for openSUSE:Factory

2014-06-10 Thread h_root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2014-06-10 14:38:46

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is hiawatha

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2014-05-20 
14:22:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2014-06-10 
14:38:48.0 +0200
@@ -1,0 +2,15 @@
+Sun Jun  8 21:10:58 UTC 2014 - fi...@opensuse.org
+
+- Update to 9.6:
+  * Logfile rotation for access logfiles.
+  * HTTP Strict Transport Security header made optional for RequireSSL.
+  * Support for chunked transfer encoded requests (not for PUT).
+  * Support for improved server statistics in Hiawatha Monitor.
+  * The Hiawatha Monitor is now supported without the need for XSLT.
+  * PolarSSL updated to version 1.3.7.
+  * A few bugfixes as reported by Coverity.
+  * Bugfix: SQL injection detection was broken since 8.6.
+  * Bugfix: XSS detection didn't work for reverse proxy.
+  * Small bugfixes.
+
+---

Old:

  hiawatha-9.5.tar.gz

New:

  hiawatha-9.6.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.RA7ENU/_old  2014-06-10 14:38:49.0 +0200
+++ /var/tmp/diff_new_pack.RA7ENU/_new  2014-06-10 14:38:49.0 +0200
@@ -20,7 +20,7 @@
 %define webroot /srv/www
 
 Name:   hiawatha
-Version:9.5
+Version:9.6
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0

++ hiawatha-9.5.tar.gz - hiawatha-9.6.tar.gz ++
 12469 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit hiawatha for openSUSE:Factory

2014-05-20 Thread h_root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2014-05-20 14:22:11

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is hiawatha

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2014-03-25 
13:22:19.0 +0100
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2014-05-20 
14:22:12.0 +0200
@@ -1,0 +2,12 @@
+Sun May 18 14:34:03 UTC 2014 - fi...@opensuse.org
+
+- Update to 9.5:
+  * Added support for CGI statistics in Hiawatha Monitor.
+  * MonitorRequests and MonitorStatsInterval option removed.
+  * Added support for Origin HTTP header to prevent CSRF.
+  * EnforceFirstHostname option added.
+  * ScriptAlias option added.
+  * PolarSSL updated to version 1.3.6.
+  * Dropped support for PolarSSL 1.2.
+
+---

Old:

  hiawatha-9.4.tar.gz

New:

  hiawatha-9.5.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.cyAasz/_old  2014-05-20 14:22:13.0 +0200
+++ /var/tmp/diff_new_pack.cyAasz/_new  2014-05-20 14:22:13.0 +0200
@@ -20,7 +20,7 @@
 %define webroot /srv/www
 
 Name:   hiawatha
-Version:9.4
+Version:9.5
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0

++ hiawatha-9.4.tar.gz - hiawatha-9.5.tar.gz ++
 12122 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit hiawatha for openSUSE:Factory

2014-03-25 Thread h_root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2014-03-25 13:22:17

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is hiawatha

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2014-02-18 
14:44:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2014-03-25 
13:22:19.0 +0100
@@ -1,0 +2,15 @@
+Mon Mar 24 23:25:24 UTC 2014 - fi...@opensuse.org
+
+- Update to 9.4:
+  * Keep-Alive connections for reverse proxy made optional.
+  * ErrorXSLTfile option added.
+  * IgnoreDotHiawatha option added.
+  * RandomHeader option added.
+  * Dropped support for RC4.
+  * PolarSSL updated to version 1.3.4.
+  * Added support for Hyper Text Coffee Pot Control Protocol (RFC2324).
+  * Added SSL_CIPHER to CGI environment.
+  * Added Public/Private to UrlToolkit expire option.
+  * Small improvements.
+
+---

Old:

  hiawatha-9.3.1.tar.gz

New:

  hiawatha-9.4.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.30og7I/_old  2014-03-25 13:22:20.0 +0100
+++ /var/tmp/diff_new_pack.30og7I/_new  2014-03-25 13:22:20.0 +0100
@@ -20,7 +20,7 @@
 %define webroot /srv/www
 
 Name:   hiawatha
-Version:9.3.1
+Version:9.4
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0
@@ -125,6 +125,7 @@
 %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
 %config(noreplace) %{_sysconfdir}/%{name}/mimetype.conf
 %config(noreplace) %{_sysconfdir}/%{name}/index.xslt
+%config(noreplace) %{_sysconfdir}/%{name}/error.xslt
 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
 %config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
 %config(noreplace) 
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}-ssl

++ hiawatha-9.3.1.tar.gz - hiawatha-9.4.tar.gz ++
 16447 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit hiawatha for openSUSE:Factory

2014-02-18 Thread h_root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2014-02-18 14:44:40

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is hiawatha

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2014-01-29 
22:15:44.0 +0100
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2014-02-18 
14:44:41.0 +0100
@@ -1,0 +2,5 @@
+Mon Feb 17 16:40:08 UTC 2014 - fi...@opensuse.org
+
+- Add firewall rules for http and https.
+
+---

New:

  hiawatha-ssl.firewall
  hiawatha.firewall



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.fNxwMf/_old  2014-02-18 14:44:42.0 +0100
+++ /var/tmp/diff_new_pack.fNxwMf/_new  2014-02-18 14:44:42.0 +0100
@@ -29,6 +29,8 @@
 Source0:
http://www.hiawatha-webserver.org/files/%{name}-%{version}.tar.gz
 Source1:%{name}.logrotate
 Source2:%{name}.service
+Source100:  %{name}.firewall
+Source101:  %{name}-ssl.firewall
 BuildRequires:  cmake = 2.8.4
 BuildRequires:  libxslt-devel
 BuildRequires:  pkg-config
@@ -87,6 +89,12 @@
 # run as wwwrun user
 sed s/#ServerId = www-data/ServerId = wwwrun/ -i 
%{buildroot}%{_sysconfdir}/hiawatha/hiawatha.conf
 
+# susefirewall config files
+install -D -m 0644 %{S:100} \
+%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
+install -D -m 0644 %{S:101} \
+%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}-ssl
+
 # temp fix
 rm -vf %{buildroot}%{_libdir}/%{name}/libpolarssl.so
 
@@ -118,6 +126,8 @@
 %config(noreplace) %{_sysconfdir}/%{name}/mimetype.conf
 %config(noreplace) %{_sysconfdir}/%{name}/index.xslt
 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
+%config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
+%config(noreplace) 
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}-ssl
 %{_mandir}/man1/*.1.gz
 %dir %{webroot}/%{name}
 %dir %{webroot}/%{name}/htdocs

++ hiawatha-ssl.firewall ++
## Name: Hiwatha webserver (https)
## Description: Opens https port for Hiawatha webserver.

# space separated list of allowed TCP ports
TCP=https

# space separated list of allowed UDP ports
UDP=https

# space separated list of allowed RPC services
RPC=

# space separated list of allowed IP protocols
IP=

# space separated list of allowed UDP broadcast ports
BROADCAST=
++ hiawatha.firewall ++
## Name: Hiwatha webserver (http)
## Description: Opens http port for Hiawatha webserver.

# space separated list of allowed TCP ports
TCP=http

# space separated list of allowed UDP ports
UDP=http

# space separated list of allowed RPC services
RPC=

# space separated list of allowed IP protocols
IP=

# space separated list of allowed UDP broadcast ports
BROADCAST=
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit hiawatha for openSUSE:Factory

2014-01-29 Thread h_root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2014-01-29 22:15:42

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is hiawatha

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2013-11-22 
07:11:16.0 +0100
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2014-01-29 
22:15:44.0 +0100
@@ -1,0 +2,6 @@
+Thu Dec 12 22:04:38 UTC 2013 - fi...@opensuse.org
+
+- Update to 9.3.1:
+  * Several bugfixes in reverse proxy.
+
+---

Old:

  hiawatha-9.3.tar.gz

New:

  hiawatha-9.3.1.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.qIwnys/_old  2014-01-29 22:15:44.0 +0100
+++ /var/tmp/diff_new_pack.qIwnys/_new  2014-01-29 22:15:44.0 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package hiawatha
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# Copyright (c) 2013 Mariusz Fik fi...@opensuse.org.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013-2014 Mariusz Fik fi...@opensuse.org.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %define webroot /srv/www
 
 Name:   hiawatha
-Version:9.3
+Version:9.3.1
 Release:0
 Summary:A secure and advanced webserver
 License:GPL-2.0

++ hiawatha-9.3.tar.gz - hiawatha-9.3.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hiawatha-9.3/CMakeLists.txt 
new/hiawatha-9.3.1/CMakeLists.txt
--- old/hiawatha-9.3/CMakeLists.txt 2013-11-05 22:39:25.0 +0100
+++ new/hiawatha-9.3.1/CMakeLists.txt   2013-12-07 19:54:45.0 +0100
@@ -35,7 +35,7 @@
 # Settings
 set(HIAWATHA_VERSION_MAJOR 9)
 set(HIAWATHA_VERSION_MINOR 3)
-set(HIAWATHA_VERSION_PATCH 0)
+set(HIAWATHA_VERSION_PATCH 1)
 string(TOLOWER ${CMAKE_PROJECT_NAME} PROJECT_NAME)
 if(${HIAWATHA_VERSION_PATCH} EQUAL 0)
set(HIAWATHA_VERSION 
${HIAWATHA_VERSION_MAJOR}.${HIAWATHA_VERSION_MINOR})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hiawatha-9.3/ChangeLog new/hiawatha-9.3.1/ChangeLog
--- old/hiawatha-9.3/ChangeLog  2013-11-05 22:39:26.0 +0100
+++ new/hiawatha-9.3.1/ChangeLog2013-12-07 19:54:46.0 +0100
@@ -1,3 +1,9 @@
+hiawatha (9.3.1) stable; urgency=low
+
+  * Several bugfixes in reverse proxy.
+
+ -- Hugo Leisink h...@leisink.net  Sat,  7 Dec 2013 19:54:49 +0100
+
 hiawatha (9.3) stable; urgency=low
 
   * PolarSSL updated to version 1.3.2.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hiawatha-9.3/src/cache.c 
new/hiawatha-9.3.1/src/cache.c
--- old/hiawatha-9.3/src/cache.c2013-11-05 22:39:25.0 +0100
+++ new/hiawatha-9.3.1/src/cache.c  2013-12-24 20:11:00.0 +0100
@@ -30,6 +30,7 @@
 #define MAX_CACHE_INDEX 250
 #define EXTENSION_SIZE 10
 
+extern char *hs_conn;
 extern char *hs_conlen;
 
 static t_cached_object *cache[MAX_CACHE_INDEX];
@@ -165,36 +166,13 @@
 
 static t_cached_object *add_output_to_cache(t_session *session, char *output, 
int size, int time, t_cot_type cot_type) {
t_cached_object *object;
-   size_t len;
-   char *pos, *loc, *data, str[50];
+   char *data;
 
-   if ((pos = strstr(output, \r\n\r\n)) == NULL) {
+   if ((data = (char*)malloc(size + 1)) == NULL) {
return NULL;
}
-   *pos = '\0';
-   loc = strcasestr(output, hs_conlen);
-   *pos = '\r';
-
-   if (loc == NULL) {
-   /* Output has no Content-Length
-*/
-   len = size - (pos + 4 - output);
-   sprintf(str, %s%ld\r\n, hs_conlen, (long)len);
-   len = strlen(str);
-   if ((data = (char*)malloc(len + size)) == NULL) {
-   return NULL;
-   }
-   memcpy(data, str, len);
-   memcpy(data + len, output, size);
-   size += len;
-   } else {
-   /* Output has Content-Length
-*/
-   if ((data = (char*)malloc(size)) == NULL) {
-   return NULL;
-   }
-   memcpy(data, output, size);
-   }
+   memcpy(data, output, size);
+   *(data + size) = '\0';
 
secure_header(output);
 
@@ -542,6 +520,7 @@
object-in_use = 1;
object-type = cot_file;

commit hiawatha for openSUSE:Factory

2013-11-21 Thread h_root
Hello community,

here is the log from the commit of package hiawatha for openSUSE:Factory 
checked in at 2013-11-22 07:11:15

Comparing /work/SRC/openSUSE:Factory/hiawatha (Old)
 and  /work/SRC/openSUSE:Factory/.hiawatha.new (New)


Package is hiawatha

Changes:

--- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes2013-10-17 
17:38:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes   2013-11-22 
07:11:16.0 +0100
@@ -1,0 +2,11 @@
+Thu Nov 21 21:16:09 UTC 2013 - fi...@opensuse.org
+
+- Update to 9.3:
+  * PolarSSL updated to version 1.3.2.
+  * Added support for Elliptic Curve Cryptography.
+  * TunnelSSH option added.
+  * AnonymizeIP option added.
+  * Keep-alive connections for reverse proxy.
+  * Small improvements.
+
+---

Old:

  hiawatha-9.2.tar.gz

New:

  hiawatha-9.3.tar.gz



Other differences:
--
++ hiawatha.spec ++
--- /var/tmp/diff_new_pack.Kb0ZDB/_old  2013-11-22 07:11:17.0 +0100
+++ /var/tmp/diff_new_pack.Kb0ZDB/_new  2013-11-22 07:11:17.0 +0100
@@ -13,24 +13,24 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-#
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define webroot /srv/www
 
 Name:   hiawatha
-Version:9.2
+Version:9.3
 Release:0
-License:GPL-2.0
 Summary:A secure and advanced webserver
-Url:http://www.hiawatha-webserver.org
+License:GPL-2.0
 Group:  Productivity/Networking/Web/Servers
+Url:http://www.hiawatha-webserver.org
 Source0:
http://www.hiawatha-webserver.org/files/%{name}-%{version}.tar.gz
 Source1:%{name}.logrotate
 Source2:%{name}.service
-BuildRequires:  libxslt-devel
 BuildRequires:  cmake = 2.8.4
+BuildRequires:  libxslt-devel
 BuildRequires:  pkg-config
 BuildRequires:  systemd
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -78,7 +78,6 @@
 
 make %{?_smp_mflags}
 
-
 %install
 cd build
 %makeinstall

++ hiawatha-9.2.tar.gz - hiawatha-9.3.tar.gz ++
 51058 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org