pkgsrc-WIP-changes archive

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

Copy over devel/git-lfs from pkgsrc-current



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Fri Mar 26 19:55:14 2021 +0000
Changeset:	ab2cbe94c8544c38df8e16667ca61ab9c676722a

Added Files:
	git-lfs/DESCR
	git-lfs/Makefile
	git-lfs/PLIST
	git-lfs/distinfo
	git-lfs/patches/patch-lfshttp_certs__solaris.go

Log Message:
Copy over devel/git-lfs from pkgsrc-current

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

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

diffstat:
 git-lfs/DESCR                                   |  3 +++
 git-lfs/Makefile                                | 31 +++++++++++++++++++++++++
 git-lfs/PLIST                                   |  3 +++
 git-lfs/distinfo                                |  7 ++++++
 git-lfs/patches/patch-lfshttp_certs__solaris.go | 15 ++++++++++++
 5 files changed, 59 insertions(+)

diffs:
diff --git a/git-lfs/DESCR b/git-lfs/DESCR
new file mode 100644
index 0000000000..43c6eefd50
--- /dev/null
+++ b/git-lfs/DESCR
@@ -0,0 +1,3 @@
+Git Large File Storage (LFS) replaces large files such as audio samples,
+videos, datasets, and graphics with text pointers inside Git, while storing
+the file contents on a remote server.
diff --git a/git-lfs/Makefile b/git-lfs/Makefile
new file mode 100644
index 0000000000..124223b07a
--- /dev/null
+++ b/git-lfs/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.31 2021/03/19 17:36:53 bsiegert Exp $
+
+DISTNAME=	git-lfs-2.12.0
+PKGREVISION=	5
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=git-lfs/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://git-lfs.github.com/
+COMMENT=	Git extension for versioning large files
+LICENSE=	mit
+
+NO_CONFIGURE=	yes
+USE_LANGUAGES=	c
+GO_SRCPATH=	github.com/git-lfs/git-lfs
+GO_DIST_BASE=	${PKGNAME_NOREV}
+
+INSTALLATION_DIRS=	bin
+
+pre-build:
+	cp ${WRKSRC}/lfshttp/certs_openbsd.go ${WRKSRC}/lfshttp/certs_netbsd.go
+# generate content for "git-lfs --help"
+	ln -sf ${GO} ${BUILDLINK_DIR}/bin/go
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} GOPATH=${WRKDIR} ${GO} generate github.com/git-lfs/git-lfs/commands
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKDIR}/bin/git-lfs ${DESTDIR}${PREFIX}/bin/git-lfs
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/git-lfs/PLIST b/git-lfs/PLIST
new file mode 100644
index 0000000000..37d15f58cc
--- /dev/null
+++ b/git-lfs/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/21 15:49:03 tnn Exp $
+bin/git-lfs
+@pkgdir gopkg
diff --git a/git-lfs/distinfo b/git-lfs/distinfo
new file mode 100644
index 0000000000..553c3c4825
--- /dev/null
+++ b/git-lfs/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.7 2020/10/05 12:49:41 tnn Exp $
+
+SHA1 (git-lfs-2.12.0.tar.gz) = fa48d4e536f7d931efb78c5cb3c094746ad83d4a
+RMD160 (git-lfs-2.12.0.tar.gz) = 2420c602db0e7fcdcf799d8d5132c7db57a53744
+SHA512 (git-lfs-2.12.0.tar.gz) = be143f4008040504357e6e8748e6549bcff08c42340c1cca14b6d617c7a215554c6c3ad8b4c1ce26906bc812ef21c9aa4c8b6f36be2c01a65952c5e075ad81da
+Size (git-lfs-2.12.0.tar.gz) = 2847273 bytes
+SHA1 (patch-lfshttp_certs__solaris.go) = d1bc60350e75d769585e311c543688e2e0eb5d72
diff --git a/git-lfs/patches/patch-lfshttp_certs__solaris.go b/git-lfs/patches/patch-lfshttp_certs__solaris.go
new file mode 100644
index 0000000000..b6d3f0f3a8
--- /dev/null
+++ b/git-lfs/patches/patch-lfshttp_certs__solaris.go
@@ -0,0 +1,15 @@
+$NetBSD: patch-lfshttp_certs__solaris.go,v 1.1 2019/01/17 13:47:44 tnn Exp $
+
+Add support for SunOS.
+
+--- lfshttp/certs_solaris.go.orig	2018-09-14 09:10:49.926008484 +0000
++++ lfshttp/certs_solaris.go
+@@ -0,0 +1,8 @@
++package lfsapi
++
++import "crypto/x509"
++
++func appendRootCAsForHostFromPlatform(pool *x509.CertPool, host string) *x509.CertPool {
++	// Do nothing, use golang default
++	return pool
++}


Home | Main Index | Thread Index | Old Index