+++ /dev/null
-DIST skunkweb-3.4.4.tar.gz 1411045 SHA256 a7f0bc47788cdb01882d53f433599fc1837013f45b7d13ea67d60a81f8c6f1e0
+++ /dev/null
-<IfDefine SKUNKWEB>
-
- <IfModule !mod_skunkweb.c>
- LoadModule skunkweb_module modules/mod_skunkweb.so
- </IfModule>
-
- # This tells apache to call our module for EVERY request
- <Location />
- SetHandler skunkweb-handler
- </Location>
-
- # Socket address of SkunkWeb. Either a path to a unix domain socket or
- # a host:port pair for a TCP socket
- SkunkWebSocketAddress localhost:9888
-
- # Number of times to retry accessing the SkunkWeb
- SkunkWebRetries 3
-
- # The location of the error page which gets displayed when SkunkWeb is
- # not accessible
- SkunkWebErrorDoc /usr/share/skunkweb/share/skunk/modskunkweb_error.html
-
- # The list of users to receive critical error emails. Should be a list
- # of space separated entries
- SkunkWebErrorEmails root@localhost
-
- # List of uri prefixes for which should be handled in the normal way by
- # apache and *not* by SkunkWeb.
- #
- # THIS OPTION IS NO LONGER SUPPORTED UNDER APACHE 2 AND MAY GO AWAY FOR
- # APACHE 1.x AS YOU CAN DO THE SAME THING VIA <Location> directives
- #
- # SkunkWebExclude /foo/ /bar/
-
- # In the event that we cannot reach a server running on SkunkWebSocketAddress,
- # randomly pick socketaddresses from the following list and try to connect to
- # them instead until we run out of retries (set by SkunkWebRetries).
- #
- # SkunkWebFailoverHosts unixsocketaddr otherhost2:port
-
- # The number of milliseconds we should wait attempting to connect before
- # bailing out retrying, since otherwise, we'd wait the default amount for TCP
- # which is 2 minutes -- BLEAH! (default is 1 second = 1000 milliseconds)
- #
- # SkunkWebConnectTimeout 1000
-
- # Whether or not to include SkunkWeb/<version> in the Server header of Apache
- # Default is On
- # SkunkWebExpose On
-</IfDefine>
+++ /dev/null
-#! /bin/sh
-
-nice -n 5 /usr/share/skunkweb/util/cache_reaper.py -c /var/lib/skunkweb/cache > /dev/null 2>&1
-
+++ /dev/null
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Id$
-
-DAEMON_CMD=/usr/bin/swmgr
-opts="${opts} configtest"
-
-configtest() {
- ${DAEMON_CMD} configtest
-}
-start() {
- ebegin "Starting skunkweb"
- ${DAEMON_CMD} start > /dev/null 2>&1
- eend $?
-}
-stop() {
- ebegin "Stopping skunkweb"
- ${DAEMON_CMD} stop > /dev/null 2>&1
- eend $?
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>python</herd>
- <longdescription lang="en">
- SkunkWeb is a multi-process application server written in python,
- extensively using 'pickle' for caching. Ships with its own web server,
- or can be deployed with apache and mod-python. Includes server-side form
- management libraries (docs in cvs).
- </longdescription>
- <upstream>
- <remote-id type="sourceforge">skunkweb</remote-id>
- </upstream>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="3"
-PYTHON_DEPEND="2"
-
-inherit apache-module eutils multilib python user
-
-DESCRIPTION="robust Python web application server"
-HOMEPAGE="http://skunkweb.sourceforge.net/"
-SRC_URI="mirror://sourceforge/skunkweb/${P}.tar.gz"
-
-LICENSE="GPL-2 BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-DEPEND="app-admin/sudo
- >=dev-python/egenix-mx-base-2.0.4"
-RDEPEND="${DEPEND}"
-
-need_apache
-
-APACHE2_MOD_FILE="${S}/SkunkWeb/mod_skunkweb/.libs/mod_skunkweb.so"
-APACHE2_MOD_DEFINE="SKUNKWEB"
-APACHE2_MOD_CONF="100_mod_skunkweb"
-
-pkg_setup() {
- enewgroup skunkweb
- enewuser skunkweb -1 -1 /usr/share/skunkweb skunkweb
-
- python_set_active_version 2
-}
-
-src_configure() {
- econf \
- --with-user=skunkweb \
- --with-group=skunkweb \
- --localstatedir=/var/lib/skunkweb \
- --bindir=/usr/bin \
- --libdir=/usr/$(get_libdir)/skunkweb \
- --sysconfdir=/etc/skunkweb \
- --prefix=/usr/share/skunkweb \
- --with-cache=/var/lib/skunkweb/cache \
- --with-docdir=/usr/share/doc/${P} \
- --with-logdir=/var/log/skunkweb \
- --with-python="$(PYTHON -a)" \
- --with-apxs=${APXS}
-}
-
-src_compile() {
- default
-}
-
-src_install() {
- emake DESTDIR="${D}" APXSFLAGS="-c" install || die "emake install failed"
- apache-module_src_install
-
- python_need_rebuild
-
- keepdir /var/{lib,log}/${PN}
- keepdir /var/lib/${PN}/run
- fowners skunkweb:skunkweb /var/{lib,log}/${PN}
-
- newinitd "${FILESDIR}"/skunkweb-init skunkweb
- exeinto /etc/cron.daily
- newexe "${FILESDIR}"/skunkweb-cron-cache_cleaner skunkweb-cache_cleaner
-
- dodoc README ChangeLog NEWS HACKING ACKS INSTALL
-}
-
-pkg_postinst() {
- apache-module_pkg_postinst
- python_mod_optimize /usr/$(get_libdir)/skunkweb
-}
-
-pkg_postrm() {
- python_mod_cleanup /usr/$(get_libdir)/skunkweb
-}