diff options
-rw-r--r-- | net-www/wwwoffle/ChangeLog | 111 | ||||
-rw-r--r-- | net-www/wwwoffle/Manifest | 19 | ||||
-rw-r--r-- | net-www/wwwoffle/files/digest-wwwoffle-2.7h | 1 | ||||
-rw-r--r-- | net-www/wwwoffle/files/digest-wwwoffle-2.8b | 1 | ||||
-rw-r--r-- | net-www/wwwoffle/files/wwwoffled | 21 | ||||
-rw-r--r-- | net-www/wwwoffle/files/wwwoffled-online | 21 | ||||
-rw-r--r-- | net-www/wwwoffle/files/wwwoffled-online-2.8b | 21 | ||||
-rw-r--r-- | net-www/wwwoffle/metadata.xml | 13 | ||||
-rw-r--r-- | net-www/wwwoffle/wwwoffle-2.7h.ebuild | 67 | ||||
-rw-r--r-- | net-www/wwwoffle/wwwoffle-2.8b.ebuild | 139 |
10 files changed, 0 insertions, 414 deletions
diff --git a/net-www/wwwoffle/ChangeLog b/net-www/wwwoffle/ChangeLog deleted file mode 100644 index 97064f7226d9..000000000000 --- a/net-www/wwwoffle/ChangeLog +++ /dev/null @@ -1,111 +0,0 @@ -# ChangeLog for net-www/wwwoffle -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/wwwoffle/ChangeLog,v 1.25 2004/07/28 01:44:21 dragonheart Exp $ - - 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/net-www/wwwoffle/Manifest b/net-www/wwwoffle/Manifest deleted file mode 100644 index 81f2bff75bf1..000000000000 --- a/net-www/wwwoffle/Manifest +++ /dev/null @@ -1,19 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 b403b31be93a4407a2e48e9fba565a99 ChangeLog 4068 -MD5 b9f9491ced5882f6eeb01b8298c8cf12 wwwoffle-2.7h.ebuild 1853 -MD5 2e4b46ecde2ad33d6da74c054c508e3d wwwoffle-2.8b.ebuild 4536 -MD5 1d58b504a9415220f2ee8c3b62e27aa9 metadata.xml 500 -MD5 6d83ded8196e666519a23307700946a8 files/wwwoffled-online-2.8b 524 -MD5 a6914435a2f1de064fcdc7c784a2b85f files/digest-wwwoffle-2.7h 62 -MD5 bf1c6e8219020e70da1bcf518f74d31c files/wwwoffled 506 -MD5 0bff71cfc0b74ff4146055a6105d04cd files/wwwoffled-online 510 -MD5 009de7420924ad30ca9611df2d1d6299 files/digest-wwwoffle-2.8b 62 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.4 (GNU/Linux) - -iD8DBQFBBwOfmdTrptrqvGERAj8xAKCIWNik8QJof4gr9beXJUapkTQ7TACeLH8Z -8B0YGxqUYZAh++dyH9sOYMo= -=A5LK ------END PGP SIGNATURE----- diff --git a/net-www/wwwoffle/files/digest-wwwoffle-2.7h b/net-www/wwwoffle/files/digest-wwwoffle-2.7h deleted file mode 100644 index d419996746a2..000000000000 --- a/net-www/wwwoffle/files/digest-wwwoffle-2.7h +++ /dev/null @@ -1 +0,0 @@ -MD5 3226cbe65feca747f92393114d9de5f0 wwwoffle-2.7h.tgz 886577 diff --git a/net-www/wwwoffle/files/digest-wwwoffle-2.8b b/net-www/wwwoffle/files/digest-wwwoffle-2.8b deleted file mode 100644 index 9cb59667b7c6..000000000000 --- a/net-www/wwwoffle/files/digest-wwwoffle-2.8b +++ /dev/null @@ -1 +0,0 @@ -MD5 ef5a756adc8b8c37b9684b3155494227 wwwoffle-2.8b.tgz 975589 diff --git a/net-www/wwwoffle/files/wwwoffled b/net-www/wwwoffle/files/wwwoffled deleted file mode 100644 index bba392e9d991..000000000000 --- a/net-www/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/net-www/wwwoffle/files/wwwoffled,v 1.9 2004/07/15 00:35:57 agriffis 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/net-www/wwwoffle/files/wwwoffled-online b/net-www/wwwoffle/files/wwwoffled-online deleted file mode 100644 index 08955d968909..000000000000 --- a/net-www/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/net-www/wwwoffle/files/wwwoffled-online,v 1.8 2004/07/15 00:35:57 agriffis 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/net-www/wwwoffle/files/wwwoffled-online-2.8b b/net-www/wwwoffle/files/wwwoffled-online-2.8b deleted file mode 100644 index 7d4c991e46ff..000000000000 --- a/net-www/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/net-www/wwwoffle/files/wwwoffled-online-2.8b,v 1.2 2004/07/15 00:35:57 agriffis 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/net-www/wwwoffle/metadata.xml b/net-www/wwwoffle/metadata.xml deleted file mode 100644 index d6acf30bb215..000000000000 --- a/net-www/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>no-herd</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/net-www/wwwoffle/wwwoffle-2.7h.ebuild b/net-www/wwwoffle/wwwoffle-2.7h.ebuild deleted file mode 100644 index 9ac4dc0a9254..000000000000 --- a/net-www/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/net-www/wwwoffle/wwwoffle-2.7h.ebuild,v 1.11 2004/07/01 22:51:35 eradicator 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/net-www/wwwoffle/wwwoffle-2.8b.ebuild b/net-www/wwwoffle/wwwoffle-2.8b.ebuild deleted file mode 100644 index f6887b7a1dd7..000000000000 --- a/net-www/wwwoffle/wwwoffle-2.8b.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/wwwoffle/wwwoffle-2.8b.ebuild,v 1.9 2004/07/28 01:44:21 dragonheart 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." - -} |