openntpd: remove ssl and crytpo as dep for tls in configure
closes #29347
This commit is contained in:
parent
151a4a171a
commit
ac742fffb3
2 changed files with 12 additions and 1 deletions
11
srcpkgs/openntpd/patches/libtls.patch
Normal file
11
srcpkgs/openntpd/patches/libtls.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- configure.ac 2017-06-13 02:47:58.000000000 +0200
|
||||||
|
+++ - 2021-03-09 20:37:29.357052132 +0100
|
||||||
|
@@ -61,7 +61,7 @@
|
||||||
|
|
||||||
|
# check for libtls
|
||||||
|
AC_SEARCH_LIBS([tls_config_set_ca_mem],[tls],
|
||||||
|
- [LIBS="$LIBS -ltls -lssl -lcrypto"],,[-lssl -lcrypto])
|
||||||
|
+ [LIBS="$LIBS -ltls"],,)
|
||||||
|
AC_CHECK_FUNCS([tls_config_set_ca_mem])
|
||||||
|
|
||||||
|
# check if libtls uses 3-argument tls_write
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'openntpd'
|
# Template file for 'openntpd'
|
||||||
pkgname=openntpd
|
pkgname=openntpd
|
||||||
version=6.2p3
|
version=6.2p3
|
||||||
revision=8
|
revision=9
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-privsep-user=${pkgname} --with-cacert=/etc/ssl/certs.pem"
|
configure_args="--with-privsep-user=${pkgname} --with-cacert=/etc/ssl/certs.pem"
|
||||||
hostmakedepends="automake libtool"
|
hostmakedepends="automake libtool"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue