summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-06-06 17:03:58 +0000
committertron <tron@pkgsrc.org>1998-06-06 17:03:58 +0000
commit36e6c1efcfbc6dc1dd7da895ab7269f4ea035946 (patch)
tree79cd3496bfefb62046fc7ead0fe66dab1f183d6d /www
parent0c5b977ef725c1110403b5bb8755c55afa577cd5 (diff)
downloadpkgsrc-36e6c1efcfbc6dc1dd7da895ab7269f4ea035946.tar.gz
New "wwwoffle-2.1c" package made by Mario Kemper:
WWW proxy with support for offline browsing
Diffstat (limited to 'www')
-rw-r--r--www/wwwoffle/Makefile29
-rw-r--r--www/wwwoffle/files/md51
-rw-r--r--www/wwwoffle/files/wwwoffle.sh10
-rw-r--r--www/wwwoffle/patches/patch-aa24
-rw-r--r--www/wwwoffle/pkg/COMMENT1
-rw-r--r--www/wwwoffle/pkg/DESCR3
-rw-r--r--www/wwwoffle/pkg/MESSAGE1
-rw-r--r--www/wwwoffle/pkg/PLIST15
8 files changed, 84 insertions, 0 deletions
diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile
new file mode 100644
index 00000000000..f5d25c366ac
--- /dev/null
+++ b/www/wwwoffle/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 1998/06/06 17:03:58 tron Exp $
+
+DISTNAME= wwwoffle-2.1c
+CATEGORIES= www
+MASTER_SITES= http://www.gedanken.demon.co.uk/wwwoffle/version-2.1/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= magick@bundy.lip.owl.de
+
+USE_GMAKE= yes
+NO_CONFIGURE= yes
+
+MAN1= wwwoffle.1
+MAN5= wwwoffle.conf.5
+MAN8= wwwoffled.8
+
+post-build:
+ ${SED} s#@PREFIX@#${PREFIX}#g <${FILESDIR}/wwwoffle.sh \
+ >${WRKDIR}/wwwoffle.sh
+
+pre-install:
+ ${MKDIR} ${PREFIX}/etc/wwwoffle
+
+post-install:
+ ${CP} ${PREFIX}/etc/wwwoffle/wwwoffle.conf \
+ ${PREFIX}/etc/wwwoffle/wwwoffle.conf.default
+ ${INSTALL_SCRIPT} ${WRKDIR}/wwwoffle.sh ${PREFIX}/etc/rc.d
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/wwwoffle/files/md5 b/www/wwwoffle/files/md5
new file mode 100644
index 00000000000..cba5ca137b7
--- /dev/null
+++ b/www/wwwoffle/files/md5
@@ -0,0 +1 @@
+MD5 (wwwoffle-2.1c.tgz) = d55e936eabd30ee0d1ab0eb6948d4dd3
diff --git a/www/wwwoffle/files/wwwoffle.sh b/www/wwwoffle/files/wwwoffle.sh
new file mode 100644
index 00000000000..458d2377c27
--- /dev/null
+++ b/www/wwwoffle/files/wwwoffle.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# $NetBSD: wwwoffle.sh,v 1.1 1998/06/06 17:03:58 tron Exp $
+#
+if [ -x @PREFIX@/sbin/wwwoffled -a -f @PREFIX@/etc/wwwoffle/wwwoffle.conf ];
+then
+ @PREFIX@/sbin/wwwoffled -c @PREFIX@/etc/wwwoffle/wwwoffle.conf >/dev/null 2>&1 &
+ echo -n ' wwwoffled'
+fi
+exit 0
diff --git a/www/wwwoffle/patches/patch-aa b/www/wwwoffle/patches/patch-aa
new file mode 100644
index 00000000000..b1db490314e
--- /dev/null
+++ b/www/wwwoffle/patches/patch-aa
@@ -0,0 +1,24 @@
+--- Makefile.orig Sat Jun 6 18:02:38 1998
++++ Makefile Sat Jun 6 18:05:01 1998
+@@ -14,17 +14,17 @@
+
+ ########
+
+-INSTDIR=/usr/local
++INSTDIR=${PREFIX}
+ SPOOLDIR=/var/spool/wwwoffle
+-CONFDIR=/var/spool/wwwoffle
++CONFDIR=${PREFIX}/etc/wwwoffle
+
+ ########
+
+ CC=gcc
+-CFLAGS=-O2 -Wall -g
++CFLAGS=-O2 -Wall
+
+ LD=gcc
+-LDFLAGS=-g
++LDFLAGS=-s
+
+ LEX=flex -i -L
+
diff --git a/www/wwwoffle/pkg/COMMENT b/www/wwwoffle/pkg/COMMENT
new file mode 100644
index 00000000000..5f1aa17ef25
--- /dev/null
+++ b/www/wwwoffle/pkg/COMMENT
@@ -0,0 +1 @@
+WWW proxy with support for offline browsing
diff --git a/www/wwwoffle/pkg/DESCR b/www/wwwoffle/pkg/DESCR
new file mode 100644
index 00000000000..4758f0e063c
--- /dev/null
+++ b/www/wwwoffle/pkg/DESCR
@@ -0,0 +1,3 @@
+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.
diff --git a/www/wwwoffle/pkg/MESSAGE b/www/wwwoffle/pkg/MESSAGE
new file mode 100644
index 00000000000..7e658685aaf
--- /dev/null
+++ b/www/wwwoffle/pkg/MESSAGE
@@ -0,0 +1 @@
+Please add "${PREFIX}/etc/rc.d/wwwoffle.sh" to "/etc/rc.local".
diff --git a/www/wwwoffle/pkg/PLIST b/www/wwwoffle/pkg/PLIST
new file mode 100644
index 00000000000..309a0ba3239
--- /dev/null
+++ b/www/wwwoffle/pkg/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 1998/06/06 17:03:59 tron Exp $
+bin/wwwoffle
+bin/wwwoffle-tools
+bin/wwwoffle-ls
+bin/wwwoffle-mv
+bin/wwwoffle-rm
+etc/rc.d/wwwoffle.sh
+man/man1/wwwoffle.1
+man/man5/wwwoffle.conf.5
+man/man8/wwwoffled.8
+sbin/wwwoffled
+etc/wwwoffle/wwwoffle.conf.default
+@exec cp %F %D/etc/wwwoffle/wwwoffle.conf
+@unexec rm -f %D/etc/wwwoffle/wwwoffle.conf
+@dirrm etc/wwwoffle