mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
security/xmlsec1: update to 1.2.34
This commit is contained in:
parent
8e0b9d2d55
commit
097c9235d9
5 changed files with 28 additions and 15 deletions
|
@ -1,8 +1,7 @@
|
|||
# Created by: Jim Geovedi <jim@corebsd.or.id>
|
||||
|
||||
PORTNAME= xmlsec1
|
||||
PORTVERSION= 1.2.29
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 1.2.34
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://www.aleksey.com/xmlsec/download/ \
|
||||
ftp://ftp.aleksey.com/pub/xmlsec/releases/ \
|
||||
|
@ -25,6 +24,7 @@ USE_LDCONFIG= yes
|
|||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-openssl="${OPENSSLBASE}" \
|
||||
--with-gcrypt="${LOCALBASE}" \
|
||||
--enable-werror \
|
||||
--enable-soap \
|
||||
--disable-docs-build
|
||||
MAKE_ENV= ABS_BUILDDIR=${WRKSRC} TMPFOLDER=${WRKSRC}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1581996323
|
||||
SHA256 (xmlsec1-1.2.29.tar.gz) = b1d1deba966019930f608d1f2b95c40ca3450f1393bcd3a3c001a8ba1d2839ab
|
||||
SIZE (xmlsec1-1.2.29.tar.gz) = 1989360
|
||||
TIMESTAMP = 1651858077
|
||||
SHA256 (xmlsec1-1.2.34.tar.gz) = 52ced4943f35bd7d0818a38298c1528ca4ac8a54440fd71134a07d2d1370a262
|
||||
SIZE (xmlsec1-1.2.34.tar.gz) = 1991505
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- Makefile.in.orig 2017-12-12 16:05:23.187628000 +0300
|
||||
+++ Makefile.in 2017-12-12 16:07:19.241092000 +0300
|
||||
@@ -480,7 +480,7 @@
|
||||
--- Makefile.in.orig 2022-05-06 17:33:38 UTC
|
||||
+++ Makefile.in
|
||||
@@ -490,7 +490,7 @@ DEFAULT_CRYPTO = @XMLSEC_DEFAULT_CRYPTO@
|
||||
bin_SCRIPTS = xmlsec1-config
|
||||
pkgconfig_DATA = xmlsec1.pc @XMLSEC_CRYPTO_PC_FILES_LIST@
|
||||
pkgconfigdir = $(prefix)/libdata/pkgconfig
|
||||
|
|
11
security/xmlsec1/files/patch-apps-xmlsec.c
Normal file
11
security/xmlsec1/files/patch-apps-xmlsec.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- apps/xmlsec.c.orig 2022-05-03 14:36:17 UTC
|
||||
+++ apps/xmlsec.c
|
||||
@@ -1210,7 +1210,7 @@ int main(int argc, const char **argv) {
|
||||
(xmlSecAppCmdLineParamGetInt(&repeatParam, 1) > 0)) {
|
||||
|
||||
repeats = xmlSecAppCmdLineParamGetInt(&repeatParam, 1);
|
||||
- fprintf(stderr, "Executed %d tests in %ld msec\n", repeats, (1000 * total_time) / CLOCKS_PER_SEC);
|
||||
+ fprintf(stderr, "Executed %d tests in %ld msec\n", repeats, (long)(1000 * total_time) / CLOCKS_PER_SEC);
|
||||
}
|
||||
|
||||
goto success;
|
|
@ -1,11 +1,9 @@
|
|||
--- src/openssl/openssl_compat.h.orig 2017-09-12 13:21:09 UTC
|
||||
--- src/openssl/openssl_compat.h.orig 2022-05-03 14:36:17 UTC
|
||||
+++ src/openssl/openssl_compat.h
|
||||
@@ -49,4 +49,19 @@
|
||||
@@ -51,6 +51,21 @@
|
||||
|
||||
#endif /* !defined(XMLSEC_OPENSSL_API_110) */
|
||||
|
||||
+/******************************************************************************
|
||||
+ *
|
||||
/******************************************************************************
|
||||
*
|
||||
+ * LibreSSL 2.7+ compatibility (implements most of OpenSSL 1.1 API)
|
||||
+ *
|
||||
+ *****************************************************************************/
|
||||
|
@ -19,4 +17,8 @@
|
|||
+#define X509_OBJECT_free(x) { X509_OBJECT_free_contents(x); free(x); }
|
||||
+#endif
|
||||
+
|
||||
#endif /* __XMLSEC_OPENSSL_OPENSSL_COMPAT_H__ */
|
||||
+/******************************************************************************
|
||||
+ *
|
||||
* boringssl compatibility
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
|
Loading…
Add table
Reference in a new issue