debian: ignore final possible-gpl-code-linked-with-openssl warning

This commit is contained in:
Travis Cross 2012-05-07 16:16:58 +00:00
parent 258ad092ac
commit e2c850b797
1 changed files with 20 additions and 7 deletions

27
debian/bootstrap.sh vendored
View File

@ -487,27 +487,36 @@ print_mod_install () {
EOF
}
print_common_overrides () {
m="$1"
print_long_filename_override () {
local p="$1"
cat <<EOF
# The long file names are caused by appending the nightly information.
# Since one of these packages will never end up on a Debian CD, the
# related problems with long file names will never come up here.
${m}: package-has-long-file-name *
${p}: package-has-long-file-name *
EOF
}
print_mod_overrides () {
print_common_overrides "$1"
print_gpl_openssl_override () {
local p="$1"
cat <<EOF
# We're definitely not doing this. Nothing in FreeSWITCH has a more
# restrictive license than LGPL or MPL.
${m}: possible-gpl-code-linked-with-openssl
${p}: possible-gpl-code-linked-with-openssl
EOF
}
print_common_overrides () {
print_long_filename_override "$1"
}
print_mod_overrides () {
print_common_overrides "$1"
print_gpl_openssl_override "$1"
}
print_conf_overrides () {
print_common_overrides "$1"
}
@ -809,8 +818,12 @@ 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
(print_edit_warning; print_common_overrides "$m") >> $f
[ -s $f ] || print_edit_warning >> $f
print_long_filename_override "$m" >> $f
fi
done
f=freeswitch.lintian-overrides
[ -s $f ] || print_edit_warning >> $f
print_gpl_openssl_override "freeswitch" >> $f
touch .stamp-bootstrap