[arch-commits] Commit in hiawatha/repos/community-x86_64 (10 files)

2020-07-29 Thread Kyle Keen via arch-commits
Date: Wednesday, July 29, 2020 @ 22:55:20
  Author: kkeen
Revision: 665850

archrelease: copy trunk to community-x86_64

Added:
  hiawatha/repos/community-x86_64/PKGBUILD
(from rev 665849, hiawatha/trunk/PKGBUILD)
  hiawatha/repos/community-x86_64/hiawatha.conf.sample
(from rev 665849, hiawatha/trunk/hiawatha.conf.sample)
  hiawatha/repos/community-x86_64/hiawatha.service
(from rev 665849, hiawatha/trunk/hiawatha.service)
  hiawatha/repos/community-x86_64/lefh-renew.service
(from rev 665849, hiawatha/trunk/lefh-renew.service)
  hiawatha/repos/community-x86_64/lefh-renew.timer
(from rev 665849, hiawatha/trunk/lefh-renew.timer)
Deleted:
  hiawatha/repos/community-x86_64/PKGBUILD
  hiawatha/repos/community-x86_64/hiawatha.conf.sample
  hiawatha/repos/community-x86_64/hiawatha.service
  hiawatha/repos/community-x86_64/lefh-renew.service
  hiawatha/repos/community-x86_64/lefh-renew.timer

--+
 PKGBUILD |  202 +--
 hiawatha.conf.sample |  228 -
 hiawatha.service |   32 +++---
 lefh-renew.service   |   18 +--
 lefh-renew.timer |   22 ++--
 5 files changed, 248 insertions(+), 254 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-07-29 22:55:04 UTC (rev 665849)
+++ PKGBUILD2020-07-29 22:55:20 UTC (rev 665850)
@@ -1,104 +0,0 @@
-# Maintainer: Kyle Keen 
-# Contributor: Kurt Marasco 
-# Contributor: Pascal Ernster 
-# Contributor: Kewl 
-
-pkgname=hiawatha
-pkgver=10.10
-pkgrel=2
-pkgdesc="Secure and advanced webserver"
-url="https://www.hiawatha-webserver.org/;
-arch=('x86_64')
-license=('GPL2')
-depends=('libxslt' 'mbedtls')
-optdepends=('php-fpm: PHP fastcgi'
-'php: letsencrypt/lefh')
-makedepends=('cmake')
-backup=(
-'etc/hiawatha/hiawatha.conf'
-'etc/hiawatha/cgi-wrapper.conf'
-'etc/hiawatha/mimetype.conf'
-)
-
-source=(
-"https://www.hiawatha-webserver.org/files/$pkgname-$pkgver.tar.gz; 
-'hiawatha.conf.sample'
-'hiawatha.service'
-'lefh-renew.service'
-'lefh-renew.timer'
-)
-sha256sums=('b5e46f5757fa647e77d21d24f7eea912d59f26a75558cba780b45c1c3a33a4d9'
-'4671d2586cbe3cd6497b16ff422c6143cdab40641ef3c9c4988c478351a8f5e7'
-'b5a2671703b52eec376cfc4697b86aafa4f7fdd9b2b9203798e2117770bafa53'
-'db1d647d86370583c24ae7a37feab78e3f0015d441ff5bc8f9b32e1a91ec4c8e'
-'d12c5a68c293f66d95ae4df704ea349adbad972fb25475ab1a0a24fb42bfc70b')
-
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-  sed -i 's/www-data/http/g' extra/logrotate.in
-
-  # Update stock hiawatha.conf
-  sed -e 's|#ServerId = www-data|ServerId = http|' \
-  -e 's|/var/www/|/srv/http/|g' \
-  -e 's|//|/|g' \
-  -e 's|#CGIextension = cgi|&\n#TriggerOnCGIstatus = no|g' \
-  -e 's|ConnectTo = 127.0.0.1:2005|ConnectTo = 127.0.0.1:9000|g' \
-  -e 's|#  Extension = php|&\n#   SessionTimeout = 30|g' \
-  -e 's|#ErrorHandler = 404:/error.cgi|&\n#UseGZfile = yes|g' \
-  -i config/hiawatha.conf.in
-  
-  sed -e 's|/etc/init.d/hiawatha restart|systemctl restart hiawatha.service|' \
-  -i extra/letsencrypt/letsencrypt.conf.in
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  mkdir -p build
-  cd build
-
-  cmake ../ -DCMAKE_INSTALL_PREFIX="/" \
--DCMAKE_INSTALL_BINDIR="/usr/bin" \
--DCMAKE_INSTALL_SBINDIR="/usr/bin" \
--DCMAKE_INSTALL_SYSCONFDIR="/etc/hiawatha" \
--DCMAKE_INSTALL_LIBDIR="/usr/lib" \
--DCMAKE_INSTALL_MANDIR="/usr/share/man" \
--DCONFIG_DIR="/etc/hiawatha" \
--DLOG_DIR="/var/log/hiawatha" \
--DPID_DIR="/run" \
--DENABLE_TLS=ON \
--DUSE_SYSTEM_MBEDTLS=ON \
--DENABLE_MONITOR=ON \
--DWEBROOT_DIR="/srv/http/hiawatha" \
--DWORK_DIR="/var/lib/hiawatha"
-
-  make
-
-  # Features enabled by default
-  # -DENABLE_CACHE
-  # -DENABLE_IPV6
-  # -DENABLE_RPROXY
-  # -DENABLE_TOOLKIT
-  # -DENABLE_XSLT
-
-  # Features disabled by default
-  # -DENABLE_DEBUG
-  # -DENABLE_TOMAHAWK
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver/build"
-  make DESTDIR="$pkgdir/" install
- 
-  rmdir "$pkgdir/run"
-  rm "$pkgdir/srv/http/hiawatha/index.html"
-  rmdir -p --ignore-fail-on-non-empty "$pkgdir/srv/http/hiawatha"
- 
-  install -Dm644 logrotate.d/hiawatha "$pkgdir/etc/logrotate.d/hiawatha"
-  cd "$srcdir"
-  install -Dm644 hiawatha.service   
"$pkgdir/usr/lib/systemd/system/hiawatha.service"
-  install -Dm644 lefh-renew.service 
"$pkgdir/usr/lib/systemd/system/lefh-renew.service"
-  install -Dm644 lefh-renew.timer   
"$pkgdir/usr/lib/systemd/system/lefh-renew.timer"
-  install -Dm644 hiawatha.conf.sample "$pkgdir/etc/hiawatha/"
-}
-

Copied: hiawatha/repos/community-x86_64/PKGBUILD (from rev 665849, 
hiawatha/trunk/PKGBUILD)

[arch-commits] Commit in hiawatha/repos/community-x86_64 (10 files)

2019-10-20 Thread Kyle Keen via arch-commits
Date: Sunday, October 20, 2019 @ 20:21:50
  Author: kkeen
Revision: 517983

archrelease: copy trunk to community-x86_64

Added:
  hiawatha/repos/community-x86_64/PKGBUILD
(from rev 517982, hiawatha/trunk/PKGBUILD)
  hiawatha/repos/community-x86_64/hiawatha.conf.sample
(from rev 517982, hiawatha/trunk/hiawatha.conf.sample)
  hiawatha/repos/community-x86_64/hiawatha.service
(from rev 517982, hiawatha/trunk/hiawatha.service)
  hiawatha/repos/community-x86_64/lefh-renew.service
(from rev 517982, hiawatha/trunk/lefh-renew.service)
  hiawatha/repos/community-x86_64/lefh-renew.timer
(from rev 517982, hiawatha/trunk/lefh-renew.timer)
Deleted:
  hiawatha/repos/community-x86_64/PKGBUILD
  hiawatha/repos/community-x86_64/hiawatha.conf.sample
  hiawatha/repos/community-x86_64/hiawatha.service
  hiawatha/repos/community-x86_64/lefh-renew.service
  hiawatha/repos/community-x86_64/lefh-renew.timer

--+
 PKGBUILD |  208 ++--
 hiawatha.conf.sample |  228 -
 hiawatha.service |   32 +++---
 lefh-renew.service   |   18 +--
 lefh-renew.timer |   22 ++--
 5 files changed, 254 insertions(+), 254 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-10-20 20:21:18 UTC (rev 517982)
+++ PKGBUILD2019-10-20 20:21:50 UTC (rev 517983)
@@ -1,104 +0,0 @@
-# Maintainer: Kyle Keen 
-# Contributor: Kurt Marasco 
-# Contributor: Pascal Ernster 
-# Contributor: Kewl 
-
-pkgname=hiawatha
-pkgver=10.9
-pkgrel=3
-pkgdesc="Secure and advanced webserver"
-url="https://www.hiawatha-webserver.org/;
-arch=('x86_64')
-license=('GPL2')
-depends=('libxslt' 'mbedtls')
-optdepends=('php-fpm: PHP fastcgi'
-'php: letsencrypt/lefh')
-makedepends=('cmake')
-backup=(
-'etc/hiawatha/hiawatha.conf'
-'etc/hiawatha/cgi-wrapper.conf'
-'etc/hiawatha/mimetype.conf'
-)
-
-source=(
-"https://www.hiawatha-webserver.org/files/$pkgname-$pkgver.tar.gz; 
-'hiawatha.conf.sample'
-'hiawatha.service'
-'lefh-renew.service'
-'lefh-renew.timer'
-)
-sha256sums=('74dd43812272c3ddbf067b6d4da1773cdeef2ffe71e8f164449fabf8431752b8'
-'4671d2586cbe3cd6497b16ff422c6143cdab40641ef3c9c4988c478351a8f5e7'
-'b5a2671703b52eec376cfc4697b86aafa4f7fdd9b2b9203798e2117770bafa53'
-'db1d647d86370583c24ae7a37feab78e3f0015d441ff5bc8f9b32e1a91ec4c8e'
-'d12c5a68c293f66d95ae4df704ea349adbad972fb25475ab1a0a24fb42bfc70b')
-
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-  sed -i 's/www-data/http/g' extra/logrotate.in
-
-  # Update stock hiawatha.conf
-  sed -e 's|#ServerId = www-data|ServerId = http|' \
-  -e 's|/var/www/|/srv/http/|g' \
-  -e 's|//|/|g' \
-  -e 's|#CGIextension = cgi|&\n#TriggerOnCGIstatus = no|g' \
-  -e 's|ConnectTo = 127.0.0.1:2005|ConnectTo = 127.0.0.1:9000|g' \
-  -e 's|#  Extension = php|&\n#   SessionTimeout = 30|g' \
-  -e 's|#ErrorHandler = 404:/error.cgi|&\n#UseGZfile = yes|g' \
-  -i config/hiawatha.conf.in
-  
-  sed -e 's|/etc/init.d/hiawatha restart|systemctl restart hiawatha.service|' \
-  -i extra/letsencrypt/letsencrypt.conf.in
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  mkdir -p build
-  cd build
-
-  cmake ../ -DCMAKE_INSTALL_PREFIX="/" \
--DCMAKE_INSTALL_BINDIR="/usr/bin" \
--DCMAKE_INSTALL_SBINDIR="/usr/bin" \
--DCMAKE_INSTALL_SYSCONFDIR="/etc/hiawatha" \
--DCMAKE_INSTALL_LIBDIR="/usr/lib" \
--DCMAKE_INSTALL_MANDIR="/usr/share/man" \
--DCONFIG_DIR="/etc/hiawatha" \
--DLOG_DIR="/var/log/hiawatha" \
--DPID_DIR="/run" \
--DENABLE_TLS=ON \
--DUSE_SYSTEM_MBEDTLS=ON \
--DENABLE_MONITOR=ON \
--DWEBROOT_DIR="/srv/http/hiawatha" \
--DWORK_DIR="/var/lib/hiawatha"
-
-  make
-
-  # Features enabled by default
-  # -DENABLE_CACHE
-  # -DENABLE_IPV6
-  # -DENABLE_RPROXY
-  # -DENABLE_TOOLKIT
-  # -DENABLE_XSLT
-
-  # Features disabled by default
-  # -DENABLE_DEBUG
-  # -DENABLE_TOMAHAWK
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver/build"
-  make DESTDIR="$pkgdir/" install
- 
-  rmdir "$pkgdir/run"
-  rm "$pkgdir/srv/http/hiawatha/index.html"
-  rmdir -p --ignore-fail-on-non-empty "$pkgdir/srv/http/hiawatha"
- 
-  install -Dm644 logrotate.d/hiawatha "$pkgdir/etc/logrotate.d/hiawatha"
-  cd "$srcdir"
-  install -Dm644 hiawatha.service   
"$pkgdir/usr/lib/systemd/system/hiawatha.service"
-  install -Dm644 lefh-renew.service 
"$pkgdir/usr/lib/systemd/system/lefh-renew.service"
-  install -Dm644 lefh-renew.timer   
"$pkgdir/usr/lib/systemd/system/lefh-renew.timer"
-  install -Dm644 hiawatha.conf.sample "$pkgdir/etc/hiawatha/"
-}
-

Copied: hiawatha/repos/community-x86_64/PKGBUILD (from rev 517982, 
hiawatha/trunk/PKGBUILD)

[arch-commits] Commit in hiawatha/repos/community-x86_64 (10 files)

2019-07-08 Thread Kyle Keen via arch-commits
Date: Tuesday, July 9, 2019 @ 01:36:52
  Author: kkeen
Revision: 487732

archrelease: copy trunk to community-x86_64

Added:
  hiawatha/repos/community-x86_64/PKGBUILD
(from rev 487731, hiawatha/trunk/PKGBUILD)
  hiawatha/repos/community-x86_64/hiawatha.conf.sample
(from rev 487731, hiawatha/trunk/hiawatha.conf.sample)
  hiawatha/repos/community-x86_64/hiawatha.service
(from rev 487731, hiawatha/trunk/hiawatha.service)
  hiawatha/repos/community-x86_64/lefh-renew.service
(from rev 487731, hiawatha/trunk/lefh-renew.service)
  hiawatha/repos/community-x86_64/lefh-renew.timer
(from rev 487731, hiawatha/trunk/lefh-renew.timer)
Deleted:
  hiawatha/repos/community-x86_64/PKGBUILD
  hiawatha/repos/community-x86_64/hiawatha.conf.sample
  hiawatha/repos/community-x86_64/hiawatha.service
  hiawatha/repos/community-x86_64/lefh-renew.service
  hiawatha/repos/community-x86_64/lefh-renew.timer

--+
 PKGBUILD |  208 ++--
 hiawatha.conf.sample |  228 -
 hiawatha.service |   32 +++---
 lefh-renew.service   |   18 +--
 lefh-renew.timer |   22 ++--
 5 files changed, 254 insertions(+), 254 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-07-09 01:36:32 UTC (rev 487731)
+++ PKGBUILD2019-07-09 01:36:52 UTC (rev 487732)
@@ -1,104 +0,0 @@
-# Maintainer: Kyle Keen 
-# Contributor: Kurt Marasco 
-# Contributor: Pascal Ernster 
-# Contributor: Kewl 
-
-pkgname=hiawatha
-pkgver=10.9
-pkgrel=2
-pkgdesc="Secure and advanced webserver"
-url="https://www.hiawatha-webserver.org/;
-arch=('x86_64')
-license=('GPL2')
-depends=('libxslt' 'mbedtls')
-optdepends=('php-fpm: PHP fastcgi'
-'php: letsencrypt/lefh')
-makedepends=('cmake')
-backup=(
-'etc/hiawatha/hiawatha.conf'
-'etc/hiawatha/cgi-wrapper.conf'
-'etc/hiawatha/mimetype.conf'
-)
-
-source=(
-"https://www.hiawatha-webserver.org/files/$pkgname-$pkgver.tar.gz; 
-'hiawatha.conf.sample'
-'hiawatha.service'
-'lefh-renew.service'
-'lefh-renew.timer'
-)
-sha256sums=('74dd43812272c3ddbf067b6d4da1773cdeef2ffe71e8f164449fabf8431752b8'
-'4671d2586cbe3cd6497b16ff422c6143cdab40641ef3c9c4988c478351a8f5e7'
-'fb789b12bb6246237b15a9244f58317abdd53e5ca4eb55880e40a498b2237155'
-'db1d647d86370583c24ae7a37feab78e3f0015d441ff5bc8f9b32e1a91ec4c8e'
-'d12c5a68c293f66d95ae4df704ea349adbad972fb25475ab1a0a24fb42bfc70b')
-
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-  sed -i 's/www-data/http/g' extra/logrotate.in
-
-  # Update stock hiawatha.conf
-  sed -e 's|#ServerId = www-data|ServerId = http|' \
-  -e 's|/var/www/|/srv/http/|g' \
-  -e 's|//|/|g' \
-  -e 's|#CGIextension = cgi|&\n#TriggerOnCGIstatus = no|g' \
-  -e 's|ConnectTo = 127.0.0.1:2005|ConnectTo = 127.0.0.1:9000|g' \
-  -e 's|#  Extension = php|&\n#   SessionTimeout = 30|g' \
-  -e 's|#ErrorHandler = 404:/error.cgi|&\n#UseGZfile = yes|g' \
-  -i config/hiawatha.conf.in
-  
-  sed -e 's|/etc/init.d/hiawatha restart|systemctl restart hiawatha.service|' \
-  -i extra/letsencrypt/letsencrypt.conf.in
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  mkdir -p build
-  cd build
-
-  cmake ../ -DCMAKE_INSTALL_PREFIX="/" \
--DCMAKE_INSTALL_BINDIR="/usr/bin" \
--DCMAKE_INSTALL_SBINDIR="/usr/bin" \
--DCMAKE_INSTALL_SYSCONFDIR="/etc/hiawatha" \
--DCMAKE_INSTALL_LIBDIR="/usr/lib" \
--DCMAKE_INSTALL_MANDIR="/usr/share/man" \
--DCONFIG_DIR="/etc/hiawatha" \
--DLOG_DIR="/var/log/hiawatha" \
--DPID_DIR="/run" \
--DENABLE_TLS=ON \
--DUSE_SYSTEM_MBEDTLS=ON \
--DENABLE_MONITOR=ON \
--DWEBROOT_DIR="/srv/http/hiawatha" \
--DWORK_DIR="/var/lib/hiawatha"
-
-  make
-
-  # Features enabled by default
-  # -DENABLE_CACHE
-  # -DENABLE_IPV6
-  # -DENABLE_RPROXY
-  # -DENABLE_TOOLKIT
-  # -DENABLE_XSLT
-
-  # Features disabled by default
-  # -DENABLE_DEBUG
-  # -DENABLE_TOMAHAWK
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver/build"
-  make DESTDIR="$pkgdir/" install
- 
-  rmdir "$pkgdir/run"
-  rm "$pkgdir/srv/http/hiawatha/index.html"
-  rmdir -p --ignore-fail-on-non-empty "$pkgdir/srv/http/hiawatha"
- 
-  install -Dm644 logrotate.d/hiawatha "$pkgdir/etc/logrotate.d/hiawatha"
-  cd "$srcdir"
-  install -Dm644 hiawatha.service   
"$pkgdir/usr/lib/systemd/system/hiawatha.service"
-  install -Dm644 lefh-renew.service 
"$pkgdir/usr/lib/systemd/system/lefh-renew.service"
-  install -Dm644 lefh-renew.timer   
"$pkgdir/usr/lib/systemd/system/lefh-renew.timer"
-  install -Dm644 hiawatha.conf.sample "$pkgdir/etc/hiawatha/"
-}
-

Copied: hiawatha/repos/community-x86_64/PKGBUILD (from rev 487731, 
hiawatha/trunk/PKGBUILD)

[arch-commits] Commit in hiawatha/repos/community-x86_64 (10 files)

2019-05-12 Thread Kyle Keen via arch-commits
Date: Sunday, May 12, 2019 @ 12:36:49
  Author: kkeen
Revision: 466371

archrelease: copy trunk to community-x86_64

Added:
  hiawatha/repos/community-x86_64/PKGBUILD
(from rev 466370, hiawatha/trunk/PKGBUILD)
  hiawatha/repos/community-x86_64/hiawatha.conf.sample
(from rev 466370, hiawatha/trunk/hiawatha.conf.sample)
  hiawatha/repos/community-x86_64/hiawatha.service
(from rev 466370, hiawatha/trunk/hiawatha.service)
  hiawatha/repos/community-x86_64/lefh-renew.service
(from rev 466370, hiawatha/trunk/lefh-renew.service)
  hiawatha/repos/community-x86_64/lefh-renew.timer
(from rev 466370, hiawatha/trunk/lefh-renew.timer)
Deleted:
  hiawatha/repos/community-x86_64/PKGBUILD
  hiawatha/repos/community-x86_64/hiawatha.conf.sample
  hiawatha/repos/community-x86_64/hiawatha.service
  hiawatha/repos/community-x86_64/letsencrypt-renew.service
  hiawatha/repos/community-x86_64/letsencrypt-renew.timer

---+
 PKGBUILD  |  206 ---
 hiawatha.conf.sample  |  228 ++--
 hiawatha.service  |   32 +++---
 lefh-renew.service|9 +
 lefh-renew.timer  |   11 ++
 letsencrypt-renew.service |8 -
 letsencrypt-renew.timer   |   11 --
 7 files changed, 254 insertions(+), 251 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-05-12 12:36:33 UTC (rev 466370)
+++ PKGBUILD2019-05-12 12:36:49 UTC (rev 466371)
@@ -1,102 +0,0 @@
-# Maintainer: Kyle Keen 
-# Contributor: Kurt Marasco 
-# Contributor: Pascal Ernster 
-
-pkgname=hiawatha
-pkgver=10.9
-pkgrel=1
-pkgdesc="Secure and advanced webserver"
-url="https://www.hiawatha-webserver.org/;
-arch=('x86_64')
-license=('GPL2')
-depends=('libxslt' 'mbedtls')
-optdepends=('php-fpm: PHP fastcgi'
-'php: letsencrypt')
-makedepends=('cmake')
-backup=(
-'etc/hiawatha/hiawatha.conf'
-'etc/hiawatha/cgi-wrapper.conf'
-'etc/hiawatha/mimetype.conf'
-)
-
-source=(
-"https://www.hiawatha-webserver.org/files/$pkgname-$pkgver.tar.gz; 
-'hiawatha.conf.sample'
-'hiawatha.service'
-'letsencrypt-renew.service'
-'letsencrypt-renew.timer'
-)
-sha256sums=('74dd43812272c3ddbf067b6d4da1773cdeef2ffe71e8f164449fabf8431752b8'
-'4671d2586cbe3cd6497b16ff422c6143cdab40641ef3c9c4988c478351a8f5e7'
-'fb789b12bb6246237b15a9244f58317abdd53e5ca4eb55880e40a498b2237155'
-'7f903aadf1e7e4bf449c9a647f160051358ef1e2db328afffc7f3a5c204f8ea5'
-'a1d5371e886bdd697c9d040125aa5b117d6efe36bb6ee77b57004d893f2bc410')
-
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-  sed -i 's/www-data/http/g' extra/logrotate.in
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  mkdir -p build
-  cd build
-
-  cmake ../ -DCMAKE_INSTALL_PREFIX="/" \
--DCMAKE_INSTALL_BINDIR="/usr/bin" \
--DCMAKE_INSTALL_SBINDIR="/usr/bin" \
--DCMAKE_INSTALL_SYSCONFDIR="/etc/hiawatha" \
--DCMAKE_INSTALL_LIBDIR="/usr/lib" \
--DCMAKE_INSTALL_MANDIR="/usr/share/man" \
--DCONFIG_DIR="/etc/hiawatha" \
--DLOG_DIR="/var/log/hiawatha" \
--DPID_DIR="/run" \
--DENABLE_TLS=ON \
--DUSE_SYSTEM_MBEDTLS=ON \
--DENABLE_MONITOR=ON \
--DWEBROOT_DIR="/srv/http/hiawatha" \
--DWORK_DIR="/var/lib/hiawatha"
-
-  make
-
-  # Features enabled by default
-  # -DENABLE_CACHE
-  # -DENABLE_IPV6
-  # -DENABLE_RPROXY
-  # -DENABLE_TOOLKIT
-  # -DENABLE_XSLT
-
-  # Features disabled by default
-  # -DENABLE_DEBUG
-  # -DENABLE_TOMAHAWK  
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver/build"
-  make DESTDIR="$pkgdir/" install
- 
-  rmdir "$pkgdir/run"
-  rm "$pkgdir/srv/http/hiawatha/index.html"
-  rmdir -p --ignore-fail-on-non-empty "$pkgdir/srv/http/hiawatha"
- 
-  # Update stock hiawatha.conf
-  sed -e 's|#ServerId = www-data|ServerId = http|' \
-  -e 's|/var/www/|/srv/http/|g' \
-  -e 's|//|/|g' \
-  -e 's|#CGIextension = cgi|&\n#TriggerOnCGIstatus = no|g' \
-  -e 's|ConnectTo = 127.0.0.1:2005|ConnectTo = 127.0.0.1:9000|g' \
-  -e 's|#  Extension = php|&\n#   SessionTimeout = 30|g' \
-  -e 's|#ErrorHandler = 404:/error.cgi|&\n#UseGZfile = yes|g' \
-  -i "$pkgdir/etc/hiawatha/hiawatha.conf"
-  
-  install -Dm644 logrotate.d/hiawatha "$pkgdir/etc/logrotate.d/hiawatha"
-  install -Dm644 "$srcdir/hiawatha.service" 
"$pkgdir/usr/lib/systemd/system/hiawatha.service"
-  install -Dm644 "$srcdir/hiawatha.conf.sample" "$pkgdir/etc/hiawatha/"
-
-  mkdir -p "$pkgdir/usr/share/hiawatha/"
-  cd "$srcdir/$pkgname-$pkgver/extra/"
-  cp "$srcdir/letsencrypt-renew."* letsencrypt/
-  tar -caf "$pkgdir/usr/share/hiawatha/letsencrypt.tar.gz" letsencrypt/*
-}
-

Copied: hiawatha/repos/community-x86_64/PKGBUILD (from rev 466370, 
hiawatha/trunk/PKGBUILD)

[arch-commits] Commit in hiawatha/repos/community-x86_64 (10 files)

2019-03-02 Thread Kyle Keen via arch-commits
Date: Sunday, March 3, 2019 @ 03:24:23
  Author: kkeen
Revision: 437425

archrelease: copy trunk to community-x86_64

Added:
  hiawatha/repos/community-x86_64/PKGBUILD
(from rev 437424, hiawatha/trunk/PKGBUILD)
  hiawatha/repos/community-x86_64/hiawatha.conf.sample
(from rev 437424, hiawatha/trunk/hiawatha.conf.sample)
  hiawatha/repos/community-x86_64/hiawatha.service
(from rev 437424, hiawatha/trunk/hiawatha.service)
  hiawatha/repos/community-x86_64/letsencrypt-renew.service
(from rev 437424, hiawatha/trunk/letsencrypt-renew.service)
  hiawatha/repos/community-x86_64/letsencrypt-renew.timer
(from rev 437424, hiawatha/trunk/letsencrypt-renew.timer)
Deleted:
  hiawatha/repos/community-x86_64/PKGBUILD
  hiawatha/repos/community-x86_64/hiawatha.conf.sample
  hiawatha/repos/community-x86_64/hiawatha.service
  hiawatha/repos/community-x86_64/letsencrypt-renew.service
  hiawatha/repos/community-x86_64/letsencrypt-renew.timer

---+
 PKGBUILD  |  204 +++
 hiawatha.conf.sample  |  228 ++--
 hiawatha.service  |   32 +++---
 letsencrypt-renew.service |   16 +--
 letsencrypt-renew.timer   |   22 ++--
 5 files changed, 251 insertions(+), 251 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-03-03 03:22:56 UTC (rev 437424)
+++ PKGBUILD2019-03-03 03:24:23 UTC (rev 437425)
@@ -1,102 +0,0 @@
-# Maintainer: Kyle Keen 
-# Contributor: Kurt Marasco 
-# Contributor: Pascal Ernster 
-
-pkgname=hiawatha
-pkgver=10.8.4
-pkgrel=1
-pkgdesc="Secure and advanced webserver"
-url="https://www.hiawatha-webserver.org/;
-arch=('x86_64')
-license=('GPL2')
-depends=('libxslt' 'mbedtls')
-optdepends=('php-fpm: PHP fastcgi'
-'php: letsencrypt')
-makedepends=('cmake')
-backup=(
-'etc/hiawatha/hiawatha.conf'
-'etc/hiawatha/cgi-wrapper.conf'
-'etc/hiawatha/mimetype.conf'
-)
-
-source=(
-"https://www.hiawatha-webserver.org/files/$pkgname-$pkgver.tar.gz; 
-'hiawatha.conf.sample'
-'hiawatha.service'
-'letsencrypt-renew.service'
-'letsencrypt-renew.timer'
-)
-sha256sums=('7cb322e9071ad3ee909167c624c6f80b0d2a6630a9d232d52406289d83658b14'
-'4671d2586cbe3cd6497b16ff422c6143cdab40641ef3c9c4988c478351a8f5e7'
-'fb789b12bb6246237b15a9244f58317abdd53e5ca4eb55880e40a498b2237155'
-'7f903aadf1e7e4bf449c9a647f160051358ef1e2db328afffc7f3a5c204f8ea5'
-'a1d5371e886bdd697c9d040125aa5b117d6efe36bb6ee77b57004d893f2bc410')
-
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-  sed -i 's/www-data/http/g' extra/logrotate.in
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  mkdir -p build
-  cd build
-
-  cmake ../ -DCMAKE_INSTALL_PREFIX="/" \
--DCMAKE_INSTALL_BINDIR="/usr/bin" \
--DCMAKE_INSTALL_SBINDIR="/usr/bin" \
--DCMAKE_INSTALL_SYSCONFDIR="/etc/hiawatha" \
--DCMAKE_INSTALL_LIBDIR="/usr/lib" \
--DCMAKE_INSTALL_MANDIR="/usr/share/man" \
--DCONFIG_DIR="/etc/hiawatha" \
--DLOG_DIR="/var/log/hiawatha" \
--DPID_DIR="/run" \
--DENABLE_TLS=ON \
--DUSE_SYSTEM_MBEDTLS=ON \
--DENABLE_MONITOR=ON \
--DWEBROOT_DIR="/srv/http/hiawatha" \
--DWORK_DIR="/var/lib/hiawatha"
-
-  make
-
-  # Features enabled by default
-  # -DENABLE_CACHE
-  # -DENABLE_IPV6
-  # -DENABLE_RPROXY
-  # -DENABLE_TOOLKIT
-  # -DENABLE_XSLT
-
-  # Features disabled by default
-  # -DENABLE_DEBUG
-  # -DENABLE_TOMAHAWK  
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver/build"
-  make DESTDIR="$pkgdir/" install
- 
-  rmdir "$pkgdir/run"
-  rm "$pkgdir/srv/http/hiawatha/index.html"
-  rmdir -p --ignore-fail-on-non-empty "$pkgdir/srv/http/hiawatha"
- 
-  # Update stock hiawatha.conf
-  sed -e 's|#ServerId = www-data|ServerId = http|' \
-  -e 's|/var/www/|/srv/http/|g' \
-  -e 's|//|/|g' \
-  -e 's|#CGIextension = cgi|&\n#TriggerOnCGIstatus = no|g' \
-  -e 's|ConnectTo = 127.0.0.1:2005|ConnectTo = 127.0.0.1:9000|g' \
-  -e 's|#  Extension = php|&\n#   SessionTimeout = 30|g' \
-  -e 's|#ErrorHandler = 404:/error.cgi|&\n#UseGZfile = yes|g' \
-  -i "$pkgdir/etc/hiawatha/hiawatha.conf"
-  
-  install -Dm644 logrotate.d/hiawatha "$pkgdir/etc/logrotate.d/hiawatha"
-  install -Dm644 "$srcdir/hiawatha.service" 
"$pkgdir/usr/lib/systemd/system/hiawatha.service"
-  install -Dm644 "$srcdir/hiawatha.conf.sample" "$pkgdir/etc/hiawatha/"
-
-  mkdir -p "$pkgdir/usr/share/hiawatha/"
-  cd "$srcdir/$pkgname-$pkgver/extra/"
-  cp "$srcdir/letsencrypt-renew."* letsencrypt/
-  tar -caf "$pkgdir/usr/share/hiawatha/letsencrypt.tar.gz" letsencrypt/*
-}
-

Copied: hiawatha/repos/community-x86_64/PKGBUILD (from rev 437424, 
hiawatha/trunk/PKGBUILD)

[arch-commits] Commit in hiawatha/repos/community-x86_64 (10 files)

2019-02-16 Thread Jelle van der Waa via arch-commits
Date: Saturday, February 16, 2019 @ 10:00:07
  Author: jelle
Revision: 433101

archrelease: copy trunk to community-x86_64

Added:
  hiawatha/repos/community-x86_64/PKGBUILD
(from rev 433100, hiawatha/trunk/PKGBUILD)
  hiawatha/repos/community-x86_64/hiawatha.conf.sample
(from rev 433100, hiawatha/trunk/hiawatha.conf.sample)
  hiawatha/repos/community-x86_64/hiawatha.service
(from rev 433100, hiawatha/trunk/hiawatha.service)
  hiawatha/repos/community-x86_64/letsencrypt-renew.service
(from rev 433100, hiawatha/trunk/letsencrypt-renew.service)
  hiawatha/repos/community-x86_64/letsencrypt-renew.timer
(from rev 433100, hiawatha/trunk/letsencrypt-renew.timer)
Deleted:
  hiawatha/repos/community-x86_64/PKGBUILD
  hiawatha/repos/community-x86_64/hiawatha.conf.sample
  hiawatha/repos/community-x86_64/hiawatha.service
  hiawatha/repos/community-x86_64/letsencrypt-renew.service
  hiawatha/repos/community-x86_64/letsencrypt-renew.timer

---+
 PKGBUILD  |  204 +++
 hiawatha.conf.sample  |  228 ++--
 hiawatha.service  |   32 +++---
 letsencrypt-renew.service |   16 +--
 letsencrypt-renew.timer   |   22 ++--
 5 files changed, 251 insertions(+), 251 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-02-16 09:59:57 UTC (rev 433100)
+++ PKGBUILD2019-02-16 10:00:07 UTC (rev 433101)
@@ -1,102 +0,0 @@
-# Maintainer: Kyle Keen 
-# Contributor: Kurt Marasco 
-# Contributor: Pascal Ernster 
-
-pkgname=hiawatha
-pkgver=10.8.3
-pkgrel=1
-pkgdesc="Secure and advanced webserver"
-url="https://www.hiawatha-webserver.org/;
-arch=('x86_64')
-license=('GPL2')
-depends=('libxslt' 'mbedtls')
-optdepends=('php-fpm: PHP fastcgi'
-'php: letsencrypt')
-makedepends=('cmake')
-backup=(
-'etc/hiawatha/hiawatha.conf'
-'etc/hiawatha/cgi-wrapper.conf'
-'etc/hiawatha/mimetype.conf'
-)
-
-source=(
-"https://www.hiawatha-webserver.org/files/$pkgname-$pkgver.tar.gz; 
-'hiawatha.conf.sample'
-'hiawatha.service'
-'letsencrypt-renew.service'
-'letsencrypt-renew.timer'
-)
-sha256sums=('daccdfda7979a907ba3a4e206e0a8d16d8fdceb55ee2b0f75e1acac8ef21e070'
-'4671d2586cbe3cd6497b16ff422c6143cdab40641ef3c9c4988c478351a8f5e7'
-'fb789b12bb6246237b15a9244f58317abdd53e5ca4eb55880e40a498b2237155'
-'7f903aadf1e7e4bf449c9a647f160051358ef1e2db328afffc7f3a5c204f8ea5'
-'a1d5371e886bdd697c9d040125aa5b117d6efe36bb6ee77b57004d893f2bc410')
-
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-  sed -i 's/www-data/http/g' extra/logrotate.in
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  mkdir -p build
-  cd build
-
-  cmake ../ -DCMAKE_INSTALL_PREFIX="/" \
--DCMAKE_INSTALL_BINDIR="/usr/bin" \
--DCMAKE_INSTALL_SBINDIR="/usr/bin" \
--DCMAKE_INSTALL_SYSCONFDIR="/etc/hiawatha" \
--DCMAKE_INSTALL_LIBDIR="/usr/lib" \
--DCMAKE_INSTALL_MANDIR="/usr/share/man" \
--DCONFIG_DIR="/etc/hiawatha" \
--DLOG_DIR="/var/log/hiawatha" \
--DPID_DIR="/run" \
--DENABLE_TLS=ON \
--DUSE_SYSTEM_MBEDTLS=ON \
--DENABLE_MONITOR=ON \
--DWEBROOT_DIR="/srv/http/hiawatha" \
--DWORK_DIR="/var/lib/hiawatha"
-
-  make
-
-  # Features enabled by default
-  # -DENABLE_CACHE
-  # -DENABLE_IPV6
-  # -DENABLE_RPROXY
-  # -DENABLE_TOOLKIT
-  # -DENABLE_XSLT
-
-  # Features disabled by default
-  # -DENABLE_DEBUG
-  # -DENABLE_TOMAHAWK  
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver/build"
-  make DESTDIR="$pkgdir/" install
- 
-  rmdir "$pkgdir/run"
-  rm "$pkgdir/srv/http/hiawatha/index.html"
-  rmdir -p --ignore-fail-on-non-empty "$pkgdir/srv/http/hiawatha"
- 
-  # Update stock hiawatha.conf
-  sed -e 's|#ServerId = www-data|ServerId = http|' \
-  -e 's|/var/www/|/srv/http/|g' \
-  -e 's|//|/|g' \
-  -e 's|#CGIextension = cgi|&\n#TriggerOnCGIstatus = no|g' \
-  -e 's|ConnectTo = 127.0.0.1:2005|ConnectTo = 127.0.0.1:9000|g' \
-  -e 's|#  Extension = php|&\n#   SessionTimeout = 30|g' \
-  -e 's|#ErrorHandler = 404:/error.cgi|&\n#UseGZfile = yes|g' \
-  -i "$pkgdir/etc/hiawatha/hiawatha.conf"
-  
-  install -Dm644 logrotate.d/hiawatha "$pkgdir/etc/logrotate.d/hiawatha"
-  install -Dm644 "$srcdir/hiawatha.service" 
"$pkgdir/usr/lib/systemd/system/hiawatha.service"
-  install -Dm644 "$srcdir/hiawatha.conf.sample" "$pkgdir/etc/hiawatha/"
-
-  mkdir -p "$pkgdir/usr/share/hiawatha/"
-  cd "$srcdir/$pkgname-$pkgver/extra/"
-  cp "$srcdir/letsencrypt-renew."* letsencrypt/
-  tar -caf "$pkgdir/usr/share/hiawatha/letsencrypt.tar.gz" letsencrypt/*
-}
-

Copied: hiawatha/repos/community-x86_64/PKGBUILD (from rev 433100, 
hiawatha/trunk/PKGBUILD)

[arch-commits] Commit in hiawatha/repos/community-x86_64 (10 files)

2018-04-21 Thread Kyle Keen via arch-commits
Date: Sunday, April 22, 2018 @ 03:16:07
  Author: kkeen
Revision: 317273

archrelease: copy trunk to community-x86_64

Added:
  hiawatha/repos/community-x86_64/PKGBUILD
(from rev 317272, hiawatha/trunk/PKGBUILD)
  hiawatha/repos/community-x86_64/hiawatha.conf.sample
(from rev 317272, hiawatha/trunk/hiawatha.conf.sample)
  hiawatha/repos/community-x86_64/hiawatha.service
(from rev 317272, hiawatha/trunk/hiawatha.service)
  hiawatha/repos/community-x86_64/letsencrypt-renew.service
(from rev 317272, hiawatha/trunk/letsencrypt-renew.service)
  hiawatha/repos/community-x86_64/letsencrypt-renew.timer
(from rev 317272, hiawatha/trunk/letsencrypt-renew.timer)
Deleted:
  hiawatha/repos/community-x86_64/PKGBUILD
  hiawatha/repos/community-x86_64/hiawatha.conf.sample
  hiawatha/repos/community-x86_64/hiawatha.service
  hiawatha/repos/community-x86_64/letsencrypt-renew.service
  hiawatha/repos/community-x86_64/letsencrypt-renew.timer

---+
 PKGBUILD  |  204 +++
 hiawatha.conf.sample  |  228 ++--
 hiawatha.service  |   32 +++---
 letsencrypt-renew.service |   16 +--
 letsencrypt-renew.timer   |   22 ++--
 5 files changed, 251 insertions(+), 251 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-04-22 03:15:42 UTC (rev 317272)
+++ PKGBUILD2018-04-22 03:16:07 UTC (rev 317273)
@@ -1,102 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen 
-# Contributor: Kurt Marasco 
-# Contributor: Pascal Ernster 
-
-pkgname=hiawatha
-pkgver=10.8
-pkgrel=1
-pkgdesc="Secure and advanced webserver"
-url="https://www.hiawatha-webserver.org/;
-arch=('x86_64')
-license=('GPL2')
-depends=('libxslt' 'mbedtls')
-optdepends=('php-fpm: PHP fastcgi'
-'php: letsencrypt')
-makedepends=('cmake')
-backup=(
-'etc/hiawatha/hiawatha.conf'
-'etc/hiawatha/cgi-wrapper.conf'
-'etc/hiawatha/mimetype.conf'
-)
-
-source=(
-"https://www.hiawatha-webserver.org/files/$pkgname-$pkgver.tar.gz; 
-'hiawatha.conf.sample'
-'hiawatha.service'
-'letsencrypt-renew.service'
-'letsencrypt-renew.timer'
-)
-sha256sums=('fb55d6c17a390f74accce6fae34c118af4e0317bfc9119d7dd1ff7dbf6886eaf'
-'4671d2586cbe3cd6497b16ff422c6143cdab40641ef3c9c4988c478351a8f5e7'
-'fb789b12bb6246237b15a9244f58317abdd53e5ca4eb55880e40a498b2237155'
-'7f903aadf1e7e4bf449c9a647f160051358ef1e2db328afffc7f3a5c204f8ea5'
-'a1d5371e886bdd697c9d040125aa5b117d6efe36bb6ee77b57004d893f2bc410')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-  sed -i 's/www-data/http/g' extra/logrotate.in
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  mkdir -p build
-  cd build
-
-  cmake ../ -DCMAKE_INSTALL_PREFIX="/" \
--DCMAKE_INSTALL_BINDIR="/usr/bin" \
--DCMAKE_INSTALL_SBINDIR="/usr/bin" \
--DCMAKE_INSTALL_SYSCONFDIR="/etc/hiawatha" \
--DCMAKE_INSTALL_LIBDIR="/usr/lib" \
--DCMAKE_INSTALL_MANDIR="/usr/share/man" \
--DCONFIG_DIR="/etc/hiawatha" \
--DLOG_DIR="/var/log/hiawatha" \
--DPID_DIR="/run" \
--DENABLE_TLS=ON \
--DUSE_SYSTEM_MBEDTLS=ON \
--DENABLE_MONITOR=ON \
--DWEBROOT_DIR="/srv/http/hiawatha" \
--DWORK_DIR="/var/lib/hiawatha"
-
-  make
-
-  # Features enabled by default
-  # -DENABLE_CACHE
-  # -DENABLE_IPV6
-  # -DENABLE_RPROXY
-  # -DENABLE_TOOLKIT
-  # -DENABLE_XSLT
-
-  # Features disabled by default
-  # -DENABLE_DEBUG
-  # -DENABLE_TOMAHAWK  
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver/build"
-  make DESTDIR="$pkgdir/" install
- 
-  rmdir "$pkgdir/run"
-  rm "$pkgdir/srv/http/hiawatha/index.html"
-  rmdir -p --ignore-fail-on-non-empty "$pkgdir/srv/http/hiawatha"
- 
-  # Update stock hiawatha.conf
-  sed -e 's|#ServerId = www-data|ServerId = http|' \
-  -e 's|/var/www/|/srv/http/|g' \
-  -e 's|//|/|g' \
-  -e 's|#CGIextension = cgi|&\n#TriggerOnCGIstatus = no|g' \
-  -e 's|ConnectTo = 127.0.0.1:2005|ConnectTo = 127.0.0.1:9000|g' \
-  -e 's|#  Extension = php|&\n#   SessionTimeout = 30|g' \
-  -e 's|#ErrorHandler = 404:/error.cgi|&\n#UseGZfile = yes|g' \
-  -i "$pkgdir/etc/hiawatha/hiawatha.conf"
-  
-  install -Dm644 logrotate.d/hiawatha "$pkgdir/etc/logrotate.d/hiawatha"
-  install -Dm644 "$srcdir/hiawatha.service" 
"$pkgdir/usr/lib/systemd/system/hiawatha.service"
-  install -Dm644 "$srcdir/hiawatha.conf.sample" "$pkgdir/etc/hiawatha/"
-
-  mkdir -p "$pkgdir/usr/share/hiawatha/"
-  cd "$srcdir/$pkgname-$pkgver/extra/"
-  cp "$srcdir/letsencrypt-renew."* letsencrypt/
-  tar -caf "$pkgdir/usr/share/hiawatha/letsencrypt.tar.gz" letsencrypt/*
-}
-

Copied: hiawatha/repos/community-x86_64/PKGBUILD (from rev 317272, 
hiawatha/trunk/PKGBUILD)

[arch-commits] Commit in hiawatha/repos/community-x86_64 (10 files)

2018-03-23 Thread Kyle Keen via arch-commits
Date: Friday, March 23, 2018 @ 13:30:18
  Author: kkeen
Revision: 311314

archrelease: copy trunk to community-x86_64

Added:
  hiawatha/repos/community-x86_64/PKGBUILD
(from rev 311313, hiawatha/trunk/PKGBUILD)
  hiawatha/repos/community-x86_64/hiawatha.conf.sample
(from rev 311313, hiawatha/trunk/hiawatha.conf.sample)
  hiawatha/repos/community-x86_64/hiawatha.service
(from rev 311313, hiawatha/trunk/hiawatha.service)
  hiawatha/repos/community-x86_64/letsencrypt-renew.service
(from rev 311313, hiawatha/trunk/letsencrypt-renew.service)
  hiawatha/repos/community-x86_64/letsencrypt-renew.timer
(from rev 311313, hiawatha/trunk/letsencrypt-renew.timer)
Deleted:
  hiawatha/repos/community-x86_64/PKGBUILD
  hiawatha/repos/community-x86_64/hiawatha.conf.sample
  hiawatha/repos/community-x86_64/hiawatha.service
  hiawatha/repos/community-x86_64/letsencrypt-renew.service
  hiawatha/repos/community-x86_64/letsencrypt-renew.timer

---+
 PKGBUILD  |  204 +++
 hiawatha.conf.sample  |  228 ++--
 hiawatha.service  |   32 +++---
 letsencrypt-renew.service |   16 +--
 letsencrypt-renew.timer   |   22 ++--
 5 files changed, 251 insertions(+), 251 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-03-23 12:34:10 UTC (rev 311313)
+++ PKGBUILD2018-03-23 13:30:18 UTC (rev 311314)
@@ -1,102 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen 
-# Contributor: Kurt Marasco 
-# Contributor: Pascal Ernster 
-
-pkgname=hiawatha
-pkgver=10.7
-pkgrel=4
-pkgdesc="Secure and advanced webserver"
-url="https://www.hiawatha-webserver.org/;
-arch=('x86_64')
-license=('GPL2')
-depends=('libxslt' 'mbedtls')
-optdepends=('php-fpm: PHP fastcgi'
-'php: letsencrypt')
-makedepends=('cmake')
-backup=(
-'etc/hiawatha/hiawatha.conf'
-'etc/hiawatha/cgi-wrapper.conf'
-'etc/hiawatha/mimetype.conf'
-)
-
-source=(
-"https://www.hiawatha-webserver.org/files/$pkgname-$pkgver.tar.gz; 
-'hiawatha.conf.sample'
-'hiawatha.service'
-'letsencrypt-renew.service'
-'letsencrypt-renew.timer'
-)
-sha256sums=('363e99d84a85dafbb74bcc30b3e30286053ec2abbc7afe08cd87193611735f74'
-'4671d2586cbe3cd6497b16ff422c6143cdab40641ef3c9c4988c478351a8f5e7'
-'fb789b12bb6246237b15a9244f58317abdd53e5ca4eb55880e40a498b2237155'
-'7f903aadf1e7e4bf449c9a647f160051358ef1e2db328afffc7f3a5c204f8ea5'
-'a1d5371e886bdd697c9d040125aa5b117d6efe36bb6ee77b57004d893f2bc410')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-  sed -i 's/www-data/http/g' extra/logrotate.in
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  mkdir -p build
-  cd build
-
-  cmake ../ -DCMAKE_INSTALL_PREFIX="/" \
--DCMAKE_INSTALL_BINDIR="/usr/bin" \
--DCMAKE_INSTALL_SBINDIR="/usr/bin" \
--DCMAKE_INSTALL_SYSCONFDIR="/etc/hiawatha" \
--DCMAKE_INSTALL_LIBDIR="/usr/lib" \
--DCMAKE_INSTALL_MANDIR="/usr/share/man" \
--DCONFIG_DIR="/etc/hiawatha" \
--DLOG_DIR="/var/log/hiawatha" \
--DPID_DIR="/run" \
--DENABLE_TLS=ON \
--DUSE_SYSTEM_MBEDTLS=ON \
--DENABLE_MONITOR=ON \
--DWEBROOT_DIR="/srv/http/hiawatha" \
--DWORK_DIR="/var/lib/hiawatha"
-
-  make
-
-  # Features enabled by default
-  # -DENABLE_CACHE
-  # -DENABLE_IPV6
-  # -DENABLE_RPROXY
-  # -DENABLE_TOOLKIT
-  # -DENABLE_XSLT
-
-  # Features disabled by default
-  # -DENABLE_DEBUG
-  # -DENABLE_TOMAHAWK  
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver/build"
-  make DESTDIR="$pkgdir/" install
- 
-  rmdir "$pkgdir/run"
-  rm "$pkgdir/srv/http/hiawatha/index.html"
-  rmdir -p --ignore-fail-on-non-empty "$pkgdir/srv/http/hiawatha"
- 
-  # Update stock hiawatha.conf
-  sed -e 's|#ServerId = www-data|ServerId = http|' \
-  -e 's|/var/www/|/srv/http/|g' \
-  -e 's|//|/|g' \
-  -e 's|#CGIextension = cgi|&\n#TriggerOnCGIstatus = no|g' \
-  -e 's|ConnectTo = 127.0.0.1:2005|ConnectTo = 127.0.0.1:9000|g' \
-  -e 's|#  Extension = php|&\n#   SessionTimeout = 30|g' \
-  -e 's|#ErrorHandler = 404:/error.cgi|&\n#UseGZfile = yes|g' \
-  -i "$pkgdir/etc/hiawatha/hiawatha.conf"
-  
-  install -Dm644 logrotate.d/hiawatha "$pkgdir/etc/logrotate.d/hiawatha"
-  install -Dm644 "$srcdir/hiawatha.service" 
"$pkgdir/usr/lib/systemd/system/hiawatha.service"
-  install -Dm644 "$srcdir/hiawatha.conf.sample" "$pkgdir/etc/hiawatha/"
-
-  mkdir -p "$pkgdir/usr/share/hiawatha/"
-  cd "$srcdir/$pkgname-$pkgver/extra/"
-  cp "$srcdir/letsencrypt-renew."* letsencrypt/
-  tar -caf "$pkgdir/usr/share/hiawatha/letsencrypt.tar.gz" letsencrypt/*
-}
-

Copied: hiawatha/repos/community-x86_64/PKGBUILD (from rev 311313, 
hiawatha/trunk/PKGBUILD)