mirror of https://git.FreeBSD.org/ports.git
net/libarms: update the port to version 6.50
- Fix botched (incomplete) `nobase_dist_doc_DATA' - Strip installed library per stage Q/A report - Try to provide a little better port description
This commit is contained in:
parent
d8a61b91e8
commit
bbd88a9f96
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= libarms
|
||||
PORTVERSION= 6.33
|
||||
PORTVERSION= 6.50
|
||||
CATEGORIES= net devel
|
||||
MASTER_SITES= https://dev.smf.jp/dl/
|
||||
|
||||
|
@ -15,6 +15,7 @@ LIB_DEPENDS= libexpat.so:textproc/expat2
|
|||
USES= gmake libtool localbase ssl
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
post-patch:
|
||||
# NetBSD's SIMPLEQ_* macros are called STAILQ_* on FreeBSD
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1702963884
|
||||
SHA256 (libarms-6.33.tar.gz) = 642ecf8f58dec5feeb668adee8781d2b5496421f59dfd6ea33049d0f110bca1e
|
||||
SIZE (libarms-6.33.tar.gz) = 1030353
|
||||
TIMESTAMP = 1733368374
|
||||
SHA256 (libarms-6.50.tar.gz) = b13068e6d1898ead2eb9ddbaf017f6236c5c3fb309668e926650b5ea185bfc9f
|
||||
SIZE (libarms-6.50.tar.gz) = 1007635
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
--- Makefile.in.orig 2024-12-04 00:27:42 UTC
|
||||
+++ Makefile.in
|
||||
@@ -397,24 +397,7 @@ debian/rules \
|
||||
libarms.spec
|
||||
|
||||
nobase_dist_doc_DATA = \
|
||||
-doc/api \
|
||||
-doc/armsd \
|
||||
-doc/appendix \
|
||||
-doc/arch \
|
||||
-doc/impl \
|
||||
-doc/index.html \
|
||||
-doc/contents.html \
|
||||
-doc/download.html \
|
||||
-doc/intro \
|
||||
-doc/genindex.html \
|
||||
-doc/search.html \
|
||||
-doc/version \
|
||||
-doc/.buildinfo \
|
||||
-doc/objects.inv \
|
||||
-doc/searchindex.js \
|
||||
-doc/_sources \
|
||||
-doc/_images \
|
||||
-doc/_static
|
||||
+$(shell find doc -type f -print)
|
||||
|
||||
all: config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-am
|
|
@ -1,12 +1,12 @@
|
|||
--- libarms/ssl.c.orig 2019-03-29 01:15:24 UTC
|
||||
--- libarms/ssl.c.orig 2024-12-04 00:27:42 UTC
|
||||
+++ libarms/ssl.c
|
||||
@@ -338,7 +338,8 @@ arms_ssl_dhparam(SSL_CTX *ctx)
|
||||
}
|
||||
|
||||
/* for compatibility with before OpenSSL-1.1.0 and LibreSSL-2.7.0 */
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER < 0x20700000L
|
||||
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
|
||||
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
|
||||
dh->p = p;
|
||||
dh->g = g;
|
||||
#else
|
||||
@@ -794,6 +794,9 @@ arms_ssl_cleanup(void)
|
||||
{
|
||||
CRYPTO_cleanup_all_ex_data();
|
||||
ERR_free_strings();
|
||||
+/* <= 1.0.1f = old API, 1.0.1g+ = new API */
|
||||
+#if OPENSSL_VERSION_NUMBER <= 0x1000106fL
|
||||
ERR_remove_state(0);
|
||||
+#endif
|
||||
EVP_cleanup();
|
||||
}
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
SMFv2/ARMS library.
|
||||
libarms is a client library for SMFv2 system supplied by Internet
|
||||
Initiative Japan Inc.
|
||||
|
|
Loading…
Reference in New Issue