summaryrefslogtreecommitdiff
path: root/www/ns-remote
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2005-07-06 19:13:24 +0000
committerabs <abs@pkgsrc.org>2005-07-06 19:13:24 +0000
commit83ec8238e28a08ed3ed0a46f4b168291055e7277 (patch)
tree46aedc06c3d4e4d994ba136384c46d167f45f6a7 /www/ns-remote
parent2bd3676fddf63d98d8d106bd7b113f9e279467f9 (diff)
downloadpkgsrc-83ec8238e28a08ed3ed0a46f4b168291055e7277.tar.gz
update ns-remote to 1.11:
ns-remote can handle URL encoded ','s in URLs
Diffstat (limited to 'www/ns-remote')
-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