mirror of
https://github.com/monero-project/monero.git
synced 2026-07-30 23:50:24 -07:00
Merge pull request #10654
98bc2ec depends: unbound: update to 1.25.1 (tobtoht)
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
package=unbound
|
package=unbound
|
||||||
$(package)_version=1.19.1
|
$(package)_version=1.25.1
|
||||||
$(package)_download_path=https://www.nlnetlabs.nl/downloads/$(package)/
|
$(package)_download_path=https://www.nlnetlabs.nl/downloads/$(package)/
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
||||||
$(package)_sha256_hash=bc1d576f3dd846a0739adc41ffaa702404c6767d2b6082deb9f2f97cbb24a3a9
|
$(package)_sha256_hash=0fe8b6277b0959cfd17562debac0aa5f71e0b02dc4ffa9c60271c583edab586f
|
||||||
$(package)_dependencies=openssl expat
|
$(package)_dependencies=openssl expat
|
||||||
$(package)_patches=disable-glibc-reallocarray.patch
|
$(package)_patches=disable-glibc-reallocarray.patch hardcode_config_date.patch
|
||||||
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
define $(package)_set_vars
|
||||||
@@ -20,7 +20,10 @@ endef
|
|||||||
|
|
||||||
define $(package)_preprocess_cmds
|
define $(package)_preprocess_cmds
|
||||||
patch -p1 < $($(package)_patch_dir)/disable-glibc-reallocarray.patch &&\
|
patch -p1 < $($(package)_patch_dir)/disable-glibc-reallocarray.patch &&\
|
||||||
autoconf
|
patch -p1 < $($(package)_patch_dir)/hardcode_config_date.patch &&\
|
||||||
|
autoconf && \
|
||||||
|
rm doc/*.odp doc/*.pdf contrib/*.tar.gz contrib/*.tar.bz2 &&\
|
||||||
|
rm -rf testdata dnscrypt/testdata
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_config_cmds
|
define $(package)_config_cmds
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index f1c5b04..13f4ce6 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -994,7 +994,7 @@ if test "`uname`" = "Linux"; then
|
||||||
|
GCC_DOCKER_LINTFLAGS='-syntax'
|
||||||
|
AC_SUBST(GCC_DOCKER_LINTFLAGS)
|
||||||
|
fi
|
||||||
|
-AX_BUILD_DATE_EPOCH(CONFIG_DATE, [%Y%m%d])
|
||||||
|
+CONFIG_DATE=20000101
|
||||||
|
AC_ARG_VAR(SOURCE_DATE_EPOCH, [If it is set, it uses the value of that variable instead of the current time as the build timestamp. The format is a unix timestamp. This enables reproducible build output.])
|
||||||
|
AC_SUBST(CONFIG_DATE)
|
||||||
|
|
||||||
|
@@ -2559,7 +2559,7 @@ char *unbound_stat_strdup_log(const char *s, const char* file, int line,
|
||||||
|
dnl if we build from source tree, the man pages need @date@ and @version@
|
||||||
|
dnl if this is a distro tarball, that was already done by makedist.sh
|
||||||
|
AC_SUBST(version, [VERSION_MAJOR.VERSION_MINOR.VERSION_MICRO])
|
||||||
|
-AX_BUILD_DATE_EPOCH(date, [[%b %e, %Y]])
|
||||||
|
+date='Jan 1, 2000'
|
||||||
|
AC_SUBST(date)
|
||||||
|
|
||||||
|
AC_CONFIG_FILES([Makefile doc/example.conf doc/libunbound.3 doc/unbound.8 doc/unbound-anchor.8 doc/unbound-checkconf.8 doc/unbound.conf.5 doc/unbound-control.8 doc/unbound-host.1 smallapp/unbound-control-setup.sh dnstap/dnstap_config.h dnscrypt/dnscrypt_config.h contrib/libunbound.pc contrib/unbound.socket contrib/unbound.service contrib/unbound_portable.service])
|
||||||
Reference in New Issue
Block a user