diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-04-22 19:47:01 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-04-22 19:47:01 +0000 |
commit | 00df386c071de88e555bbb6d408ce90fbfdfc1e2 (patch) | |
tree | e4c5fb3096dfa1705f39b7ca5643ba074f4e1379 /www-proxy/wwwoffle | |
parent | www-proxy -> net-proxy (diff) | |
download | gentoo-2-00df386c071de88e555bbb6d408ce90fbfdfc1e2.tar.gz gentoo-2-00df386c071de88e555bbb6d408ce90fbfdfc1e2.tar.bz2 gentoo-2-00df386c071de88e555bbb6d408ce90fbfdfc1e2.zip |
Remove www-proxy category
Diffstat (limited to 'www-proxy/wwwoffle')
-rw-r--r-- | www-proxy/wwwoffle/ChangeLog | 170 | ||||
-rw-r--r-- | www-proxy/wwwoffle/Manifest | 24 | ||||
-rw-r--r-- | www-proxy/wwwoffle/files/digest-wwwoffle-2.7h | 1 | ||||
-rw-r--r-- | www-proxy/wwwoffle/files/digest-wwwoffle-2.8b | 1 | ||||
-rw-r--r-- | www-proxy/wwwoffle/files/digest-wwwoffle-2.8e | 1 | ||||
-rw-r--r-- | www-proxy/wwwoffle/files/wwwoffle-online.confd | 10 | ||||
-rw-r--r-- | www-proxy/wwwoffle/files/wwwoffle-online.initd | 30 | ||||
-rw-r--r-- | www-proxy/wwwoffle/files/wwwoffle.initd | 21 | ||||
-rw-r--r-- | www-proxy/wwwoffle/files/wwwoffled | 21 | ||||
-rw-r--r-- | www-proxy/wwwoffle/files/wwwoffled-online | 21 | ||||
-rw-r--r-- | www-proxy/wwwoffle/files/wwwoffled-online-2.8b | 21 | ||||
-rw-r--r-- | www-proxy/wwwoffle/metadata.xml | 13 | ||||
-rw-r--r-- | www-proxy/wwwoffle/wwwoffle-2.7h.ebuild | 67 | ||||
-rw-r--r-- | www-proxy/wwwoffle/wwwoffle-2.8b.ebuild | 139 | ||||
-rw-r--r-- | www-proxy/wwwoffle/wwwoffle-2.8e.ebuild | 176 |
15 files changed, 0 insertions, 716 deletions
diff --git a/www-proxy/wwwoffle/ChangeLog b/www-proxy/wwwoffle/ChangeLog deleted file mode 100644 index 61bceebca4e7..000000000000 --- a/www-proxy/wwwoffle/ChangeLog +++ /dev/null @@ -1,170 +0,0 @@ -# ChangeLog for www-proxy/wwwoffle -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-proxy/wwwoffle/ChangeLog,v 1.11 2005/04/09 22:16:05 cryos Exp $ - - 09 Apr 2005; Marcus D. Hanwell <cryos@gentoo.org> wwwoffle-2.8e.ebuild: - Marked ~amd64, closes bug 88482. - - 09 Apr 2005; Alin Nastac <mrness@gentoo.org> wwwoffle-2.8e.ebuild: - Recursively set ownership to wwwoffle:wwwoffle on /etc/wwwoffle and - /var/spool/wwwoffle (#88482) - - 09 Apr 2005; Markus Rothe <corsair@gentoo.org> wwwoffle-2.8b.ebuild: - Stable on ppc64 - -*wwwoffle-2.8e (06 Apr 2005) - - 06 Apr 2005; Alin Nastac <mrness@gentoo.org> - -files/wwwoffle-2.8c-config-online, -files/wwwoffle-2.8c-init, - -files/wwwoffle-2.8c-init-online, +files/wwwoffle.initd, - +files/wwwoffle-online.confd, +files/wwwoffle-online.initd, - -wwwoffle-2.8c.ebuild, +wwwoffle-2.8e.ebuild: - Version bump - - 20 Nov 2004; Daniel Black <dragonheart@gentoo.org> files/wwwoffle-2.8c-init, - files/wwwoffle-2.8c-init-online: - more init script fixes as per bug #71674. Thanks again to BlaisorBlade - <blaisorblade_spam@yahoo.it> - - 19 Nov 2004; Daniel Black <dragonheart@gentoo.org> - files/wwwoffle-2.8c-init-online: - Modified online init.d script to fetch in background. Thanks to BlaisorBlade - <blaisorblade_spam@yahoo.it> in bug #71674 - - 19 Sep 2004; Daniel Black <dragonheart@gentoo.org> wwwoffle-2.8c.ebuild: - Ownership of /var/spool/wwwoffle changed to wwwoffle:wwwoffle. Thanks to Alan - Swanson <swanson@ukfsn.org> in bug #64629 - -*wwwoffle-2.8c (19 Sep 2004) - - 19 Sep 2004; Daniel Black <dragonheart@gentoo.org> - +files/wwwoffle-2.8c-config-online, +files/wwwoffle-2.8c-init, - +files/wwwoffle-2.8c-init-online, +wwwoffle-2.8c.ebuild: - version bump. Solves bug #61965 by Stanislav Brabec <utx@penguin.cz>. Attempts - to solve bug #7728 however there is still problems - - 05 Sep 2004; Sven Wegener <swegener@gentoo.org> : - Fixed ChangeLog header. - - 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> - wwwoffle-2.7h.ebuild, wwwoffle-2.8b.ebuild: - Masked wwwoffle-2.8b.ebuild stable for ppc - - 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> - wwwoffle-2.7h.ebuild: - Masked wwwoffle-2.7h.ebuild stable for ppc - -*wwwoffle-2.8b (15 Aug 2004) - - 15 Aug 2004; Stuart Herbert <stuart@gentoo.org> +metadata.xml, - +files/wwwoffled, +files/wwwoffled-online, +files/wwwoffled-online-2.8b, - +wwwoffle-2.7h.ebuild, +wwwoffle-2.8b.ebuild: - Moved from net-www/wwwoffle to www-proxy/wwwoffle. - - 28 Jul 2004; Daniel Black <dragonheart@gentoo.org> wwwoffle-2.8b.ebuild: - Changed post-install message - wrong path of config file displayed in message. - Thanks to Antonio <netbix@tiscali.it> in bug #58315. Also modified the - ebuild to make wwwoffled run as the user wwwoffle. Used a config convert - script to update the user's previous configuration. - - 27 Jul 2004; Daniel Black <dragonheart@gentoo.org> -wwwoffle-2.7g.ebuild, - wwwoffle-2.8b.ebuild: - enew{user,group} copied to pkg_preinst to fix binary packages (bug #58526). - Added directories to keep (#58315). Thanks to Thomas Matthijs - <axxo@gentoo.org> and Antonio <netbix@tiscali.it> - - 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> wwwoffle-2.7g.ebuild, - wwwoffle-2.7h.ebuild, wwwoffle-2.8b.ebuild: - virtual/glibc -> virtual/libc - - 17 Jun 2004; Jason Wever <weeve@gentoo.org> wwwoffle-2.8b.ebuild: - Stable on sparc. - - 15 Jun 2004; Daniel Black <dragonheart@gentoo.org> wwwoffle-2.8b.ebuild: - x86 stable - - 06 Jun 2004; Daniel Black <dragonheart@gentoo.org> wwwoffle-2.7h.ebuild: - QA fix - - 06 Jun 2004; Daniel Black <dragonheart@gentoo.org> - +files/wwwoffled-online-2.8b, wwwoffle-2.7h.ebuild, wwwoffle-2.8b.ebuild: - Fixed the remainder of bug #35275. QA fix to 2.7h - - 07 May 2004; Daniel Black <dragonheart@gentoo.org> -wwwoffle-2.7d.ebuild, - wwwoffle-2.7g.ebuild, wwwoffle-2.7h.ebuild: - Remove old version. QA fix and added x86 keywords on 2.7{gh} - - 28 Apr 2004; Daniel Black <dragonheart@gentoo.org> wwwoffle-2.8b.ebuild: - Some fixes thanks to tove <bugs@veller.net> in bug #35275. Still some more to - go - -*wwwoffle-2.8b (25 Apr 2004) - - 25 Apr 2004; Daniel Black <dragonheart@gentoo.org> metadata.xml, - wwwoffle-2.7-r1.ebuild, wwwoffle-2.7b.ebuild, wwwoffle-2.7d.ebuild, - wwwoffle-2.7g.ebuild, wwwoffle-2.7h.ebuild, wwwoffle-2.8b.ebuild, - files/wwwoffled: - Thanks to tove <bugs@veller.net> in bug #35275. files/wwwoffled changed to use - --name in stop. 2.7g and 2.7h fixed tar unpack. Version bump to 2.8b as well. - Removed old versions. Changed 2.8b so it stops wwwoffle before installation - - - 19 Mar 2004; Gustavo Zacarias <gustavoz@gentoo.org> wwwoffle-2.7g.ebuild: - stable on sparc - - 22 Mar 2003; Dan Armak <danarmak@gentoo.org> files/wwwoffled-online: - - Fix bug #16293 - tell wwwoffle to read the /etc/wwwoffle.conf config file - so that it knows over which cnotrol port to communicate with the wwwoffled - server. - -*wwwoffle-2.7h (14 Jan 2003) - - 14 Jan 2003; Dan Armak <danarmak@gentoo.org> ChangeLog : - - A new upstream release that adds some bugfixes. - -*wwwoffle-2.7g (14 Dec 2002) - - 14 Dec 2002; Dan Armak <danarmak@gentoo.org> ChangeLog : - - New upstream vesrion. - - 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords - -*wwwoffle-2.7d (29 Jul 2002) - - 29 Jul 2002; Dan Armak <danarmak@gentoo.org> ChangeLog : - - Bugfix version. - -*wwwoffle-2.7b (02 Jun 2002) - - 14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> wwwoffle-2.7b.ebuild : - Added LICENSE, KEYWORDS, SLOT. - - 02 Jun 2002; Wout Mertens <wmertens@gentoo.org>: - New mainstream version. This one fixes the problem where it wouldn't pass - on length information. - -*wwwoffle-2.7-r1 (16 Mar 2002) - - 14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> wwwoffle-2.7-r1.ebuild : - Added LICENSE, KEYWORDS, SLOT. - - 26 Mar 2002; Dan Armak <danarmak@gentoo.org>: general cleanup - of the ebuild. Fix bug that made the default spooldir /var/tmp/portage/... - - 16 Mar 2002; Dan Armak <danarmak@gentoo.org> Changelog: - - Now, if the wwwoffle init script is running, it is stopped before merging, - and started again afterwards. - -*wwwoffle-2.7 (4 Mar 2002) - - 4 Mar 2002; Dan Armak <danarmak@gentoo.org> Changelog: - - New upstream version, which adds some new features and bugfixes. Also cleaned up - ebuild in various small ways. - -*wwwoffle-2.6d-r6 (1 Feb 2002) diff --git a/www-proxy/wwwoffle/Manifest b/www-proxy/wwwoffle/Manifest deleted file mode 100644 index 816f59a63ded..000000000000 --- a/www-proxy/wwwoffle/Manifest +++ /dev/null @@ -1,24 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 05f59e77d3c9a274835c4261c6cf1793 wwwoffle-2.8b.ebuild 4532 -MD5 07fd41412527be803f47bc33f655d04a wwwoffle-2.7h.ebuild 1851 -MD5 f72d10cdd4bd93c664ab04993661895a ChangeLog 6369 -MD5 e784ccdc5a9a97a31da92881739514d5 metadata.xml 502 -MD5 b1b90b961686c74ce6bf4455ed792c5c wwwoffle-2.8e.ebuild 5154 -MD5 ecf6ff07d66bdc91ff7ff6014ab5c016 files/wwwoffled-online 510 -MD5 a426ce505020deefa18627d26d04eed0 files/wwwoffled-online-2.8b 524 -MD5 1185ed7839f3a2620b3968e3c1d345f0 files/wwwoffle-online.confd 426 -MD5 06fec5f0a5b36dd1d1121b17d8882760 files/wwwoffle-online.initd 696 -MD5 faaff49563ae133cdb50ca1bf1ac93b8 files/wwwoffle.initd 539 -MD5 a6914435a2f1de064fcdc7c784a2b85f files/digest-wwwoffle-2.7h 62 -MD5 009de7420924ad30ca9611df2d1d6299 files/digest-wwwoffle-2.8b 62 -MD5 a627d44111b7ff1d162ac248f5c35376 files/digest-wwwoffle-2.8e 63 -MD5 6cf4ab4a8f2db9c8e503aac035d38eae files/wwwoffled 506 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCWFQxntT9W3vfTuoRAnDXAKCgcMEGAKaw9eeVNKYNpCUEAJJA5QCeLFdQ -WxlcsHuQBvgc/cKeyY7iGlw= -=pDDj ------END PGP SIGNATURE----- diff --git a/www-proxy/wwwoffle/files/digest-wwwoffle-2.7h b/www-proxy/wwwoffle/files/digest-wwwoffle-2.7h deleted file mode 100644 index d419996746a2..000000000000 --- a/www-proxy/wwwoffle/files/digest-wwwoffle-2.7h +++ /dev/null @@ -1 +0,0 @@ -MD5 3226cbe65feca747f92393114d9de5f0 wwwoffle-2.7h.tgz 886577 diff --git a/www-proxy/wwwoffle/files/digest-wwwoffle-2.8b b/www-proxy/wwwoffle/files/digest-wwwoffle-2.8b deleted file mode 100644 index 9cb59667b7c6..000000000000 --- a/www-proxy/wwwoffle/files/digest-wwwoffle-2.8b +++ /dev/null @@ -1 +0,0 @@ -MD5 ef5a756adc8b8c37b9684b3155494227 wwwoffle-2.8b.tgz 975589 diff --git a/www-proxy/wwwoffle/files/digest-wwwoffle-2.8e b/www-proxy/wwwoffle/files/digest-wwwoffle-2.8e deleted file mode 100644 index a0f40e52b471..000000000000 --- a/www-proxy/wwwoffle/files/digest-wwwoffle-2.8e +++ /dev/null @@ -1 +0,0 @@ -MD5 30828cc5a8a459f04f719bbb220003e7 wwwoffle-2.8e.tgz 1015694 diff --git a/www-proxy/wwwoffle/files/wwwoffle-online.confd b/www-proxy/wwwoffle/files/wwwoffle-online.confd deleted file mode 100644 index f08088f0e7ea..000000000000 --- a/www-proxy/wwwoffle/files/wwwoffle-online.confd +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-proxy/wwwoffle/files/wwwoffle-online.confd,v 1.1 2005/04/06 19:33:00 mrness Exp $ - -# Enter the interface that connects you to the outside world -# This will correspond to /etc/wwwoffle/init.d/net.${IFACE} - -# IMPORTANT: Be sure to run depscan.sh after modifiying IFACE - -#IFACE=ppp0 diff --git a/www-proxy/wwwoffle/files/wwwoffle-online.initd b/www-proxy/wwwoffle/files/wwwoffle-online.initd deleted file mode 100644 index 71d9a35b44dc..000000000000 --- a/www-proxy/wwwoffle/files/wwwoffle-online.initd +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-proxy/wwwoffle/files/wwwoffle-online.initd,v 1.1 2005/04/06 19:33:00 mrness Exp $ - -depend() { - need wwwoffled - use dns - - if [ -n ${IFACE} ]; - then - need net.${IFACE} - else - ewarn "No IFACE is defined in /etc/conf.d/wwwoffle-online" - need net - fi -} - -start() { - ebegin "Starting wwwoffled-online" - wwwoffle -online -c /etc/wwwoffle/wwwoffle.conf - wwwoffle -fetch -c /etc/wwwoffle/wwwoffle.conf & > /dev/null 2>&1 - eend $? -} - -stop() { - ebegin "Stopping wwwoffled-online" - wwwoffle -offline -c /etc/wwwoffle/wwwoffle.conf - eend $? -} diff --git a/www-proxy/wwwoffle/files/wwwoffle.initd b/www-proxy/wwwoffle/files/wwwoffle.initd deleted file mode 100644 index c68af44a51a2..000000000000 --- a/www-proxy/wwwoffle/files/wwwoffle.initd +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-proxy/wwwoffle/files/wwwoffle.initd,v 1.1 2005/04/06 19:33:00 mrness Exp $ - -depend() { - need localmount -} - -start() { - ebegin "Starting wwwoffled" - start-stop-daemon --start --quiet --exec /usr/sbin/wwwoffled \ - -u wwwoffle -- -c /etc/wwwoffle/wwwoffle.conf 2>&1 - eend $? -} - -stop() { - ebegin "Stopping wwwoffled" - start-stop-daemon --stop --quiet --name wwwoffled - eend $? -} diff --git a/www-proxy/wwwoffle/files/wwwoffled b/www-proxy/wwwoffle/files/wwwoffled deleted file mode 100644 index 19368a71cd79..000000000000 --- a/www-proxy/wwwoffle/files/wwwoffled +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-proxy/wwwoffle/files/wwwoffled,v 1.1 2004/08/15 19:11:58 stuart Exp $ - -depend() { - need localmount -} - -start() { - ebegin "Starting wwwoffled" - start-stop-daemon --start --quiet --exec `which wwwoffled` \ - -- -c /etc/wwwoffle.conf - eend $? -} - -stop() { - ebegin "Stopping wwwoffled" - start-stop-daemon --stop --quiet --name wwwoffled - eend $? -} diff --git a/www-proxy/wwwoffle/files/wwwoffled-online b/www-proxy/wwwoffle/files/wwwoffled-online deleted file mode 100644 index 92b5fc1aa167..000000000000 --- a/www-proxy/wwwoffle/files/wwwoffled-online +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-proxy/wwwoffle/files/wwwoffled-online,v 1.1 2004/08/15 19:11:58 stuart Exp $ - -depend() { - need wwwoffled net -} - -start() { - ebegin "Starting wwwoffled-online" - wwwoffle -online -c /etc/wwwoffle.conf - wwwoffle -fetch -c /etc/wwwoffle.conf - eend $? -} - -stop() { - ebegin "Stopping wwwoffled-online" - wwwoffle -offline -c /etc/wwwoffle.conf - eend $? -} diff --git a/www-proxy/wwwoffle/files/wwwoffled-online-2.8b b/www-proxy/wwwoffle/files/wwwoffled-online-2.8b deleted file mode 100644 index fcaecb0c19b9..000000000000 --- a/www-proxy/wwwoffle/files/wwwoffled-online-2.8b +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-proxy/wwwoffle/files/wwwoffled-online-2.8b,v 1.1 2004/08/15 19:11:58 stuart Exp $ - -depend() { - need wwwoffled net.${IFACE} -} - -start() { - ebegin "Starting wwwoffled-online" - wwwoffle -online -c /etc/wwwoffle.conf - wwwoffle -fetch -c /etc/wwwoffle.conf - eend $? -} - -stop() { - ebegin "Stopping wwwoffled-online" - wwwoffle -offline -c /etc/wwwoffle.conf - eend $? -} diff --git a/www-proxy/wwwoffle/metadata.xml b/www-proxy/wwwoffle/metadata.xml deleted file mode 100644 index e387d0889017..000000000000 --- a/www-proxy/wwwoffle/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>www-proxy</herd> -<maintainer> - <email>dragonheart@gentoo.org</email> - <name>Daniel Black</name> -</maintainer> -<longdescription>The wwwoffled program is a simple proxy server with special features for use -with dial-up internet links. This means that it is possible to browse web pages and read them -without having to remain connected. -</longdescription> -</pkgmetadata> diff --git a/www-proxy/wwwoffle/wwwoffle-2.7h.ebuild b/www-proxy/wwwoffle/wwwoffle-2.7h.ebuild deleted file mode 100644 index 464b9da211ab..000000000000 --- a/www-proxy/wwwoffle/wwwoffle-2.7h.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-proxy/wwwoffle/wwwoffle-2.7h.ebuild,v 1.2 2004/09/03 16:06:50 pvdabeel Exp $ - -DESCRIPTION="wwwoffle = WWW Offline Explorer, an adv. caching proxy especially suitable for nonpermanent (e.g. dialup) Internet connections" - -SRC_URI="ftp://ftp.demon.co.uk/pub/unix/httpd/${P}.tgz - ftp://ftp.ibiblio.org/pub/Linux/apps/www/servers/${P}.tgz" - -HOMEPAGE="http://www.gedanken.demon.co.uk/" -KEYWORDS="x86 ~sparc ppc ppc64" -SLOT="0" -LICENSE="GPL-2" -IUSE="ipv6" -DEPEND="sys-devel/flex - sys-libs/zlib - sys-devel/gcc - virtual/libc - >=sys-apps/sed-4" - -RDEPEND="sys-libs/zlib - virtual/libc" - -src_compile() { - local myconf - use ipv6 && myconf="$myconf --with-ipv6" || myconf="$myconf --without-ipv6" - ./configure $myconf --prefix=/usr --with-confdir=/etc || die - - emake || die -} - -src_install() { - - sed -i -e 's#$(TAR) xpf #$(TAR) --no-same-owner -xpf #' cache/Makefile - - # Install the files - make prefix=${D}/usr SPOOLDIR=${D}/var/spool/wwwoffle CONFDIR=${D}/etc install || die - - cd ${D}/etc - sed -i -e "s:${D}::" wwwoffle.conf - - # Install the wwwoffled init script - exeinto /etc/init.d - doexe ${FILESDIR}/{wwwoffled-online,wwwoffled} - - # someday i'll make it use the file in /etc. for now we at least get - # config file protection this way. - dosym /etc/wwwoffle.conf /var/spool/wwwoffle/wwwoffle.conf -} - -pkg_preinst() { - 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 - touch ${T}/restart - fi -} - -pkg_postinst() { - if [ -f "${T}/restart" ]; then - einfo "Starting the wwwoffled initscript again..." - /etc/init.d/wwwoffled start - rm ${T}/restart - fi -} diff --git a/www-proxy/wwwoffle/wwwoffle-2.8b.ebuild b/www-proxy/wwwoffle/wwwoffle-2.8b.ebuild deleted file mode 100644 index 5294a0d318ed..000000000000 --- a/www-proxy/wwwoffle/wwwoffle-2.8b.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-proxy/wwwoffle/wwwoffle-2.8b.ebuild,v 1.3 2005/04/09 13:31:21 corsair Exp $ - -inherit eutils - -DESCRIPTION="wwwoffle = WWW Offline Explorer, an adv. caching proxy especially suitable for nonpermanent (e.g. dialup) Internet connections" - -SRC_URI="ftp://ftp.demon.co.uk/pub/unix/httpd/${P}.tgz - ftp://ftp.ibiblio.org/pub/Linux/apps/www/servers/${P}.tgz" - -HOMEPAGE="http://www.gedanken.demon.co.uk/wwwoffle" -KEYWORDS="x86 sparc ppc ppc64" -SLOT="0" -LICENSE="GPL-2" -IUSE="ipv6" - -DEPEND=">=sys-apps/sed-4 - sys-apps/gawk - sys-apps/grep - dev-lang/perl - sys-devel/flex - sys-libs/zlib - sys-devel/gcc - virtual/libc - app-arch/tar" - -RDEPEND="sys-libs/zlib - virtual/libc" - -src_unpack(){ - unpack ${A} - cd ${S} - sed -i -e 's#$(TAR) xpf #$(TAR) --no-same-owner -xpf #' cache/Makefile.in - sed -i -e "s#^docdir=.*#docdir=\$(DESTDIR)\${prefix}/share/doc/${P}#" doc/Makefile.in - - - ### adjust path for htdig - /usr/share/webapps/${PF}/cgi-bin/ - ## (as per http://www.gentoo.org/proj/en/glep/glep-0011.html) - ## Not impliemented yet. - - echo '/usr/share/webapps/*/cgi-bin/htsearch -c /var/spool/wwwoffle/search/htdig/conf/htsearch.conf' \ - > cache/search/htdig/scripts/wwwoffle-htsearch - chmod a+x cache/search/htdig/scripts/wwwoffle-htsearch -} - -src_compile() { - - local myconf - myconf="`use_with ipv6`" - econf --with-confdir=/etc ${myconf} || die - emake || die - - local conffile=conf/wwwoffle.conf.template - if [ -f ${ROOT}/etc/wwwoffle.conf ] - then - einfo "Upgrading current configuration file" - cp ${ROOT}/etc/wwwoffle.conf conf/wwwoffle.conf - conf/upgrade-config.pl conf/wwwoffle.conf - # Hack to stop regeneration of config file - touch conf/conf-file - conffile=conf/wwwoffle.conf - fi - # change to user wwwoffle - einfo "Changing the default user (and group) to wwwoffle" - sed -i -e 's/\(run-[gu]id\)[ \t]*=[ \t]*[a-zA-Z0-9]*[ \t]*$/\1 = wwwoffle/g' \ - ${conffile} -} - -pkg_preinst() { - - # Add a wwwoffle user - required here for binary packages - enewgroup wwwoffle - enewuser wwwoffle -1 /bin/false /var/spool/wwwoffle wwwoffle - - # TODO maybe rootjail ${ROOT} - 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 -} - - -src_install() { - emake DESTDIR=${D} install || die - - # install the wwwoffled init script - exeinto /etc/init.d - doexe ${FILESDIR}/wwwoffled - newexe ${FILESDIR}/wwwoffled-online-${PV} wwwoffled-online - - # keep spool - keepdir /var/spool/wwwoffle/{http,outgoing,monitor,lasttime,prevtime[1-9],prevout[1-9],lastout,local} - - fowners root:wwwoffle /var/spool/wwwoffle - # empty dirs are removed during update - keepdir \ - /var/spool/wwwoffle/search/{mnogosearch/db,htdig/tmp,htdig/db-lasttime,htdig/db,namazu/db} - - # del empty doc dirs - rmdir ${D}/usr/share/doc/${P}/{it,nl,ru} - - chown -R wwwoffle:wwwoffle \ - ${D}/var/spool/wwwoffle/{http,outgoing,monitor,lasttime,prevtime[1-9],prevout[1-9],lastout,local} \ - ${D}/var/spool/wwwoffle/search/{mnogosearch/db,htdig/tmp,htdig/db-lasttime,htdig/db,namazu/db} - - dodir /etc/conf.d - local config=${D}/etc/conf.d/wwwoffled-online - echo -e "\n\n# Enter the interface that connects you to the outside world" >> ${config} - echo '# This will correspond to /etc/init.d/net.${IFACE}' >> ${config} - echo -e "\n# IMPORTANT: Be sure to run depscan.sh after modifiying IFACE" >> ${config} - echo "IFACE=ppp0" >> ${config} - -} - -pkg_postinst() { - # fix permissions for those upgrading - chown -R wwwoffle:wwwoffle \ - ${ROOT}/var/spool/wwwoffle/{http,outgoing,monitor,lasttime,prevtime[1-9],prevout[1-9],lastout,local} \ - ${ROOT}/var/spool/wwwoffle/search/{mnogosearch/db,htdig/tmp,htdig/db-lasttime,htdig/db,namazu/db} - - chown root:wwwoffle /var/spool/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.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." - -} diff --git a/www-proxy/wwwoffle/wwwoffle-2.8e.ebuild b/www-proxy/wwwoffle/wwwoffle-2.8e.ebuild deleted file mode 100644 index 5245e7d969fc..000000000000 --- a/www-proxy/wwwoffle/wwwoffle-2.8e.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-proxy/wwwoffle/wwwoffle-2.8e.ebuild,v 1.3 2005/04/09 22:16:05 cryos 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.freeserve.co.uk/download-wwwoffle/${P}.tgz" -HOMEPAGE="http://www.gedanken.demon.co.uk/wwwoffle" -KEYWORDS="~x86 ~sparc ~ppc ~ppc64 ~amd64" -SLOT="0" -LICENSE="GPL-2" -IUSE="ipv6" - -DEPEND=">=sys-apps/sed-4 - sys-apps/gawk - sys-apps/grep - dev-lang/perl - sys-devel/flex - sys-libs/zlib - sys-devel/gcc - virtual/libc - app-arch/tar" - -RDEPEND="sys-libs/zlib - virtual/libc" - -# Unsure weither to depend or not -# >=www-misc/htdig-3.1.6-r4" - -src_unpack(){ - unpack ${A} - cd ${S} - sed -i -e 's#$(TAR) xpf #$(TAR) --no-same-owner -xpf #' \ - cache/Makefile.in -} - -src_compile() { - - # TODO confdir back to default /etc/wwwoffle - # allows to change config file using web interface. - - local myconf - myconf="`use_with ipv6`" - econf ${myconf} || die - emake || die - - if [ -f ${ROOT}/etc/wwwoffle.conf ] - then - einfo "Upgrading current configuration file" - cp ${ROOT}/etc/wwwoffle.conf conf/wwwoffle.conf - conf/upgrade-config.pl conf/wwwoffle.conf - - # Hack to stop regeneration of config file - touch conf/conf-file - - einfo "Changing the default user (and group) to wwwoffle" - sed -i -e 's/\(run-[gu]id\)[ \t]*=[ \t]*[a-zA-Z0-9]*[ \t]*$/\1 = wwwoffle/g' \ - onf/wwwoffle.conf - else - einfo "Changing the default user (and group) to wwwoffle" - sed -i -e 's/#\(run-[gu]id\)[ \t]*=[ \t]*[a-zA-Z0-9]*[ \t]*$/\1 = wwwoffle/g' \ - conf/wwwoffle.conf.template - fi - -} - -pkg_preinst() { - - # Add a wwwoffle user - required here for binary packages - enewgroup wwwoffle - enewuser wwwoffle -1 /bin/false /var/spool/wwwoffle wwwoffle - - # TODO maybe rootjail ${ROOT} - 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 -} - - -src_install() { - emake DESTDIR=${D} install || die - - # 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} - - #Updated configuration file - #if [ -f ${ROOT}/etc/wwwoffle.conf ]; - #then - # mv ${D}/etc/wwwoffle.conf ${D}/etc/wwwoffle.conf.updated - #fi - - # 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 - - # Need to sumbit patch upstream to allow this. - #fowners root:wwwoffle /var/spool/wwwoffle - #fowners wwwoffle:wwwoffle /var/spool/wwwoffle - - # 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 - - chown -R wwwoffle:wwwoffle ${D}/var/spool/wwwoffle ${D}/etc/wwwoffle - - # 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_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 - - # Need to sumbit patch upstream to allow this. - #fowners root:wwwoffle /var/spool/wwwoffle - #fowners wwwoffle:wwwoffle /var/spool/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 -} |