xcrypt 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/xcrypt/version.rb +1 -1
- data/lib/xcrypt.rb +160 -0
- metadata +17 -39
- data/ext/libxcrypt/INSTALL +0 -380
- data/ext/libxcrypt/Makefile.in +0 -4110
- data/ext/libxcrypt/TODO +0 -1
- data/ext/libxcrypt/TODO.md +0 -100
- data/ext/libxcrypt/aclocal.m4 +0 -2617
- data/ext/libxcrypt/autom4te.cache/output.0 +0 -19884
- data/ext/libxcrypt/autom4te.cache/output.1 +0 -19884
- data/ext/libxcrypt/autom4te.cache/output.2 +0 -19884
- data/ext/libxcrypt/autom4te.cache/output.3 +0 -19885
- data/ext/libxcrypt/autom4te.cache/requests +0 -714
- data/ext/libxcrypt/autom4te.cache/traces.0 +0 -4088
- data/ext/libxcrypt/autom4te.cache/traces.1 +0 -1060
- data/ext/libxcrypt/autom4te.cache/traces.2 +0 -4088
- data/ext/libxcrypt/autom4te.cache/traces.3 +0 -1060
- data/ext/libxcrypt/build-aux/ci/ci-log-dependency-versions +0 -79
- data/ext/libxcrypt/build-aux/ci/ci-log-logfiles +0 -22
- data/ext/libxcrypt/build-aux/ci/clang-gcov-wrapper +0 -2
- data/ext/libxcrypt/build-aux/ci/configure-wrapper +0 -10
- data/ext/libxcrypt/build-aux/ci/summarize-coverage +0 -24
- data/ext/libxcrypt/build-aux/m4/libtool.m4 +0 -8488
- data/ext/libxcrypt/build-aux/m4/ltoptions.m4 +0 -467
- data/ext/libxcrypt/build-aux/m4/ltsugar.m4 +0 -124
- data/ext/libxcrypt/build-aux/m4/ltversion.m4 +0 -24
- data/ext/libxcrypt/build-aux/m4/lt~obsolete.m4 +0 -99
- data/ext/libxcrypt/build-aux/m4-autogen/compile +0 -364
- data/ext/libxcrypt/build-aux/m4-autogen/config.guess +0 -1815
- data/ext/libxcrypt/build-aux/m4-autogen/config.sub +0 -2354
- data/ext/libxcrypt/build-aux/m4-autogen/depcomp +0 -792
- data/ext/libxcrypt/build-aux/m4-autogen/install-sh +0 -541
- data/ext/libxcrypt/build-aux/m4-autogen/ltmain.sh +0 -11524
- data/ext/libxcrypt/build-aux/m4-autogen/missing +0 -236
- data/ext/libxcrypt/build-aux/m4-autogen/test-driver +0 -160
- data/ext/libxcrypt/codecov.yml +0 -4
- data/ext/libxcrypt/config.h.in +0 -303
- data/ext/libxcrypt/configure +0 -19885
- data/ext/libxcrypt/libxcrypt.spec.rpkg +0 -481
- data/ext/libxcrypt/rpkg.conf +0 -2
- data/ext/libxcrypt/rpkg.macros +0 -86
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
#! /bin/sh
|
|
2
|
-
set -e
|
|
3
|
-
|
|
4
|
-
# Record certain build tool versions for use as a cache key.
|
|
5
|
-
autotools_ver=
|
|
6
|
-
|
|
7
|
-
# Log the identities and versions of the build tools.
|
|
8
|
-
for tool in \
|
|
9
|
-
"${CC-cc}" \
|
|
10
|
-
"${NM-nm}" \
|
|
11
|
-
"${AUTOCONF-autoconf}" \
|
|
12
|
-
"${AUTOMAKE-automake}" \
|
|
13
|
-
"${LIBTOOLIZE-libtoolize}" \
|
|
14
|
-
"${PKG_CONFIG-pkg-config}" \
|
|
15
|
-
"${PERL-perl}" \
|
|
16
|
-
"${CPANM-cpanm}" \
|
|
17
|
-
"${PERLCRITIC-perlcritic}" \
|
|
18
|
-
"${PERLTIDY-perltidy}" \
|
|
19
|
-
"${PYTHON-python3}" \
|
|
20
|
-
"${GCOV-gcov}" \
|
|
21
|
-
"${LCOV-lcov}" \
|
|
22
|
-
"${LLVM_COV-llvm-cov}" \
|
|
23
|
-
"${VALGRIND-valgrind}"
|
|
24
|
-
do
|
|
25
|
-
# $tool might include mandatory command-line arguments.
|
|
26
|
-
# Interpret it the same way Make would.
|
|
27
|
-
set fnord $tool; shift # word-split $tool and load it into "$@"
|
|
28
|
-
|
|
29
|
-
echo ::group::"$1"
|
|
30
|
-
if command -V "$1"; then
|
|
31
|
-
echo + "$@" --version
|
|
32
|
-
"$@" --version
|
|
33
|
-
fi
|
|
34
|
-
echo ::endgroup::
|
|
35
|
-
|
|
36
|
-
case "$1" in
|
|
37
|
-
(*autoconf*)
|
|
38
|
-
autotools_ver="${autotools_ver}ac$("$@" --version 2>&1 |
|
|
39
|
-
sed -Ene '1{s/^[^\(]+\([^\)]+\) //;p}'
|
|
40
|
-
)"
|
|
41
|
-
;;
|
|
42
|
-
|
|
43
|
-
(*automake*)
|
|
44
|
-
autotools_ver="${autotools_ver}am$("$@" --version |
|
|
45
|
-
sed -Ene '1{s/^[^\(]+\([^\)]+\) //;p}'
|
|
46
|
-
)"
|
|
47
|
-
;;
|
|
48
|
-
|
|
49
|
-
(*libtoolize*)
|
|
50
|
-
autotools_ver="${autotools_ver}lt$("$@" --version |
|
|
51
|
-
sed -Ene '1{s/^[^\(]+\([^\)]+\) //;p}'
|
|
52
|
-
)"
|
|
53
|
-
;;
|
|
54
|
-
|
|
55
|
-
(*pkg-config*)
|
|
56
|
-
autotools_ver="${autotools_ver}pk$("$@" --version |
|
|
57
|
-
sed -Ene '1{s/^[^\(]+\([^\)]+\) //;p}'
|
|
58
|
-
)"
|
|
59
|
-
;;
|
|
60
|
-
|
|
61
|
-
(*python*)
|
|
62
|
-
echo ::group::passlib
|
|
63
|
-
"$@" -c '
|
|
64
|
-
try:
|
|
65
|
-
import passlib
|
|
66
|
-
import os.path
|
|
67
|
-
print("passlib is " + os.path.dirname(passlib.__file__))
|
|
68
|
-
print("passlib: version " + passlib.__version__)
|
|
69
|
-
except ModuleNotFoundError:
|
|
70
|
-
print("passlib is not installed")
|
|
71
|
-
'
|
|
72
|
-
echo ::endgroup::
|
|
73
|
-
;;
|
|
74
|
-
esac
|
|
75
|
-
done
|
|
76
|
-
|
|
77
|
-
set fnord; shift # clear $@
|
|
78
|
-
echo "autotools-ver=$autotools_ver" >> $GITHUB_OUTPUT
|
|
79
|
-
exit 0
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
#! /bin/sh
|
|
2
|
-
|
|
3
|
-
generate_secure_token() {
|
|
4
|
-
echo head --bytes 64 /dev/urandom | sha512sum --binary | cut --fields 1 --delimiter ' '
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
dump_log () {
|
|
8
|
-
if [ -s "$1" ]; then
|
|
9
|
-
stop_command_token="$(generate_secure_token)"
|
|
10
|
-
echo "::group::$1"
|
|
11
|
-
echo "::stop-commands::$stop_command_token"
|
|
12
|
-
cat "$1"
|
|
13
|
-
echo "::$stop_command_token::"
|
|
14
|
-
echo '::endgroup::'
|
|
15
|
-
unset stop_command_token
|
|
16
|
-
fi
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
dump_log config.log
|
|
20
|
-
find . -name 'test-suite*.log' -printf '%P\n' | while read -r ts; do
|
|
21
|
-
dump_log "$ts"
|
|
22
|
-
done
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
export DEB_BUILD_MAINT_OPTIONS="${DEB_BUILD_MAINT_OPTIONS:-hardening=+all optimize=-lto}"
|
|
4
|
-
|
|
5
|
-
export CPPFLAGS="${CPPFLAGS} $(dpkg-buildflags --get CPPFLAGS)"
|
|
6
|
-
export CFLAGS="${CFLAGS} $(dpkg-buildflags --get CFLAGS)"
|
|
7
|
-
export CXXFLAGS="${CXXFLAGS} $(dpkg-buildflags --get CXXFLAGS)"
|
|
8
|
-
export LDFLAGS="${LDFLAGS} $(dpkg-buildflags --get LDFLAGS)"
|
|
9
|
-
|
|
10
|
-
$PWD/configure "$@"
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
#! /bin/sh
|
|
2
|
-
set -e
|
|
3
|
-
|
|
4
|
-
case "$CC" in
|
|
5
|
-
(*clang*)
|
|
6
|
-
GCOV=$(pwd)/build-aux/ci/clang-gcov-wrapper ;;
|
|
7
|
-
(*)
|
|
8
|
-
GCOV=gcov ;;
|
|
9
|
-
esac
|
|
10
|
-
|
|
11
|
-
unpruned=$(mktemp --tmpdir all-coverage.XXXXXXXXXX.info)
|
|
12
|
-
trap 'rm -f "'"$unpruned"'"' 0
|
|
13
|
-
|
|
14
|
-
set -x
|
|
15
|
-
# Merge all of the gcov output into one overview file using lcov,
|
|
16
|
-
# then prune data for the tests themselves, and for system libraries.
|
|
17
|
-
|
|
18
|
-
lcov --gcov-tool "$GCOV" --rc branch_coverage=1 \
|
|
19
|
-
--directory . --output-file "$unpruned" \
|
|
20
|
-
--capture
|
|
21
|
-
|
|
22
|
-
lcov --gcov-tool "$GCOV" --rc branch_coverage=1 \
|
|
23
|
-
--directory . --output-file "$1" --ignore-errors unused \
|
|
24
|
-
--remove "$unpruned" '/usr/*' '*test*' '*gen-des-tables*'
|