summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorabs <abs>2005-07-06 19:13:24 +0000
committerabs <abs>2005-07-06 19:13:24 +0000
commit398979de282627d36d39b73e6969f32c1369fe26 (patch)
tree46aedc06c3d4e4d994ba136384c46d167f45f6a7 /www
parent1bf1bacbc70b006f6bd519cfe505cdc873709ba5 (diff)
downloadpkgsrc-398979de282627d36d39b73e6969f32c1369fe26.tar.gz
update ns-remote to 1.11:
ns-remote can handle URL encoded ','s in URLs
Diffstat (limited to 'www')
-rw-r--r--www/ns-remote/Makefile4
-rwxr-xr-xwww/ns-remote/files/ns-open7
2 files changed, 4 insertions, 7 deletions
diff --git a/www/ns-remote/Makefile b/www/ns-remote/Makefile
index da47148c052..c7064182016 100644
--- a/www/ns-remote/Makefile
+++ b/www/ns-remote/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2005/06/17 03:50:41 jlam Exp $
+# $NetBSD: Makefile,v 1.27 2005/07/06 19:13:24 abs Exp $
DISTNAME= ns-remote
-PKGNAME= ns-remote-1.10
+PKGNAME= ns-remote-1.11
CATEGORIES= www
MASTER_SITES= http://home.netscape.com/newsref/std/
DISTFILES= remote.c vroot.h
diff --git a/www/ns-remote/files/ns-open b/www/ns-remote/files/ns-open
index 9f131fe99ab..667d8c16d75 100755
--- a/www/ns-remote/files/ns-open
+++ b/www/ns-remote/files/ns-open
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: ns-open,v 1.13 2005/03/23 11:40:34 abs Exp $
+# $NetBSD: ns-open,v 1.14 2005/07/06 19:13:24 abs Exp $
#
# Simple script to open a URL in Netscape, starting a new process if necessary
# If a netscape process is not running it will look for a valid netscape
@@ -60,11 +60,8 @@ do
-* ) # Unrecognised option
START_NEW_NETSCAPE=1
;;
- *,* ) # ns-remote cannot handle a URL encoded comma (XChangeProperty)
- START_NEW_NETSCAPE=1
- ;;
*)
- URL=`echo $a | sed -e 's/"/%22/g' -e 's/\`/%60/g`
+ URL=`echo $a | sed -e 's/"/%22/g' -e 's/\`/%60/g -e 's/,/%2c/'`
break;
;;
esac