svn commit: r407455 - in head/security: . R-cran-openssl R-cran-openssl/files
TAKATSU Tomonari
tota at FreeBSD.org
Fri Jan 29 06:54:52 UTC 2016
Author: tota
Date: Fri Jan 29 06:54:50 2016
New Revision: 407455
URL: https://svnweb.freebsd.org/changeset/ports/407455
Log:
- Add new port: security/R-cran-openssl
Bindings to OpenSSL libssl and libcrypto, plus custom SSH pubkey
parsers. Supports RSA, DSA and NIST curves P-256, P-384 and P-521.
Cryptographic signatures can either be created and verified manually
or via x509 certificates. AES block cipher is used in CBC mode for
symmetric encryption; RSA for asymmetric (public key) encryption.
High-level envelope functions combine RSA and AES for encrypting
arbitrary sized data. Other utilities include key generators, hash
functions (md5, sha1, sha256, etc), base64 encoder, a secure random
number generator, and 'bignum' math methods for manually performing
crypto calculations on large multibyte integers.
WWW: https://cran.r-project.org/web/packages/openssl/
Added:
head/security/R-cran-openssl/
head/security/R-cran-openssl/Makefile (contents, props changed)
head/security/R-cran-openssl/distinfo (contents, props changed)
head/security/R-cran-openssl/files/
head/security/R-cran-openssl/files/patch-src_ssl.c (contents, props changed)
head/security/R-cran-openssl/pkg-descr (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Fri Jan 29 06:43:56 2016 (r407454)
+++ head/security/Makefile Fri Jan 29 06:54:50 2016 (r407455)
@@ -7,6 +7,7 @@
SUBDIR += ADMsnmp
SUBDIR += R-cran-ROAuth
SUBDIR += R-cran-digest
+ SUBDIR += R-cran-openssl
SUBDIR += aescrypt
SUBDIR += aespipe
SUBDIR += afl
Added: head/security/R-cran-openssl/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/R-cran-openssl/Makefile Fri Jan 29 06:54:50 2016 (r407455)
@@ -0,0 +1,19 @@
+# Created by: TAKATSU Tomonari <tota at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= openssl
+PORTVERSION= 0.9.1
+CATEGORIES= security
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= tota at FreeBSD.org
+COMMENT= Toolkit for Encryption, Signatures and Certificates Based on OpenSSL
+
+LICENSE= MIT
+
+USES= cran:auto-plist
+
+post-patch:
+ @${REINPLACE_CMD} -e '/bin\//s|bash|sh|' ${WRKSRC}/configure
+
+.include <bsd.port.mk>
Added: head/security/R-cran-openssl/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/R-cran-openssl/distinfo Fri Jan 29 06:54:50 2016 (r407455)
@@ -0,0 +1,2 @@
+SHA256 (openssl_0.9.1.tar.gz) = 940feb0c3e9eb918bcdc58948e5c7807e0c9da49daae30eee7c3963c489ced02
+SIZE (openssl_0.9.1.tar.gz) = 882942
Added: head/security/R-cran-openssl/files/patch-src_ssl.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/R-cran-openssl/files/patch-src_ssl.c Fri Jan 29 06:54:50 2016 (r407455)
@@ -0,0 +1,10 @@
+--- src/ssl.c.orig 2016-01-18 12:03:01 UTC
++++ src/ssl.c
+@@ -11,6 +11,7 @@
+ const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
+ #else
+ #include <sys/socket.h>
++#include <netinet/in.h>
+ #include <resolv.h>
+ #include <netdb.h>
+ #include <arpa/inet.h>
Added: head/security/R-cran-openssl/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/R-cran-openssl/pkg-descr Fri Jan 29 06:54:50 2016 (r407455)
@@ -0,0 +1,12 @@
+Bindings to OpenSSL libssl and libcrypto, plus custom SSH pubkey
+parsers. Supports RSA, DSA and NIST curves P-256, P-384 and P-521.
+Cryptographic signatures can either be created and verified manually
+or via x509 certificates. AES block cipher is used in CBC mode for
+symmetric encryption; RSA for asymmetric (public key) encryption.
+High-level envelope functions combine RSA and AES for encrypting
+arbitrary sized data. Other utilities include key generators, hash
+functions (md5, sha1, sha256, etc), base64 encoder, a secure random
+number generator, and 'bignum' math methods for manually performing
+crypto calculations on large multibyte integers.
+
+WWW: https://cran.r-project.org/web/packages/openssl/
More information about the svn-ports-all
mailing list