svn commit: r361642 - in head/security/libressl: . files
Vsevolod Stakhov
vsevolod at FreeBSD.org
Sat Jul 12 20:49:37 UTC 2014
Author: vsevolod
Date: Sat Jul 12 20:49:36 2014
New Revision: 361642
URL: http://svnweb.freebsd.org/changeset/ports/361642
QAT: https://qat.redports.org/buildarchive/r361642/
Log:
- Fix OPENSSL_VERSION_NUMBER to identify that libressl supports features of
openssl 1.0.1g only
- Add LIBRESSL_VERSION_NUMBER to distinguish from openssl
- Strip libraries correctly
- Bump PORTREVISION
Added:
head/security/libressl/files/
head/security/libressl/files/patch-include-openssl-opensslv.h (contents, props changed)
Modified:
head/security/libressl/Makefile
Modified: head/security/libressl/Makefile
==============================================================================
--- head/security/libressl/Makefile Sat Jul 12 20:34:34 2014 (r361641)
+++ head/security/libressl/Makefile Sat Jul 12 20:49:36 2014 (r361642)
@@ -3,6 +3,7 @@
PORTNAME= libressl
PORTVERSION= 2.0.0
+PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= ${MASTER_SITE_OPENBSD}
MASTER_SITE_SUBDIR= LibreSSL
@@ -18,6 +19,8 @@ GNU_CONFIGURE= yes
USES= libtool
USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
+
test: build
cd ${WRKSRC} && ${MAKE} check
Added: head/security/libressl/files/patch-include-openssl-opensslv.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/libressl/files/patch-include-openssl-opensslv.h Sat Jul 12 20:49:36 2014 (r361642)
@@ -0,0 +1,12 @@
+--- include/openssl/opensslv.h.orig 2014-07-12 21:41:27.634267326 +0100
++++ include/openssl/opensslv.h 2014-07-12 21:42:21.944270045 +0100
+@@ -2,7 +2,8 @@
+ #ifndef HEADER_OPENSSLV_H
+ #define HEADER_OPENSSLV_H
+
+-#define OPENSSL_VERSION_NUMBER 0x20000000L
++#define OPENSSL_VERSION_NUMBER 0x1000107fL
++#define LIBRESSL_VERSION_NUMBER 0x20000000L
+ #define OPENSSL_VERSION_TEXT "LibreSSL 2.0"
+ #define OPENSSL_VERSION_PTEXT " part of " OPENSSL_VERSION_TEXT
+
More information about the svn-ports-all
mailing list