pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc
Module Name: pkgsrc
Committed By: jperkin
Date: Thu Aug 9 11:20:54 UTC 2018
Modified Files:
pkgsrc/textproc: Makefile
Added Files:
pkgsrc/textproc/p5-Win32-ShellQuote: DESCR Makefile distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.1000 -r1.1001 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/p5-Win32-ShellQuote/DESCR \
pkgsrc/textproc/p5-Win32-ShellQuote/Makefile \
pkgsrc/textproc/p5-Win32-ShellQuote/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.1000 pkgsrc/textproc/Makefile:1.1001
--- pkgsrc/textproc/Makefile:1.1000 Thu Aug 9 10:00:43 2018
+++ pkgsrc/textproc/Makefile Thu Aug 9 11:20:54 2018
@@ -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-Text-xSV
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
Added files:
Index: pkgsrc/textproc/p5-Win32-ShellQuote/DESCR
diff -u /dev/null pkgsrc/textproc/p5-Win32-ShellQuote/DESCR:1.1
--- /dev/null Thu Aug 9 11:20:54 2018
+++ pkgsrc/textproc/p5-Win32-ShellQuote/DESCR Thu Aug 9 11:20:54 2018
@@ -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.
Index: pkgsrc/textproc/p5-Win32-ShellQuote/Makefile
diff -u /dev/null pkgsrc/textproc/p5-Win32-ShellQuote/Makefile:1.1
--- /dev/null Thu Aug 9 11:20:54 2018
+++ pkgsrc/textproc/p5-Win32-ShellQuote/Makefile Thu Aug 9 11:20:54 2018
@@ -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"
Index: pkgsrc/textproc/p5-Win32-ShellQuote/distinfo
diff -u /dev/null pkgsrc/textproc/p5-Win32-ShellQuote/distinfo:1.1
--- /dev/null Thu Aug 9 11:20:54 2018
+++ pkgsrc/textproc/p5-Win32-ShellQuote/distinfo Thu Aug 9 11:20:54 2018
@@ -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