# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= libarchive VERSION= 3.7.5 KEYWORDS= archivers VARIANTS= std static extended ravensw SDESC[std]= Library to handle many streaming archive formats SDESC[extended]= Extended libarchive with lzo and lz4 capability SDESC[static]= Static build of libarchive SDESC[ravensw]= Zstd-only libarchive for ravensw HOMEPAGE= http://libarchive.org/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= http://libarchive.org/downloads/ https://www.libarchive.de/downloads/ DISTFILE[1]= libarchive-3.7.5.tar.gz:main DF_INDEX= 1 SPKGS[std]= set primary tools dev man SPKGS[extended]= set primary tools dev man SPKGS[static]= set primary dev man SPKGS[ravensw]= dev OPTIONS_AVAILABLE= NOT_STD STATIC EXTENDED RAVENSW OPTIONS_STANDARD= none VOPTS[extended]= NOT_STD=ON STATIC=OFF EXTENDED=ON RAVENSW=OFF VOPTS[static]= NOT_STD=ON STATIC=ON EXTENDED=OFF RAVENSW=OFF VOPTS[ravensw]= NOT_STD=ON STATIC=OFF EXTENDED=OFF RAVENSW=ON EXRUN[tools]= primary USES= cpe libtool mbsdfix LICENSE= BSD2CLAUSE:primary BSD3CLAUSE:primary PUBDOM:primary LICENSE_FILE= BSD2CLAUSE:{{WRKSRC}}/COPYING BSD3CLAUSE:{{WRKSRC}}/COPYING PUBDOM:{{WRKSRC}}/COPYING LICENSE_SCHEME= multi FPC_EQUIVALENT= archivers/libarchive MUST_CONFIGURE= gnu CONFIGURE_ARGS= --without-xml2 --without-iconv --disable-acl CONFIGURE_ENV= ac_cv_lib_md_MD5Init=no INSTALL_TARGET= install-strip SOVERSION= 13.7.5 CFLAGS= -I{{LOCALBASE}}/libressl/include CPPFLAGS= -I{{LOCALBASE}}/libressl/include LDFLAGS= -lpthread -L{{LOCALBASE}}/libressl/lib [STATIC].DESCRIPTION= Build version for raven sysroots [STATIC].BUILD_DEPENDS_ON= libressl:dev:std [STATIC].CONFIGURE_ARGS_ON= --enable-shared=no --enable-static=yes [STATIC].LDFLAGS_OFF= -Wl,-rpath,{{LOCALBASE}}/libressl/lib [STATIC].USES_ON= zstd:build expat:build bz2:build zlib:build xz:build [RAVENSW].DESCRIPTION= Build zstd-only version for ravensw [RAVENSW].BUILD_DEPENDS_ON= libressl:dev:std [RAVENSW].CONFIGURE_ARGS_ON= --enable-shared=yes --enable-static=yes --without-zlib --without-bz2lib --without-libb2 --without-lz4 --without-lzo2 --without-lzma --enable-bsdtar=no --enable-bsdcat=no --enable-bsdcpio=no --enable-bsdunzip=no [RAVENSW].USES_ON= zstd expat [EXTENDED].DESCRIPTION= Build loaded version (common + lzo + lz4) [EXTENDED].BUILDRUN_DEPENDS_ON= libressl:primary:std [EXTENDED].BUILD_DEPENDS_ON= libressl:dev:std [EXTENDED].CONFIGURE_ARGS_ON= --enable-shared=yes --with-lzo2 --with-lz4 [EXTENDED].USES_ON= lz4 lzo zstd expat bz2 zlib xz [NOT_STD].DESCRIPTION= Don't build common user version [NOT_STD].BUILDRUN_DEPENDS_OFF= libressl:primary:std [NOT_STD].BUILD_DEPENDS_OFF= libressl:dev:std [NOT_STD].CONFIGURE_ARGS_OFF= --enable-shared=yes [NOT_STD].USES_OFF= zstd expat bz2 zlib xz post-build-RAVENSW-ON: # assemble PIC library (cd ${WRKSRC}/libarchive/.libs &&\ ${AR} -cruv libarchive_pic.a *.o &&\ ranlib libarchive_pic.a) pre-configure-STATIC-ON: # Remove dead symlinks that confuse linker ${RM} ${LOCALBASE}/lib/libz.so ${RM} ${LOCALBASE}/lib/libbz2.so ${RM} ${LOCALBASE}/lib/libexpat.so ${RM} ${LOCALBASE}/lib/liblzma.so ${RM} ${LOCALBASE}/libressl/lib*.so do-test: (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check) post-install-RAVENSW-ON: ${RM} -r ${STAGEDIR}${MANPREFIX}/man/man[135] ${RM} ${STAGEDIR}${PREFIX}/lib/libarchive.so* ${RM} ${LOCALBASE}/libressl/lib*.so # install our PIC library ${INSTALL_DATA} ${WRKSRC}/libarchive/.libs/libarchive_pic.a \ ${STAGEDIR}${PREFIX}/lib/ [FILE:598:descriptions/desc.primary] The libarchive library features: * Support for a variety of archive and compression formats. * Robust automatic format detection, including archive/compression combinations such as tar.gz. * Zero-copy internal architecture for high performance. * Streaming architecture eliminates all limits on size of archive, limits on entry sizes depend on particular formats. * Carefully factored code to minimize bloat when programs are statically linked. * Growing test suite to verify correctness of new ports. * Works on most POSIX-like systems (including FreeBSD, Linux, Solaris, etc.) [FILE:443:descriptions/desc.tools] The bsdtar and bsdcpio command-line utilities are feature- and performance-competitive with other tar and cpio implementations: * Reads a variety of formats, including tar, pax, cpio, zip, xar, lha, ar, cab, mtree, rar, and ISO images. * Writes tar, pax, cpio, zip, xar, ar, ISO, mtree, and shar archives. * Automatically handles archives compressed with gzip, bzip2, lzip, xz, lzma, or compress. * Unique format conversion feature. [FILE:443:descriptions/desc.primary.static] The bsdtar and bsdcpio command-line utilities are feature- and performance-competitive with other tar and cpio implementations: * Reads a variety of formats, including tar, pax, cpio, zip, xar, lha, ar, cab, mtree, rar, and ISO images. * Writes tar, pax, cpio, zip, xar, ar, ISO, mtree, and shar archives. * Automatically handles archives compressed with gzip, bzip2, lzip, xz, lzma, or compress. * Unique format conversion feature. [FILE:87:descriptions/desc.dev.ravensw] This package contains a PIC version of libarchive that only supports Zstandard format. [FILE:102:distinfo] 37556113fe44d77a7988f1ef88bf86ab68f53d11e85066ffd3c70157cc5110f1 7654796 libarchive-3.7.5.tar.gz [FILE:75:manifests/plist.primary] %%STATIC-OFF%%lib/ libarchive.so.%%SOMAJOR%% libarchive.so.%%SOVERSION%% [FILE:40:manifests/plist.tools] bin/ bsdcat bsdcpio bsdtar bsdunzip [FILE:164:manifests/plist.dev] %%RAVENSW-ON%%lib/libarchive_pic.a %%STATIC-OFF%%%%RAVENSW-OFF%%lib/libarchive.so include/ archive.h archive_entry.h lib/libarchive.a lib/pkgconfig/libarchive.pc [FILE:976:manifests/plist.man] share/man/man1/ bsdcat.1 bsdcpio.1 bsdtar.1 bsdunzip.1 share/man/man3/ archive_entry.3 archive_entry_acl.3 archive_entry_linkify.3 archive_entry_misc.3 archive_entry_paths.3 archive_entry_perms.3 archive_entry_stat.3 archive_entry_time.3 archive_read.3 archive_read_add_passphrase.3 archive_read_data.3 archive_read_disk.3 archive_read_extract.3 archive_read_filter.3 archive_read_format.3 archive_read_free.3 archive_read_header.3 archive_read_new.3 archive_read_open.3 archive_read_set_options.3 archive_util.3 archive_write.3 archive_write_blocksize.3 archive_write_data.3 archive_write_disk.3 archive_write_filter.3 archive_write_finish_entry.3 archive_write_format.3 archive_write_free.3 archive_write_header.3 archive_write_new.3 archive_write_open.3 archive_write_set_options.3 archive_write_set_passphrase.3 libarchive.3 libarchive_changes.3 libarchive_internals.3 share/man/man5/ cpio.5 libarchive-formats.5 mtree.5 tar.5 [FILE:40:manifests/plist.primary.static] bin/ bsdcat bsdcpio bsdtar bsdunzip [FILE:483:patches/patch-libarchive_archive__write__add__filter__zstd.c] --- libarchive/archive_write_add_filter_zstd.c.orig 2024-04-26 09:22:59 UTC +++ libarchive/archive_write_add_filter_zstd.c @@ -84,7 +84,7 @@ struct private_data { /* If we don't have the library use default range values (zstdcli.c v1.4.0) */ #define CLEVEL_MIN -99 #define CLEVEL_STD_MIN 0 /* prior to 1.3.4 and more recent without using --fast */ -#define CLEVEL_DEFAULT 3 +#define CLEVEL_DEFAULT 7 #define CLEVEL_STD_MAX 19 /* without using --ultra */ #define CLEVEL_MAX 22