Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Feb 2017 21:21:18 +0000 (UTC)
From:      Ashish SHUKLA <ashish@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433457 - in head/security: . git-crypt
Message-ID:  <201702052121.v15LLI9a082597@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ashish
Date: Sun Feb  5 21:21:18 2017
New Revision: 433457
URL: https://svnweb.freebsd.org/changeset/ports/433457

Log:
  git-crypt enables transparent encryption and decryption of files in a
  git repository. Files which you choose to protect are encrypted when
  committed, and decrypted when checked out. git-crypt lets you freely
  share a repository containing a mix of public and private
  content. git-crypt gracefully degrades, so developers without the
  secret key can still clone and commit to a repository with encrypted
  files. This lets you store your secret material (such as keys or
  passwords) in the same repository as your code, without requiring you
  to lock down your entire repository.
  
  WWW: https://www.agwa.name/projects/git-crypt/

Added:
  head/security/git-crypt/
  head/security/git-crypt/Makefile   (contents, props changed)
  head/security/git-crypt/distinfo   (contents, props changed)
  head/security/git-crypt/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Sun Feb  5 21:20:24 2017	(r433456)
+++ head/security/Makefile	Sun Feb  5 21:21:18 2017	(r433457)
@@ -164,6 +164,7 @@
     SUBDIR += gag
     SUBDIR += gcipher
     SUBDIR += gcr
+    SUBDIR += git-crypt
     SUBDIR += gnome-gpg
     SUBDIR += gnome-keyring
     SUBDIR += gnome-keyring-sharp

Added: head/security/git-crypt/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/git-crypt/Makefile	Sun Feb  5 21:21:18 2017	(r433457)
@@ -0,0 +1,43 @@
+# Created by: Ashish SHUKLA <ashish@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	git-crypt
+PORTVERSION=	0.5.0
+CATEGORIES=	security
+MASTER_SITES=	https://www.agwa.name/projects/git-crypt/downloads/ \
+		LOCAL/ashish/
+
+MAINTAINER=	ashish@FreeBSD.org
+COMMENT=	Transparent file encryption in git
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+RUN_DEPENDS=	git:devel/git \
+		gpg:security/gnupg
+
+OPTIONS_DEFINE=	DOCS
+
+LDFLAGS+=	-L${OPENSSLLIB}
+MAKE_ENV+=	PREFIX=${PREFIX} "CXXFLAGS=${CXXFLAGS}" \
+		"LDFLAGS=${LDFLAGS}"
+
+DOCS_BUILD_DEPENDS=	xsltproc:textproc/libxslt \
+			docbook-xsl>=0:textproc/docbook-xsl
+DOCS_MAKE_ARGS=		ENABLE_MAN=yes \
+			MANDIR=${MANPREFIX}/man \
+			DOCBOOK_XSL=${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl
+DOCS_PLIST_FILES=	man/man1/${PORTNAME}.1.gz
+
+USES=		gmake ssl
+
+PLIST_FILES=	bin/${PORTNAME}
+
+post-extract:
+	@${GREP} -Rl '"gpg"' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} -e 's,"gpg","${LOCALBASE}/bin/gpg",'
+	@${GREP} -Rl '"git"' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} -e 's,"git","${LOCALBASE}/bin/git",'
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/git-crypt
+
+.include <bsd.port.mk>

Added: head/security/git-crypt/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/git-crypt/distinfo	Sun Feb  5 21:21:18 2017	(r433457)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1486329625
+SHA256 (git-crypt-0.5.0.tar.gz) = 0a8f92c0a0a125bf768d0c054d947ca4e4b8d6556454b0e7e87fb907ee17cf06
+SIZE (git-crypt-0.5.0.tar.gz) = 56412

Added: head/security/git-crypt/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/git-crypt/pkg-descr	Sun Feb  5 21:21:18 2017	(r433457)
@@ -0,0 +1,11 @@
+git-crypt enables transparent encryption and decryption of files in a
+git repository. Files which you choose to protect are encrypted when
+committed, and decrypted when checked out. git-crypt lets you freely
+share a repository containing a mix of public and private
+content. git-crypt gracefully degrades, so developers without the
+secret key can still clone and commit to a repository with encrypted
+files. This lets you store your secret material (such as keys or
+passwords) in the same repository as your code, without requiring you
+to lock down your entire repository.
+
+WWW: https://www.agwa.name/projects/git-crypt/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702052121.v15LLI9a082597>