From 61c6f97a8bf5b15f08b3d592f23b1525858c7c94 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Tue, 30 Dec 2014 20:44:21 +0000 Subject: [PATCH] New package: hiawatha-9.9 --- srcpkgs/hiawatha/files/hiawatha/run | 2 ++ srcpkgs/hiawatha/template | 30 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100755 srcpkgs/hiawatha/files/hiawatha/run create mode 100644 srcpkgs/hiawatha/template diff --git a/srcpkgs/hiawatha/files/hiawatha/run b/srcpkgs/hiawatha/files/hiawatha/run new file mode 100755 index 00000000000..46d51fdc23c --- /dev/null +++ b/srcpkgs/hiawatha/files/hiawatha/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/hiawatha -d diff --git a/srcpkgs/hiawatha/template b/srcpkgs/hiawatha/template new file mode 100644 index 00000000000..5cdd8b1fbe6 --- /dev/null +++ b/srcpkgs/hiawatha/template @@ -0,0 +1,30 @@ +# Template file for 'hiawatha' +pkgname=hiawatha +version=9.9 +revision=1 +build_style=cmake +hostmakedepends="cmake" +makedepends="polarssl-devel libxslt-devel libressl-devel" +short_desc="Advanced and secure webserver for Unix" +maintainer="Enno Boland " +license="GPL-2" +homepage="https://hiawatha-webserver.org" +distfiles="$homepage/files/$pkgname-$version.tar.gz" +checksum=0c8c716c51592d81f9aaec5fb69bbabafa82a13565f0000156d5e3112ea990c8 +configure_args=" + -DLOG_DIR=/var/log/hiawatha + -DPID_DIR=/run + -DENABLE_SSL=ON + -DUSE_SYSTEM_POLARSSL=ON + -DWEBROOT_DIR=/var/www + -DCMAKE_INSTALL_SYSCONFDIR=/etc/hiawatha" +conf_files=" + /etc/hiawatha/hiawatha/cgi-wrapper.conf + /etc/hiawatha/hiawatha/mimetype.conf + /etc/hiawatha/hiawatha/error.xslt + /etc/hiawatha/hiawatha/index.xslt + /etc/hiawatha/hiawatha/hiawatha.conf" + +post_install() { + vsv hiawatha +}