summaryrefslogtreecommitdiff
path: root/www/wwwoffle
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2000-08-07 09:10:33 +0000
committerfredb <fredb@pkgsrc.org>2000-08-07 09:10:33 +0000
commitdcbd9eea500cf1712031b2c39d97d64d9ddb72c6 (patch)
tree694b2ee0f5d3410d5fb9a4a72f87b05679d080dc /www/wwwoffle
parentb56b4adf5387adf84e807732d9dfe2a1827294c6 (diff)
downloadpkgsrc-dcbd9eea500cf1712031b2c39d97d64d9ddb72c6.tar.gz
For binary package users: 1) Clean up some extra junk that may be left
over after an aborted pkgsrc install. 2) Fix up the host name in the proxy autoconfigure file. Now, setting the autoconfigure url (to http://${WWWOFFLE_SERVER}:8080/wwwoffle.pac) works. Note; we can't do this for pkgsrc users, as then there's a danger that the name of the build host will make it's way into the binary package.
Diffstat (limited to 'www/wwwoffle')
-rw-r--r--www/wwwoffle/pkg/PLIST5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/wwwoffle/pkg/PLIST b/www/wwwoffle/pkg/PLIST
index 12bfde4f819..ec82f144c59 100644
--- a/www/wwwoffle/pkg/PLIST
+++ b/www/wwwoffle/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 1999/11/26 06:09:01 itohy Exp $
+@comment $NetBSD: PLIST,v 1.6 2000/08/07 09:10:33 fredb Exp $
bin/wwwoffle
bin/wwwoffle-ls
bin/wwwoffle-mv
@@ -30,6 +30,7 @@ share/doc/wwwoffle/README.lang
share/doc/wwwoffle/UPGRADE
@dirrm share/doc/wwwoffle
@exec @GTAR@ xzCf / %D/libdata/wwwoffle-spool.tar.gz
-@unexec cd /var/wwwoffle && rm -rf html lasttime outgoing prevtime* temp
+@exec cd /var/wwwoffle/html && mv wwwoffle.pac wwwoffle.pac.dist && sed /PROXY/s/localhost/`hostname`/ <wwwoffle.pac.dist >wwwoffle.pac
+@unexec cd /var/wwwoffle && rm -rf html* lasttime outgoing prevtime* temp
@unexec rmdir /var/wwwoffle/* 2>/dev/null && rmdir /var/wwwoffle ; :
@unexec if [ -d /var/wwwoffle ]; then echo "If you won't use the WWWOFFLE package anymore, remove the cache manually by"; echo ' rm -rf /var/wwwoffle'; fi