summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Andreetta <satya@gentoo.org>2004-11-19 11:00:56 +0000
committerChristian Andreetta <satya@gentoo.org>2004-11-19 11:00:56 +0000
commitc04c57e7d3322242dc6520e30a3fa56fdf23af61 (patch)
treec8b958294d5ec382fc0086f8a6f2eaa223e4be2e /www-servers
parentAdded patch for compilation on sparc64. (diff)
downloadhistorical-c04c57e7d3322242dc6520e30a3fa56fdf23af61.tar.gz
historical-c04c57e7d3322242dc6520e30a3fa56fdf23af61.tar.bz2
historical-c04c57e7d3322242dc6520e30a3fa56fdf23af61.zip
cron script: cache cleaner
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/skunkweb/ChangeLog6
-rw-r--r--www-servers/skunkweb/Manifest19
-rwxr-xr-xwww-servers/skunkweb/files/skunkweb-cron-cache_cleaner4
-rw-r--r--www-servers/skunkweb/skunkweb-3.4.0.ebuild6
4 files changed, 18 insertions, 17 deletions
diff --git a/www-servers/skunkweb/ChangeLog b/www-servers/skunkweb/ChangeLog
index 73ef70e8a81c..f07324aa2d0e 100644
--- a/www-servers/skunkweb/ChangeLog
+++ b/www-servers/skunkweb/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-servers/skunkweb
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/skunkweb/ChangeLog,v 1.3 2004/11/07 13:21:27 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/skunkweb/ChangeLog,v 1.4 2004/11/19 11:00:56 satya Exp $
+
+ 19 Nov 2004; Christian Andreetta <satya@gentoo.org>
+ +files/skunkweb-cron-cache_cleaner, skunkweb-3.4.0.ebuild:
+ cron script: cache cleaner
07 Nov 2004; Christian Andreetta <satya@gentoo.org> +files/skunkweb-init,
skunkweb-3.4.0.ebuild:
diff --git a/www-servers/skunkweb/Manifest b/www-servers/skunkweb/Manifest
index 1f0bb980a3fe..7f6b39246a66 100644
--- a/www-servers/skunkweb/Manifest
+++ b/www-servers/skunkweb/Manifest
@@ -1,19 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 9810cf34787a41425f3b69b62103855c ChangeLog 1933
-MD5 8ed4fe3b3e2b2cde0b1eb44f5767d209 metadata.xml 536
-MD5 8c74a0c2cbc556c26a5b5446dfcc71aa skunkweb-3.4.0.ebuild 2574
MD5 67df3a6fb7b14011a6787552c9acfc93 skunkweb-3.4_beta5-r1.ebuild 2612
+MD5 08ff0fbd128af0e0777cf68774e13ccc skunkweb-3.4.0.ebuild 2671
+MD5 50ae375a03ca6e37f478f1b121127689 ChangeLog 2075
+MD5 8ed4fe3b3e2b2cde0b1eb44f5767d209 metadata.xml 536
MD5 ec86d300c3ad032e0f6106e3bf130f66 skunkweb-3.4_beta5.ebuild 2233
MD5 f649daf3fb435a3f6edc0307de265e57 files/digest-skunkweb-3.4.0 67
+MD5 2b9e491bd99ee6babcfc6eb3f824e646 files/skunkweb-init 518
MD5 33defac2f69099260dac7f1a043b2643 files/digest-skunkweb-3.4_beta5 67
+MD5 595ca4b94aee6033c092990fdaed80e2 files/skunkweb-cron-cache_cleaner 108
MD5 33defac2f69099260dac7f1a043b2643 files/digest-skunkweb-3.4_beta5-r1 67
-MD5 2b9e491bd99ee6babcfc6eb3f824e646 files/skunkweb-init 518
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBjiFhI1lqEGTUzyQRAjE6AKCKbOhm4wEeItMpRL48V17MJkohxgCgnXhM
-QdNt9ncDc3nGy/96poqc7Rk=
-=Rt8o
------END PGP SIGNATURE-----
diff --git a/www-servers/skunkweb/files/skunkweb-cron-cache_cleaner b/www-servers/skunkweb/files/skunkweb-cron-cache_cleaner
new file mode 100755
index 000000000000..0ac9bdf8b4f0
--- /dev/null
+++ b/www-servers/skunkweb/files/skunkweb-cron-cache_cleaner
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+nice -n 5 /usr/share/skunkweb/util/cache_reaper.py -c /var/lib/skunkweb/cache > /dev/null 2>&1
+
diff --git a/www-servers/skunkweb/skunkweb-3.4.0.ebuild b/www-servers/skunkweb/skunkweb-3.4.0.ebuild
index 378dbfe39a61..7c33b9ab6641 100644
--- a/www-servers/skunkweb/skunkweb-3.4.0.ebuild
+++ b/www-servers/skunkweb/skunkweb-3.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/skunkweb/skunkweb-3.4.0.ebuild,v 1.2 2004/11/07 11:35:06 satya Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/skunkweb/skunkweb-3.4.0.ebuild,v 1.3 2004/11/19 11:00:56 satya Exp $
inherit eutils
@@ -71,8 +71,10 @@ src_install() {
mkdir -p ${D}/var/{lib,log}/${PN}
chown skunkweb:skunkweb ${D}/var/{lib,log}/${PN}
mkdir -p ${D}/var/lib/${PN}/run
- # init --------------------------------------------------------------
+ # scripts------------------------------------------------------------
exeinto /etc/init.d; newexe ${FILESDIR}/skunkweb-init skunkweb
+ exeinto /etc/cron.daily
+ newexe ${FILESDIR}/skunkweb-cron-cache_cleaner skunkweb-cache_cleaner
# docs --------------------------------------------------------------
dodoc README ChangeLog NEWS HACKING ACKS INSTALL
if use doc; then