pkgsrc-WIP-changes archive

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

Import go-shellescape-1.4.1 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Tue Jan 26 01:00:43 2021 +0100
Changeset:	acf0779262b1879f66cd54b8e7037866e14776d4

Modified Files:
	Makefile
Added Files:
	go-shellescape/DESCR
	go-shellescape/Makefile
	go-shellescape/PLIST
	go-shellescape/buildlink3.mk
	go-shellescape/distinfo

Log Message:
Import go-shellescape-1.4.1 to wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=acf0779262b1879f66cd54b8e7037866e14776d4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                     |  1 +
 go-shellescape/DESCR         |  1 +
 go-shellescape/Makefile      | 19 +++++++++++++++++++
 go-shellescape/PLIST         | 12 ++++++++++++
 go-shellescape/buildlink3.mk | 15 +++++++++++++++
 go-shellescape/distinfo      |  6 ++++++
 6 files changed, 54 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 1d1dc69388..8be258419f 100644
--- a/Makefile
+++ b/Makefile
@@ -1304,6 +1304,7 @@ SUBDIR+=	go-rsrc
 SUBDIR+=	go-rtp
 SUBDIR+=	go-rtcp
 SUBDIR+=	go-semver
+SUBDIR+=	go-shellescape
 SUBDIR+=	go-stack
 SUBDIR+=	go-streamquote
 SUBDIR+=	go-stripansi
diff --git a/go-shellescape/DESCR b/go-shellescape/DESCR
new file mode 100644
index 0000000000..2613403a36
--- /dev/null
+++ b/go-shellescape/DESCR
@@ -0,0 +1 @@
+Escape arbitrary strings for safe use as command line arguments.
diff --git a/go-shellescape/Makefile b/go-shellescape/Makefile
new file mode 100644
index 0000000000..db16caeca4
--- /dev/null
+++ b/go-shellescape/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	shellescape-1.4.1
+PKGNAME=	go-${DISTNAME}
+GITHUB_PROJECT=	shellescape
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=alessio/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/alessio/shellescape/
+COMMENT=	Escape arbitrary strings for use as command line arguments
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/alessio/shellescape
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-shellescape/PLIST b/go-shellescape/PLIST
new file mode 100644
index 0000000000..8446434373
--- /dev/null
+++ b/go-shellescape/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD$
+bin/escargs
+gopkg/pkg/${GO_PLATFORM}/github.com/alessio/shellescape.a
+gopkg/src/github.com/alessio/shellescape/AUTHORS
+gopkg/src/github.com/alessio/shellescape/CODE_OF_CONDUCT.md
+gopkg/src/github.com/alessio/shellescape/LICENSE
+gopkg/src/github.com/alessio/shellescape/README.md
+gopkg/src/github.com/alessio/shellescape/cmd/escargs/escargs.go
+gopkg/src/github.com/alessio/shellescape/example_test.go
+gopkg/src/github.com/alessio/shellescape/go.mod
+gopkg/src/github.com/alessio/shellescape/shellescape.go
+gopkg/src/github.com/alessio/shellescape/shellescape_test.go
diff --git a/go-shellescape/buildlink3.mk b/go-shellescape/buildlink3.mk
new file mode 100644
index 0000000000..01473a4663
--- /dev/null
+++ b/go-shellescape/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-shellescape
+
+.if !defined(GO_SHELLESCAPE_BUILDLINK3_MK)
+GO_SHELLESCAPE_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-shellescape=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-shellescape?=		build
+
+BUILDLINK_API_DEPENDS.go-shellescape+=	go-shellescape>=1.4.1
+BUILDLINK_PKGSRCDIR.go-shellescape?=	../../wip/go-shellescape
+.endif	# GO_SHELLESCAPE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-shellescape
diff --git a/go-shellescape/distinfo b/go-shellescape/distinfo
new file mode 100644
index 0000000000..54a5813e91
--- /dev/null
+++ b/go-shellescape/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (shellescape-1.4.1.tar.gz) = cdf32df44a878a4c145d65eb04889c2e23d79297
+RMD160 (shellescape-1.4.1.tar.gz) = 5dee9dc73e5110f74f72b4a7a0e81cf20c199522
+SHA512 (shellescape-1.4.1.tar.gz) = 61032d40e45efc4eedecfc34e6630d6b784c97e44ecaccea1ccb6fec113b23b43b61d31a1c1e5abeb55ab2d3276b42daceb16eaba9c94aca330892b56c397c95
+Size (shellescape-1.4.1.tar.gz) = 7547 bytes


Home | Main Index | Thread Index | Old Index