summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-12-30 13:02:13 +0000
committerAlin Năstac <mrness@gentoo.org>2007-12-30 13:02:13 +0000
commitdfd13a1579728c6cc6dc99e9f678f717bc9ea953 (patch)
treeb49f399c82f9505974831828ed4b0b1836ed0256 /net-proxy
parentVersion Bump and fix to bug 202694. (diff)
downloadgentoo-2-dfd13a1579728c6cc6dc99e9f678f717bc9ea953.tar.gz
gentoo-2-dfd13a1579728c6cc6dc99e9f678f717bc9ea953.tar.bz2
gentoo-2-dfd13a1579728c6cc6dc99e9f678f717bc9ea953.zip
Remove old version.
(Portage version: 2.1.3.19)
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/wwwoffle/ChangeLog6
-rw-r--r--net-proxy/wwwoffle/files/digest-wwwoffle-2.9b3
-rw-r--r--net-proxy/wwwoffle/wwwoffle-2.9b.ebuild127
-rw-r--r--net-proxy/wwwoffle/wwwoffle-2.9c.ebuild5
4 files changed, 7 insertions, 134 deletions
diff --git a/net-proxy/wwwoffle/ChangeLog b/net-proxy/wwwoffle/ChangeLog
index f69a9667094c..a4b5beb85d6f 100644
--- a/net-proxy/wwwoffle/ChangeLog
+++ b/net-proxy/wwwoffle/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-proxy/wwwoffle
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/wwwoffle/ChangeLog,v 1.37 2007/11/16 15:27:11 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/wwwoffle/ChangeLog,v 1.38 2007/12/30 13:02:12 mrness Exp $
+
+ 30 Dec 2007; Alin Năstac <mrness@gentoo.org> -wwwoffle-2.9b.ebuild,
+ wwwoffle-2.9c.ebuild:
+ Remove old version.
16 Nov 2007; Steve Dibb <beandog@gentoo.org> wwwoffle-2.9c.ebuild:
amd64 stable, bug 197884
diff --git a/net-proxy/wwwoffle/files/digest-wwwoffle-2.9b b/net-proxy/wwwoffle/files/digest-wwwoffle-2.9b
deleted file mode 100644
index 9b38d9dc1cc6..000000000000
--- a/net-proxy/wwwoffle/files/digest-wwwoffle-2.9b
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 492fd8e7f77cfc6103a1bd23093a1e0a wwwoffle-2.9b.tgz 1076009
-RMD160 0993246866fe9bafc505c4b10fb1c0f0ce95e5ad wwwoffle-2.9b.tgz 1076009
-SHA256 85d5650a1446c5f8d0f511345e12caa33693fffd556bee122f66531325d5fbf0 wwwoffle-2.9b.tgz 1076009
diff --git a/net-proxy/wwwoffle/wwwoffle-2.9b.ebuild b/net-proxy/wwwoffle/wwwoffle-2.9b.ebuild
deleted file mode 100644
index d72542c27b4e..000000000000
--- a/net-proxy/wwwoffle/wwwoffle-2.9b.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/wwwoffle/wwwoffle-2.9b.ebuild,v 1.6 2007/04/24 18:34:27 dertobi123 Exp $
-
-inherit eutils
-
-DESCRIPTION="wwwoffle = WWW Offline Explorer, an adv. caching proxy especially suitable for nonpermanent (e.g. dialup) Internet connections"
-SRC_URI="http://www.gedanken.demon.co.uk/download-wwwoffle/${P}.tgz"
-HOMEPAGE="http://www.gedanken.demon.co.uk/wwwoffle"
-
-KEYWORDS="amd64 ppc ppc64 sparc x86"
-SLOT="0"
-LICENSE="GPL-2"
-IUSE="gnutls ipv6 zlib"
-
-RDEPEND="gnutls? ( net-libs/gnutls )
- zlib? ( sys-libs/zlib )"
-DEPEND="dev-lang/perl
- sys-devel/flex
- ${RDEPEND}"
-
-# Unsure whether to depend on >=www-misc/htdig-3.1.6-r4 or not
-
-src_unpack() {
- unpack ${A}
-
- sed -i -e 's#$(TAR) xpf #$(TAR) --no-same-owner -xpf #' \
- "${S}/cache/Makefile.in"
-}
-
-src_compile() {
- econf $(use_with zlib) \
- $(use_with gnutls) \
- $(use_with ipv6) || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- # documentation fix
- # del empty doc dirs
- rmdir "${D}/usr/doc/${PN}"/{it,nl,ru}
- dodir /usr/share/doc
- mv "${D}/usr/doc/wwwoffle" "${D}/usr/share/doc/${PF}"
-
- # install the wwwoffled init script
- newinitd "${FILESDIR}/${PN}.initd" wwwoffled
- newinitd "${FILESDIR}/${PN}-online.initd" wwwoffled-online
- newconfd "${FILESDIR}/${PN}-online.confd" wwwoffled-online
-
- keepdir /var/spool/wwwoffle/{http,outgoing,monitor,lasttime,lastout,local}
- for number in 1 2 3 4 5 6 7 8 9; do
- keepdir "/var/spool/wwwoffle/prevtime${number}" "/var/spool/wwwoffle/prevout${number}"
- done
-
- # empty dirs are removed during update
- keepdir \
- /var/spool/wwwoffle/search/{mnogosearch/db,htdig/tmp,htdig/db-lasttime,htdig/db,namazu/db}
-
- touch \
- "${D}/var/spool/wwwoffle/search/htdig/wwwoffle-htdig.log" \
- "${D}/var/spool/wwwoffle/search/mnogosearch/wwwoffle-mnogosearch.log" \
- "${D}/var/spool/wwwoffle/search/namazu/wwwoffle-namazu.log"
-
- # TODO htdig indexing as part of initscripts
-
- # robots.txt modification - /var/spool/wwwoffle/html/en
- # - remove Disallow: /index
- sed -i -e "s|Disallow:.*/index|#Disallow: /index|" "${D}/var/spool/wwwoffle/html/en/robots.txt"
-
- rmdir "${D}/usr/doc"
-}
-
-pkg_preinst() {
- # Add a wwwoffle user
- enewgroup wwwoffle
- enewuser wwwoffle -1 -1 /var/spool/wwwoffle wwwoffle
-
- # Changing the user:group to wwwoffle:woffle
- fowners -R wwwoffle:wwwoffle /var/spool/wwwoffle /etc/wwwoffle
- sed -i -e 's/^[# \t]\(run-[gu]id[ \t]*=[ \t]*\)[a-zA-Z0-9]*[ \t]*$/ \1wwwoffle/g' \
- "${D}/etc/wwwoffle/wwwoffle.conf"
-
- # Stop the service if it is started
- if [ "${ROOT}" = "/" ] ; then
- source /etc/init.d/functions.sh
- if [ -L "${svcdir}/started/wwwoffled" ]; then
- einfo "The wwwoffled init script is running. I'll stop it, merge the new files and
- restart the script."
- /etc/init.d/wwwoffled stop
- # Just to be sure...
- start-stop-daemon --stop --quiet --name wwwoffled
- touch "${T}/stopped"
- fi
- fi
-}
-
-pkg_postinst() {
- # fix permissions for those upgrading
- for number in 1 2 3 4 5 6 7 8 9;
- do
- [ ! -d "${ROOT}/var/spool/wwwoffle/prevtime${number}" ] && \
- keepdir "${ROOT}/var/spool/wwwoffle/prevtime${number}"
- [ ! -d "${ROOT}/var/spool/wwwoffle/prevout${number}" ] && \
- keepdir "${ROOT}/var/spool/wwwoffle/prevout${number}"
- done
- chown -R wwwoffle:wwwoffle "${ROOT}/var/spool/wwwoffle" "${ROOT}/etc/wwwoffle"
-
- [ -f "${T}/stopped" ] && \
- ewarn "wwwoffled was stopped. /etc/init.d/wwwoffled start to restart AFTER etc-update"
-
- einfo "wwwoffled should run as an ordinary user now. The run-uid and run-gid should be set"
- einfo "to \"wwwoffle\" in your /etc/wwwoffle/wwwoffle.conf. Please uncomment this if it hasn't been already"
-
- einfo "This is for your own security. Otherwise wwwoffle is run as root which is relay bad if"
- einfo "there is an exploit in this program that allows remote/local users to execute arbitary"
- einfo "commands as the root user."
-
- if [ -f "${ROOT}/etc/wwwoffle.conf" ]; then
- ewarn "Configuration file is /etc/wwwoffle/wwwoffle.conf now"
- ewarn "Suggest you move ${ROOT}etc/wwwoffle.conf"
- fi
-
- # if htdig - run script for full database index
- # TODO
-}
diff --git a/net-proxy/wwwoffle/wwwoffle-2.9c.ebuild b/net-proxy/wwwoffle/wwwoffle-2.9c.ebuild
index 94c603b7574b..5e8d3e60f12c 100644
--- a/net-proxy/wwwoffle/wwwoffle-2.9c.ebuild
+++ b/net-proxy/wwwoffle/wwwoffle-2.9c.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/wwwoffle/wwwoffle-2.9c.ebuild,v 1.6 2007/11/16 15:27:11 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/wwwoffle/wwwoffle-2.9c.ebuild,v 1.7 2007/12/30 13:02:12 mrness Exp $
inherit eutils
@@ -43,6 +43,7 @@ src_install() {
rmdir "${D}/usr/doc/${PN}"/{it,nl,ru}
dodir /usr/share/doc
mv "${D}/usr/doc/wwwoffle" "${D}/usr/share/doc/${PF}"
+ rmdir "${D}/usr/doc"
# install the wwwoffled init script
newinitd "${FILESDIR}/${PN}.initd" wwwoffled
@@ -68,8 +69,6 @@ src_install() {
# robots.txt modification - /var/spool/wwwoffle/html/en
# - remove Disallow: /index
sed -i -e "s|Disallow:.*/index|#Disallow: /index|" "${D}/var/spool/wwwoffle/html/en/robots.txt"
-
- rmdir "${D}/usr/doc"
}
pkg_preinst() {