summary refs log tree commit diff
path: root/import.sh
blob: e791de5713ff3438e5f7b39705271eb4a9484a4d (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
61
62
63
#!/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/ax_add_fortify_source.m4' \
	'libressl-*/m4/ax_check_compile_flag.m4' \
	'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' \
	'libressl-*/scripts/wrap-compiler-for-flag-check'

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-02-18Match whitespace between * [] {}June McEnroe 2019-02-18Fix function-like #define regexJune McEnroe A define like #define FOO (1) is not function-like. 2019-02-18Match Tag in RustJune McEnroe 2019-02-18Match sh functions as TagJune McEnroe 2019-02-18Match Sh and Ss as Tag in mdocJune McEnroe 2019-02-18Match statics and typedefs as TagJune McEnroe 2019-02-18Clean up htmlHeaderJune McEnroe 2019-02-18Remove hi line numberingJune McEnroe Tags are much better for referring to specific parts of a file and line numbering is better done by a post-processing tool such as cat -n or producing a two-column HTML <table>. 2019-02-18Add Tag class to hiJune McEnroe 2019-02-17Generate HTML with hi -n -f html -o anchorJune McEnroe Running hi twice to insert stuff between the head and the content is a bit of a hack but oh well. 2019-02-17Add hi -f html -o anchor for line number linksJune McEnroe 2019-02-17Simplify temp trap in upJune McEnroe 2019-02-17Add line numbers to hiJune McEnroe Renames previous -n option to -m to stay consistent with cat -n. Prefixing lines with line numbers affects where the first tab indent ends up relative to the text above it. Not sure if it's worth fixing somehow. 2019-02-17Always split spans after newlinesJune McEnroe Simplifies ANSI and IRC output code, and prepares for line numbered output. 2019-02-15Color format specifiers light cyan in vimJune McEnroe 2019-02-15Highlight Interp as yellowJune McEnroe 2019-02-15Highlight strings in sh command substitutionsJune McEnroe 2019-02-15Add nmap gpJune McEnroe 2019-02-14Avoid newline when copying URL to pasteboardJune McEnroe 2019-02-13Add forgotten "sixth" book of H2G2June McEnroe