libesmtp: rebuild against OpenSSL
This commit is contained in:
parent
c2f57154d2
commit
dff56ac45b
3 changed files with 53 additions and 3 deletions
|
@ -1345,7 +1345,7 @@ libre2.so.7 re2-2020.06.01_1
|
|||
libminizip.so.1 minizip-1.2.7_1
|
||||
libsrtp2.so.1 libsrtp-2.1.0_1
|
||||
libjsoncpp.so.24 jsoncpp-1.9.4_1
|
||||
libesmtp.so.6 libesmtp-1.0.6_4
|
||||
libesmtp.so.6 libesmtp-1.0.6_21
|
||||
libcaca.so.0 libcaca-0.99.beta18_3
|
||||
libcaca++.so.0 libcaca-0.99.beta18_3
|
||||
libunwind.so.8 libunwind-1.1_1
|
||||
|
|
50
srcpkgs/libesmtp/patches/openssl.patch
Normal file
50
srcpkgs/libesmtp/patches/openssl.patch
Normal file
|
@ -0,0 +1,50 @@
|
|||
--- configure 2021-02-13 22:19:40.127583919 +0100
|
||||
+++ - 2021-02-13 22:25:30.535900276 +0100
|
||||
@@ -11896,9 +11896,9 @@
|
||||
|
||||
fi
|
||||
if test x$with_openssl != xno ; then
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5
|
||||
-$as_echo_n "checking for SSL_library_init in -lssl... " >&6; }
|
||||
-if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then :
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_new in -lssl" >&5
|
||||
+$as_echo_n "checking for SSL_new in -lssl... " >&6; }
|
||||
+if test "${ac_cv_lib_ssl_SSL_new+set}" = set; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
@@ -11913,27 +11913,27 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
-char SSL_library_init ();
|
||||
+char SSL_new ();
|
||||
int
|
||||
main ()
|
||||
{
|
||||
-return SSL_library_init ();
|
||||
+return SSL_new ();
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
if ac_fn_c_try_link "$LINENO"; then :
|
||||
- ac_cv_lib_ssl_SSL_library_init=yes
|
||||
+ ac_cv_lib_ssl_SSL_new=yes
|
||||
else
|
||||
- ac_cv_lib_ssl_SSL_library_init=no
|
||||
+ ac_cv_lib_ssl_SSL_new=no
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
LIBS=$ac_check_lib_save_LIBS
|
||||
fi
|
||||
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5
|
||||
-$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; }
|
||||
-if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then :
|
||||
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_new" >&5
|
||||
+$as_echo "$ac_cv_lib_ssl_SSL_new" >&6; }
|
||||
+if test "x$ac_cv_lib_ssl_SSL_new" = x""yes; then :
|
||||
|
||||
with_openssl=yes
|
||||
LIBS="-lssl -lcrypto $LIBS"
|
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'libesmtp'
|
||||
pkgname=libesmtp
|
||||
version=1.0.6
|
||||
revision=20
|
||||
revision=21
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --with-openssl"
|
||||
makedepends="libressl-devel"
|
||||
makedepends="openssl-devel"
|
||||
short_desc="Manage submission of emails using SMTP protocol"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="LGPL-2.1-or-later"
|
||||
|
|
Loading…
Reference in a new issue