1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
6 VARIANTS= standard static extended ravensw
7 SDESC[standard]= Library to handle many streaming archive formats
8 SDESC[extended]= Extended libarchive with lzo and lz4 capability
9 SDESC[static]= Static build of libarchive
10 SDESC[ravensw]= Zstd-only libarchive for ravensw
11 HOMEPAGE= http://libarchive.org/
15 SITES[main]= http://libarchive.org/downloads/
16 https://www.libarchive.de/downloads/
17 DISTFILE[1]= libarchive-3.6.2.tar.gz:main
19 SPKGS[standard]= single
20 SPKGS[extended]= single
22 SPKGS[ravensw]= single
24 OPTIONS_AVAILABLE= NOT_STD STATIC EXTENDED RAVENSW
25 OPTIONS_STANDARD= none
26 VOPTS[extended]= NOT_STD=ON STATIC=OFF EXTENDED=ON RAVENSW=OFF
27 VOPTS[static]= NOT_STD=ON STATIC=ON EXTENDED=OFF RAVENSW=OFF
28 VOPTS[ravensw]= NOT_STD=ON STATIC=OFF EXTENDED=OFF RAVENSW=ON
32 LICENSE= BSD2CLAUSE:single BSD3CLAUSE:single PUBDOM:single
33 LICENSE_FILE= BSD2CLAUSE:{{WRKSRC}}/COPYING
34 BSD3CLAUSE:{{WRKSRC}}/COPYING
35 PUBDOM:{{WRKSRC}}/COPYING
38 FPC_EQUIVALENT= archivers/libarchive
41 CONFIGURE_ARGS= --without-xml2
44 CONFIGURE_ENV= ac_cv_lib_md_MD5Init=no
46 INSTALL_TARGET= install-strip
49 CFLAGS= -I{{LOCALBASE}}/libressl/include
50 CPPFLAGS= -I{{LOCALBASE}}/libressl/include
52 -L{{LOCALBASE}}/libressl/lib
54 [STATIC].DESCRIPTION= Build version for raven sysroots
55 [STATIC].BUILD_DEPENDS_ON= libressl:single:static
57 [STATIC].CONFIGURE_ARGS_ON= --enable-shared=no
59 [STATIC].LDFLAGS_OFF= -Wl,-rpath,{{LOCALBASE}}/libressl/lib
60 [STATIC].USES_ON= zstd:build
65 [RAVENSW].DESCRIPTION= Build zstd-only version for ravensw
66 [RAVENSW].BUILD_DEPENDS_ON= libressl:single:static
67 [RAVENSW].CONFIGURE_ARGS_ON= --enable-shared=yes
78 [RAVENSW].USES_ON= zstd
81 [EXTENDED].DESCRIPTION= Build loaded version (common + lzo + lz4)
82 [EXTENDED].BUILDRUN_DEPENDS_ON= libressl:single:standard
84 [EXTENDED].CONFIGURE_ARGS_ON= --enable-shared=yes
87 [EXTENDED].USES_ON= lz4
94 [NOT_STD].DESCRIPTION= Don't build common user version
95 [NOT_STD].BUILDRUN_DEPENDS_OFF= libressl:single:standard
97 [NOT_STD].CONFIGURE_ARGS_OFF= --enable-shared=yes
98 [NOT_STD].USES_OFF= zstd
103 post-build-RAVENSW-ON:
104 # assemble PIC library
105 (cd ${WRKSRC}/libarchive/.libs &&\
106 ${AR} -cruv libarchive_pic.a *.o &&\
107 ranlib libarchive_pic.a)
110 (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check)
112 post-install-RAVENSW-ON:
113 ${RM} -r ${STAGEDIR}${MANPREFIX}/man/man[135]
114 ${RM} ${STAGEDIR}${PREFIX}/lib/libarchive.so*
115 # install our PIC library
116 ${INSTALL_DATA} ${WRKSRC}/libarchive/.libs/libarchive_pic.a \
117 ${STAGEDIR}${PREFIX}/lib/
119 [FILE:1042:descriptions/desc.single]
120 The libarchive library features:
121 * Support for a variety of archive and compression formats.
122 * Robust automatic format detection, including archive/compression
123 combinations such as tar.gz.
124 * Zero-copy internal architecture for high performance.
125 * Streaming architecture eliminates all limits on size of archive,
126 limits on entry sizes depend on particular formats.
127 * Carefully factored code to minimize bloat when programs are
129 * Growing test suite to verify correctness of new ports.
130 * Works on most POSIX-like systems (including FreeBSD, Linux,
133 The bsdtar and bsdcpio command-line utilities are feature- and
134 performance-competitive with other tar and cpio implementations:
135 * Reads a variety of formats, including tar, pax, cpio, zip, xar,
136 lha, ar, cab, mtree, rar, and ISO images.
137 * Writes tar, pax, cpio, zip, xar, ar, ISO, mtree, and shar archives.
138 * Automatically handles archives compressed with gzip, bzip2, lzip,
139 xz, lzma, or compress.
140 * Unique format conversion feature.
144 ba6d02f15ba04aba9c23fd5f236bb234eab9d5209e95d1c4df85c44d5f19b9b3 7428511 libarchive-3.6.2.tar.gz
147 [FILE:1281:manifests/plist.single]
158 libarchive.so.%%SOMAJOR%%
159 libarchive.so.%%SOVERSION%%
160 lib/pkgconfig/libarchive.pc
167 archive_entry_acl.3.gz
168 archive_entry_linkify.3.gz
169 archive_entry_misc.3.gz
170 archive_entry_paths.3.gz
171 archive_entry_perms.3.gz
172 archive_entry_stat.3.gz
173 archive_entry_time.3.gz
175 archive_read_add_passphrase.3.gz
176 archive_read_data.3.gz
177 archive_read_disk.3.gz
178 archive_read_extract.3.gz
179 archive_read_filter.3.gz
180 archive_read_format.3.gz
181 archive_read_free.3.gz
182 archive_read_header.3.gz
183 archive_read_new.3.gz
184 archive_read_open.3.gz
185 archive_read_set_options.3.gz
188 archive_write_blocksize.3.gz
189 archive_write_data.3.gz
190 archive_write_disk.3.gz
191 archive_write_filter.3.gz
192 archive_write_finish_entry.3.gz
193 archive_write_format.3.gz
194 archive_write_free.3.gz
195 archive_write_header.3.gz
196 archive_write_new.3.gz
197 archive_write_open.3.gz
198 archive_write_set_options.3.gz
199 archive_write_set_passphrase.3.gz
201 libarchive_changes.3.gz
202 libarchive_internals.3.gz
205 libarchive-formats.5.gz
210 [FILE:1208:manifests/plist.single.static]
219 lib/pkgconfig/libarchive.pc
226 archive_entry_acl.3.gz
227 archive_entry_linkify.3.gz
228 archive_entry_misc.3.gz
229 archive_entry_paths.3.gz
230 archive_entry_perms.3.gz
231 archive_entry_stat.3.gz
232 archive_entry_time.3.gz
234 archive_read_add_passphrase.3.gz
235 archive_read_data.3.gz
236 archive_read_disk.3.gz
237 archive_read_extract.3.gz
238 archive_read_filter.3.gz
239 archive_read_format.3.gz
240 archive_read_free.3.gz
241 archive_read_header.3.gz
242 archive_read_new.3.gz
243 archive_read_open.3.gz
244 archive_read_set_options.3.gz
247 archive_write_blocksize.3.gz
248 archive_write_data.3.gz
249 archive_write_disk.3.gz
250 archive_write_filter.3.gz
251 archive_write_finish_entry.3.gz
252 archive_write_format.3.gz
253 archive_write_free.3.gz
254 archive_write_header.3.gz
255 archive_write_new.3.gz
256 archive_write_open.3.gz
257 archive_write_set_options.3.gz
258 archive_write_set_passphrase.3.gz
260 libarchive_changes.3.gz
261 libarchive_internals.3.gz
264 libarchive-formats.5.gz
269 [FILE:102:manifests/plist.single.ravensw]
276 lib/pkgconfig/libarchive.pc
279 [FILE:483:patches/patch-libarchive_archive__write__add__filter__zstd.c]
280 --- libarchive/archive_write_add_filter_zstd.c.orig 2022-12-09 13:38:31 UTC
281 +++ libarchive/archive_write_add_filter_zstd.c
282 @@ -63,7 +63,7 @@ struct private_data {
283 /* If we don't have the library use default range values (zstdcli.c v1.4.0) */
284 #define CLEVEL_MIN -99
285 #define CLEVEL_STD_MIN 0 /* prior to 1.3.4 and more recent without using --fast */
286 -#define CLEVEL_DEFAULT 3
287 +#define CLEVEL_DEFAULT 7
288 #define CLEVEL_STD_MAX 19 /* without using --ultra */
289 #define CLEVEL_MAX 22