Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details on branch 2025Q3
libzip C library for reading, creating, and modifying ZIP archives
1.12.1 archivers Σ=30 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 1.12.1Version of this port present on the latest quarterly branch.
Maintainer: fuz@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2006-03-21 16:33:01
Last Update: 2026-10-16 19:03:13
Commit Hash: 33dafb1
People watching this port, also watch: libxml2, png, libiconv, expat, freetype2
Also Listed In: devel
License: BSD3CLAUSE
WWW:
https://libzip.org/
Description: #
libzip is a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without closing the archive can be reverted. The API is documented by man pages.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
Expand this list (137 items)
pkg-plist: as obtained via: make generate-plist #
Expand this list (161 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libzip-1.12.1/catalog.mk
  3. /usr/local/share/licenses/libzip-1.12.1/LICENSE
  4. /usr/local/share/licenses/libzip-1.12.1/BSD3CLAUSE
  5. bin/zipcmp
  6. bin/zipmerge
  7. bin/ziptool
  8. include/zip.h
  9. include/zipconf.h
  10. lib/cmake/libzip/libzip-bin-targets-release.cmake
  11. lib/cmake/libzip/libzip-bin-targets.cmake
  12. lib/cmake/libzip/libzip-config-version.cmake
  13. lib/cmake/libzip/libzip-config.cmake
  14. lib/cmake/libzip/libzip-targets-release.cmake
  15. lib/cmake/libzip/libzip-targets.cmake
  16. lib/cmake/libzip/modules/FindNettle.cmake
  17. lib/cmake/libzip/modules/Findzstd.cmake
  18. lib/libzip.so
  19. lib/libzip.so.5
  20. lib/libzip.so.5.6
  21. libdata/pkgconfig/libzip.pc
  22. share/man/man1/zipcmp.1.gz
  23. share/man/man1/zipmerge.1.gz
  24. share/man/man1/ziptool.1.gz
  25. share/man/man3/ZIP_SOURCE_GET_ARGS.3.gz
  26. share/man/man3/libzip.3.gz
  27. share/man/man3/zip_add.3.gz
  28. share/man/man3/zip_add_dir.3.gz
  29. share/man/man3/zip_close.3.gz
  30. share/man/man3/zip_compression_method_supported.3.gz
  31. share/man/man3/zip_delete.3.gz
  32. share/man/man3/zip_dir_add.3.gz
  33. share/man/man3/zip_discard.3.gz
  34. share/man/man3/zip_encryption_method_supported.3.gz
  35. share/man/man3/zip_error_clear.3.gz
  36. share/man/man3/zip_error_code_system.3.gz
  37. share/man/man3/zip_error_code_zip.3.gz
  38. share/man/man3/zip_error_fini.3.gz
  39. share/man/man3/zip_error_get.3.gz
  40. share/man/man3/zip_error_get_sys_type.3.gz
  41. share/man/man3/zip_error_init.3.gz
  42. share/man/man3/zip_error_init_with_code.3.gz
  43. share/man/man3/zip_error_set.3.gz
  44. share/man/man3/zip_error_set_from_source.3.gz
  45. share/man/man3/zip_error_strerror.3.gz
  46. share/man/man3/zip_error_system_type.3.gz
  47. share/man/man3/zip_error_to_data.3.gz
  48. share/man/man3/zip_error_to_str.3.gz
  49. share/man/man3/zip_errors.3.gz
  50. share/man/man3/zip_fclose.3.gz
  51. share/man/man3/zip_fdopen.3.gz
  52. share/man/man3/zip_file_add.3.gz
  53. share/man/man3/zip_file_attributes_init.3.gz
  54. share/man/man3/zip_file_error_clear.3.gz
  55. share/man/man3/zip_file_error_get.3.gz
  56. share/man/man3/zip_file_extra_field_delete.3.gz
  57. share/man/man3/zip_file_extra_field_delete_by_id.3.gz
  58. share/man/man3/zip_file_extra_field_get.3.gz
  59. share/man/man3/zip_file_extra_field_get_by_id.3.gz
  60. share/man/man3/zip_file_extra_field_set.3.gz
  61. share/man/man3/zip_file_extra_fields_count.3.gz
  62. share/man/man3/zip_file_extra_fields_count_by_id.3.gz
  63. share/man/man3/zip_file_get_comment.3.gz
  64. share/man/man3/zip_file_get_error.3.gz
  65. share/man/man3/zip_file_get_external_attributes.3.gz
  66. share/man/man3/zip_file_is_seekable.3.gz
  67. share/man/man3/zip_file_rename.3.gz
  68. share/man/man3/zip_file_replace.3.gz
  69. share/man/man3/zip_file_set_comment.3.gz
  70. share/man/man3/zip_file_set_dostime.3.gz
  71. share/man/man3/zip_file_set_encryption.3.gz
  72. share/man/man3/zip_file_set_external_attributes.3.gz
  73. share/man/man3/zip_file_set_mtime.3.gz
  74. share/man/man3/zip_file_strerror.3.gz
  75. share/man/man3/zip_fopen.3.gz
  76. share/man/man3/zip_fopen_encrypted.3.gz
  77. share/man/man3/zip_fopen_index.3.gz
  78. share/man/man3/zip_fopen_index_encrypted.3.gz
  79. share/man/man3/zip_fread.3.gz
  80. share/man/man3/zip_fseek.3.gz
  81. share/man/man3/zip_ftell.3.gz
  82. share/man/man3/zip_get_archive_comment.3.gz
  83. share/man/man3/zip_get_archive_flag.3.gz
  84. share/man/man3/zip_get_error.3.gz
  85. share/man/man3/zip_get_file_comment.3.gz
  86. share/man/man3/zip_get_name.3.gz
  87. share/man/man3/zip_get_num_entries.3.gz
  88. share/man/man3/zip_get_num_files.3.gz
  89. share/man/man3/zip_libzip_version.3.gz
  90. share/man/man3/zip_name_locate.3.gz
  91. share/man/man3/zip_open.3.gz
  92. share/man/man3/zip_open_from_source.3.gz
  93. share/man/man3/zip_register_cancel_callback_with_state.3.gz
  94. share/man/man3/zip_register_progress_callback.3.gz
  95. share/man/man3/zip_register_progress_callback_with_state.3.gz
  96. share/man/man3/zip_rename.3.gz
  97. share/man/man3/zip_replace.3.gz
  98. share/man/man3/zip_set_archive_comment.3.gz
  99. share/man/man3/zip_set_archive_flag.3.gz
  100. share/man/man3/zip_set_default_password.3.gz
  101. share/man/man3/zip_set_file_comment.3.gz
  102. share/man/man3/zip_set_file_compression.3.gz
  103. share/man/man3/zip_source_at_eof.3.gz
  104. share/man/man3/zip_source_begin_write.3.gz
  105. share/man/man3/zip_source_begin_write_cloning.3.gz
  106. share/man/man3/zip_source_buffer.3.gz
  107. share/man/man3/zip_source_buffer_create.3.gz
  108. share/man/man3/zip_source_buffer_fragment.3.gz
  109. share/man/man3/zip_source_buffer_fragment_create.3.gz
  110. share/man/man3/zip_source_close.3.gz
  111. share/man/man3/zip_source_commit_write.3.gz
  112. share/man/man3/zip_source_error.3.gz
  113. share/man/man3/zip_source_file.3.gz
  114. share/man/man3/zip_source_file_create.3.gz
  115. share/man/man3/zip_source_filep.3.gz
  116. share/man/man3/zip_source_filep_create.3.gz
  117. share/man/man3/zip_source_free.3.gz
  118. share/man/man3/zip_source_function.3.gz
  119. share/man/man3/zip_source_function_create.3.gz
  120. share/man/man3/zip_source_is_deleted.3.gz
  121. share/man/man3/zip_source_is_seekable.3.gz
  122. share/man/man3/zip_source_keep.3.gz
  123. share/man/man3/zip_source_layered.3.gz
  124. share/man/man3/zip_source_layered_create.3.gz
  125. share/man/man3/zip_source_make_command_bitmap.3.gz
  126. share/man/man3/zip_source_open.3.gz
  127. share/man/man3/zip_source_pass_to_lower_layer.3.gz
  128. share/man/man3/zip_source_read.3.gz
  129. share/man/man3/zip_source_rollback_write.3.gz
  130. share/man/man3/zip_source_seek.3.gz
  131. share/man/man3/zip_source_seek_compute_offset.3.gz
  132. share/man/man3/zip_source_seek_write.3.gz
  133. share/man/man3/zip_source_stat.3.gz
  134. share/man/man3/zip_source_tell.3.gz
  135. share/man/man3/zip_source_tell_write.3.gz
  136. share/man/man3/zip_source_win32a.3.gz
  137. share/man/man3/zip_source_win32a_create.3.gz
  138. share/man/man3/zip_source_win32handle.3.gz
  139. share/man/man3/zip_source_win32handle_create.3.gz
  140. share/man/man3/zip_source_win32w.3.gz
  141. share/man/man3/zip_source_win32w_create.3.gz
  142. share/man/man3/zip_source_window_create.3.gz
  143. share/man/man3/zip_source_write.3.gz
  144. share/man/man3/zip_source_zip.3.gz
  145. share/man/man3/zip_source_zip_create.3.gz
  146. share/man/man3/zip_source_zip_file.3.gz
  147. share/man/man3/zip_source_zip_file_create.3.gz
  148. share/man/man3/zip_stat.3.gz
  149. share/man/man3/zip_stat_index.3.gz
  150. share/man/man3/zip_stat_init.3.gz
  151. share/man/man3/zip_strerror.3.gz
  152. share/man/man3/zip_unchange.3.gz
  153. share/man/man3/zip_unchange_all.3.gz
  154. share/man/man3/zip_unchange_archive.3.gz
  155. share/man/man5/zip.5.gz
  156. share/man/man5/zip_error.5.gz
  157. share/man/man5/zip_file.5.gz
  158. share/man/man5/zip_source.5.gz
  159. @owner
  160. @group
  161. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • For RUN/BUILD depends:
    • libzip>0:archivers/libzip
  • For LIB depends:
    • libzip.so:archivers/libzip
To install the port: #
cd /usr/ports/archivers/libzip/ && make install clean
To add the package, run one of these commands:
  • pkg install archivers/libzip
  • pkg install libzip
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libzip
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1792102370 SHA256 (libzip-1.12.1.tar.xz) = c40062022a1963c80573d48f6070792297cecd7c6bffe3aefcac0d8b9bee8913 SIZE (libzip-1.12.1.tar.xz) = 813384

Packages (timestamps in pop-ups are UTC): #
libzip
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest1.12.11.12.11.9.21.11.21.12.1
FreeBSD:14:quarterly1.12.11.12.1-1.11.21.12.1
FreeBSD:15:latest1.12.11.12.1n/a1.11.2n/a
FreeBSD:15:quarterly1.12.11.12.1n/a-n/a
FreeBSD:16:latest1.11.41.12.1n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
Library dependencies: #
  1. libzstd.so : archivers/zstd
This port is required by: #
for Build #
  1. filesystems/zip
  2. multimedia/tenacity

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. sysutils/fusefs-zip*
  2. Collapse this list of deleted ports.
for Libraries #
  1. archivers/ark
  2. archivers/libzippp
  3. archivers/php82-zip
  4. archivers/php83-zip
  5. archivers/php84-zip
  6. archivers/php85-zip
  7. archivers/php86-zip
Expand this list (71 items / 64 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. astro/viking
  3. audio/d11amp
  4. audio/deadbeef
  5. cad/lib3mf
  6. cad/openscad
  7. cad/openscad-devel
  8. cad/repsnapper
  9. deskutils/subsurface
  10. deskutils/uchmviewer
  11. devel/libsigrok
  12. devel/radare2
  13. emulators/flycast
  14. emulators/libretro-ppsspp
  15. emulators/ppsspp
  16. filesystems/zip
  17. games/doomlegacy
  18. games/freedink-engine
  19. games/naev
  20. games/openrct2
  21. games/warzone2100
  22. graphics/ImageMagick7
  23. graphics/drawpile
  24. graphics/okular
  25. graphics/openfx-arena
  26. graphics/pstoedit
  27. graphics/qgis
  28. graphics/qgis-ltr
  29. graphics/tulip
  30. graphics/xournalpp
  31. lang/php80-legacy
  32. lang/rizin
  33. math/sc-im
  34. misc/ignition-fuel-tools
  35. multimedia/mythtv
  36. net/deviceatlas-enterprise-c
  37. print/simple-fb2-reader
  38. security/fcrackzip
  39. textproc/ebook-tools
  40. www/sogo
  41. x11/hyprcursor
  42. x11-fm/librfm
  43. Collapse this list.

Deleted ports which required this port:

Expand this list of 23 deleted ports
  1. archivers/ark-devel*
  2. archivers/php56-zip*
  3. archivers/php70-zip*
  4. archivers/php71-zip*
  5. archivers/php72-zip*
  6. archivers/php73-zip*
  7. archivers/php74-zip*
  8. archivers/php80-zip*
  9. archivers/php81-zip*
  10. comms/libconcord*
  11. databases/mysql-workbench51*
  12. databases/mysql-workbench52*
  13. deskutils/kchmviewer*
  14. deskutils/kchmviewer-kde4*
  15. emulators/ppsspp-devel*
  16. emulators/ppsspp-qt4*
  17. emulators/ppsspp-qt5*
  18. emulators/ppsspp-qt5-devel*
  19. graphics/ImageMagick7-nox11*
  20. graphics/okular-devel*
  21. multimedia/mythtv-frontend*
  22. sysutils/fusefs-zip*
  23. www/sogo-activesync*
  24. 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: #
No options to configure
Options name: #
archivers_libzip
USES: #
cmake cpe ssl tar:xz
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (2 items)
Collapse this list.
  1. https://github.com/nih-at/libzip/releases/download/v1.12.1/
  2. https://libzip.org/download/
Collapse this list.

There are no commits on branch 2025Q3 for this port