pkgsrc-WIP-changes archive

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

openssl3: sync builtin.mk changes from security/openssl



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Tue Oct 24 23:25:09 2023 +0200
Changeset:	dd813a424369914f58bd8d87d0dde1e272e2c22e

Modified Files:
	openssl3/builtin.mk

Log Message:
openssl3: sync builtin.mk changes from security/openssl

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

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

diffstat:
 openssl3/builtin.mk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diffs:
diff --git a/openssl3/builtin.mk b/openssl3/builtin.mk
index d93eaf648e..2f2d635829 100644
--- a/openssl3/builtin.mk
+++ b/openssl3/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.48 2021/08/25 11:25:25 jperkin Exp $
+# $NetBSD: builtin.mk,v 1.51 2023/02/07 16:34:42 jperkin Exp $
 
 BUILTIN_PKG:=	openssl
 
@@ -33,6 +33,10 @@ BUILTIN_VERSION.openssl!=						\
 			alpha="abcdefghijklmnopqrstuvwxyz";	\
 		}							\
 		/\#[ 	]+define/ { sub("\#[ \\t]+define", "\#define", $$0); } \
+		/\#define[ 	]*OPENSSL_VERSION_STR/ {		\
+			printf "%s\n",substr($$3,2,length($$3)-2);	\
+			exit 0;						\
+		}							\
 		/\#define[ 	]*OPENSSL_VERSION_NUMBER/ {		\
 			major = index(hex, substr($$3, 3, 1)) - 1;	\
 			i = 16 * (index(hex, substr($$3, 4, 1)) - 1);	\


Home | Main Index | Thread Index | Old Index