debian: override warnings about closing an ITP bug

This commit is contained in:
Travis Cross 2012-05-10 17:24:37 +00:00
parent cc36ff4800
commit adf313d0c3

16
debian/bootstrap.sh vendored
View File

@ -541,6 +541,15 @@ ${p}: possible-gpl-code-linked-with-openssl
EOF
}
print_itp_override () {
local p="$1"
cat <<EOF
# We're not in Debian (yet) so we don't have an ITP bug to close.
${p}: new-package-should-close-itp-bug
EOF
}
print_common_overrides () {
print_long_filename_override "$1"
}
@ -873,10 +882,13 @@ echo "Generating additional lintian overrides..." >&2
grep -e '^Package:' control | while xread l; do
m="${l#*: }"
f=$m.lintian-overrides
if [ ! -s $f ] || ! grep -e 'package-has-long-file-name' $f >/dev/null; then
[ -s $f ] || print_edit_warning >> $f
[ -s $f ] || print_edit_warning >> $f
if ! grep -e 'package-has-long-file-name' $f >/dev/null; then
print_long_filename_override "$m" >> $f
fi
if ! grep -e 'new-package-should-close-itp-bug' $f >/dev/null; then
print_itp_override "$m" >> $f
fi
done
for p in freeswitch libfreeswitch1; do
f=$p.lintian-overrides