libtar-dev - C library for manipulating tar archives (development files)

Property Value
Distribution Debian 10 (Buster)
Repository Debian Main i386
Package filename libtar-dev_1.2.20-7_i386.deb
Package name libtar-dev
Package version 1.2.20
Package release 7
Package architecture i386
Package type deb
Category devel::library libdevel role::devel-lib
License -
Maintainer Magnus Holmgren <>
Download size 42.04 KB
Installed size 117.00 KB
Contains static library, headers, example code and development manpages
for libtar


Package Version Architecture Repository
libtar-dev_1.2.20-7_amd64.deb 1.2.20 amd64 Debian Main
libtar-dev - - -


Name Value
libtar0 = 1.2.20-7


Type URL
Binary Package libtar-dev_1.2.20-7_i386.deb
Source Package libtar

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libtar-dev deb package:
    # sudo apt-get install libtar-dev




2016-10-11 - Magnus Holmgren <>
libtar (1.2.20-7) unstable; urgency=low
* no_strip.patch: make install must not strip binaries; it breaks cross
compilation and is against policy with regard to build options.
* Pass --build and --host to configure as appropriate to enable cross
compilation (Closes: #839883).
* Change Homepage to since
is gone.
2016-08-01 - Magnus Holmgren <>
libtar (1.2.20-6) unstable; urgency=low
* Drop libtar/Makefile from examples, since it makes the build
unreproducible (saves $SHELL) and isn't enough to compile libtar.c
* Bump Standards-Version to 3.9.8.
2016-03-25 - Magnus Holmgren <>
libtar (1.2.20-5) unstable; urgency=low
* oldgnu_prefix.patch: Detect old-style GNU headers correctly (Closes:
#763119). Those appear in incremental archives and use the bytes that
the new-style headers use for the prefix field for other fields.
Thanks to Steinar H. Gunderson.
* testsuite.patch: Add a simple test (Closes: #737258).
* Bump Standards-Version to 3.9.7.
2014-05-03 - Magnus Holmgren <>
libtar (1.2.20-4) unstable; urgency=high
* no_maxpathlen.patch: Half of the part of the patch modifying
compat/dirname.c was missing, causing libtar's dirname to always
return NULL (except in special circumstances). Actually make it work
(Closes: #745352). (The reason that libtar doesn't use libc's
dirname() and basename() on some or most platforms is that the code
doesn't work with destructive versions of these functions).
2014-02-15 - Magnus Holmgren <>
libtar (1.2.20-3) unstable; urgency=low
* no_maxpathlen.patch: Fix two grave bugs in the patch. First,
th_get_pathname would only allocate as much memory as was needed for
the first filename encountered, causing heap corruption when/if
encountering longer filenames later. Second, two variables were mixed
up in tar_append_tree(). Also, fix a potential memory leak and trim
the patch a bit.
* [SECURITY] CVE-2013-4420.patch: When the prefix field is in use, the
safer_name_suffix() function should certainly be applied to the
combination of it and the name field, not just on the name field.
* th_get_size-unsigned-int.patch: Make the th_get_size() macro cast the
result from oct_to_int() to unsigned int. This is the right fix for
bug #725938 on 64-bit systems, where a specially crafted tar file
would not cause an integer overflow, but a memory allocation of almost
16 exbibytes, which would certainly fail outright without harm.
2014-02-15 - Magnus Holmgren <>
libtar (1.2.20-2) unstable; urgency=low
* no_static_buffers.patch: avoid using a static buffer in
th_get_pathname(). Taken from upstream. Needed for no_maxpathlen.patch.
* no_maxpathlen.patch: Fix FTBFS on Hurd by dynamically allocating path
names (Closes: #657116). Thanks to Svante Signell and Petter
* [SECURITY] CVE-2013-4420.patch: Strip out leading slashes and any
pathname prefix containing ".." components (Closes: #731860). This is
done in th_get_pathname() (as well as to symlink targets when
extracting symlinks), not merely when extracting files, which means
applications calling that function will not see the stored
filename. There is no way to disable this behaviour, but it can be
expected that one will be provided when the issue is solved upstream.
* Bump Standards-Version to 3.9.5.
2013-10-10 - Magnus Holmgren <>
libtar (1.2.20-1) unstable; urgency=high
* [SECURITY] New upstream release. Fixes CVE-2013-4397: Integer
overflow (Closes: #725938).
* Bump Standards-Version to 3.9.4.
2013-05-05 - Magnus Holmgren <>
libtar (1.2.19-1) unstable; urgency=low
* New upstream release.

See Also

Package Description
libtar0_1.2.20-7_i386.deb C library for manipulating tar archives
libtask-kensho-all-perl_0.40-2_all.deb provides all Task::Kensho tasks (metapackage)
libtask-kensho-async-perl_0.40-2_all.deb provides modules recommended for Task::Kensho::Async
libtask-kensho-cli-perl_0.40-2_all.deb provides modules recommended for Task::Kensho::CLI
libtask-kensho-config-perl_0.40-2_all.deb provides modules recommended for Task::Kensho::Config
libtask-kensho-dates-perl_0.40-2_all.deb provides modules recommended for Task::Kensho::Dates
libtask-kensho-dbdev-perl_0.40-2_all.deb provides modules recommended for Task::Kensho::DBDev
libtask-kensho-email-perl_0.40-2_all.deb provides modules recommended for Task::Kensho::Email
libtask-kensho-excelcsv-perl_0.40-2_all.deb provides modules recommended for Task::Kensho::ExcelCSV
libtask-kensho-exceptions-perl_0.40-2_all.deb provides modules recommended for Task::Kensho::Exceptions
libtask-kensho-hackery-perl_0.40-2_all.deb provides modules recommended for Task::Kensho::Hackery
libtask-kensho-logging-perl_0.40-2_all.deb provides modules recommended for Task::Kensho::Logging
libtask-kensho-moduledev-perl_0.40-2_all.deb provides modules recommended for Task::Kensho::ModuleDev
libtask-kensho-oop-perl_0.40-2_all.deb provides modules recommended for Task::Kensho::OOP
libtask-kensho-perl_0.40-2_all.deb recommended modules for Enlightened Perl development