2004-03-24 18:20:48 +01:00
|
|
|
PORTNAME= libarchive
|
2021-02-23 02:45:04 +01:00
|
|
|
PORTVERSION= 3.5.1
|
2004-08-23 18:37:49 +02:00
|
|
|
PORTEPOCH= 1
|
2004-06-16 17:20:49 +02:00
|
|
|
CATEGORIES= archivers
|
2017-10-30 00:47:56 +01:00
|
|
|
MASTER_SITES= https://libarchive.org/downloads/
|
2004-03-24 18:20:48 +01:00
|
|
|
|
|
|
|
MAINTAINER= glewis@FreeBSD.org
|
|
|
|
COMMENT= Library to create and read several streaming archive formats
|
|
|
|
|
2016-10-25 06:08:08 +02:00
|
|
|
LICENSE= BSD2CLAUSE
|
2018-09-19 19:31:04 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2016-10-25 06:08:08 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
LIB_DEPENDS= libexpat.so:textproc/expat2
|
2015-07-29 15:39:12 +02:00
|
|
|
|
2021-01-05 17:59:44 +01:00
|
|
|
OPTIONS_DEFINE= LZ4 LZO ZSTD
|
|
|
|
OPTIONS_DEFAULT=LZ4 OPENSSL
|
2012-07-31 20:46:09 +02:00
|
|
|
|
2021-01-05 17:59:44 +01:00
|
|
|
OPTIONS_RADIO+= CRYPTO
|
|
|
|
OPTIONS_RADIO_CRYPTO= OPENSSL MBEDTLS NETTLE
|
|
|
|
|
|
|
|
CRYPTO_DESC= Crypto and hashing support
|
2016-05-13 10:55:36 +02:00
|
|
|
LZ4_DESC= Support lz4 compression via liblz4
|
2017-05-04 01:34:33 +02:00
|
|
|
LZO_DESC= Support lzo compression via liblzo2
|
2021-01-05 17:59:44 +01:00
|
|
|
MBEDTLS_DESC= Crypto support from mbedTLS
|
2018-09-19 19:31:04 +02:00
|
|
|
NETTLE_DESC= Crypto support from Nettle
|
2021-01-05 17:59:44 +01:00
|
|
|
OPENSSL_DESC= Crypto support from OpenSSL
|
2018-10-07 18:33:21 +02:00
|
|
|
ZSTD_DESC= Support zstd compression
|
2012-02-25 23:41:56 +01:00
|
|
|
|
2018-09-19 19:31:04 +02:00
|
|
|
USES= cpe iconv libtool localbase:ldflags pathfix
|
2004-08-23 18:37:49 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2015-07-29 15:39:12 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2018-09-19 19:31:04 +02:00
|
|
|
TEST_TARGET= check
|
2012-02-25 23:41:56 +01:00
|
|
|
|
2015-07-29 15:39:12 +02:00
|
|
|
CONFIGURE_ARGS= --without-xml2
|
2004-03-24 18:20:48 +01:00
|
|
|
|
2016-05-09 17:48:43 +02:00
|
|
|
PLIST_FILES= bin/bsdcat \
|
|
|
|
bin/bsdcpio \
|
2009-05-24 18:55:25 +02:00
|
|
|
bin/bsdtar \
|
2006-06-21 00:33:47 +02:00
|
|
|
include/archive.h \
|
2004-03-24 18:20:48 +01:00
|
|
|
include/archive_entry.h \
|
2005-10-13 19:09:27 +02:00
|
|
|
lib/libarchive.a \
|
|
|
|
lib/libarchive.so \
|
2014-06-22 22:11:54 +02:00
|
|
|
lib/libarchive.so.13 \
|
2017-10-30 00:47:56 +01:00
|
|
|
lib/libarchive.so.1${PORTVERSION} \
|
2014-01-03 19:35:01 +01:00
|
|
|
libdata/pkgconfig/libarchive.pc \
|
2016-05-09 17:48:43 +02:00
|
|
|
man/man1/bsdcat.1.gz \
|
2014-01-03 19:35:01 +01:00
|
|
|
man/man1/bsdcpio.1.gz \
|
|
|
|
man/man1/bsdtar.1.gz \
|
|
|
|
man/man3/archive_entry.3.gz \
|
|
|
|
man/man3/archive_entry_acl.3.gz \
|
|
|
|
man/man3/archive_entry_linkify.3.gz \
|
2019-09-01 22:33:09 +02:00
|
|
|
man/man3/archive_entry_misc.3.gz \
|
2014-01-03 19:35:01 +01:00
|
|
|
man/man3/archive_entry_paths.3.gz \
|
|
|
|
man/man3/archive_entry_perms.3.gz \
|
|
|
|
man/man3/archive_entry_stat.3.gz \
|
|
|
|
man/man3/archive_entry_time.3.gz \
|
|
|
|
man/man3/archive_read.3.gz \
|
2016-05-09 17:48:43 +02:00
|
|
|
man/man3/archive_read_add_passphrase.3.gz \
|
2014-01-03 19:35:01 +01:00
|
|
|
man/man3/archive_read_data.3.gz \
|
|
|
|
man/man3/archive_read_disk.3.gz \
|
|
|
|
man/man3/archive_read_extract.3.gz \
|
|
|
|
man/man3/archive_read_filter.3.gz \
|
|
|
|
man/man3/archive_read_format.3.gz \
|
|
|
|
man/man3/archive_read_free.3.gz \
|
|
|
|
man/man3/archive_read_header.3.gz \
|
|
|
|
man/man3/archive_read_new.3.gz \
|
|
|
|
man/man3/archive_read_open.3.gz \
|
|
|
|
man/man3/archive_read_set_options.3.gz \
|
|
|
|
man/man3/archive_util.3.gz \
|
|
|
|
man/man3/archive_write.3.gz \
|
|
|
|
man/man3/archive_write_blocksize.3.gz \
|
|
|
|
man/man3/archive_write_data.3.gz \
|
|
|
|
man/man3/archive_write_disk.3.gz \
|
|
|
|
man/man3/archive_write_filter.3.gz \
|
|
|
|
man/man3/archive_write_finish_entry.3.gz \
|
|
|
|
man/man3/archive_write_format.3.gz \
|
|
|
|
man/man3/archive_write_free.3.gz \
|
|
|
|
man/man3/archive_write_header.3.gz \
|
|
|
|
man/man3/archive_write_new.3.gz \
|
|
|
|
man/man3/archive_write_open.3.gz \
|
|
|
|
man/man3/archive_write_set_options.3.gz \
|
2016-05-09 17:48:43 +02:00
|
|
|
man/man3/archive_write_set_passphrase.3.gz \
|
2014-01-03 19:35:01 +01:00
|
|
|
man/man3/libarchive.3.gz \
|
|
|
|
man/man3/libarchive_changes.3.gz \
|
|
|
|
man/man3/libarchive_internals.3.gz \
|
|
|
|
man/man5/cpio.5.gz \
|
|
|
|
man/man5/libarchive-formats.5.gz \
|
|
|
|
man/man5/mtree.5.gz \
|
|
|
|
man/man5/tar.5.gz
|
2004-03-24 18:20:48 +01:00
|
|
|
|
2017-05-04 01:34:33 +02:00
|
|
|
LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2
|
|
|
|
LZO_CONFIGURE_WITH= lzo2
|
2016-05-13 10:55:36 +02:00
|
|
|
LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4
|
|
|
|
LZ4_CONFIGURE_WITH= lz4
|
2018-10-07 18:33:21 +02:00
|
|
|
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
|
|
|
|
ZSTD_CONFIGURE_WITH= zstd
|
2012-02-25 23:41:56 +01:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
NETTLE_LIB_DEPENDS= libnettle.so:security/nettle
|
2014-07-03 21:06:07 +02:00
|
|
|
NETTLE_CONFIGURE_WITH= nettle
|
2018-09-19 19:31:04 +02:00
|
|
|
OPENSSL_USES= ssl
|
|
|
|
OPENSSL_CONFIGURE_WITH= openssl
|
2021-01-05 17:59:44 +01:00
|
|
|
OPENSSL_CONFIGURE_OFF= --without-openssl
|
|
|
|
MBEDTLS_LIB_DEPENDS= libmbedtls.so:security/mbedtls
|
|
|
|
MBEDTLS_CONFIGURE_WITH= mbedtls
|
2008-06-17 07:12:47 +02:00
|
|
|
|
2015-08-14 23:20:10 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if empty(ICONV_LIB)
|
|
|
|
CONFIGURE_ENV+= ac_cv_header_localcharset_h=no \
|
|
|
|
ac_cv_func_locale_charset=no \
|
|
|
|
ac_cv_lib_charset_locale_charset=no
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|