Ravenports generated: 01 Jun 2017 22:04
[ravenports.git] / bucket_12 / libarchive
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               libarchive
4 VERSION=                3.3.1
5 KEYWORDS=               archivers
6 VARIANTS=               standard static extended
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 HOMEPAGE=               http://libarchive.org/
11 CONTACT=                nobody
12
13 DOWNLOAD_GROUPS=        main
14 SITES[main]=            http://libarchive.org/downloads/
15 DISTFILE[1]=            libarchive-3.3.1.tar.gz:main
16 DF_INDEX=               1
17 SPKGS[standard]=        single
18 SPKGS[extended]=        single
19 SPKGS[static]=          single
20
21 OPTIONS_AVAILABLE=      STATIC EXTENDED
22 OPTIONS_STANDARD=       none
23 VOPTS[extended]=        STATIC=OFF EXTENDED=ON
24 VOPTS[static]=          STATIC=ON EXTENDED=OFF
25
26 BUILD_DEPENDS=          bzip2:static:standard
27                         zlib:static:standard
28                         expat:static:standard
29
30 USES=                   cpe libtool
31
32 LICENSE=                BSD2CLAUSE:single BSD3CLAUSE:single PUBDOM:single
33 LICENSE_SCHEME=         multi
34 LICENSE_FILE=           BSD2CLAUSE:{{WRKSRC}}/COPYING
35                         BSD3CLAUSE:{{WRKSRC}}/COPYING
36                         PUBDOM:{{WRKSRC}}/COPYING
37
38 FPC_EQUIVALENT=         archivers/libarchive
39
40 MUST_CONFIGURE=         gnu
41 CONFIGURE_ARGS=         --without-xml2
42                         --without-iconv
43
44 INSTALL_TARGET=         install-strip
45
46 LDFLAGS=                -lpthread
47
48 [STATIC].BUILDRUN_DEPENDS_OFF=          libressl:single:standard
49                                         xz:single:standard
50                                         bzip2:shared:standard
51                                         zlib:shared:standard
52                                         expat:shared:standard
53 [STATIC].BUILD_DEPENDS_ON=              libressl:single:static
54                                         xz:single:static
55 [STATIC].CONFIGURE_ARGS_OFF=            --enable-shared=yes
56 [STATIC].CONFIGURE_ARGS_ON=             --enable-shared=no
57                                         --enable-static=yes
58
59 [EXTENDED].DESCRIPTION=                 Add support for lz4 and lzo compression
60 [EXTENDED].BUILDRUN_DEPENDS_ON=         lzo:shared:standard
61                                         lz4:shared:standard
62 [EXTENDED].BUILD_DEPENDS_ON=            lzo:static:standard
63                                         lz4:static:standard
64 [EXTENDED].CONFIGURE_ARGS_ON=           --with-lzo2
65                                         --with-lz4
66
67 do-test:
68         @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check)
69
70 [FILE:1042:descriptions/desc.single]
71 The libarchive library features:
72  * Support for a variety of archive and compression formats.
73  * Robust automatic format detection, including archive/compression
74    combinations such as tar.gz.
75  * Zero-copy internal architecture for high performance.
76  * Streaming architecture eliminates all limits on size of archive,
77    limits on entry sizes depend on particular formats.
78  * Carefully factored code to minimize bloat when programs are
79    statically linked.
80  * Growing test suite to verify correctness of new ports.
81  * Works on most POSIX-like systems (including FreeBSD, Linux,
82    Solaris, etc.)
83
84 The bsdtar and bsdcpio command-line utilities are feature- and
85 performance-competitive with other tar and cpio implementations:
86  * Reads a variety of formats, including tar, pax, cpio, zip, xar,
87    lha, ar, cab, mtree, rar, and ISO images.
88  * Writes tar, pax, cpio, zip, xar, ar, ISO, mtree, and shar archives.
89  * Automatically handles archives compressed with gzip, bzip2, lzip,
90    xz, lzma, or compress.
91  * Unique format conversion feature.
92
93
94 [FILE:102:distinfo]
95 29ca5bd1624ca5a007aa57e16080262ab4379dbf8797f5c52f7ea74a3b0424e7      6219943 libarchive-3.3.1.tar.gz
96
97
98 [FILE:1240:manifests/plist.single]
99 bin/
100  bsdcat
101  bsdcpio
102  bsdtar
103 include/
104  archive.h
105  archive_entry.h
106 lib/
107  libarchive.a
108  libarchive.so
109  libarchive.so.13
110  libarchive.so.13.3.1
111 lib/pkgconfig/libarchive.pc
112 share/man/man1/
113  bsdcat.1.gz
114  bsdcpio.1.gz
115  bsdtar.1.gz
116 share/man/man3/
117  archive_entry.3.gz
118  archive_entry_acl.3.gz
119  archive_entry_linkify.3.gz
120  archive_entry_paths.3.gz
121  archive_entry_perms.3.gz
122  archive_entry_stat.3.gz
123  archive_entry_time.3.gz
124  archive_read.3.gz
125  archive_read_add_passphrase.3.gz
126  archive_read_data.3.gz
127  archive_read_disk.3.gz
128  archive_read_extract.3.gz
129  archive_read_filter.3.gz
130  archive_read_format.3.gz
131  archive_read_free.3.gz
132  archive_read_header.3.gz
133  archive_read_new.3.gz
134  archive_read_open.3.gz
135  archive_read_set_options.3.gz
136  archive_util.3.gz
137  archive_write.3.gz
138  archive_write_blocksize.3.gz
139  archive_write_data.3.gz
140  archive_write_disk.3.gz
141  archive_write_filter.3.gz
142  archive_write_finish_entry.3.gz
143  archive_write_format.3.gz
144  archive_write_free.3.gz
145  archive_write_header.3.gz
146  archive_write_new.3.gz
147  archive_write_open.3.gz
148  archive_write_set_options.3.gz
149  archive_write_set_passphrase.3.gz
150  libarchive.3.gz
151  libarchive_changes.3.gz
152  libarchive_internals.3.gz
153 share/man/man5/
154  cpio.5.gz
155  libarchive-formats.5.gz
156  mtree.5.gz
157  tar.5.gz
158
159
160 [FILE:1183:manifests/plist.single.static]
161 bin/
162  bsdcat
163  bsdcpio
164  bsdtar
165 include/
166  archive.h
167  archive_entry.h
168 lib/libarchive.a
169 lib/pkgconfig/libarchive.pc
170 share/man/man1/
171  bsdcat.1.gz
172  bsdcpio.1.gz
173  bsdtar.1.gz
174 share/man/man3/
175  archive_entry.3.gz
176  archive_entry_acl.3.gz
177  archive_entry_linkify.3.gz
178  archive_entry_paths.3.gz
179  archive_entry_perms.3.gz
180  archive_entry_stat.3.gz
181  archive_entry_time.3.gz
182  archive_read.3.gz
183  archive_read_add_passphrase.3.gz
184  archive_read_data.3.gz
185  archive_read_disk.3.gz
186  archive_read_extract.3.gz
187  archive_read_filter.3.gz
188  archive_read_format.3.gz
189  archive_read_free.3.gz
190  archive_read_header.3.gz
191  archive_read_new.3.gz
192  archive_read_open.3.gz
193  archive_read_set_options.3.gz
194  archive_util.3.gz
195  archive_write.3.gz
196  archive_write_blocksize.3.gz
197  archive_write_data.3.gz
198  archive_write_disk.3.gz
199  archive_write_filter.3.gz
200  archive_write_finish_entry.3.gz
201  archive_write_format.3.gz
202  archive_write_free.3.gz
203  archive_write_header.3.gz
204  archive_write_new.3.gz
205  archive_write_open.3.gz
206  archive_write_set_options.3.gz
207  archive_write_set_passphrase.3.gz
208  libarchive.3.gz
209  libarchive_changes.3.gz
210  libarchive_internals.3.gz
211 share/man/man5/
212  cpio.5.gz
213  libarchive-formats.5.gz
214  mtree.5.gz
215  tar.5.gz
216
217
218 [FILE:464:patches/patch-libarchive-archive_openssl_evp_private.h]
219 --- libarchive/archive_openssl_evp_private.h.orig       Sun Jan 29 06:06:27 2017
220 +++ libarchive/archive_openssl_evp_private.h    Fri Mar 10 12:53:43 2017
221 @@ -28,7 +28,7 @@
222  #include <openssl/evp.h>
223  #include <openssl/opensslv.h>
224  
225 -#if OPENSSL_VERSION_NUMBER < 0x10100000L
226 +#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
227  #include <stdlib.h> /* malloc, free */
228  #include <string.h> /* memset */
229  static inline EVP_MD_CTX *EVP_MD_CTX_new(void)
230
231
232 [FILE:463:patches/patch-libarchive-archive_openssl_hmac_private.h]
233 --- libarchive/archive_openssl_hmac_private.h.orig      Sun Jan 29 06:06:27 2017
234 +++ libarchive/archive_openssl_hmac_private.h   Fri Mar 10 12:53:43 2017
235 @@ -28,7 +28,7 @@
236  #include <openssl/hmac.h>
237  #include <openssl/opensslv.h>
238  
239 -#if OPENSSL_VERSION_NUMBER < 0x10100000L
240 +#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
241  #include <stdlib.h> /* malloc, free */
242  #include <string.h> /* memset */
243  static inline HMAC_CTX *HMAC_CTX_new(void)
244
245
246 [FILE:469:patches/patch-libarchive_archive__util.c]
247 --- libarchive/archive_util.c.orig      2016-07-17 15:29:23 UTC
248 +++ libarchive/archive_util.c
249 @@ -46,16 +46,16 @@ __FBSDID("$FreeBSD: head/lib/libarchive/
250  #include <wincrypt.h>
251  #endif
252  #ifdef HAVE_ZLIB_H
253 -#include <zlib.h>
254 +#include "zlib.h"
255  #endif
256  #ifdef HAVE_LZMA_H
257 -#include <lzma.h>
258 +#include "lzma.h"
259  #endif
260  #ifdef HAVE_BZLIB_H
261 -#include <bzlib.h>
262 +#include "bzlib.h"
263  #endif
264  #ifdef HAVE_LZ4_H
265 -#include <lz4.h>
266 +#include "lz4.h"
267  #endif
268  
269  #include "archive.h"
270