Dpkg
view release on metacpan or search on metacpan
- scripts/mk: Remove unneeded conditionals.
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
- scripts/mk: Indent code in Makefile fragments.
Thanks to Nicolas Boulenguez <nicolas.boulenguez@free.fr>.
* Build system:
- Terminate lists in variables with «# EOL».
- Move build helper tools into build-aux/.
- Reorganize dpkg programs source code under src/.
- Move autotest suite under src/.
- Move C test suite machinery into lib/dpkg/.
- Fix relocated autotest test suite runner.
- Fix gitignore for build-aux/ directory.
- Namespace Config variable usage.
Reported by ÐÐ°Ð²Ð»Ð¾Ð²ÐµÑ Ð¡ÐµÑгей ÐиколаевиÑ
<s.pavlovets@ivcmf.by>.
- Add gitlab CI test for shared library building.
- Link all programs against libcompat.
Prompted by Jörg Sonnenberger <joerg@NetBSD.org>.
- Remove unused TESTDATA variable from autotest suite.
- Rework TAP check hooking into the autotools machinery.
- Move EXTRA_DIST close to the files it is acting on.
- Dpkg::Compression: Use gzip --rsyncable unconditionally.
- Dpkg::Changelog::Entry::Debian: Fix full month misuse warning.
- Dpkg::Shlibs::Symbol: Emit a warning on fully qualified symver patterns.
Closes: #993991
- Dpkg::Control::HashCore: Add new keep_duplicate option.
- Dpkg::Control::FieldsCore: Add new field_parse_binary_source().
Closes: #980527
- Dpkg::Control::FieldsCore: Fix types allowed for
field_parse_binary_source().
Reported by Johannes Schauer Marin Rodrigues <josch@debian.org>.
- Dpkg::Shlibs::Objdump: Fix apply_relocations to work with versioned
symbols. Closes: #1000421
- Dpkg::Vendor::Ubuntu: Update Maintainer field logic to include
âcanonicalâ. Based on a patch by
William 'jawn-smith' Wilson <william.wilson@canonical.com>.
Closes: #1000557
- Dpkg::Source::Package::V2: Add hint about version matching source tree.
Based on a patch by Samuel Henrique <samueloph@debian.org>.
Closes: #996044
* Documentation:
- man: Itemize dpkg-gensymbols -c levels.
* Blacklist armel-specific symbols in dpkg-gensymbols. Reported by Riku
Voipio. Closes: #457964
* Fix typos in various manpages. Patch from A. Costa. Closes: #458276
* Make dpkg-shlibdeps choose the right symbols files when we have several
debian/*/DEBIAN/symbols for a given soname. Closes: #458860
* Add a -S<pkgbuilddir> option to dpkg-shlibdeps to indicate a package build
tree to scan first when trying to find a needed library.
* Change dpkg-gensymbols to mark symbols that disappeared with #MISSING
instead of #DEPRECATED, it's clearer for people.
* Fix Dpkg::Shlibs::Objdump to properly take into account R_*_COPY
relocations. Closes: #454036
* Explain better the order in which postinst/prerm scripts are called
between a package and its dependencies. Thanks to Nicolas François and
Helge Kreutzmann for their suggestions. Closes: #379641
* Fix Dpkg::BuildOptions so that dpkg-buildpackage doesn't double all
options in DEB_BUILD_OPTIONS when called with the -j parameter.
Closes: #453656
[ Guillem Jover ]
* Move compression related variables to a new Dpkg::Compression module.
* Remove disabled, obsolete and quite incomplete Hebrew translations.
lib/Dpkg/Shlibs/Objdump/Object.pm view on Meta::CPAN
$section = 'verref';
next;
}
if ($section eq 'dynsym') {
$self->parse_dynamic_symbol($_);
} elsif ($section eq 'dynreloc') {
if (/^\S+\s+(\S+)\s+(.+)$/) {
$self->{dynrelocs}{$2} = $1;
} else {
warning(g_('cannot parse dynamic relocation record: %s'), $_);
}
} elsif ($section eq 'dyninfo') {
if (/^\s*NEEDED\s+(\S+)/) {
push @{$self->{NEEDED}}, $1;
} elsif (/^\s*SONAME\s+(\S+)/) {
$self->{SONAME} = $1;
} elsif (/^\s*HASH\s+(\S+)/) {
$self->{HASH} = $1;
} elsif (/^\s*GNU_HASH\s+(\S+)/) {
$self->{GNU_HASH} = $1;
lib/Dpkg/Shlibs/Objdump/Object.pm view on Meta::CPAN
#
# architecture: i386, flags 0x00000112:
# EXEC_P, HAS_SYMS, D_PAGED
# start address 0x08049b50
$_ = <$fh>;
chomp;
$self->{flags}{$_} = 1 foreach (split(/,\s*/));
}
}
}
# Update status of dynamic symbols given the relocations that have
# been parsed after the symbols.
$self->apply_relocations();
return $section ne 'none';
}
# Output format of objdump -w -T
#
# /lib/libc.so.6: file format elf32-i386
#
# DYNAMIC SYMBOL TABLE:
# 00056ef0 g DF .text 000000db GLIBC_2.2 getwchar
lib/Dpkg/Shlibs/Objdump/Object.pm view on Meta::CPAN
} elsif ($line =~ /^[0-9a-f]+ (.{7})\s+(\S+)\s+[0-9a-f]+/) {
# Same start but no version and no symbol ... just ignore.
} elsif ($line =~ /^REG_G\d+\s+/) {
# Ignore some s390-specific output like:
# REG_G6 g R *UND* 0000000000000000 #scratch
} else {
warning(g_('cannot parse dynamic symbol definition: %s'), $line);
}
}
sub apply_relocations {
my $self = shift;
foreach my $sym (values %{$self->{dynsyms}}) {
# We want to mark as undefined symbols those which are currently
# defined but that depend on a copy relocation.
next if not $sym->{defined};
my @relocs;
# When objdump qualifies the symbol with a version it will use @ when
# the symbol is in an undefined section (which we discarded above, or
# @@ otherwise.
push @relocs, $sym->{name} . '@@' . $sym->{version} if $sym->{version};
# Symbols that are not versioned, or versioned but shown with objdump
t/Dpkg_Changelog/shadow view on Meta::CPAN
* Update French debconf translation. closes: #206352
* Update Dutch debconf translation. closes: #212995
* Remove redundant dependency on grep. closes: #216535
* Fix chfn documentation bug. closes: #213931
* Fix su syslogs to be less ambiguous. (old:new instead of old-new
because '-' can appear in usernames.) Not clearer, mind you, but less
ambiguous. closes: #213592
* Rename limits(5) to limits.conf(5) and edit to reflect reality.
closes: #212935
* Move the change_uid call in login back to where it was before -11, and
relocate the fork for pam_close_session above it. closes: #211884
-- Karl Ramm <kcr@debian.org> Sat, 25 Oct 2003 15:26:20 -0400
shadow (1:4.0.3-11) unstable; urgency=low
* update Japanese debconf translation. closes: #210382
* update Brazilian Portuguese debconf translation. closes: #208122
* run pam cleanup code as root. closes: #195048
-- Karl Ramm <kcr@debian.org> Sat, 13 Sep 2003 17:49:29 -0400
t/Dpkg_Changelog/shadow view on Meta::CPAN
* Fixup permissions for chage. closes: #184138
* Force the umask to 022 in passwd.config. closes: #182506
* Add Sam Hartman <hartmans@debian.org> as an uploader.
* Update standards-version.
* Add versioned build-depend on debhelper.
-- Karl Ramm <kcr@debian.org> Sat, 26 Apr 2003 15:34:16 -0400
shadow (1:4.0.3-7) unstable; urgency=low
* When relocating a user's home directory, don't fail and remove the new
home directory if we can't remove the old home directory for some
reason; the results can be spectacularly poor if, for instance, only
the rmdir() fails. closes: #166369
* run dh_installdebconf so base-config will work. *sigh*. closes: #166788
-- Karl Ramm <kcr@debian.org> Sun, 24 Nov 2002 21:40:30 -0500
shadow (1:4.0.3-6) unstable; urgency=low
* remove automake dependency and leave only automake1.5, since it seems
t/Dpkg_Shlibs.t view on Meta::CPAN
$obj = load_objdump_obj('dbd-pg');
ok(! $obj->is_public_library(), 'Pg.so is not a public library');
ok(! $obj->is_executable(), 'Pg.so is not an executable');
$obj = load_objdump_obj('ls');
ok(! $obj->is_public_library(), 'ls is not a public library');
ok($obj->is_executable(), 'ls is an executable');
my $sym = $obj->get_symbol('optarg@GLIBC_2.0');
ok($sym, 'optarg@GLIBC_2.0 exists');
ok(! $sym->{defined}, 'R_*_COPY relocations are taken into account');
# Non-regression test for #506139.
$obj = load_objdump_obj('space');
$sym = $obj->get_symbol('singlespace');
ok($sym, 'version less symbol separated by a single space are correctly parsed');
$obj = load_objdump_obj('libc6-2.6');
ok($obj->is_public_library(), 'libc6 is a public library');
ok($obj->is_executable(), 'libc6 is an executable');
t/Dpkg_Shlibs/spacesyms-c-gen.pl view on Meta::CPAN
#!/usr/bin/perl
#
# spacesyms-c-gen.pl
#
# Output a C file that contains symbols matching the shell glob
# sym{defaultver,longver,shortver}{nospace,SPACE}{default,hidden,protected,internal}
# with symbol visibility matching the final element and at least one relocation
# against each symbol.
#
# When used together with spacesyms-o-map.pl and spacesyms.map, makes a shared
# object that contains symbols that covers all cases of:
#
# 1) has a short, long or Base version,
# 2) has or does not have a space in the symbol name,
# 3) default, hidden, protected or internal visibility.
use v5.36;
( run in 0.540 second using v1.01-cache-2.11-cpan-71847e10f99 )