BSD Ports

archivers/libzip 1.12.1 FreeBSD

C library for reading, creating, and modifying ZIP archives

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
33dafb1516
License
BSD3CLAUSE
Categories
archivers, devel
Package size
252.9 KiB, 458.2 KiB installed

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.

In the other systems

SystemPortVersion
FreeBSDarchivers/libzip1.12.1
OpenBSDarchivers/libzip1.11.4
NetBSDarchivers/libzip1.11.4nb3
DragonFlyarchivers/libzip1.11.2
MidnightBSDarchivers/libzip1.11.4

Install

Binary package:

pkg install libzip

From the ports tree:

cd /usr/ports/archivers/libzip/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libzip>0:archivers/libzip
LIB_DEPENDS=	libzip.so:archivers/libzip

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.11.41.11.41.9.21.11.21.12.1
FreeBSD:14:quarterly1.11.41.12.1n/a1.11.21.12.1
FreeBSD:15:latest1.11.41.12.1n/a1.11.21.11.2
FreeBSD:15:quarterly1.11.41.11.4n/an/an/a
FreeBSD:16:latest1.11.41.12.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 17
Run dependencies 2
Required by 342

The first 100 are listed.

Configuration

No options to configure.

USES
cmake cpe ssl tar:xz
Service scripts
none

Files

Manual pages 137
  • ZIP_SOURCE_GET_ARGS(3)
  • libzip(3)
  • zip(5)
  • zip_add(3)
  • zip_add_dir(3)
  • zip_close(3)
  • zip_compression_method_supported(3)
  • zip_delete(3)
  • zip_dir_add(3)
  • zip_discard(3)
  • zip_encryption_method_supported(3)
  • zip_error(5)
  • zip_error_clear(3)
  • zip_error_code_system(3)
  • zip_error_code_zip(3)
  • zip_error_fini(3)
  • zip_error_get(3)
  • zip_error_get_sys_type(3)
  • zip_error_init(3)
  • zip_error_init_with_code(3)
  • zip_error_set(3)
  • zip_error_set_from_source(3)
  • zip_error_strerror(3)
  • zip_error_system_type(3)
  • zip_error_to_data(3)
  • zip_error_to_str(3)
  • zip_errors(3)
  • zip_fclose(3)
  • zip_fdopen(3)
  • zip_file(5)
  • zip_file_add(3)
  • zip_file_attributes_init(3)
  • zip_file_error_clear(3)
  • zip_file_error_get(3)
  • zip_file_extra_field_delete(3)
  • zip_file_extra_field_delete_by_id(3)
  • zip_file_extra_field_get(3)
  • zip_file_extra_field_get_by_id(3)
  • zip_file_extra_field_set(3)
  • zip_file_extra_fields_count(3)
  • zip_file_extra_fields_count_by_id(3)
  • zip_file_get_comment(3)
  • zip_file_get_error(3)
  • zip_file_get_external_attributes(3)
  • zip_file_is_seekable(3)
  • zip_file_rename(3)
  • zip_file_replace(3)
  • zip_file_set_comment(3)
  • zip_file_set_dostime(3)
  • zip_file_set_encryption(3)
  • zip_file_set_external_attributes(3)
  • zip_file_set_mtime(3)
  • zip_file_strerror(3)
  • zip_fopen(3)
  • zip_fopen_encrypted(3)
  • zip_fopen_index(3)
  • zip_fopen_index_encrypted(3)
  • zip_fread(3)
  • zip_fseek(3)
  • zip_ftell(3)
  • zip_get_archive_comment(3)
  • zip_get_archive_flag(3)
  • zip_get_error(3)
  • zip_get_file_comment(3)
  • zip_get_name(3)
  • zip_get_num_entries(3)
  • zip_get_num_files(3)
  • zip_libzip_version(3)
  • zip_name_locate(3)
  • zip_open(3)
  • zip_open_from_source(3)
  • zip_register_cancel_callback_with_state(3)
  • zip_register_progress_callback(3)
  • zip_register_progress_callback_with_state(3)
  • zip_rename(3)
  • zip_replace(3)
  • zip_set_archive_comment(3)
  • zip_set_archive_flag(3)
  • zip_set_default_password(3)
  • zip_set_file_comment(3)
  • zip_set_file_compression(3)
  • zip_source(5)
  • zip_source_at_eof(3)
  • zip_source_begin_write(3)
  • zip_source_begin_write_cloning(3)
  • zip_source_buffer(3)
  • zip_source_buffer_create(3)
  • zip_source_buffer_fragment(3)
  • zip_source_buffer_fragment_create(3)
  • zip_source_close(3)
  • zip_source_commit_write(3)
  • zip_source_error(3)
  • zip_source_file(3)
  • zip_source_file_create(3)
  • zip_source_filep(3)
  • zip_source_filep_create(3)
  • zip_source_free(3)
  • zip_source_function(3)
  • zip_source_function_create(3)
  • zip_source_is_deleted(3)
  • zip_source_is_seekable(3)
  • zip_source_keep(3)
  • zip_source_layered(3)
  • zip_source_layered_create(3)
  • zip_source_make_command_bitmap(3)
  • zip_source_open(3)
  • zip_source_pass_to_lower_layer(3)
  • zip_source_read(3)
  • zip_source_rollback_write(3)
  • zip_source_seek(3)
  • zip_source_seek_compute_offset(3)
  • zip_source_seek_write(3)
  • zip_source_stat(3)
  • zip_source_tell(3)
  • zip_source_tell_write(3)
  • zip_source_win32a(3)
  • zip_source_win32a_create(3)
  • zip_source_win32handle(3)
  • zip_source_win32handle_create(3)
  • zip_source_win32w(3)
  • zip_source_win32w_create(3)
  • zip_source_window_create(3)
  • zip_source_write(3)
  • zip_source_zip(3)
  • zip_source_zip_create(3)
  • zip_source_zip_file(3)
  • zip_source_zip_file_create(3)
  • zip_stat(3)
  • zip_stat_index(3)
  • zip_stat_init(3)
  • zip_strerror(3)
  • zip_unchange(3)
  • zip_unchange_all(3)
  • zip_unchange_archive(3)
  • zipcmp(1)
  • zipmerge(1)
  • ziptool(1)
pkg-plist 154
  • bin/zipcmp
  • bin/zipmerge
  • bin/ziptool
  • include/zip.h
  • include/zipconf.h
  • lib/cmake/libzip/libzip-bin-targets-.cmake
  • lib/cmake/libzip/libzip-bin-targets.cmake
  • lib/cmake/libzip/libzip-config-version.cmake
  • lib/cmake/libzip/libzip-config.cmake
  • lib/cmake/libzip/libzip-targets-.cmake
  • lib/cmake/libzip/libzip-targets.cmake
  • lib/cmake/libzip/modules/FindNettle.cmake
  • lib/cmake/libzip/modules/Findzstd.cmake
  • lib/libzip.so
  • lib/libzip.so.5
  • lib/libzip.so.5.6
  • libdata/pkgconfig/libzip.pc
  • share/man/man1/zipcmp.1.gz
  • share/man/man1/zipmerge.1.gz
  • share/man/man1/ziptool.1.gz
  • share/man/man3/ZIP_SOURCE_GET_ARGS.3.gz
  • share/man/man3/libzip.3.gz
  • share/man/man3/zip_add.3.gz
  • share/man/man3/zip_add_dir.3.gz
  • share/man/man3/zip_close.3.gz
  • share/man/man3/zip_compression_method_supported.3.gz
  • share/man/man3/zip_delete.3.gz
  • share/man/man3/zip_dir_add.3.gz
  • share/man/man3/zip_discard.3.gz
  • share/man/man3/zip_encryption_method_supported.3.gz
  • share/man/man3/zip_error_clear.3.gz
  • share/man/man3/zip_error_code_system.3.gz
  • share/man/man3/zip_error_code_zip.3.gz
  • share/man/man3/zip_error_fini.3.gz
  • share/man/man3/zip_error_get.3.gz
  • share/man/man3/zip_error_get_sys_type.3.gz
  • share/man/man3/zip_error_init.3.gz
  • share/man/man3/zip_error_init_with_code.3.gz
  • share/man/man3/zip_error_set.3.gz
  • share/man/man3/zip_error_set_from_source.3.gz
  • share/man/man3/zip_error_strerror.3.gz
  • share/man/man3/zip_error_system_type.3.gz
  • share/man/man3/zip_error_to_data.3.gz
  • share/man/man3/zip_error_to_str.3.gz
  • share/man/man3/zip_errors.3.gz
  • share/man/man3/zip_fclose.3.gz
  • share/man/man3/zip_fdopen.3.gz
  • share/man/man3/zip_file_add.3.gz
  • share/man/man3/zip_file_attributes_init.3.gz
  • share/man/man3/zip_file_error_clear.3.gz
  • share/man/man3/zip_file_error_get.3.gz
  • share/man/man3/zip_file_extra_field_delete.3.gz
  • share/man/man3/zip_file_extra_field_delete_by_id.3.gz
  • share/man/man3/zip_file_extra_field_get.3.gz
  • share/man/man3/zip_file_extra_field_get_by_id.3.gz
  • share/man/man3/zip_file_extra_field_set.3.gz
  • share/man/man3/zip_file_extra_fields_count.3.gz
  • share/man/man3/zip_file_extra_fields_count_by_id.3.gz
  • share/man/man3/zip_file_get_comment.3.gz
  • share/man/man3/zip_file_get_error.3.gz
  • share/man/man3/zip_file_get_external_attributes.3.gz
  • share/man/man3/zip_file_is_seekable.3.gz
  • share/man/man3/zip_file_rename.3.gz
  • share/man/man3/zip_file_replace.3.gz
  • share/man/man3/zip_file_set_comment.3.gz
  • share/man/man3/zip_file_set_dostime.3.gz
  • share/man/man3/zip_file_set_encryption.3.gz
  • share/man/man3/zip_file_set_external_attributes.3.gz
  • share/man/man3/zip_file_set_mtime.3.gz
  • share/man/man3/zip_file_strerror.3.gz
  • share/man/man3/zip_fopen.3.gz
  • share/man/man3/zip_fopen_encrypted.3.gz
  • share/man/man3/zip_fopen_index.3.gz
  • share/man/man3/zip_fopen_index_encrypted.3.gz
  • share/man/man3/zip_fread.3.gz
  • share/man/man3/zip_fseek.3.gz
  • share/man/man3/zip_ftell.3.gz
  • share/man/man3/zip_get_archive_comment.3.gz
  • share/man/man3/zip_get_archive_flag.3.gz
  • share/man/man3/zip_get_error.3.gz
  • share/man/man3/zip_get_file_comment.3.gz
  • share/man/man3/zip_get_name.3.gz
  • share/man/man3/zip_get_num_entries.3.gz
  • share/man/man3/zip_get_num_files.3.gz
  • share/man/man3/zip_libzip_version.3.gz
  • share/man/man3/zip_name_locate.3.gz
  • share/man/man3/zip_open.3.gz
  • share/man/man3/zip_open_from_source.3.gz
  • share/man/man3/zip_register_cancel_callback_with_state.3.gz
  • share/man/man3/zip_register_progress_callback.3.gz
  • share/man/man3/zip_register_progress_callback_with_state.3.gz
  • share/man/man3/zip_rename.3.gz
  • share/man/man3/zip_replace.3.gz
  • share/man/man3/zip_set_archive_comment.3.gz
  • share/man/man3/zip_set_archive_flag.3.gz
  • share/man/man3/zip_set_default_password.3.gz
  • share/man/man3/zip_set_file_comment.3.gz
  • share/man/man3/zip_set_file_compression.3.gz
  • share/man/man3/zip_source_at_eof.3.gz
  • share/man/man3/zip_source_begin_write.3.gz

The first 100 are listed.

distinfo 1
FileSizeSHA256
libzip-1.12.1.tar.xz813384c40062022a1963c80573d48f6070792297cecd7c6bffe3aefcac0d8b9bee8913
Master sites 2
  • https://github.com/nih-at/libzip/releases/download/v1.12.1/
  • https://libzip.org/download/

Commit history 1

DateCommitCreditsLog message
33dafb1516 Robert Clausecker archivers/libzip: update to 1.12.1
Mostly bug fixes. Changelog: https://github.com/nih-at/libzip/releases/tag/v1.12 Changelog: https://github.com/nih-at/libzip/releases/tag/v1.12.1 MFH: 2026Q4