notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details on branch 2025Q4
libarchive Library to create and read several streaming archive formats
3.8.1,1 archivers on this many watch lists=35 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.8.1,1Version of this port present on the latest quarterly branch.
Maintainer: glewis@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2004-03-24 17:34:03
Last Update: 2025-07-23 09:10:28
Commit Hash: e3928d4
People watching this port, also watch:: libxml2, freetype2, expat, libiconv, gmake
License: BSD2CLAUSE
WWW:
https://libarchive.org/
Description:
Libarchive is a programming library that can create and read several different streaming archive formats, including most popular tar variants and the POSIX cpio format.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (62 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libarchive-3.8.1,1/catalog.mk
  3. /usr/local/share/licenses/libarchive-3.8.1,1/LICENSE
  4. /usr/local/share/licenses/libarchive-3.8.1,1/BSD2CLAUSE
  5. bin/bsdcat
  6. bin/bsdcpio
  7. bin/bsdtar
  8. bin/bsdunzip
  9. include/archive.h
  10. include/archive_entry.h
  11. lib/libarchive.so
  12. lib/libarchive.so.13
  13. lib/libarchive.so.13.8.1
  14. libdata/pkgconfig/libarchive.pc
  15. share/man/man1/bsdcat.1.gz
  16. share/man/man1/bsdcpio.1.gz
  17. share/man/man1/bsdtar.1.gz
  18. share/man/man1/bsdunzip.1.gz
  19. share/man/man3/archive_entry.3.gz
  20. share/man/man3/archive_entry_acl.3.gz
  21. share/man/man3/archive_entry_linkify.3.gz
  22. share/man/man3/archive_entry_misc.3.gz
  23. share/man/man3/archive_entry_paths.3.gz
  24. share/man/man3/archive_entry_perms.3.gz
  25. share/man/man3/archive_entry_stat.3.gz
  26. share/man/man3/archive_entry_time.3.gz
  27. share/man/man3/archive_read.3.gz
  28. share/man/man3/archive_read_add_passphrase.3.gz
  29. share/man/man3/archive_read_data.3.gz
  30. share/man/man3/archive_read_disk.3.gz
  31. share/man/man3/archive_read_extract.3.gz
  32. share/man/man3/archive_read_filter.3.gz
  33. share/man/man3/archive_read_format.3.gz
  34. share/man/man3/archive_read_free.3.gz
  35. share/man/man3/archive_read_header.3.gz
  36. share/man/man3/archive_read_new.3.gz
  37. share/man/man3/archive_read_open.3.gz
  38. share/man/man3/archive_read_set_options.3.gz
  39. share/man/man3/archive_util.3.gz
  40. share/man/man3/archive_write.3.gz
  41. share/man/man3/archive_write_blocksize.3.gz
  42. share/man/man3/archive_write_data.3.gz
  43. share/man/man3/archive_write_disk.3.gz
  44. share/man/man3/archive_write_filter.3.gz
  45. share/man/man3/archive_write_finish_entry.3.gz
  46. share/man/man3/archive_write_format.3.gz
  47. share/man/man3/archive_write_free.3.gz
  48. share/man/man3/archive_write_header.3.gz
  49. share/man/man3/archive_write_new.3.gz
  50. share/man/man3/archive_write_open.3.gz
  51. share/man/man3/archive_write_set_options.3.gz
  52. share/man/man3/archive_write_set_passphrase.3.gz
  53. share/man/man3/libarchive.3.gz
  54. share/man/man3/libarchive_changes.3.gz
  55. share/man/man3/libarchive_internals.3.gz
  56. share/man/man5/cpio.5.gz
  57. share/man/man5/libarchive-formats.5.gz
  58. share/man/man5/mtree.5.gz
  59. share/man/man5/tar.5.gz
  60. @owner
  61. @group
  62. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • libarchive>0:archivers/libarchive
To install the port:
cd /usr/ports/archivers/libarchive/ && make install clean
To add the package, run one of these commands:
  • pkg install archivers/libarchive
  • pkg install libarchive
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libarchive
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1748823520 SHA256 (libarchive-3.8.1.tar.xz) = 19f917d42d530f98815ac824d90c7eaf648e9d9a50e4f309c812457ffa5496b5 SIZE (libarchive-3.8.1.tar.xz) = 5950428

Packages (timestamps in pop-ups are UTC):
libarchive
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.8.1,13.8.1,13.4.3_1,13.8.1,13.8.1,1-3.4.3_1,1-
FreeBSD:13:quarterly3.8.1,13.8.1,13.6.2,13.8.1,13.8.1,13.7.2,13.7.2,13.7.2,1
FreeBSD:14:latest3.8.1,13.8.1,13.6.2,13.8.1,13.8.1,13.6.2,1-3.6.2,1
FreeBSD:14:quarterly3.8.1,13.8.1,1-3.8.1,13.8.1,13.7.2,13.7.2,13.7.2,1
FreeBSD:15:latest3.8.1,13.8.1,1n/a3.8.1,1n/a3.7.2_1,13.7.2_1,13.7.2_1,1
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest-3.8.1,1n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies:
  1. libexpat.so : textproc/expat2
  2. liblz4.so : archivers/liblz4
  3. libzstd.so : archivers/zstd
This port is required by:
for Build
  1. archivers/py-extractcode
  2. graphics/vips
  3. net/samba416
  4. net/samba419
  5. net/samba420
  6. science/v_sim

Deleted ports which required this port:

Expand this list of 12 deleted ports
  1. net/samba4-devel*
  2. net/samba410*
  3. net/samba411*
  4. net/samba412*
  5. net/samba413*
  6. net/samba42*
  7. net/samba43*
  8. net/samba44*
  9. net/samba45*
  10. net/samba46*
  11. net/samba47*
  12. net/samba48*
  13. Collapse this list of deleted ports.
for Libraries
  1. archivers/ark
  2. archivers/file-roller
  3. archivers/gnome-autoar
  4. archivers/pixz
  5. archivers/rpm4
  6. archivers/rubygem-libarchive
  7. archivers/unmakeself
Expand this list (101 items / 94 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. astro/opencpn
  3. audio/ardour
  4. audio/cardinal
  5. audio/fooyin
  6. audio/guitarix-lv2
  7. audio/hydrogen
  8. cad/horizon-eda
  9. deskutils/pinot
  10. devel/appstream-glib
  11. devel/cmake-gui
  12. devel/libtifiles2
  13. devel/qtcreator
  14. devel/zeal
  15. emulators/cemu
  16. emulators/fceux
  17. emulators/nemu
  18. emulators/nestopia
  19. emulators/qmc2
  20. filesystems/archivemount
  21. filesystems/gvfs
  22. filesystems/hfsfuse
  23. games/lordsawar
  24. games/meandmyshadow
  25. games/melonds
  26. graphics/akira
  27. graphics/atril
  28. graphics/atril-lite
  29. graphics/evince
  30. graphics/filmulator
  31. graphics/geeqie
  32. graphics/gimp3-app
  33. graphics/glaxnimate
  34. graphics/libgxps
  35. graphics/libresprite
  36. graphics/minder
  37. graphics/photoqt
  38. graphics/pqiv
  39. graphics/tesseract
  40. graphics/vips
  41. graphics/zathura-cb
  42. irc/epic5
  43. lang/swipl
  44. mail/claws-mail-archive
  45. mail/evolution
  46. misc/far2l
  47. multimedia/lms
  48. multimedia/mlt7-glaxnimate
  49. multimedia/mpv
  50. multimedia/qmmp-qt5
  51. multimedia/qmmp-qt6
  52. multimedia/totem-pl-parser
  53. multimedia/vlc
  54. net/grilo-plugins
  55. net-mgmt/seafile-client
  56. net-mgmt/seafile-server
  57. ports-mgmt/appstream-generator
  58. science/avogadro2
  59. science/avogadrolibs
  60. sysutils/ftwin
  61. sysutils/fwup
  62. sysutils/nix
  63. sysutils/osinfo-db-tools
  64. sysutils/pacman
  65. sysutils/rdup
  66. textproc/libgepub
  67. www/epiphany
  68. www/midori
  69. x11/albert
  70. x11/gnome-pie
  71. x11-fonts/font-manager
  72. Collapse this list.

Deleted ports which required this port:

Expand this list of 24 deleted ports
  1. archivers/ark-devel*
  2. archivers/ark-kde4*
  3. audio/ardour5*
  4. audio/ardour6*
  5. audio/nuvolaplayer*
  6. databases/glom*
  7. deskutils/gnome-epub-thumbnailer*
  8. deskutils/osmo*
  9. devel/gvfs*
  10. emulators/pcsxr*
  11. graphics/evince-lite*
  12. lang/swi-pl*
  13. lang/yap-devel*
  14. mail/claws-mail-archiver*
  15. multimedia/kodi-addon-vfs.libarchive-devel*
  16. multimedia/mpv034*
  17. multimedia/qmmp*
  18. net-mgmt/seafile*
  19. polish/kadu*
  20. sysutils/apache-mesos*
  21. sysutils/archivemount*
  22. sysutils/osquery*
  23. textproc/libextractor*
  24. www/mod_musicindex*
  25. Collapse this list of deleted ports.
for Run
  1. archivers/py-extractcode
  2. net/samba416
  3. net/samba419
  4. net/samba420
  5. science/v_sim

Deleted ports which required this port:

Expand this list of 13 deleted ports
  1. net/samba4-devel*
  2. net/samba410*
  3. net/samba411*
  4. net/samba412*
  5. net/samba413*
  6. net/samba42*
  7. net/samba43*
  8. net/samba44*
  9. net/samba45*
  10. net/samba46*
  11. net/samba47*
  12. net/samba48*
  13. textproc/scancode-toolkit*
  14. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for libarchive-3.8.1,1: LZ4=on: LZ4 compression support LZO=off: LZO compression support ZSTD=on: Zstandard compression support ====> Crypto and hashing support: you can only select none or one of them OPENSSL=on: SSL/TLS support via OpenSSL MBEDTLS=off: SSL/TLS support via mbed TLS NETTLE=off: Crypto support via Nettle ===> Use 'make config' to modify these settings
Options name:
archivers_libarchive
USES:
cpe iconv libtool localbase:ldflags pkgconfig tar:xz ssl
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://github.com/libarchive/libarchive/releases/download/v3.8.1/
  2. https://libarchive.org/downloads/
Collapse this list.

There are no commits on branch 2025Q4 for this port