summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorfredb <fredb>2000-08-07 09:10:33 +0000
committerfredb <fredb>2000-08-07 09:10:33 +0000
commita0760f4c3a12f5a7166cc9c31284c0107a87ea7f (patch)
tree694b2ee0f5d3410d5fb9a4a72f87b05679d080dc /www
parent9b7416be0a9868160fae6090b6e8417792c67133 (diff)
downloadpkgsrc-a0760f4c3a12f5a7166cc9c31284c0107a87ea7f.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')
-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