This commit is contained in:
2025-08-27 17:10:19 +02:00
parent 67c8d5ea09
commit f54d1dfc4a
628 changed files with 29658 additions and 4 deletions

24
arch/libsnappy/Makefile Normal file
View File

@@ -0,0 +1,24 @@
# Created by: Vanilla I. Shu <vanilla@FreeBSD.org>
# $FreeBSD: head/archivers/snappy/Makefile 457139 2017-12-24 10:48:23Z danfe $
PORTNAME= snappy
PORTVERSION= 1.1.6
CATEGORIES= archivers
PKGNAMEPREFIX= lib
MAINTAINER= vanilla@FreeBSD.org
COMMENT= Fast compressor/decompressor library
USES= autoreconf libtool pathfix pkgconfig
CONFIGURE_ARGS= --disable-gtest
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CFLAGS+= -DNDEBUG
USE_GITHUB= yes
GH_ACCOUNT= google
TEST_TARGET= check
post-install:
${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/libsnappy.so*
.include <bsd.port.mk>

3
arch/libsnappy/distinfo Normal file
View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1501830268
SHA256 (google-snappy-1.1.6_GH0.tar.gz) = 6fa92cde5b2caefd0d9a60336991ba42e5a7ddc3bdc36c5610451373751d0495
SIZE (google-snappy-1.1.6_GH0.tar.gz) = 1128388

8
arch/libsnappy/pkg-descr Normal file
View File

@@ -0,0 +1,8 @@
Snappy is a compression/decompression library. It does not aim for maximum
compression, or compatibility with any other compression library; instead,
it aims for very high speeds and reasonable compression. For instance,
compared to the fastest mode of zlib, Snappy is an order of magnitude faster
for most inputs, but the resulting compressed files are anywhere from 20% to
100% bigger.
WWW: http://google.github.io/snappy/

8
arch/libsnappy/pkg-plist Normal file
View File

@@ -0,0 +1,8 @@
include/snappy-c.h
include/snappy-sinksource.h
include/snappy-stubs-public.h
include/snappy.h
lib/libsnappy.a
lib/libsnappy.so
lib/libsnappy.so.2
lib/pkgconfig/snappy.pc

25
arch/libzip/Makefile Normal file
View File

@@ -0,0 +1,25 @@
# Created by: Alexander Zhuravlev <zaa@zaa.pp.ru>
# $FreeBSD: head/archivers/libzip/Makefile 495897 2019-03-16 15:59:26Z rakuco $
PORTNAME= libzip
PORTVERSION= 1.5.2
CATEGORIES= archivers devel
MASTER_SITES= https://libzip.org/download/
MAINTAINER= rakuco@FreeBSD.org
COMMENT= C library for reading, creating, and modifying ZIP archives
CPE_VENDOR= nih
USES= cmake cpe perl5 ssl tar:xz
USE_LDCONFIG= yes
USE_PERL5= test
TEST_TARGET= test
CMAKE_OFF= ENABLE_COMMONCRYPTO ENABLE_GNUTLS ENABLE_MBEDTLS
post-install:
echo ${GZIP_CMD} ${STAGEDIR}${LOCALBASE}${MAN1_DIR}
.include <bsd.port.mk>

3
arch/libzip/distinfo Normal file
View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1552751578
SHA256 (libzip-1.5.2.tar.xz) = b3de4d4bd49a01e0cab3507fc163f88e1651695b6b9cb25ad174dbe319d4a3b4
SIZE (libzip-1.5.2.tar.xz) = 725724

View File

@@ -0,0 +1,12 @@
Do not set RPATH on FreeBSD either.
--- CMakeLists.txt.orig 2018-06-14 20:07:27 UTC
+++ CMakeLists.txt
@@ -224,7 +224,7 @@ endif(WIN32)
ADD_DEFINITIONS("-DHAVE_CONFIG_H")
# rpath handling: use rpath in installed binaries
-IF(NOT CMAKE_SYSTEM_NAME MATCHES Linux)
+IF(NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD|Linux")
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
ENDIF()

View File

@@ -0,0 +1,11 @@
--- ./lib/CMakeLists.txt~ 2019-03-12 13:44:02.000000000 +0200
+++ ./lib/CMakeLists.txt 2020-08-28 10:09:56.015415000 +0200
@@ -218,7 +218,7 @@
ADD_LIBRARY(zip ${LIBZIP_SOURCES} ${LIBZIP_EXTRA_FILES} ${LIBZIP_OPTIONAL_FILES} ${LIBZIP_OPSYS_FILES})
IF(SHARED_LIB_VERSIONNING)
-SET_TARGET_PROPERTIES(zip PROPERTIES VERSION 5.0 SOVERSION 5)
+SET_TARGET_PROPERTIES(zip PROPERTIES VERSION 5 SOVERSION 5)
ENDIF()

7
arch/libzip/pkg-descr Normal file
View File

@@ -0,0 +1,7 @@
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.
WWW: https://libzip.org/

126
arch/libzip/pkg-plist Normal file
View File

@@ -0,0 +1,126 @@
bin/zipcmp
bin/zipmerge
bin/ziptool
include/zip.h
include/zipconf.h
lib/libzip.so
lib/libzip.so.5
lib/pkgconfig/libzip.pc
man/man1/zipcmp.1.gz
man/man1/zipmerge.1.gz
man/man1/ziptool.1.gz
man/man3/libzip.3.gz
man/man3/zip_add_dir.3.gz
man/man3/zip_add.3.gz
man/man3/zip_close.3.gz
man/man3/zip_delete.3.gz
man/man3/zip_dir_add.3.gz
man/man3/zip_discard.3.gz
man/man3/zip_error_clear.3.gz
man/man3/zip_error_code_system.3.gz
man/man3/zip_error_code_zip.3.gz
man/man3/zip_error_fini.3.gz
man/man3/zip_error_get_sys_type.3.gz
man/man3/zip_error_get.3.gz
man/man3/zip_error_init_with_code.3.gz
man/man3/zip_error_init.3.gz
man/man3/zip_error_set.3.gz
man/man3/zip_error_strerror.3.gz
man/man3/zip_error_system_type.3.gz
man/man3/zip_error_to_data.3.gz
man/man3/zip_error_to_str.3.gz
man/man3/zip_errors.3.gz
man/man3/zip_fclose.3.gz
man/man3/zip_fdopen.3.gz
man/man3/zip_file_add.3.gz
man/man3/zip_file_error_clear.3.gz
man/man3/zip_file_error_get.3.gz
man/man3/zip_file_extra_field_delete_by_id.3.gz
man/man3/zip_file_extra_field_delete.3.gz
man/man3/zip_file_extra_field_get_by_id.3.gz
man/man3/zip_file_extra_field_get.3.gz
man/man3/zip_file_extra_field_set.3.gz
man/man3/zip_file_extra_fields_count_by_id.3.gz
man/man3/zip_file_extra_fields_count.3.gz
man/man3/zip_file_get_comment.3.gz
man/man3/zip_file_get_error.3.gz
man/man3/zip_file_get_external_attributes.3.gz
man/man3/zip_file_rename.3.gz
man/man3/zip_file_replace.3.gz
man/man3/zip_file_set_comment.3.gz
man/man3/zip_file_set_encryption.3.gz
man/man3/zip_file_set_external_attributes.3.gz
man/man3/zip_file_set_mtime.3.gz
man/man3/zip_file_strerror.3.gz
man/man3/zip_fopen_encrypted.3.gz
man/man3/zip_fopen_index_encrypted.3.gz
man/man3/zip_fopen_index.3.gz
man/man3/zip_fopen.3.gz
man/man3/zip_fread.3.gz
man/man3/zip_fseek.3.gz
man/man3/zip_ftell.3.gz
man/man3/zip_get_archive_comment.3.gz
man/man3/zip_get_archive_flag.3.gz
man/man3/zip_get_error.3.gz
man/man3/zip_get_file_comment.3.gz
man/man3/zip_get_name.3.gz
man/man3/zip_get_num_entries.3.gz
man/man3/zip_get_num_files.3.gz
man/man3/zip_libzip_version.3.gz
man/man3/zip_name_locate.3.gz
man/man3/zip_open_from_source.3.gz
man/man3/zip_open.3.gz
man/man3/zip_register_progress_callback_with_state.3.gz
man/man3/zip_register_progress_callback.3.gz
man/man3/zip_rename.3.gz
man/man3/zip_replace.3.gz
man/man3/zip_set_archive_comment.3.gz
man/man3/zip_set_archive_flag.3.gz
man/man3/zip_set_default_password.3.gz
man/man3/zip_set_file_comment.3.gz
man/man3/zip_set_file_compression.3.gz
man/man3/zip_source_begin_write_cloning.3.gz
man/man3/zip_source_begin_write.3.gz
man/man3/zip_source_buffer_create.3.gz
man/man3/zip_source_buffer_fragment_create.3.gz
man/man3/zip_source_buffer_fragment.3.gz
man/man3/zip_source_buffer.3.gz
man/man3/zip_source_close.3.gz
man/man3/zip_source_commit_write.3.gz
man/man3/zip_source_error.3.gz
man/man3/zip_source_file_create.3.gz
man/man3/zip_source_file.3.gz
man/man3/zip_source_filep_create.3.gz
man/man3/zip_source_filep.3.gz
man/man3/zip_source_free.3.gz
man/man3/zip_source_function_create.3.gz
man/man3/zip_source_function.3.gz
man/man3/ZIP_SOURCE_GET_ARGS.3.gz
man/man3/zip_source_is_deleted.3.gz
man/man3/zip_source_keep.3.gz
man/man3/zip_source_make_command_bitmap.3.gz
man/man3/zip_source_open.3.gz
man/man3/zip_source_read.3.gz
man/man3/zip_source_rollback_write.3.gz
man/man3/zip_source_seek_compute_offset.3.gz
man/man3/zip_source_seek_write.3.gz
man/man3/zip_source_seek.3.gz
man/man3/zip_source_stat.3.gz
man/man3/zip_source_tell_write.3.gz
man/man3/zip_source_tell.3.gz
man/man3/zip_source_win32a_create.3.gz
man/man3/zip_source_win32a.3.gz
man/man3/zip_source_win32handle_create.3.gz
man/man3/zip_source_win32handle.3.gz
man/man3/zip_source_win32w_create.3.gz
man/man3/zip_source_win32w.3.gz
man/man3/zip_source_write.3.gz
man/man3/zip_source_zip.3.gz
man/man3/zip_source.3.gz
man/man3/zip_stat_index.3.gz
man/man3/zip_stat_init.3.gz
man/man3/zip_stat.3.gz
man/man3/zip_strerror.3.gz
man/man3/zip_unchange_all.3.gz
man/man3/zip_unchange_archive.3.gz
man/man3/zip_unchange.3.gz