svn commit: r416191 - in head/security: . letskencrypt

Bernard Spil brnrd at FreeBSD.org
Tue May 31 11:00:01 UTC 2016


Author: brnrd
Date: Tue May 31 11:00:00 2016
New Revision: 416191
URL: https://svnweb.freebsd.org/changeset/ports/416191

Log:
  security/letskencrypt: Add letskencrypt port
  
  letskencrypt is a client for Let's Encrypt users designed for
  security written in C. This is the -portable version.
  
    - Use Github not kritaps.bsd.lv for versioned tarball
  
  Differential Revision:	D6649

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

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Tue May 31 10:44:59 2016	(r416190)
+++ head/security/Makefile	Tue May 31 11:00:00 2016	(r416191)
@@ -287,6 +287,7 @@
     SUBDIR += lasso
     SUBDIR += lastpass-cli
     SUBDIR += letsencrypt.sh
+    SUBDIR += letskencrypt
     SUBDIR += libadacrypt
     SUBDIR += libassuan
     SUBDIR += libbeid

Added: head/security/letskencrypt/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/letskencrypt/Makefile	Tue May 31 11:00:00 2016	(r416191)
@@ -0,0 +1,41 @@
+# Created by: Bernard Spil <brnrd at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	letskencrypt
+PORTVERSION=	0.1.5
+CATEGORIES=	security
+
+MAINTAINER=	brnrd at FreeBSD.org
+COMMENT=	Native C client for Let's Encrypt, designed for security
+
+LICENSE=	ISCL
+
+USES=		gmake
+USE_GITHUB=	yes
+USE_OPENSSL=	yes
+
+GH_ACCOUNT=	kristapsdz
+GH_PROJECT=	${PORTNAME}-portable
+GH_TAGNAME=	VERSION_${PORTVERSION:S/./_/g}
+
+MAKEFILE=	GNUmakefile
+MAKE_ARGS=	PREFIX=${STAGEDIR}/${PREFIX}
+
+WITH_OPENSSL_PORT=	yes
+OPENSSL_PORT=	security/libressl
+
+WWWDIR=		${PREFIX}/www/letsencrypt
+
+post-patch:
+	${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \
+		-e "s|/var/www/letsencrypt|${WWWDIR}|" \
+		${WRKSRC}/main.c ${WRKSRC}/letskencrypt.1
+
+post-stage:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/letskencrypt
+.	for d in etc/ssl/letsencrypt etc/ssl/letsencrypt/private \
+		etc/letsencrypt www/letsencrypt 
+		${MKDIR} ${STAGEDIR}${PREFIX}/${d}
+.	endfor
+
+.include <bsd.port.mk>

Added: head/security/letskencrypt/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/letskencrypt/distinfo	Tue May 31 11:00:00 2016	(r416191)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1464616584
+SHA256 (kristapsdz-letskencrypt-portable-0.1.5-VERSION_0_1_5_GH0.tar.gz) = 046b46711202beb7a012b81aabacf4407434a655857eacedd9f76d0306c4867a
+SIZE (kristapsdz-letskencrypt-portable-0.1.5-VERSION_0_1_5_GH0.tar.gz) = 39307

Added: head/security/letskencrypt/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/letskencrypt/pkg-descr	Tue May 31 11:00:00 2016	(r416191)
@@ -0,0 +1,5 @@
+letskencrypt is a client for Let's Encrypt users, but one designed for
+security. No Python. No Ruby. No Bash. A straightforward, open source
+implementation in C that isolates each step of the sequence.
+
+WWW: https://kristaps.bsd.lv/letskencrypt/

Added: head/security/letskencrypt/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/letskencrypt/pkg-plist	Tue May 31 11:00:00 2016	(r416191)
@@ -0,0 +1,7 @@
+bin/letskencrypt
+man/man1/letskencrypt.1.gz
+ at dir(,,0700) etc/letsencrypt
+ at dir(,,0755) etc/ssl
+ at dir(,,0755) etc/ssl/letsencrypt
+ at dir(,,0700) etc/ssl/letsencrypt/private
+ at dir(,www,) %%WWWDIR%%


More information about the svn-ports-head mailing list