+2007-11-28 Raphael Hertzog <hertzog@debian.org>
+
+ * scripts/dpkg-gensymbols.pl: The environment variable
+ DPKG_GENSYMBOLS_CHECK_LEVEL can override the level of checks made
+ by dpkg-gensymbols. This offers the possibility to unofficial
+ ports to ignore errors due to symbols files that do not correspond.
+
2007-11-28 Raphael Hertzog <hertzog@debian.org>
* scripts/dpkg-shlibdeps.pl: Harmonize a failure message.
a warning instead.
* Expand the dpkg-shlibdeps manual page with explanations concerning
failures.
+ * The environment variable DPKG_GENSYMBOLS_CHECK_LEVEL can be used to force
+ dpkg-gensymbols to use a precise level of checks. Closes: #452022
-- Guillem Jover <guillem@debian.org> Sat, 24 Nov 2007 07:38:13 +0200
disappeared. Level 2 fails if some new symbols have been introduced.
Level 3 fails if some libraries have disappeared. Level 4 fails if some
libraries have been introduced.
+
+This value can be overriden by the environment variable
+DPKG_GENSYMBOLS_CHECK_LEVEL.
.TP
.BI \-d
Enable debug mode. Numerous messages are displayed to explain what
}
}
+if (exists $ENV{DPKG_GENSYMBOLS_CHECK_LEVEL}) {
+ $compare = $ENV{DPKG_GENSYMBOLS_CHECK_LEVEL};
+}
+
if (not defined($sourceversion)) {
parsechangelog($changelogfile);
$sourceversion = $fi{"L Version"};