pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/radmind



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Oct 14 15:07:01 UTC 2024

Modified Files:
        pkgsrc/sysutils/radmind: distinfo
Added Files:
        pkgsrc/sysutils/radmind/patches: patch-libsnet_configure

Log Message:
radmind: Fix another "testing for OpenSSL using a deprecated function"


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/sysutils/radmind/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/radmind/patches/patch-libsnet_configure

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

Modified files:

Index: pkgsrc/sysutils/radmind/distinfo
diff -u pkgsrc/sysutils/radmind/distinfo:1.29 pkgsrc/sysutils/radmind/distinfo:1.30
--- pkgsrc/sysutils/radmind/distinfo:1.29       Thu Oct 10 17:33:41 2024
+++ pkgsrc/sysutils/radmind/distinfo    Mon Oct 14 15:07:01 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.29 2024/10/10 17:33:41 nia Exp $
+$NetBSD: distinfo,v 1.30 2024/10/14 15:07:01 nia Exp $
 
 BLAKE2s (radmind-1.14.1.tar.gz) = ecab16cf79583ade0b5064fb8f61e2882017b696f04184c6825b9e2cf8d1c34e
 SHA512 (radmind-1.14.1.tar.gz) = bccf9681a6899be3b500065237dd1e04cd83ffb6f9be0e355412e7b0c556325f7d13435cec65a8a5e156e4411da915744f01a615472f6361d52c4d54d8be20eb
@@ -13,6 +13,7 @@ SHA1 (patch-configure.ac) = 706aba64e342
 SHA1 (patch-ktcheck.c) = 83c03e417fc93863a8575b0cb2f93e09cba1d937
 SHA1 (patch-largefile.h) = 806f12878aa628f30355b82ac23a5c92740f42a1
 SHA1 (patch-lcksum.c) = 7b7b4da338bb13f2508c5b22307263eaedb32347
+SHA1 (patch-libsnet_configure) = d015bc445f3f4d6f790a287547a3d7655feaf700
 SHA1 (patch-libsnet_snet.c) = f47b805d68c1e55581503fe33a748bd495c5db33
 SHA1 (patch-openssl__compat.c) = 0076abec076f29764d86ec1fc3b0bf7092c7dd18
 SHA1 (patch-openssl__compat.h) = d73ce65dde6e48e378feded637b7b6a4d8e36047

Added files:

Index: pkgsrc/sysutils/radmind/patches/patch-libsnet_configure
diff -u /dev/null pkgsrc/sysutils/radmind/patches/patch-libsnet_configure:1.1
--- /dev/null   Mon Oct 14 15:07:01 2024
+++ pkgsrc/sysutils/radmind/patches/patch-libsnet_configure     Mon Oct 14 15:07:01 2024
@@ -0,0 +1,60 @@
+$NetBSD: patch-libsnet_configure,v 1.1 2024/10/14 15:07:01 nia Exp $
+
+Test for OpenSSL using a non-deprecated function.
+
+--- libsnet/configure.orig     2024-10-14 15:05:13.516808829 +0000
++++ libsnet/configure
+@@ -3090,9 +3090,9 @@ echo "${ECHO_T}yes" >&6; }
+ fi
+ 
+ 
+-{ echo "$as_me:$LINENO: checking for SSLeay_version in -lcrypto" >&5
+-echo $ECHO_N "checking for SSLeay_version in -lcrypto... $ECHO_C" >&6; }
+-if test "${ac_cv_lib_crypto_SSLeay_version+set}" = set; then
++{ echo "$as_me:$LINENO: checking for OpenSSL_version in -lcrypto" >&5
++echo $ECHO_N "checking for OpenSSL_version in -lcrypto... $ECHO_C" >&6; }
++if test "${ac_cv_lib_crypto_OpenSSL_version+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+@@ -3110,11 +3110,11 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #ifdef __cplusplus
+ extern "C"
+ #endif
+-char SSLeay_version ();
++char OpenSSL_version ();
+ int
+ main ()
+ {
+-return SSLeay_version ();
++return OpenSSL_version ();
+   ;
+   return 0;
+ }
+@@ -3137,21 +3137,21 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
+        test ! -s conftest.err
+        } && test -s conftest$ac_exeext &&
+        $as_test_x conftest$ac_exeext; then
+-  ac_cv_lib_crypto_SSLeay_version=yes
++  ac_cv_lib_crypto_OpenSSL_version=yes
+ else
+   echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+ 
+-      ac_cv_lib_crypto_SSLeay_version=no
++      ac_cv_lib_crypto_OpenSSL_version=no
+ fi
+ 
+ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+       conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SSLeay_version" >&5
+-echo "${ECHO_T}$ac_cv_lib_crypto_SSLeay_version" >&6; }
+-if test $ac_cv_lib_crypto_SSLeay_version = yes; then
++{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_OpenSSL_version" >&5
++echo "${ECHO_T}$ac_cv_lib_crypto_OpenSSL_version" >&6; }
++if test $ac_cv_lib_crypto_OpenSSL_version = yes; then
+   cat >>confdefs.h <<_ACEOF
+ #define HAVE_LIBCRYPTO 1
+ _ACEOF



Home | Main Index | Thread Index | Old Index