summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-03-04 20:58:09 +0000
committerDan Armak <danarmak@gentoo.org>2002-03-04 20:58:09 +0000
commit62b45e6c6096d00fe82192e30ac992db2a68b7a4 (patch)
treec230880a5e2aa6855c22d1d56fe2bb5bf7e1abc7 /net-www/wwwoffle
parentInitial ebuild (diff)
downloadgentoo-2-62b45e6c6096d00fe82192e30ac992db2a68b7a4.tar.gz
gentoo-2-62b45e6c6096d00fe82192e30ac992db2a68b7a4.tar.bz2
gentoo-2-62b45e6c6096d00fe82192e30ac992db2a68b7a4.zip
new upstream version; cleaned up ebuild a bit
Diffstat (limited to 'net-www/wwwoffle')
-rw-r--r--net-www/wwwoffle/ChangeLog9
-rw-r--r--net-www/wwwoffle/files/digest-wwwoffle-2.71
-rw-r--r--net-www/wwwoffle/wwwoffle-2.7.ebuild71
3 files changed, 80 insertions, 1 deletions
diff --git a/net-www/wwwoffle/ChangeLog b/net-www/wwwoffle/ChangeLog
index 48eebdf168db..5cafe1b53cc3 100644
--- a/net-www/wwwoffle/ChangeLog
+++ b/net-www/wwwoffle/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-www/wwwoffle
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-www/wwwoffle/ChangeLog,v 1.1 2002/02/01 21:53:36 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/wwwoffle/ChangeLog,v 1.2 2002/03/04 20:58:09 danarmak Exp $
+
+*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/files/digest-wwwoffle-2.7 b/net-www/wwwoffle/files/digest-wwwoffle-2.7
new file mode 100644
index 000000000000..08097429fbfa
--- /dev/null
+++ b/net-www/wwwoffle/files/digest-wwwoffle-2.7
@@ -0,0 +1 @@
+MD5 a2908c3eaaa2d9b49366c5a721c8916c wwwoffle-2.7.tgz 832728
diff --git a/net-www/wwwoffle/wwwoffle-2.7.ebuild b/net-www/wwwoffle/wwwoffle-2.7.ebuild
new file mode 100644
index 000000000000..02e25bde2893
--- /dev/null
+++ b/net-www/wwwoffle/wwwoffle-2.7.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Dan Armak <danarmak@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-www/wwwoffle/wwwoffle-2.7.ebuild,v 1.1 2002/03/04 20:58:09 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://metalab.unc.edu/pub/Linux/apps/www/servers/${P}.tgz"
+
+HOMEPAGE="http://www.gedanken.demon.co.uk/"
+
+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 () {
+
+# einfo "Attempting to stop a running wwwoffled initscript; start it again later if needed"
+# /etc/init.d/wwwoffled stop
+
+ # Install the files
+ make prefix=${D}/usr SPOOLDIR=${D}/var/spool/wwwoffle CONFDIR=${D}/etc install || die
+
+ # Install the wwwoffled init script
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/wwwoffled-online
+ newexe ${FILESDIR}/wwwoffled.rc6 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_postinst() {
+
+ # This simply prints out some useful instructions.
+ einfo "
+
+ -----------
+ What's Next
+ -----------
+
+ You have successfully installed wwwoffle.
+
+ To configure it, read and edit /var/spool/wwwoffle/wwwoffle.conf.
+ It's well commented and very powerful.
+
+ To start using wwwoffle:
+ 1. rc-update add wwwoffled to boot.
+ 2. rc-update add wwwoffled-online to your 'online' runlevels.
+ 3. Configure any programs to use localhost:8080 as a proxy
+ server for HTTP, HTTPS, FTP and finger.
+ "
+
+} \ No newline at end of file