pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc textproc: Import p5-Win32-ShellQuote version ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef0b0b0c15aa
branches:  trunk
changeset: 383737:ef0b0b0c15aa
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Aug 09 11:20:54 2018 +0000

description:
textproc: Import p5-Win32-ShellQuote version 0.003001.

Quotes argument lists to be used in Win32 in several different
situations.

Windows passes its arguments as a single string instead of an array as
other platforms do. In almost all cases, the standard Win32
CommandLineToArgvW function is used to parse this string. cmd.exe has
different rules for handling quoting, so extra work has to be done if it
is involved. It isn't possible to consistantly create a single string
that will be handled the same by cmd.exe and the stardard parsing rules.

Perl will try to detect if you need the shell by detecting shell
metacharacters. The routine that checks that uses different quoting
rules from both cmd.exe and the native Win32 parsing. Extra work must
therefore be done to protect against this autodetection.

diffstat:

 textproc/Makefile                     |   3 ++-
 textproc/p5-Win32-ShellQuote/DESCR    |  14 ++++++++++++++
 textproc/p5-Win32-ShellQuote/Makefile |  16 ++++++++++++++++
 textproc/p5-Win32-ShellQuote/distinfo |   6 ++++++
 4 files changed, 38 insertions(+), 1 deletions(-)

diffs (65 lines):

diff -r d10e9414799d -r ef0b0b0c15aa textproc/Makefile
--- a/textproc/Makefile Thu Aug 09 11:15:56 2018 +0000
+++ b/textproc/Makefile Thu Aug 09 11:20:54 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1000 2018/08/09 10:00:43 jperkin Exp $
+# $NetBSD: Makefile,v 1.1001 2018/08/09 11:20:54 jperkin Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -611,6 +611,7 @@
 SUBDIR+=       p5-Tie-Handle-Offset
 SUBDIR+=       p5-Unicode-CaseFold
 SUBDIR+=       p5-Unicode-LineBreak
+SUBDIR+=       p5-Win32-ShellQuote
 SUBDIR+=       p5-XML-Atom
 SUBDIR+=       p5-XML-Atom-SimpleFeed
 SUBDIR+=       p5-XML-Atom-Stream
diff -r d10e9414799d -r ef0b0b0c15aa textproc/p5-Win32-ShellQuote/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Win32-ShellQuote/DESCR        Thu Aug 09 11:20:54 2018 +0000
@@ -0,0 +1,14 @@
+Quotes argument lists to be used in Win32 in several different
+situations.
+
+Windows passes its arguments as a single string instead of an array as
+other platforms do. In almost all cases, the standard Win32
+CommandLineToArgvW function is used to parse this string. cmd.exe has
+different rules for handling quoting, so extra work has to be done if it
+is involved. It isn't possible to consistantly create a single string
+that will be handled the same by cmd.exe and the stardard parsing rules.
+
+Perl will try to detect if you need the shell by detecting shell
+metacharacters. The routine that checks that uses different quoting
+rules from both cmd.exe and the native Win32 parsing. Extra work must
+therefore be done to protect against this autodetection.
diff -r d10e9414799d -r ef0b0b0c15aa textproc/p5-Win32-ShellQuote/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Win32-ShellQuote/Makefile     Thu Aug 09 11:20:54 2018 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2018/08/09 11:20:54 jperkin Exp $
+
+DISTNAME=      Win32-ShellQuote-0.003001
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    textproc perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Win32/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Win32-ShellQuote/
+COMMENT=       Quote argument lists for Win32
+LICENSE=       ${PERL5_LICENSE}
+
+PERL5_PACKLIST=        auto/Win32/ShellQuote/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d10e9414799d -r ef0b0b0c15aa textproc/p5-Win32-ShellQuote/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Win32-ShellQuote/distinfo     Thu Aug 09 11:20:54 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/08/09 11:20:54 jperkin Exp $
+
+SHA1 (Win32-ShellQuote-0.003001.tar.gz) = 298e15e485816f35f22720de16abd28765d6256f
+RMD160 (Win32-ShellQuote-0.003001.tar.gz) = e0e92313474179a0ce7819f94baeccf494c7287c
+SHA512 (Win32-ShellQuote-0.003001.tar.gz) = 1a6f8503e6ee03ac970883d563a8b4ef5cc570dca5afb51ed2681ebe63082217eb8443ff5574a7f7f16ef06976f149ff450377a03cb847922bc6678569d821d3
+Size (Win32-ShellQuote-0.003001.tar.gz) = 15720 bytes



Home | Main Index | Thread Index | Old Index