summary refs log tree commit diff
path: root/import.sh
blob: 1c950701cbdbce50ef494495c759efba84fcbebf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/bin/sh
set -eu

input=$1

tar -x -f "${input}" --strip-components 1 \
	--exclude 'libressl-*/*/VERSION' \
	'libressl-*/Makefile.am.common' \
	'libressl-*/VERSION' \
	'libressl-*/configure.ac' \
	'libressl-*/include/Makefile.am' \
	'libressl-*/include/compat/arpa/inet.h' \
	'libressl-*/include/compat/fcntl.h' \
	'libressl-*/include/compat/limits.h' \
	'libressl-*/include/compat/netdb.h' \
	'libressl-*/include/compat/netinet/*.h' \
	'libressl-*/include/compat/pthread.h' \
	'libressl-*/include/compat/stdio.h' \
	'libressl-*/include/compat/stdlib.h' \
	'libressl-*/include/compat/string.h' \
	'libressl-*/include/compat/sys/ioctl.h' \
	'libressl-*/include/compat/sys/mman.h' \
	'libressl-*/include/compat/sys/param.h' \
	'libressl-*/include/compat/sys/socket.h' \
	'libressl-*/include/compat/sys/stat.h' \
	'libressl-*/include/compat/sys/time.h' \
	'libressl-*/include/compat/sys/types.h' \
	'libressl-*/include/compat/time.h' \
	'libressl-*/include/compat/unistd.h' \
	'libressl-*/include/compat/win32netcompat.h' \
	'libressl-*/include/tls.h' \
	'libressl-*/libtls.pc.in' \
	'libressl-*/m4/check-hardening-options.m4' \
	'libressl-*/m4/check-libc.m4' \
	'libressl-*/m4/check-os-options.m4' \
	'libressl-*/m4/disable-compiler-warnings.m4' \
	'libressl-*/man/Makefile.am' \
	'libressl-*/man/tls_*.3'

tar -x -f "${input}" --strip-components 2 \
	-s '/VERSION/LIBTLS_VERSION/' \
	'libressl-*/crypto/compat/arc4random*.[ch]' \
	'libressl-*/crypto/compat/bsd-asprintf.c' \
	'libressl-*/crypto/compat/chacha_private.h' \
	'libressl-*/crypto/compat/explicit_bzero*.c' \
	'libressl-*/crypto/compat/freezero.c' \
	'libressl-*/crypto/compat/getentropy*.c' \
	'libressl-*/crypto/compat/getpagesize.c' \
	'libressl-*/crypto/compat/getprogname*.c' \
	'libressl-*/crypto/compat/posix_win.c' \
	'libressl-*/crypto/compat/reallocarray.c' \
	'libressl-*/crypto/compat/strcasecmp.c' \
	'libressl-*/crypto/compat/strlcpy.c' \
	'libressl-*/crypto/compat/strsep.c' \
	'libressl-*/crypto/compat/timegm.c' \
	'libressl-*/crypto/compat/timingsafe_memcmp.c' \
	'libressl-*/tls/*.[ch]' \
	'libressl-*/tls/Makefile.am' \
	'libressl-*/tls/VERSION' \
	'libressl-*/tls/tls.sym'
>2019-05-20ui-shared: restrict to 15 levelsJason A. Donenfeld 2019-02-23ui-diff,ui-tag: don't use htmlf with non-formatted stringsChris Mayo 2019-02-23ui-ssdiff: resolve HTML5 validation errorsChris Mayo 2019-01-03filters: migrate from luacrypto to luaosslJason A. Donenfeld 2019-01-02ui-shared: fix broken sizeof in title setting and rewriteJason A. Donenfeld 2018-12-09git: update to v2.20.0Christian Hesse 2018-11-25ui-blame: set repo for sbJason A. Donenfeld 2018-11-25auth-filter: pass url with query string attachedJason A. Donenfeld 2018-11-21git: use xz compressed archive for downloadChristian Hesse 2018-10-12git: update to v2.19.1Christian Hesse 2018-09-11ui-ssdiff: ban strcat()Christian Hesse 2018-09-11ui-ssdiff: ban strncpy()Christian Hesse 2018-09-11ui-shared: ban strcat()Christian Hesse 2018-09-11ui-patch: ban sprintf()Christian Hesse 2018-09-11ui-log: ban strncpy()Christian Hesse 2018-09-11ui-log: ban strcpy()Christian Hesse 2018-09-11parsing: ban sprintf()Christian Hesse 2018-09-11parsing: ban strncpy()Christian Hesse 2018-08-28filters: generate anchor links from markdownChristian Hesse 2018-08-03Bump version.Jason A. Donenfeld 2018-08-03clone: fix directory traversalJason A. Donenfeld 2018-08-03config: record repo.snapshot-prefix in the per-repo configKonstantin Ryabitsev