mirror of
https://git.proxmox.com/git/rustc
synced 2026-01-22 21:54:26 +00:00
Update blacklist and whitelist for import
This commit is contained in:
parent
ef69ca0ad8
commit
ed9ea08dfb
3
debian/check-orig-suspicious.sh
vendored
3
debian/check-orig-suspicious.sh
vendored
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
set -e
|
||||
|
||||
ver="$1"
|
||||
test -n "$ver" || exit 2
|
||||
@ -14,6 +14,7 @@ tar xf ../rustc_$ver+dfsg1.orig.tar.xz && cd rustc-${ver/*~*/beta}-src/
|
||||
# Remove tiny files 4 bytes or less
|
||||
find . -size -4c -delete
|
||||
# Remove non-suspicious files, warning on patterns that match nothing
|
||||
echo "Excluding (i.e. removing) whitelisted files..."
|
||||
grep -v '^#' ${SUS_WHITELIST} | xargs -I% sh -c 'rm -r ./% || true'
|
||||
echo "Checking for suspicious files..."
|
||||
|
||||
|
||||
4
debian/copyright
vendored
4
debian/copyright
vendored
@ -19,11 +19,15 @@ Files-Excluded:
|
||||
# NB: don't exclude rust-installer, it's needed for "install" functionality
|
||||
src/tools/cargo
|
||||
src/tools/rls
|
||||
src/tools/rustfmt
|
||||
# Embedded C libraries
|
||||
src/vendor/backtrace-sys*/src/libbacktrace
|
||||
src/vendor/lzma-sys*/xz-*
|
||||
# Embedded binary blobs
|
||||
src/vendor/dbghelp-sys*/*/*.a
|
||||
src/vendor/mdbook/src/theme/jquery.js
|
||||
src/vendor/mdbook/src/theme/store.js
|
||||
src/vendor/mdbook/src/theme/playpen_editor
|
||||
# Non-free-format documents already available in other formats
|
||||
src/doc/book/second-edition/nostarch/odt
|
||||
# unused dependencies:
|
||||
|
||||
15
debian/upstream-tarball-unsuspicious.txt
vendored
15
debian/upstream-tarball-unsuspicious.txt
vendored
@ -10,6 +10,7 @@ src/etc/third-party/README.txt
|
||||
src/libcompiler_builtins/compiler-rt/lib/tsan/go/build.bat
|
||||
src/libcompiler_builtins/compiler-rt/lib/BlocksRuntime/runtime.c
|
||||
src/libbacktrace/configure
|
||||
src/rustc/*/Cargo.toml
|
||||
src/vendor/*/.travis.yml
|
||||
src/vendor/*/CHANGELOG.md
|
||||
src/vendor/*/CONTRIBUTORS.md
|
||||
@ -17,9 +18,13 @@ src/vendor/*/README.md
|
||||
src/vendor/*/LICENSE
|
||||
src/vendor/*/*/LICENSE
|
||||
src/vendor/*/*/*/LICENSE
|
||||
# author likes to omit line breaks in their comments
|
||||
src/vendor/conv/src/*.rs
|
||||
src/vendor/handlebars/src/lib.rs
|
||||
src/vendor/pulldown-cmark/tests/footnotes.rs
|
||||
src/vendor/pulldown-cmark/specs/footnotes.txt
|
||||
src/vendor/pulldown-cmark-*/tests/footnotes.rs
|
||||
src/vendor/pulldown-cmark-*/specs/footnotes.txt
|
||||
src/vendor/stable_deref_trait/src/lib.rs
|
||||
src/vendor/winapi/src/winnt.rs
|
||||
|
||||
@ -27,20 +32,30 @@ src/vendor/winapi/src/winnt.rs
|
||||
src/vendor/dtoa/performance.png
|
||||
src/vendor/itoa/performance.png
|
||||
src/doc/book/second-edition/tools/docx-to-md.xsl
|
||||
src/tools/clippy/.github/deploy_key.enc
|
||||
|
||||
# False-positive, hand-editable small image
|
||||
src/etc/installer/gfx/
|
||||
src/doc/nomicon/src/img/safeandunsafe.svg
|
||||
src/doc/book/second-edition/src/img/*.png
|
||||
src/doc/book/second-edition/src/img/*.svg
|
||||
src/tools/miri/tex/final-presentation/rust-logo-512x512.png
|
||||
src/vendor/mdbook/src/theme/favicon.png
|
||||
src/vendor/pest/pest-logo.svg
|
||||
|
||||
# Example code
|
||||
src/vendor/html5ever/examples/capi/tokenize.c
|
||||
|
||||
# Test data
|
||||
src/rt/hoedown/test/MarkdownTest_1.0.3/Tests/Markdown*.html
|
||||
src/test/compile-fail/not-utf8.bin
|
||||
src/test/*/*.rs
|
||||
src/test/*/*/*.stderr
|
||||
src/tools/*/tests/*/*.stderr
|
||||
src/vendor/cssparser/src/css-parsing-tests/*.json
|
||||
src/vendor/cssparser/src/big-data-url.css
|
||||
src/vendor/flate2/tests/*.gz
|
||||
src/vendor/html5ever/data/bench/*.html
|
||||
src/vendor/regex/src/testdata/basic.dat
|
||||
src/vendor/regex/tests/fowler.rs
|
||||
src/vendor/tar/tests/archives/*.tar
|
||||
|
||||
Loading…
Reference in New Issue
Block a user