summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2003-01-14 14:13:14 +0000
committerDan Armak <danarmak@gentoo.org>2003-01-14 14:13:14 +0000
commite4f06fc8192fa06d5ebb511a6c67793e0ec8a53e (patch)
treec381a11e2a200a23de9e262c6011ee0b3c08cc7f /net-www/wwwoffle
parentfixed SRC_URI (diff)
downloadgentoo-2-e4f06fc8192fa06d5ebb511a6c67793e0ec8a53e.tar.gz
gentoo-2-e4f06fc8192fa06d5ebb511a6c67793e0ec8a53e.tar.bz2
gentoo-2-e4f06fc8192fa06d5ebb511a6c67793e0ec8a53e.zip
new upstream release with bugfixes. committed as ~.
Diffstat (limited to 'net-www/wwwoffle')
-rw-r--r--net-www/wwwoffle/ChangeLog8
-rw-r--r--net-www/wwwoffle/files/digest-wwwoffle-2.7h1
-rw-r--r--net-www/wwwoffle/wwwoffle-2.7h.ebuild72
3 files changed, 80 insertions, 1 deletions
diff --git a/net-www/wwwoffle/ChangeLog b/net-www/wwwoffle/ChangeLog
index 629e63487c96..a35224068882 100644
--- a/net-www/wwwoffle/ChangeLog
+++ b/net-www/wwwoffle/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-www/wwwoffle
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/wwwoffle/ChangeLog,v 1.10 2002/12/14 18:46:28 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/wwwoffle/ChangeLog,v 1.11 2003/01/14 14:13:14 danarmak Exp $
+
+*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)
diff --git a/net-www/wwwoffle/files/digest-wwwoffle-2.7h b/net-www/wwwoffle/files/digest-wwwoffle-2.7h
new file mode 100644
index 000000000000..d419996746a2
--- /dev/null
+++ b/net-www/wwwoffle/files/digest-wwwoffle-2.7h
@@ -0,0 +1 @@
+MD5 3226cbe65feca747f92393114d9de5f0 wwwoffle-2.7h.tgz 886577
diff --git a/net-www/wwwoffle/wwwoffle-2.7h.ebuild b/net-www/wwwoffle/wwwoffle-2.7h.ebuild
new file mode 100644
index 000000000000..4252b9f7b9c7
--- /dev/null
+++ b/net-www/wwwoffle/wwwoffle-2.7h.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# 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.1 2003/01/14 14:13:14 danarmak Exp $
+
+S=${WORKDIR}/${P}
+
+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"
+SLOT="0"
+LICENSE="GPL-2"
+
+DEPEND="sys-devel/flex
+ sys-libs/zlib
+ sys-devel/gcc
+ virtual/glibc"
+
+
+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 () {
+
+ # Install the files
+ make prefix=${D}/usr SPOOLDIR=${D}/var/spool/wwwoffle CONFDIR=${D}/etc install || die
+
+ cd ${D}/etc
+ mv wwwoffle.conf 1
+ sed -e "s:${D}::" 1 > wwwoffle.conf
+ rm 1
+
+ # 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
+}