pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/openssl
Module Name: pkgsrc
Committed By: markd
Date: Thu Jan 12 11:01:41 UTC 2023
Modified Files:
pkgsrc/security/openssl: builtin.mk
Log Message:
openssl: allow builtin.mk to extract version from openssl3
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/security/openssl/builtin.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/openssl/builtin.mk
diff -u pkgsrc/security/openssl/builtin.mk:1.49 pkgsrc/security/openssl/builtin.mk:1.50
--- pkgsrc/security/openssl/builtin.mk:1.49 Sat Nov 5 18:43:00 2022
+++ pkgsrc/security/openssl/builtin.mk Thu Jan 12 11:01:41 2023
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.49 2022/11/05 18:43:00 wiz Exp $
+# $NetBSD: builtin.mk,v 1.50 2023/01/12 11:01:41 markd 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