Add go-sftp package

This commit is contained in:
gavan 2017-08-17 01:59:47 +00:00
parent eefbb720b7
commit bb0ca4f570
5 changed files with 108 additions and 0 deletions

1
security/go-sftp/DESCR Normal file
View file

@ -0,0 +1 @@
The sftp package provides support for file system operations on remote ssh servers using the SFTP subsystem.

23
security/go-sftp/Makefile Normal file
View file

@ -0,0 +1,23 @@
# $NetBSD: Makefile,v 1.1 2017/08/17 01:59:47 gavan Exp $
DISTNAME= sftp-1.0.0
PKGNAME= go-${DISTNAME}
MASTER_SITES= ${MASTER_SITE_GITHUB:=pkg/}
CATEGORIES= security
GITHUB_TAG= ${PKGVERSION_NOREV}
GITHUB_PROJECT= ${PKGBASE:S/^go-//}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/pkg/sftp
COMMENT= SFTP support for the go.crypto/ssh package
LICENSE= 2-clause-bsd
GO_DIST_BASE= ${DISTNAME}
GO_SRCPATH= github.com/pkg/sftp
.include "../../devel/go-fs/buildlink3.mk"
.include "../../devel/go-errors/buildlink3.mk"
.include "../../security/go-crypto/buildlink3.mk"
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"

61
security/go-sftp/PLIST Normal file
View file

@ -0,0 +1,61 @@
@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:59:47 gavan Exp $
bin/buffered-read-benchmark
bin/buffered-write-benchmark
bin/request-server
bin/server_standalone
bin/sftp-server
bin/streaming-read-benchmark
bin/streaming-write-benchmark
gopkg/pkg/${GO_PLATFORM}/github.com/pkg/sftp.a
gopkg/src/github.com/pkg/sftp/CONTRIBUTORS
gopkg/src/github.com/pkg/sftp/LICENSE
gopkg/src/github.com/pkg/sftp/README.md
gopkg/src/github.com/pkg/sftp/attrs.go
gopkg/src/github.com/pkg/sftp/attrs_stubs.go
gopkg/src/github.com/pkg/sftp/attrs_test.go
gopkg/src/github.com/pkg/sftp/attrs_unix.go
gopkg/src/github.com/pkg/sftp/client.go
gopkg/src/github.com/pkg/sftp/client_integration_darwin_test.go
gopkg/src/github.com/pkg/sftp/client_integration_linux_test.go
gopkg/src/github.com/pkg/sftp/client_integration_test.go
gopkg/src/github.com/pkg/sftp/client_test.go
gopkg/src/github.com/pkg/sftp/conn.go
gopkg/src/github.com/pkg/sftp/debug.go
gopkg/src/github.com/pkg/sftp/example_test.go
gopkg/src/github.com/pkg/sftp/examples/buffered-read-benchmark/main.go
gopkg/src/github.com/pkg/sftp/examples/buffered-write-benchmark/main.go
gopkg/src/github.com/pkg/sftp/examples/request-server/main.go
gopkg/src/github.com/pkg/sftp/examples/sftp-server/README.md
gopkg/src/github.com/pkg/sftp/examples/sftp-server/main.go
gopkg/src/github.com/pkg/sftp/examples/streaming-read-benchmark/main.go
gopkg/src/github.com/pkg/sftp/examples/streaming-write-benchmark/main.go
gopkg/src/github.com/pkg/sftp/match.go
gopkg/src/github.com/pkg/sftp/other_test.go
gopkg/src/github.com/pkg/sftp/packet-manager.go
gopkg/src/github.com/pkg/sftp/packet-manager_go1.8.go
gopkg/src/github.com/pkg/sftp/packet-manager_legacy.go
gopkg/src/github.com/pkg/sftp/packet-manager_test.go
gopkg/src/github.com/pkg/sftp/packet-typing.go
gopkg/src/github.com/pkg/sftp/packet.go
gopkg/src/github.com/pkg/sftp/packet_test.go
gopkg/src/github.com/pkg/sftp/release.go
gopkg/src/github.com/pkg/sftp/request-example.go
gopkg/src/github.com/pkg/sftp/request-interfaces.go
gopkg/src/github.com/pkg/sftp/request-readme.md
gopkg/src/github.com/pkg/sftp/request-server.go
gopkg/src/github.com/pkg/sftp/request-server_test.go
gopkg/src/github.com/pkg/sftp/request-unix.go
gopkg/src/github.com/pkg/sftp/request.go
gopkg/src/github.com/pkg/sftp/request_test.go
gopkg/src/github.com/pkg/sftp/request_windows.go
gopkg/src/github.com/pkg/sftp/server.go
gopkg/src/github.com/pkg/sftp/server_integration_test.go
gopkg/src/github.com/pkg/sftp/server_standalone/main.go
gopkg/src/github.com/pkg/sftp/server_statvfs_darwin.go
gopkg/src/github.com/pkg/sftp/server_statvfs_impl.go
gopkg/src/github.com/pkg/sftp/server_statvfs_linux.go
gopkg/src/github.com/pkg/sftp/server_statvfs_stubs.go
gopkg/src/github.com/pkg/sftp/server_stubs.go
gopkg/src/github.com/pkg/sftp/server_test.go
gopkg/src/github.com/pkg/sftp/server_unix.go
gopkg/src/github.com/pkg/sftp/sftp.go

View file

@ -0,0 +1,17 @@
# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:59:47 gavan Exp $
BUILDLINK_TREE+= go-sftp
.if !defined(GO_SFTP_BUILDLINK3_MK)
GO_SFTP_BUILDLINK3_MK:=
BUILDLINK_CONTENTS_FILTER.go-sftp= ${EGREP} gopkg/
BUILDLINK_DEPMETHOD.go-sftp?= build
BUILDLINK_API_DEPENDS.go-sftp+= go-sftp>=0.0
BUILDLINK_PKGSRCDIR.go-sftp?= ../../security/go-sftp
.endif # GO_SFTP_BUILDLINK3_MK
BUILDLINK_TREE+= -go-sftp

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2017/08/17 01:59:47 gavan Exp $
SHA1 (sftp-1.0.0.tar.gz) = e3abad954193e8f7edbf1c8f22e5071fd63cd99f
RMD160 (sftp-1.0.0.tar.gz) = 7787f74010e96caf11fe8a849419fba82238b25c
SHA512 (sftp-1.0.0.tar.gz) = 9e3d7276bbb7f69b1fc50bf0fffa4ca8dea2fafe540bec40c0402f8631a7bfd2d1652743ba075e569218c3789fdb678ecac019b6b60654da61d8e43bf887135e
Size (sftp-1.0.0.tar.gz) = 60874 bytes