1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 VARIANTS= standard static extended ravensw
8 SDESC[standard]= Library to handle many streaming archive formats
9 SDESC[extended]= Extended libarchive with lzo and lz4 capability
10 SDESC[static]= Static build of libarchive
11 SDESC[ravensw]= Zstd-only libarchive for ravensw
12 HOMEPAGE= http://libarchive.org/
16 SITES[main]= http://libarchive.org/downloads/
17 https://www.libarchive.de/downloads/
18 DISTFILE[1]= libarchive-3.7.1.tar.gz:main
20 SPKGS[standard]= complete
25 SPKGS[extended]= complete
30 SPKGS[static]= complete
36 OPTIONS_AVAILABLE= NOT_STD STATIC EXTENDED RAVENSW
37 OPTIONS_STANDARD= none
38 VOPTS[extended]= NOT_STD=ON STATIC=OFF EXTENDED=ON RAVENSW=OFF
39 VOPTS[static]= NOT_STD=ON STATIC=ON EXTENDED=OFF RAVENSW=OFF
40 VOPTS[ravensw]= NOT_STD=ON STATIC=OFF EXTENDED=OFF RAVENSW=ON
44 USES= cpe libtool mbsdfix
46 LICENSE= BSD2CLAUSE:primary BSD3CLAUSE:primary PUBDOM:primary
47 LICENSE_FILE= BSD2CLAUSE:{{WRKSRC}}/COPYING
48 BSD3CLAUSE:{{WRKSRC}}/COPYING
49 PUBDOM:{{WRKSRC}}/COPYING
52 FPC_EQUIVALENT= archivers/libarchive
55 CONFIGURE_ARGS= --without-xml2
58 CONFIGURE_ENV= ac_cv_lib_md_MD5Init=no
60 INSTALL_TARGET= install-strip
63 CFLAGS= -I{{LOCALBASE}}/libressl/include
64 CPPFLAGS= -I{{LOCALBASE}}/libressl/include
66 -L{{LOCALBASE}}/libressl/lib
68 [STATIC].DESCRIPTION= Build version for raven sysroots
69 [STATIC].BUILD_DEPENDS_ON= libressl:dev:standard
70 [STATIC].CONFIGURE_ARGS_ON= --enable-shared=no
72 [STATIC].LDFLAGS_OFF= -Wl,-rpath,{{LOCALBASE}}/libressl/lib
73 [STATIC].USES_ON= zstd:build
79 [RAVENSW].DESCRIPTION= Build zstd-only version for ravensw
80 [RAVENSW].BUILD_DEPENDS_ON= libressl:dev:standard
81 [RAVENSW].CONFIGURE_ARGS_ON= --enable-shared=yes
93 [RAVENSW].USES_ON= zstd
96 [EXTENDED].DESCRIPTION= Build loaded version (common + lzo + lz4)
97 [EXTENDED].BUILDRUN_DEPENDS_ON= libressl:primary:standard
98 [EXTENDED].BUILD_DEPENDS_ON= libressl:dev:standard
99 [EXTENDED].CONFIGURE_ARGS_ON= --enable-shared=yes
102 [EXTENDED].USES_ON= lz4
110 [NOT_STD].DESCRIPTION= Don't build common user version
111 [NOT_STD].BUILDRUN_DEPENDS_OFF= libressl:primary:standard
112 [NOT_STD].BUILD_DEPENDS_OFF= libressl:dev:standard
113 [NOT_STD].CONFIGURE_ARGS_OFF= --enable-shared=yes
114 [NOT_STD].USES_OFF= zstd
120 post-build-RAVENSW-ON:
121 # assemble PIC library
122 (cd ${WRKSRC}/libarchive/.libs &&\
123 ${AR} -cruv libarchive_pic.a *.o &&\
124 ranlib libarchive_pic.a)
126 pre-configure-STATIC-ON:
127 # Remove dead symlinks that confuse linker
128 ${RM} ${LOCALBASE}/lib/libz.so
129 ${RM} ${LOCALBASE}/lib/libbz2.so
130 ${RM} ${LOCALBASE}/lib/libexpat.so
131 ${RM} ${LOCALBASE}/lib/liblzma.so
132 ${RM} ${LOCALBASE}/libressl/lib*.so
135 (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check)
137 post-install-RAVENSW-ON:
138 ${RM} -r ${STAGEDIR}${MANPREFIX}/man/man[135]
139 ${RM} ${STAGEDIR}${PREFIX}/lib/libarchive.so*
140 ${RM} ${LOCALBASE}/libressl/lib*.so
141 # install our PIC library
142 ${INSTALL_DATA} ${WRKSRC}/libarchive/.libs/libarchive_pic.a \
143 ${STAGEDIR}${PREFIX}/lib/
145 [FILE:598:descriptions/desc.primary]
146 The libarchive library features:
147 * Support for a variety of archive and compression formats.
148 * Robust automatic format detection, including archive/compression
149 combinations such as tar.gz.
150 * Zero-copy internal architecture for high performance.
151 * Streaming architecture eliminates all limits on size of archive,
152 limits on entry sizes depend on particular formats.
153 * Carefully factored code to minimize bloat when programs are
155 * Growing test suite to verify correctness of new ports.
156 * Works on most POSIX-like systems (including FreeBSD, Linux,
160 [FILE:443:descriptions/desc.tools]
161 The bsdtar and bsdcpio command-line utilities are feature- and
162 performance-competitive with other tar and cpio implementations:
163 * Reads a variety of formats, including tar, pax, cpio, zip, xar,
164 lha, ar, cab, mtree, rar, and ISO images.
165 * Writes tar, pax, cpio, zip, xar, ar, ISO, mtree, and shar archives.
166 * Automatically handles archives compressed with gzip, bzip2, lzip,
167 xz, lzma, or compress.
168 * Unique format conversion feature.
171 [FILE:443:descriptions/desc.primary.static]
172 The bsdtar and bsdcpio command-line utilities are feature- and
173 performance-competitive with other tar and cpio implementations:
174 * Reads a variety of formats, including tar, pax, cpio, zip, xar,
175 lha, ar, cab, mtree, rar, and ISO images.
176 * Writes tar, pax, cpio, zip, xar, ar, ISO, mtree, and shar archives.
177 * Automatically handles archives compressed with gzip, bzip2, lzip,
178 xz, lzma, or compress.
179 * Unique format conversion feature.
182 [FILE:87:descriptions/desc.dev.ravensw]
183 This package contains a PIC version of libarchive that only supports
188 5d24e40819768f74daf846b99837fc53a3a9dcdf3ce1c2003fe0596db850f0f0 7480698 libarchive-3.7.1.tar.gz
191 [FILE:75:manifests/plist.primary]
193 libarchive.so.%%SOMAJOR%%
194 libarchive.so.%%SOVERSION%%
197 [FILE:40:manifests/plist.tools]
205 [FILE:164:manifests/plist.dev]
206 %%RAVENSW-ON%%lib/libarchive_pic.a
207 %%STATIC-OFF%%%%RAVENSW-OFF%%lib/libarchive.so
212 lib/pkgconfig/libarchive.pc
215 [FILE:1111:manifests/plist.man]
223 archive_entry_acl.3.gz
224 archive_entry_linkify.3.gz
225 archive_entry_misc.3.gz
226 archive_entry_paths.3.gz
227 archive_entry_perms.3.gz
228 archive_entry_stat.3.gz
229 archive_entry_time.3.gz
231 archive_read_add_passphrase.3.gz
232 archive_read_data.3.gz
233 archive_read_disk.3.gz
234 archive_read_extract.3.gz
235 archive_read_filter.3.gz
236 archive_read_format.3.gz
237 archive_read_free.3.gz
238 archive_read_header.3.gz
239 archive_read_new.3.gz
240 archive_read_open.3.gz
241 archive_read_set_options.3.gz
244 archive_write_blocksize.3.gz
245 archive_write_data.3.gz
246 archive_write_disk.3.gz
247 archive_write_filter.3.gz
248 archive_write_finish_entry.3.gz
249 archive_write_format.3.gz
250 archive_write_free.3.gz
251 archive_write_header.3.gz
252 archive_write_new.3.gz
253 archive_write_open.3.gz
254 archive_write_set_options.3.gz
255 archive_write_set_passphrase.3.gz
257 libarchive_changes.3.gz
258 libarchive_internals.3.gz
261 libarchive-formats.5.gz
266 [FILE:40:manifests/plist.primary.static]
274 [FILE:483:patches/patch-libarchive_archive__write__add__filter__zstd.c]
275 --- libarchive/archive_write_add_filter_zstd.c.orig 2022-12-09 13:38:31 UTC
276 +++ libarchive/archive_write_add_filter_zstd.c
277 @@ -63,7 +63,7 @@ struct private_data {
278 /* If we don't have the library use default range values (zstdcli.c v1.4.0) */
279 #define CLEVEL_MIN -99
280 #define CLEVEL_STD_MIN 0 /* prior to 1.3.4 and more recent without using --fast */
281 -#define CLEVEL_DEFAULT 3
282 +#define CLEVEL_DEFAULT 7
283 #define CLEVEL_STD_MAX 19 /* without using --ultra */
284 #define CLEVEL_MAX 22