2004-02-09 23:22:54 +00:00
|
|
|
# $FreeBSD$
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2004-08-07 03:09:28 +00:00
|
|
|
|
2011-12-22 08:42:07 +00:00
|
|
|
LIBARCHIVEDIR= ${.CURDIR}/../../contrib/libarchive
|
|
|
|
|
2004-08-07 03:09:28 +00:00
|
|
|
LIB= archive
|
2010-05-16 20:43:17 +00:00
|
|
|
|
2014-11-25 11:07:26 +00:00
|
|
|
LIBADD= z bz2 lzma bsdxml
|
|
|
|
CFLAGS+= -DHAVE_BZLIB_H=1 -DHAVE_LIBLZMA=1 -DHAVE_LZMA_H=1
|
2011-07-17 21:27:38 +00:00
|
|
|
|
2006-11-06 00:24:57 +00:00
|
|
|
# FreeBSD SHLIB_MAJOR value is managed as part of the FreeBSD system.
|
2008-05-26 17:00:24 +00:00
|
|
|
# It has no real relation to the libarchive version number.
|
2012-02-25 10:58:02 +00:00
|
|
|
SHLIB_MAJOR= 6
|
2005-10-13 05:51:38 +00:00
|
|
|
|
2011-12-22 08:42:07 +00:00
|
|
|
CFLAGS+= -DPLATFORM_CONFIG_H=\"${.CURDIR}/config_freebsd.h\"
|
2004-08-07 03:09:28 +00:00
|
|
|
CFLAGS+= -I${.OBJDIR}
|
|
|
|
|
2009-04-18 06:06:47 +00:00
|
|
|
.if ${MK_OPENSSL} != "no"
|
|
|
|
CFLAGS+= -DWITH_OPENSSL
|
2014-11-25 11:07:26 +00:00
|
|
|
LIBADD+= crypto
|
2011-05-05 01:16:06 +00:00
|
|
|
.else
|
2014-11-25 11:07:26 +00:00
|
|
|
LIBADD+= md
|
2009-04-18 06:06:47 +00:00
|
|
|
.endif
|
|
|
|
|
2012-02-25 10:58:02 +00:00
|
|
|
.if ${MK_ICONV} != "no"
|
2013-09-26 17:55:36 +00:00
|
|
|
# TODO: This can be changed back to CFLAGS once iconv works correctly
|
|
|
|
# with statically linked binaries.
|
2015-04-15 09:09:20 +00:00
|
|
|
SHARED_CFLAGS+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DICONV_CONST=
|
2012-02-25 10:58:02 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH:Marm*} != "" || ${MACHINE_ARCH:Mmips*} != "" || \
|
2014-07-07 00:27:09 +00:00
|
|
|
${MACHINE_ARCH:Msparc64*} != ""
|
2012-02-25 10:58:02 +00:00
|
|
|
NO_WCAST_ALIGN= yes
|
|
|
|
.if ${MACHINE_ARCH:M*64*} == ""
|
|
|
|
CFLAGS+= -DPPMD_32BIT
|
|
|
|
.endif
|
|
|
|
.endif
|
2012-03-23 11:18:07 +00:00
|
|
|
NO_WCAST_ALIGN.clang=
|
2012-02-25 10:58:02 +00:00
|
|
|
|
2014-11-02 09:37:45 +00:00
|
|
|
.ifndef COMPAT_32BIT
|
|
|
|
beforeinstall:
|
|
|
|
${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
|
|
|
${.CURDIR}/libarchive.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
|
|
|
|
.endif
|
|
|
|
|
2011-12-22 08:42:07 +00:00
|
|
|
.PATH: ${LIBARCHIVEDIR}/libarchive
|
|
|
|
|
2005-10-13 05:51:38 +00:00
|
|
|
# Headers to be installed in /usr/include
|
2004-08-07 03:09:28 +00:00
|
|
|
INCS= archive.h archive_entry.h
|
|
|
|
|
2006-03-08 01:56:06 +00:00
|
|
|
# Sources to be compiled.
|
2012-02-25 10:58:02 +00:00
|
|
|
SRCS= archive_acl.c \
|
|
|
|
archive_check_magic.c \
|
2013-03-22 13:36:03 +00:00
|
|
|
archive_cmdline.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_crypto.c \
|
2004-08-07 03:09:28 +00:00
|
|
|
archive_entry.c \
|
2007-05-29 01:00:21 +00:00
|
|
|
archive_entry_copy_stat.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_entry_link_resolver.c \
|
|
|
|
archive_entry_sparse.c \
|
2007-05-29 01:00:21 +00:00
|
|
|
archive_entry_stat.c \
|
2007-12-30 04:58:22 +00:00
|
|
|
archive_entry_strmode.c \
|
2009-12-28 02:41:27 +00:00
|
|
|
archive_entry_xattr.c \
|
2012-07-28 06:38:44 +00:00
|
|
|
archive_getdate.c \
|
|
|
|
archive_match.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_options.c \
|
2012-07-28 06:38:44 +00:00
|
|
|
archive_pathmatch.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_ppmd7.c \
|
|
|
|
archive_rb.c \
|
2004-08-07 03:09:28 +00:00
|
|
|
archive_read.c \
|
2013-03-22 13:36:03 +00:00
|
|
|
archive_read_append_filter.c \
|
2004-08-07 03:09:28 +00:00
|
|
|
archive_read_data_into_fd.c \
|
Merge r399,401,402,405,415,430,440,452,453,458,506,533,536,538,544,590
from libarchive.googlecode.com: Add a new "archive_read_disk" API
that provides the important service of reading metadata from the
disk. In particular, this will make it possible to remove all
knowledge of extended attributes, ACLs, etc, from clients such
as bsdtar and bsdcpio.
Closely related, this API also provides pluggable uid->uname
and gid->gname lookup and caching services similar to
the uname->uid and gname->gid services provided by archive_write_disk.
Remember this is also required for correct ACL management.
Documentation is still pending...
2009-03-06 04:35:31 +00:00
|
|
|
archive_read_disk_entry_from_file.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_read_disk_posix.c \
|
Merge r399,401,402,405,415,430,440,452,453,458,506,533,536,538,544,590
from libarchive.googlecode.com: Add a new "archive_read_disk" API
that provides the important service of reading metadata from the
disk. In particular, this will make it possible to remove all
knowledge of extended attributes, ACLs, etc, from clients such
as bsdtar and bsdcpio.
Closely related, this API also provides pluggable uid->uname
and gid->gname lookup and caching services similar to
the uname->uid and gname->gid services provided by archive_write_disk.
Remember this is also required for correct ACL management.
Documentation is still pending...
2009-03-06 04:35:31 +00:00
|
|
|
archive_read_disk_set_standard_lookup.c \
|
2004-08-07 03:09:28 +00:00
|
|
|
archive_read_extract.c \
|
|
|
|
archive_read_open_fd.c \
|
2006-11-24 16:35:54 +00:00
|
|
|
archive_read_open_file.c \
|
2006-11-20 16:48:04 +00:00
|
|
|
archive_read_open_filename.c \
|
2006-11-24 16:35:54 +00:00
|
|
|
archive_read_open_memory.c \
|
2013-03-22 13:36:03 +00:00
|
|
|
archive_read_set_format.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_read_set_options.c \
|
|
|
|
archive_read_support_filter_all.c \
|
|
|
|
archive_read_support_filter_bzip2.c \
|
|
|
|
archive_read_support_filter_compress.c \
|
|
|
|
archive_read_support_filter_gzip.c \
|
2013-03-22 13:36:03 +00:00
|
|
|
archive_read_support_filter_grzip.c \
|
|
|
|
archive_read_support_filter_lrzip.c \
|
|
|
|
archive_read_support_filter_lzop.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_read_support_filter_none.c \
|
|
|
|
archive_read_support_filter_program.c \
|
|
|
|
archive_read_support_filter_rpm.c \
|
|
|
|
archive_read_support_filter_uu.c \
|
|
|
|
archive_read_support_filter_xz.c \
|
|
|
|
archive_read_support_format_7zip.c \
|
2004-08-07 03:09:28 +00:00
|
|
|
archive_read_support_format_all.c \
|
2007-04-14 22:34:10 +00:00
|
|
|
archive_read_support_format_ar.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_read_support_format_by_code.c \
|
|
|
|
archive_read_support_format_cab.c \
|
2004-08-07 03:09:28 +00:00
|
|
|
archive_read_support_format_cpio.c \
|
2007-02-01 06:18:17 +00:00
|
|
|
archive_read_support_format_empty.c \
|
2005-01-02 05:21:15 +00:00
|
|
|
archive_read_support_format_iso9660.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_read_support_format_lha.c \
|
2007-12-30 04:58:22 +00:00
|
|
|
archive_read_support_format_mtree.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_read_support_format_rar.c \
|
2009-04-27 20:09:05 +00:00
|
|
|
archive_read_support_format_raw.c \
|
2004-08-07 03:09:28 +00:00
|
|
|
archive_read_support_format_tar.c \
|
2011-07-17 21:27:38 +00:00
|
|
|
archive_read_support_format_xar.c \
|
2005-01-25 06:07:28 +00:00
|
|
|
archive_read_support_format_zip.c \
|
2004-08-07 03:09:28 +00:00
|
|
|
archive_string.c \
|
|
|
|
archive_string_sprintf.c \
|
|
|
|
archive_util.c \
|
2007-03-03 07:37:37 +00:00
|
|
|
archive_virtual.c \
|
2004-08-07 03:09:28 +00:00
|
|
|
archive_write.c \
|
2012-07-28 06:38:44 +00:00
|
|
|
archive_write_add_filter.c \
|
2012-07-30 14:47:35 +00:00
|
|
|
archive_write_disk_acl.c \
|
2007-03-03 07:37:37 +00:00
|
|
|
archive_write_disk_set_standard_lookup.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_write_disk_posix.c \
|
2004-08-07 03:09:28 +00:00
|
|
|
archive_write_open_fd.c \
|
2006-11-24 16:35:54 +00:00
|
|
|
archive_write_open_file.c \
|
2006-11-20 16:48:04 +00:00
|
|
|
archive_write_open_filename.c \
|
2006-11-24 16:35:54 +00:00
|
|
|
archive_write_open_memory.c \
|
2013-03-22 13:36:03 +00:00
|
|
|
archive_write_add_filter_b64encode.c \
|
|
|
|
archive_write_add_filter_by_name.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_write_add_filter_bzip2.c \
|
|
|
|
archive_write_add_filter_compress.c \
|
2013-03-22 13:36:03 +00:00
|
|
|
archive_write_add_filter_grzip.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_write_add_filter_gzip.c \
|
2013-03-22 13:36:03 +00:00
|
|
|
archive_write_add_filter_lrzip.c \
|
|
|
|
archive_write_add_filter_lzop.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_write_add_filter_none.c \
|
|
|
|
archive_write_add_filter_program.c \
|
2013-03-22 13:36:03 +00:00
|
|
|
archive_write_add_filter_uuencode.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_write_add_filter_xz.c \
|
2004-08-07 03:09:28 +00:00
|
|
|
archive_write_set_format.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_write_set_format_7zip.c \
|
2007-04-07 05:54:23 +00:00
|
|
|
archive_write_set_format_ar.c \
|
2004-08-07 03:09:28 +00:00
|
|
|
archive_write_set_format_by_name.c \
|
|
|
|
archive_write_set_format_cpio.c \
|
2007-06-22 05:47:00 +00:00
|
|
|
archive_write_set_format_cpio_newc.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_write_set_format_gnutar.c \
|
|
|
|
archive_write_set_format_iso9660.c \
|
2008-08-31 07:21:46 +00:00
|
|
|
archive_write_set_format_mtree.c \
|
2004-08-07 03:09:28 +00:00
|
|
|
archive_write_set_format_pax.c \
|
|
|
|
archive_write_set_format_shar.c \
|
2007-05-29 01:00:21 +00:00
|
|
|
archive_write_set_format_ustar.c \
|
2013-03-22 13:36:03 +00:00
|
|
|
archive_write_set_format_v7tar.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_write_set_format_xar.c \
|
2009-12-29 06:15:32 +00:00
|
|
|
archive_write_set_format_zip.c \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_write_set_options.c \
|
2013-03-22 13:36:03 +00:00
|
|
|
filter_fork_posix.c
|
2004-08-07 03:09:28 +00:00
|
|
|
|
2005-10-13 05:51:38 +00:00
|
|
|
# Man pages to be installed.
|
2004-08-07 03:09:28 +00:00
|
|
|
MAN= archive_entry.3 \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_entry_acl.3 \
|
|
|
|
archive_entry_linkify.3 \
|
|
|
|
archive_entry_paths.3 \
|
|
|
|
archive_entry_perms.3 \
|
|
|
|
archive_entry_stat.3 \
|
|
|
|
archive_entry_time.3 \
|
2004-08-07 03:09:28 +00:00
|
|
|
archive_read.3 \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_read_data.3 \
|
2009-04-12 05:04:02 +00:00
|
|
|
archive_read_disk.3 \
|
2012-02-25 10:58:02 +00:00
|
|
|
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 \
|
2004-08-07 03:09:28 +00:00
|
|
|
archive_util.3 \
|
|
|
|
archive_write.3 \
|
2012-02-25 10:58:02 +00:00
|
|
|
archive_write_blocksize.3 \
|
|
|
|
archive_write_data.3 \
|
2007-03-03 07:37:37 +00:00
|
|
|
archive_write_disk.3 \
|
2012-02-25 10:58:02 +00:00
|
|
|
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 \
|
2007-12-30 04:58:22 +00:00
|
|
|
cpio.5 \
|
2004-08-07 03:09:28 +00:00
|
|
|
libarchive.3 \
|
2013-03-22 13:36:03 +00:00
|
|
|
libarchive_changes.3 \
|
2012-02-25 10:58:02 +00:00
|
|
|
libarchive_internals.3 \
|
2004-08-07 03:09:28 +00:00
|
|
|
libarchive-formats.5 \
|
|
|
|
tar.5
|
|
|
|
|
2005-10-13 05:51:38 +00:00
|
|
|
# Symlink the man pages under each function name.
|
2004-08-07 03:09:28 +00:00
|
|
|
MLINKS+= archive_entry.3 archive_entry_clear.3
|
|
|
|
MLINKS+= archive_entry.3 archive_entry_clone.3
|
|
|
|
MLINKS+= archive_entry.3 archive_entry_free.3
|
|
|
|
MLINKS+= archive_entry.3 archive_entry_new.3
|
2012-02-25 10:58:02 +00:00
|
|
|
MLINKS+= archive_entry_acl.3 archive_entry_acl_add_entry.3
|
|
|
|
MLINKS+= archive_entry_acl.3 archive_entry_acl_add_entry_w.3
|
|
|
|
MLINKS+= archive_entry_acl.3 archive_entry_acl_clear.3
|
|
|
|
MLINKS+= archive_entry_acl.3 archive_entry_acl_count.3
|
|
|
|
MLINKS+= archive_entry_acl.3 archive_entry_acl_next.3
|
|
|
|
MLINKS+= archive_entry_acl.3 archive_entry_acl_next_w.3
|
|
|
|
MLINKS+= archive_entry_acl.3 archive_entry_acl_reset.3
|
|
|
|
MLINKS+= archive_entry_acl.3 archive_entry_acl_text_w.3
|
|
|
|
MLINKS+= archive_entry_linkify.3 archive_entry_linkresolver.3
|
|
|
|
MLINKS+= archive_entry_linkify.3 archive_entry_linkresolver_new.3
|
|
|
|
MLINKS+= archive_entry_linkify.3 archive_entry_linkresolver_set_strategy.3
|
|
|
|
MLINKS+= archive_entry_linkify.3 archive_entry_linkresolver_free.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_copy_hardlink.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_copy_hardlink_w.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_copy_link.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_copy_link_w.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_copy_pathname.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_copy_pathname_w.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_copy_sourcepath.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_copy_symlink.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_copy_symlink_w.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_hardlink.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_hardlink_w.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_pathname.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_pathname_w.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_set_hardlink.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_set_link.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_set_pathname.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_set_symlink.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_symlink.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_symlink_w.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_update_symlink_utf8.3
|
|
|
|
MLINKS+= archive_entry_paths.3 archive_entry_update_hardlink_utf8.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_copy_fflags_text.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_copy_fflags_text_w.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_copy_gname.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_copy_gname_w.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_copy_uname.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_copy_uname_w.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_fflags.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_fflags_text.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_gid.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_gname.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_gname_w.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_set_fflags.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_set_gid.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_set_gname.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_perm.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_set_perm.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_set_uid.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_set_uname.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_strmode.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_uid.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_uname.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_uname_w.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_update_gname_utf8.3
|
|
|
|
MLINKS+= archive_entry_perms.3 archive_entry_update_uname_utf8.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_copy_stat.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_dev.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_dev_is_set.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_devmajor.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_devminor.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_filetype.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_ino.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_ino64.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_ino_is_set.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_mode.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_nlink.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_rdev.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_rdevmajor.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_rdevminor.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_set_dev.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_set_devmajor.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_set_devminor.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_set_filetype.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_set_ino.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_set_ino64.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_set_mode.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_set_nlink.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_set_rdev.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_set_rdevmajor.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_set_rdevminor.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_set_size.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_size.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_size_is_set.3
|
|
|
|
MLINKS+= archive_entry_stat.3 archive_entry_unset_size.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_atime.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_atime_is_set.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_atime_nsec.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_birthtime.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_birthtime_is_set.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_birthtime_nsec.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_ctime.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_ctime_is_set.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_ctime_nsec.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_mtime.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_mtime_is_set.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_mtime_nsec.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_set_atime.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_set_birthtime.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_set_ctime.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_set_mtime.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_unset_atime.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_unset_birthtime.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_unset_ctime.3
|
|
|
|
MLINKS+= archive_entry_time.3 archive_entry_unset_mtime.3
|
|
|
|
MLINKS+= archive_read_data.3 archive_read_data_block.3
|
|
|
|
MLINKS+= archive_read_data.3 archive_read_data_into_fd.3
|
|
|
|
MLINKS+= archive_read_data.3 archive_read_data_skip.3
|
|
|
|
MLINKS+= archive_read_header.3 archive_read_next_header.3
|
|
|
|
MLINKS+= archive_read_header.3 archive_read_next_header2.3
|
|
|
|
MLINKS+= archive_read_extract.3 archive_read_extract2.3
|
|
|
|
MLINKS+= archive_read_extract.3 archive_read_extract_set_progress_callback.3
|
|
|
|
MLINKS+= archive_read_extract.3 archive_read_extract_set_skip_file.3
|
|
|
|
MLINKS+= archive_read_open.3 archive_read_open2.3
|
|
|
|
MLINKS+= archive_read_open.3 archive_read_open_FILE.3
|
|
|
|
MLINKS+= archive_read_open.3 archive_read_open_fd.3
|
|
|
|
MLINKS+= archive_read_open.3 archive_read_open_file.3
|
|
|
|
MLINKS+= archive_read_open.3 archive_read_open_filename.3
|
|
|
|
MLINKS+= archive_read_open.3 archive_read_open_memory.3
|
|
|
|
MLINKS+= archive_read_free.3 archive_read_close.3
|
|
|
|
MLINKS+= archive_read_free.3 archive_read_finish.3
|
|
|
|
MLINKS+= archive_read_filter.3 archive_read_support_filter_all.3
|
|
|
|
MLINKS+= archive_read_filter.3 archive_read_support_filter_bzip2.3
|
|
|
|
MLINKS+= archive_read_filter.3 archive_read_support_filter_compress.3
|
|
|
|
MLINKS+= archive_read_filter.3 archive_read_support_filter_gzip.3
|
|
|
|
MLINKS+= archive_read_filter.3 archive_read_support_filter_lzma.3
|
|
|
|
MLINKS+= archive_read_filter.3 archive_read_support_filter_none.3
|
|
|
|
MLINKS+= archive_read_filter.3 archive_read_support_filter_xz.3
|
|
|
|
MLINKS+= archive_read_filter.3 archive_read_support_filter_program.3
|
|
|
|
MLINKS+= archive_read_filter.3 archive_read_support_filter_program_signature.3
|
|
|
|
MLINKS+= archive_read_format.3 archive_read_support_format_7zip.3
|
|
|
|
MLINKS+= archive_read_format.3 archive_read_support_format_all.3
|
|
|
|
MLINKS+= archive_read_format.3 archive_read_support_format_ar.3
|
|
|
|
MLINKS+= archive_read_format.3 archive_read_support_format_by_code.3
|
|
|
|
MLINKS+= archive_read_format.3 archive_read_support_format_cab.3
|
|
|
|
MLINKS+= archive_read_format.3 archive_read_support_format_cpio.3
|
|
|
|
MLINKS+= archive_read_format.3 archive_read_support_format_empty.3
|
|
|
|
MLINKS+= archive_read_format.3 archive_read_support_format_iso9660.3
|
|
|
|
MLINKS+= archive_read_format.3 archive_read_support_format_lha.3
|
|
|
|
MLINKS+= archive_read_format.3 archive_read_support_format_mtree.3
|
|
|
|
MLINKS+= archive_read_format.3 archive_read_support_format_rar.3
|
|
|
|
MLINKS+= archive_read_format.3 archive_read_support_format_raw.3
|
|
|
|
MLINKS+= archive_read_format.3 archive_read_support_format_tar.3
|
|
|
|
MLINKS+= archive_read_format.3 archive_read_support_format_xar.3
|
|
|
|
MLINKS+= archive_read_format.3 archive_read_support_format_zip.3
|
2009-04-12 05:04:02 +00:00
|
|
|
MLINKS+= archive_read_disk.3 archive_read_disk_entry_from_file.3
|
|
|
|
MLINKS+= archive_read_disk.3 archive_read_disk_gname.3
|
|
|
|
MLINKS+= archive_read_disk.3 archive_read_disk_new.3
|
|
|
|
MLINKS+= archive_read_disk.3 archive_read_disk_set_gname_lookup.3
|
|
|
|
MLINKS+= archive_read_disk.3 archive_read_disk_set_standard_lookup.3
|
|
|
|
MLINKS+= archive_read_disk.3 archive_read_disk_set_symlink_hybrid.3
|
|
|
|
MLINKS+= archive_read_disk.3 archive_read_disk_set_symlink_logical.3
|
|
|
|
MLINKS+= archive_read_disk.3 archive_read_disk_set_symlink_physical.3
|
|
|
|
MLINKS+= archive_read_disk.3 archive_read_disk_set_uname_lookup.3
|
|
|
|
MLINKS+= archive_read_disk.3 archive_read_disk_uname.3
|
2012-02-25 10:58:02 +00:00
|
|
|
MLINKS+= archive_read_set_options.3 archive_read_set_filter_option.3
|
|
|
|
MLINKS+= archive_read_set_options.3 archive_read_set_format_option.3
|
|
|
|
MLINKS+= archive_read_set_options.3 archive_read_set_option.3
|
2007-03-03 07:37:37 +00:00
|
|
|
MLINKS+= archive_util.3 archive_clear_error.3
|
2004-08-07 03:09:28 +00:00
|
|
|
MLINKS+= archive_util.3 archive_compression.3
|
|
|
|
MLINKS+= archive_util.3 archive_compression_name.3
|
2012-02-25 10:58:02 +00:00
|
|
|
MLINKS+= archive_util.3 archive_copy_error.3
|
2004-08-07 03:09:28 +00:00
|
|
|
MLINKS+= archive_util.3 archive_errno.3
|
|
|
|
MLINKS+= archive_util.3 archive_error_string.3
|
2009-12-28 02:58:14 +00:00
|
|
|
MLINKS+= archive_util.3 archive_file_count.3
|
2012-02-25 10:58:02 +00:00
|
|
|
MLINKS+= archive_util.3 archive_filter_code.3
|
|
|
|
MLINKS+= archive_util.3 archive_filter_count.3
|
|
|
|
MLINKS+= archive_util.3 archive_filter_name.3
|
2004-08-07 03:09:28 +00:00
|
|
|
MLINKS+= archive_util.3 archive_format.3
|
|
|
|
MLINKS+= archive_util.3 archive_format_name.3
|
2012-02-25 10:58:02 +00:00
|
|
|
MLINKS+= archive_util.3 archive_position.3
|
2004-11-05 05:38:15 +00:00
|
|
|
MLINKS+= archive_util.3 archive_set_error.3
|
2012-02-25 10:58:02 +00:00
|
|
|
MLINKS+= archive_write_blocksize.3 archive_write_get_bytes_in_last_block.3
|
|
|
|
MLINKS+= archive_write_blocksize.3 archive_write_get_bytes_per_block.3
|
|
|
|
MLINKS+= archive_write_blocksize.3 archive_write_set_bytes_in_last_block.3
|
|
|
|
MLINKS+= archive_write_blocksize.3 archive_write_set_bytes_per_block.3
|
|
|
|
MLINKS+= archive_write_disk.3 archive_write_data_block.3
|
2007-03-03 07:37:37 +00:00
|
|
|
MLINKS+= archive_write_disk.3 archive_write_disk_new.3
|
|
|
|
MLINKS+= archive_write_disk.3 archive_write_disk_set_group_lookup.3
|
|
|
|
MLINKS+= archive_write_disk.3 archive_write_disk_set_options.3
|
|
|
|
MLINKS+= archive_write_disk.3 archive_write_disk_set_skip_file.3
|
|
|
|
MLINKS+= archive_write_disk.3 archive_write_disk_set_standard_lookup.3
|
|
|
|
MLINKS+= archive_write_disk.3 archive_write_disk_set_user_lookup.3
|
2012-02-25 10:58:02 +00:00
|
|
|
MLINKS+= archive_write_filter.3 archive_write_add_filter_bzip2.3
|
|
|
|
MLINKS+= archive_write_filter.3 archive_write_add_filter_compress.3
|
|
|
|
MLINKS+= archive_write_filter.3 archive_write_add_filter_gzip.3
|
|
|
|
MLINKS+= archive_write_filter.3 archive_write_add_filter_lzip.3
|
|
|
|
MLINKS+= archive_write_filter.3 archive_write_add_filter_lzma.3
|
|
|
|
MLINKS+= archive_write_filter.3 archive_write_add_filter_none.3
|
|
|
|
MLINKS+= archive_write_filter.3 archive_write_add_filter_program.3
|
|
|
|
MLINKS+= archive_write_filter.3 archive_write_add_filter_xz.3
|
|
|
|
MLINKS+= archive_write_format.3 archive_write_set_format_cpio.3
|
|
|
|
MLINKS+= archive_write_format.3 archive_write_set_format_pax.3
|
|
|
|
MLINKS+= archive_write_format.3 archive_write_set_format_pax_restricted.3
|
|
|
|
MLINKS+= archive_write_format.3 archive_write_set_format_shar.3
|
|
|
|
MLINKS+= archive_write_format.3 archive_write_set_format_shar_dump.3
|
|
|
|
MLINKS+= archive_write_format.3 archive_write_set_format_ustar.3
|
|
|
|
MLINKS+= archive_write_free.3 archive_write_close.3
|
2013-03-22 13:36:03 +00:00
|
|
|
MLINKS+= archive_write_free.3 archive_write_fail.3
|
2012-02-25 10:58:02 +00:00
|
|
|
MLINKS+= archive_write_free.3 archive_write_finish.3
|
|
|
|
MLINKS+= archive_write_open.3 archive_write_open_FILE.3
|
|
|
|
MLINKS+= archive_write_open.3 archive_write_open_fd.3
|
|
|
|
MLINKS+= archive_write_open.3 archive_write_open_file.3
|
|
|
|
MLINKS+= archive_write_open.3 archive_write_open_filename.3
|
|
|
|
MLINKS+= archive_write_open.3 archive_write_open_memory.3
|
|
|
|
MLINKS+= archive_write_set_options.3 archive_write_set_filter_option.3
|
|
|
|
MLINKS+= archive_write_set_options.3 archive_write_set_format_option.3
|
|
|
|
MLINKS+= archive_write_set_options.3 archive_write_set_option.3
|
2004-08-07 03:09:28 +00:00
|
|
|
MLINKS+= libarchive.3 archive.3
|
|
|
|
|
2011-12-22 08:42:07 +00:00
|
|
|
.PHONY: check test clean-test
|
2008-05-26 17:00:24 +00:00
|
|
|
check test:
|
2011-12-22 08:42:07 +00:00
|
|
|
cd ${.CURDIR}/test && make obj && make test
|
|
|
|
|
|
|
|
clean-test:
|
|
|
|
cd ${.CURDIR}/test && make clean
|
2007-03-03 07:37:37 +00:00
|
|
|
|
2004-08-07 03:09:28 +00:00
|
|
|
.include <bsd.lib.mk>
|