aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2020-12-01 10:36:46 +0000
committerMartin Matuska <mm@FreeBSD.org>2020-12-01 10:36:46 +0000
commitd5f2a5ff11474589cccacfc8e153d437f48530e2 (patch)
treeaeb7e201bfb2d629755c396db8001e39d116e852 /build
parent4dd2ae60c22045bc4e4f53a0cf45028322168ec0 (diff)
downloadsrc-d5f2a5ff11474589cccacfc8e153d437f48530e2.tar.gz
src-d5f2a5ff11474589cccacfc8e153d437f48530e2.zip
Update vendor/libarchive/dist to git 833821f55b1807cac22a63a58b759a7802df2fb7vendor/libarchive/3.5.0
Libarchive 3.5.0 Relevant vendor changes: Issue #1258: add archive_read_support_filter_by_code() PR #1347: mtree digest reader support Issue #1381: skip hardlinks pointing to itself on extraction PR #1387: fix writing of cpio archives with hardlinks without file type PR #1388: fix rdev field in cpio format for device nodes PR #1389: completed support for UTF-8 encoding conversion PR #1405: more formats in archive_read_support_format_by_code() PR #1408: fix uninitialized size in rar5_read_data PR #1409: system extended attribute support PR #1435: support for decompression of symbolic links in zipx archives Issue #1456: memory leak after unsuccessful archive_write_open_filename
Notes
Notes: svn path=/vendor/libarchive/dist/; revision=368207 svn path=/vendor/libarchive/3.5.0/; revision=368208; tag=vendor/libarchive/3.5.0
Diffstat (limited to 'build')
-rwxr-xr-xbuild/ci/github_actions/macos.sh19
-rw-r--r--build/cmake/config.h.in1
-rw-r--r--build/release/Dockerfile6
-rw-r--r--build/version2
4 files changed, 23 insertions, 5 deletions
diff --git a/build/ci/github_actions/macos.sh b/build/ci/github_actions/macos.sh
index e51574cb6dfa..ba72b4a77178 100755
--- a/build/ci/github_actions/macos.sh
+++ b/build/ci/github_actions/macos.sh
@@ -1,9 +1,24 @@
#!/bin/sh
if [ "$1" = "prepare" ]
then
- set -x -e
+ set -x
+ brew uninstall openssl@1.0.2t > /dev/null
+ brew uninstall python@2.7.17 > /dev/null
+ brew untap local/openssl > /dev/null
+ brew untap local/python2 > /dev/null
brew update > /dev/null
- for pkg in autoconf automake libtool pkg-config cmake xz lz4 zstd
+ brew upgrade > /dev/null
+ set -x -e
+ for pkg in \
+ autoconf \
+ automake \
+ libtool \
+ pkg-config \
+ cmake \
+ xz \
+ lz4 \
+ zstd \
+ openssl
do
brew list $pkg > /dev/null && brew upgrade $pkg || brew install $pkg
done
diff --git a/build/cmake/config.h.in b/build/cmake/config.h.in
index fcbd80c5a171..6d2fa746927c 100644
--- a/build/cmake/config.h.in
+++ b/build/cmake/config.h.in
@@ -1,4 +1,5 @@
/* config.h. Generated from build/cmake/config.h.in by cmake configure */
+#define __LIBARCHIVE_CONFIG_H_INCLUDED 1
/*
* Ensure we have C99-style int64_t, etc, all defined.
diff --git a/build/release/Dockerfile b/build/release/Dockerfile
index fc920b6ec8be..619b67f4b626 100644
--- a/build/release/Dockerfile
+++ b/build/release/Dockerfile
@@ -1,5 +1,7 @@
-FROM ubuntu:18.04
-RUN apt-get update && apt-get install -y build-essential autoconf automake libtool pkg-config cmake libssl-dev libacl1-dev libbz2-dev liblzma-dev liblz4-dev libzstd-dev lzop groff ghostscript bsdmainutils zip
+FROM ubuntu:20.04
+ENV DEBIAN_FRONTEND=noninteractive
+RUN ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
+RUN apt-get update && apt-get install -y build-essential autoconf automake libtool pkg-config cmake zlib1g-dev libssl-dev libacl1-dev libbz2-dev liblzma-dev liblz4-dev libzstd-dev lzop groff ghostscript bsdmainutils zip
ADD . $HOME/libarchive/
ADD "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" $HOME/libarchive/build/autoconf/config.guess
ADD "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" $HOME/libarchive/build/autoconf/config.sub
diff --git a/build/version b/build/version
index 2e3400d77cb2..4c8608b0a0f6 100644
--- a/build/version
+++ b/build/version
@@ -1 +1 @@
-3004003
+3005000