summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/hiawatha/ChangeLog10
-rw-r--r--www-servers/hiawatha/Manifest5
-rw-r--r--www-servers/hiawatha/files/hiawatha.initd22
-rw-r--r--www-servers/hiawatha/hiawatha-9.1.1.ebuild62
-rw-r--r--www-servers/hiawatha/metadata.xml14
5 files changed, 113 insertions, 0 deletions
diff --git a/www-servers/hiawatha/ChangeLog b/www-servers/hiawatha/ChangeLog
new file mode 100644
index 000000000..eebd23211
--- /dev/null
+++ b/www-servers/hiawatha/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-servers/hiawatha
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*hiawatha-9.1.1 (24 Apr 2013)
+
+ 24 Apr 2013; René Neumann (Necoro) <gentoo@necoro.eu>
+ +hiawatha-9.1.1.ebuild, +files/hiawatha.initd, +metadata.xml:
+ New ebuild for bug #65259; thanks to hasufell for reviewing
+
diff --git a/www-servers/hiawatha/Manifest b/www-servers/hiawatha/Manifest
new file mode 100644
index 000000000..f5c599437
--- /dev/null
+++ b/www-servers/hiawatha/Manifest
@@ -0,0 +1,5 @@
+AUX hiawatha.initd 450 SHA256 c229c23712d71cf830a46f152f78a1aa726cf7c7cf9129ef7acfefb73483ae4c SHA512 412ba77b765015dccf6804d0ef06c55590b7dbec0bf3beb18652e05ae0efc364061bb8892e9727d2a7ac5df93656b62bcb89448dfa4272ae6ae26c633523b17a WHIRLPOOL b4316496f5b7e0ea330ccf51a14e7fcaf586bde794e29dc13828e34e05e5bf35c5db2d7544b7fd6ba369f9d0a2fb0fbfe358cb1dc75d0aadb95d0cae61c63b1d
+DIST hiawatha-9.1.1.tar.gz 669052 SHA256 68b1c65eb5f9ab2527875fd0960d3b88aaddb7c79594a405687db2aabac40395 SHA512 3f7632dd80282c68911636b59760c28b63f5673f36c1edff00545fa7b6f6a1f0fa090c4a18c8f5a97d0a46ef90fbaf60843b0c0bec513b4e1e27e672380a3143 WHIRLPOOL 7ed5d483afdeb0c57bad1279a9cd97f63927ca72bec6f0eed3eb326d44aaf092503a12f62cabbbda8a9d1e106ad83102fe7357657f6edc3d2612b127247a87ae
+EBUILD hiawatha-9.1.1.ebuild 1620 SHA256 01564acfb2615cc320cddca71788495ec20c7353dfb4fbbaa4d9d0f620246a6f SHA512 74937973949fcbd71380690d62fb7183c0b513aded71e5150dda8ef0f56ea5c5cb5279d4b66a9d44bf166e62b57b43f4c5f7f175a8090d198c6b0923d0b180f3 WHIRLPOOL 1f10e11ee423d5466a0f73088fe861aa0ad433c2fa58e38e3ace4ed807da45ac5f857c185c8641f8a2f29a25ef0338350ff821d97cb1bd180012fd2eb7774b4c
+MISC ChangeLog 336 SHA256 14ca9d2e73ffb647f009b86caa21f6fe124c6c2a18bae5fe818716cc3b824133 SHA512 1c872674abee21738700230fe9455206951ed1f22db715382b6b9e59a5de765b8b53a043d7a6dc6bf99fdc504859e9278a914765cc9f23affd61b33fa8d44513 WHIRLPOOL 866336e854851c920d3574109ab01b661e428334e85cb753d69d9d7d6afbc5dc8756ca8183639697300c1d73d12b358645e0924653a6901692886174811984ca
+MISC metadata.xml 594 SHA256 fe1ce22e1f3ea2933c808af251f30e6216fa8b39216f2201afe3126c60a3728f SHA512 7099486aee8af5dfc7be20aa1e926bf024a460e1a8c5f4077763f8061e6ccc3eaae0aeb2c88532e8d0d56355bf9e6ed58c2e159e58bb421bfddb29f84eb71f3f WHIRLPOOL 37a4c537cc9c92bfe877faa87a8b3d555062e53cc8c3ab0af3b5c8fbf15573bfda3be4a5e65cb3771b8499a507dff0f5473f69bc853a9960ad41cbeac85ea05f
diff --git a/www-servers/hiawatha/files/hiawatha.initd b/www-servers/hiawatha/files/hiawatha.initd
new file mode 100644
index 000000000..9c04296a3
--- /dev/null
+++ b/www-servers/hiawatha/files/hiawatha.initd
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting ${SVCNAME}"
+ start-stop-daemon --start --exec "/usr/sbin/hiawatha" \
+ --pidfile "/var/run/hiawatha.pid"
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ${SVCNAME}"
+ start-stop-daemon --stop --exec "/usr/sbin/hiawatha" \
+ --pidfile "/var/run/hiawatha.pid"
+ eend $?
+}
diff --git a/www-servers/hiawatha/hiawatha-9.1.1.ebuild b/www-servers/hiawatha/hiawatha-9.1.1.ebuild
new file mode 100644
index 000000000..74a500fd2
--- /dev/null
+++ b/www-servers/hiawatha/hiawatha-9.1.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+CMAKE_MIN_VERSION="2.8.4"
+
+inherit cmake-utils
+
+DESCRIPTION="Advanced and secure webserver"
+HOMEPAGE="http://www.hiawatha-webserver.org"
+SRC_URI="http://www.hiawatha-webserver.org/files/${P}.tar.gz"
+
+# NB: version 9.1.1 is a "Gentoo-only" release, which removed the dependency on
+# the bundled PolarSSL
+# --> it is not anounced on the hiawatha homepage
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug +cache chroot ipv6 monitor +rewrite rproxy ssl tomahawk xsl"
+
+DEPEND="
+ sys-libs/zlib
+ ssl? ( >=net-libs/polarssl-1.2 )
+ xsl? ( dev-libs/libxslt
+ dev-libs/libxml2 )"
+
+RDEPEND="${DEPEND}"
+PDEPEND="monitor? ( www-apps/hiawatha-monitor )"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_enable cache CACHE)
+ $(cmake-utils_use_enable chroot CHROOT)
+ $(cmake-utils_use_enable ipv6 IPV6)
+ $(cmake-utils_use_enable debug DEBUG)
+ $(cmake-utils_use_enable monitor MONITOR)
+ $(cmake-utils_use_enable rewrite TOOLKIT)
+ $(cmake-utils_use_enable rproxy RPROXY)
+ $(cmake-utils_use_enable ssl SSL)
+ $(cmake-utils_use_use ssl SYSTEM_POLARSSL)
+ $(cmake-utils_use_enable xsl XSLT)
+
+ $(cmake_utils_use_enable kernel_linux LOADCHECK)
+ -DLOG_DIR:STRING=/var/log/hiawatha
+ -DPID_DIR:STRING=/var/run
+ -DWEBROOT_DIR:STRING=/var/www/hiawatha
+ -DWORK_DIR:STRING=/var/lib/hiawatha
+ -DCONFIG_DIR:STRING=/etc/hiawatha
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ newinitd "${FILESDIR}"/hiawatha.initd hiawatha
+
+ keepdir /var/{lib,log}/hiawatha
+}
diff --git a/www-servers/hiawatha/metadata.xml b/www-servers/hiawatha/metadata.xml
new file mode 100644
index 000000000..dadddeb50
--- /dev/null
+++ b/www-servers/hiawatha/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+ <use>
+ <flag name='cache'>Enable caching of content.</flag>
+ <flag name='chroot'>Enable running in a chroot.</flag>
+ <flag name='monitor'>Pull in www-apps/hiawatha-monitor.</flag>
+ <flag name='rewrite'>Enable the rewrite toolkit.</flag>
+ <flag name='rproxy'>Allow Hiawatha to run as a reverse proxy.</flag>
+ <flag name='tomahawk'>Enable Tomahawk control server.</flag>
+ </use>
+</pkgmetadata>
+