Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/libarchive/dist GC old files.
details: https://anonhg.NetBSD.org/src/rev/dc748c211278
branches: trunk
changeset: 823362:dc748c211278
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Apr 20 13:06:28 2017 +0000
description:
GC old files.
diffstat:
external/bsd/libarchive/dist/README | 137 -
external/bsd/libarchive/dist/cpio/test/CMakeLists.txt | 79 -
external/bsd/libarchive/dist/cpio/test/list.h | 27 -
external/bsd/libarchive/dist/cpio/test/main.c | 2140 --------
external/bsd/libarchive/dist/cpio/test/test_pathmatch.c | 243 -
external/bsd/libarchive/dist/libarchive/archive_hash.h | 281 -
external/bsd/libarchive/dist/libarchive/archive_read_disk.c | 198 -
external/bsd/libarchive/dist/libarchive/archive_read_support_compression_all.c | 60 -
external/bsd/libarchive/dist/libarchive/archive_read_support_compression_bzip2.c | 353 -
external/bsd/libarchive/dist/libarchive/archive_read_support_compression_compress.c | 444 -
external/bsd/libarchive/dist/libarchive/archive_read_support_compression_gzip.c | 465 -
external/bsd/libarchive/dist/libarchive/archive_read_support_compression_none.c | 40 -
external/bsd/libarchive/dist/libarchive/archive_read_support_compression_program.c | 459 -
external/bsd/libarchive/dist/libarchive/archive_read_support_compression_rpm.c | 287 -
external/bsd/libarchive/dist/libarchive/archive_read_support_compression_uu.c | 627 --
external/bsd/libarchive/dist/libarchive/archive_read_support_compression_xz.c | 708 --
external/bsd/libarchive/dist/libarchive/archive_write_disk.c | 2627 ----------
external/bsd/libarchive/dist/libarchive/archive_write_set_compression_bzip2.c | 408 -
external/bsd/libarchive/dist/libarchive/archive_write_set_compression_compress.c | 492 -
external/bsd/libarchive/dist/libarchive/archive_write_set_compression_gzip.c | 477 -
external/bsd/libarchive/dist/libarchive/archive_write_set_compression_none.c | 257 -
external/bsd/libarchive/dist/libarchive/archive_write_set_compression_program.c | 347 -
external/bsd/libarchive/dist/libarchive/archive_write_set_compression_xz.c | 438 -
external/bsd/libarchive/dist/libarchive/filter_fork.c | 161 -
external/bsd/libarchive/dist/libarchive/test/CMakeLists.txt | 158 -
external/bsd/libarchive/dist/libarchive/test/list.h | 106 -
external/bsd/libarchive/dist/libarchive/test/main.c | 2130 --------
external/bsd/libarchive/dist/libarchive/test/test_acl_basic.c | 229 -
external/bsd/libarchive/dist/libarchive/test/test_acl_freebsd.c | 255 -
external/bsd/libarchive/dist/libarchive/test/test_read_compress_program.c | 84 -
external/bsd/libarchive/dist/libarchive/test/test_read_format_iso_gz.c | 52 -
external/bsd/libarchive/dist/libarchive/test/test_read_uu.c | 134 -
external/bsd/libarchive/dist/libarchive/test/test_write_compress.c | 102 -
external/bsd/libarchive/dist/libarchive/test/test_write_compress_bzip2.c | 228 -
external/bsd/libarchive/dist/libarchive/test/test_write_compress_gzip.c | 252 -
external/bsd/libarchive/dist/libarchive/test/test_write_compress_lzma.c | 245 -
external/bsd/libarchive/dist/libarchive/test/test_write_compress_program.c | 118 -
external/bsd/libarchive/dist/libarchive/test/test_write_compress_xz.c | 253 -
external/bsd/libarchive/dist/libarchive/test/test_write_format_zip_no_compression.c | 304 -
external/bsd/libarchive/dist/libarchive_fe/matching.c | 284 -
external/bsd/libarchive/dist/libarchive_fe/matching.h | 46 -
external/bsd/libarchive/dist/libarchive_fe/pathmatch.c | 255 -
external/bsd/libarchive/dist/libarchive_fe/pathmatch.h | 42 -
external/bsd/libarchive/dist/tar/getdate.c | 1037 ---
external/bsd/libarchive/dist/tar/test/CMakeLists.txt | 67 -
external/bsd/libarchive/dist/tar/test/list.h | 16 -
external/bsd/libarchive/dist/tar/test/main.c | 2242 --------
external/bsd/libarchive/dist/tar/test/test_getdate.c | 80 -
external/bsd/libarchive/dist/tar/tree.c | 821 ---
external/bsd/libarchive/dist/tar/tree.h | 141 -
50 files changed, 0 insertions(+), 21436 deletions(-)
diffs (truncated from 21636 to 300 lines):
diff -r 8d6c5d9529dd -r dc748c211278 external/bsd/libarchive/dist/README
--- a/external/bsd/libarchive/dist/README Thu Apr 20 13:01:40 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,137 +0,0 @@
-README for libarchive bundle.
-
-Questions? Issues?
- * http://libarchive.googlecode.com/ is the home for ongoing
- libarchive development, including issue tracker, additional
- documentation, and links to the libarchive mailing lists.
-
-This distribution bundle includes the following components:
- * libarchive: a library for reading and writing streaming archives
- * tar: the 'bsdtar' program is a full-featured 'tar'
- replacement built on libarchive
- * cpio: the 'bsdcpio' program is a different interface to
- essentially the same functionality
- * examples: Some small example programs that you may find useful.
- * examples/minitar: a compact sample demonstrating use of libarchive.
- I use this for testing link pollution; it should produce a very
- small executable file on most systems.
- * contrib: Various items sent to me by third parties;
- please contact the authors with any questions.
-
-The top-level directory contains the following information files:
- * NEWS - highlights of recent changes
- * COPYING - what you can do with this
- * INSTALL - installation instructions
- * README - this file
- * configure - configuration script, see INSTALL for details.
- * CMakeLists.txt - input for "cmake" build tool, see INSTALL
-
-The following files in the top-level directory are used by the
-'configure' script:
- * Makefile.am, aclocal.m4, configure.ac
- - used to build this distribution, only needed by maintainers
- * Makefile.in, config.h.in
- - templates used by configure script
-
-Guide to Documentation installed by this system:
- * bsdtar.1 explains the use of the bsdtar program
- * bsdcpio.1 explains the use of the bsdcpio program
- * libarchive.3 gives an overview of the library as a whole
- * archive_read.3, archive_write.3, archive_write_disk.3, and
- archive_read_disk.3 provide detailed calling sequences for the read
- and write APIs
- * archive_entry.3 details the "struct archive_entry" utility class
- * archive_internals.3 provides some insight into libarchive's
- internal structure and operation.
- * libarchive-formats.5 documents the file formats supported by the library
- * cpio.5, mtree.5, and tar.5 provide detailed information about these
- popular archive formats, including hard-to-find details about
- modern cpio and tar variants.
-The manual pages above are provided in the 'doc' directory in
-a number of different formats.
-
-You should also read the copious comments in "archive.h" and the
-source code for the sample programs for more details. Please let me
-know about any errors or omissions you find.
-
-Currently, the library automatically detects and reads the following:
- * gzip compression
- * bzip2 compression
- * compress/LZW compression
- * lzma and xz compression
- * GNU tar format (including GNU long filenames, long link names, and
- sparse files)
- * Solaris 9 extended tar format (including ACLs)
- * Old V7 tar archives
- * POSIX ustar
- * POSIX pax interchange format
- * POSIX octet-oriented cpio
- * SVR4 ASCII cpio
- * POSIX octet-oriented cpio
- * Binary cpio (big-endian or little-endian)
- * ISO9660 CD-ROM images (with optional Rockridge or Joliet extensions)
- * ZIP archives (with uncompressed or "deflate" compressed entries)
- * GNU and BSD 'ar' archives
- * 'mtree' format
-
-The library can write:
- * gzip compression
- * bzip2 compression
- * compress/LZW compression
- * lzma and xz compression
- * POSIX ustar
- * POSIX pax interchange format
- * "restricted" pax format, which will create ustar archives except for
- entries that require pax extensions (for long filenames, ACLs, etc).
- * POSIX octet-oriented cpio
- * SVR4 "newc" cpio
- * shar archives
- * ZIP archives (with uncompressed or "deflate" compressed entries)
- * GNU and BSD 'ar' archives
- * 'mtree' format
-
-Notes about the library architecture:
-
- * This is a heavily stream-oriented system. There is no direct
- support for in-place modification or random access.
-
- * The library is designed to be extended with new compression and
- archive formats. The only requirement is that the format be
- readable or writable as a stream and that each archive entry be
- independent. There are articles on the libarchive Wiki explaining
- how to extend libarchive.
-
- * On read, compression and format are always detected automatically.
-
- * I've attempted to minimize static link pollution. If you don't
- explicitly invoke a particular feature (such as support for a
- particular compression or format), it won't get pulled in.
- In particular, if you don't explicitly enable a particular
- compression or decompression support, you won't need to link
- against the corresponding compression or decompression libraries.
- This also reduces the size of statically-linked binaries in
- environments where that matters.
-
- * On read, the library accepts whatever blocks you hand it.
- Your read callback is free to pass the library a byte at a time
- or mmap the entire archive and give it to the library at once.
- On write, the library always produces correctly-blocked output.
-
- * The object-style approach allows you to have multiple archive streams
- open at once. bsdtar uses this in its "@archive" extension.
-
- * The archive itself is read/written using callback functions.
- You can read an archive directly from an in-memory buffer or
- write it to a socket, if you wish. There are some utility
- functions to provide easy-to-use "open file," etc, capabilities.
-
- * The read/write APIs are designed to allow individual entries
- to be read or written to any data source: You can create
- a block of data in memory and add it to a tar archive without
- first writing a temporary file. You can also read an entry from
- an archive and write the data directly to a socket. If you want
- to read/write entries to disk, there are convenience functions to
- make this especially easy.
-
- * Note: "pax interchange format" is really an extended tar format,
- despite what the name says.
diff -r 8d6c5d9529dd -r dc748c211278 external/bsd/libarchive/dist/cpio/test/CMakeLists.txt
--- a/external/bsd/libarchive/dist/cpio/test/CMakeLists.txt Thu Apr 20 13:01:40 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-############################################
-#
-# How to build bsdcpio_test
-#
-############################################
-IF(ENABLE_CPIO AND ENABLE_TEST)
- SET(bsdcpio_test_SOURCES
- ../cmdline.c
- ../../libarchive_fe/err.c
- ../../libarchive_fe/pathmatch.c
- main.c
- test.h
- test_0.c
- test_basic.c
- test_cmdline.c
- test_format_newc.c
- test_gcpio_compat.c
- test_option_B_upper.c
- test_option_C_upper.c
- test_option_J_upper.c
- test_option_L_upper.c
- test_option_Z_upper.c
- test_option_a.c
- test_option_c.c
- test_option_d.c
- test_option_f.c
- test_option_help.c
- test_option_l.c
- test_option_lzma.c
- test_option_m.c
- test_option_t.c
- test_option_u.c
- test_option_version.c
- test_option_y.c
- test_option_z.c
- test_owner_parse.c
- test_passthrough_dotdot.c
- test_passthrough_reverse.c
- test_pathmatch.c
- )
- IF(WIN32 AND NOT CYGWIN)
- LIST(APPEND bsdcpio_test_SOURCES ../cpio_windows.h)
- ENDIF(WIN32 AND NOT CYGWIN)
-
- #
- # Register target
- #
- ADD_EXECUTABLE(bsdcpio_test ${bsdcpio_test_SOURCES})
- SET_PROPERTY(TARGET bsdcpio_test PROPERTY COMPILE_DEFINITIONS LIST_H)
-
- #
- # Generate list.h by grepping DEFINE_TEST() lines out of the C sources.
- #
- GENERATE_LIST_H(${CMAKE_CURRENT_BINARY_DIR}/list.h
- ${CMAKE_CURRENT_LIST_FILE} ${bsdcpio_test_SOURCES})
- SET_PROPERTY(DIRECTORY APPEND PROPERTY INCLUDE_DIRECTORIES
- ${CMAKE_CURRENT_BINARY_DIR})
-
- # list.h has a line DEFINE_TEST(testname) for every
- # test. We can use that to define the tests for cmake by
- # defining a DEFINE_TEST macro and reading list.h in.
- MACRO (DEFINE_TEST _testname)
- ADD_TEST_28(
- NAME bsdcpio_${_testname}
- COMMAND bsdcpio_test -vv
- -p $<TARGET_FILE:bsdcpio>
- -r ${CMAKE_CURRENT_SOURCE_DIR}
- ${_testname})
- ENDMACRO (DEFINE_TEST _testname)
-
- INCLUDE(${CMAKE_CURRENT_BINARY_DIR}/list.h)
-
- # Experimental new test handling
- ADD_CUSTOM_TARGET(run_bsdcpio_test
- COMMAND bsdcpio_test -p ${BSDCPIO} -r ${CMAKE_CURRENT_SOURCE_DIR})
- ADD_DEPENDENCIES(run_bsdcpio_test bsdcpio)
- ADD_DEPENDENCIES(run_all_tests run_bsdcpio_test)
-ENDIF(ENABLE_CPIO AND ENABLE_TEST)
-
diff -r 8d6c5d9529dd -r dc748c211278 external/bsd/libarchive/dist/cpio/test/list.h
--- a/external/bsd/libarchive/dist/cpio/test/list.h Thu Apr 20 13:01:40 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-DEFINE_TEST(test_0)
-DEFINE_TEST(test_basic)
-DEFINE_TEST(test_cmdline)
-DEFINE_TEST(test_format_newc)
-DEFINE_TEST(test_gcpio_compat)
-DEFINE_TEST(test_option_B_upper)
-DEFINE_TEST(test_option_C_upper)
-DEFINE_TEST(test_option_J_upper)
-DEFINE_TEST(test_option_L_upper)
-DEFINE_TEST(test_option_Z_upper)
-DEFINE_TEST(test_option_a)
-DEFINE_TEST(test_option_c)
-DEFINE_TEST(test_option_d)
-DEFINE_TEST(test_option_f)
-DEFINE_TEST(test_option_help)
-DEFINE_TEST(test_option_l)
-DEFINE_TEST(test_option_lzma)
-DEFINE_TEST(test_option_m)
-DEFINE_TEST(test_option_t)
-DEFINE_TEST(test_option_u)
-DEFINE_TEST(test_option_version)
-DEFINE_TEST(test_option_y)
-DEFINE_TEST(test_option_z)
-DEFINE_TEST(test_owner_parse)
-DEFINE_TEST(test_passthrough_dotdot)
-DEFINE_TEST(test_passthrough_reverse)
-DEFINE_TEST(test_pathmatch)
diff -r 8d6c5d9529dd -r dc748c211278 external/bsd/libarchive/dist/cpio/test/main.c
--- a/external/bsd/libarchive/dist/cpio/test/main.c Thu Apr 20 13:01:40 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2140 +0,0 @@
-/*
- * Copyright (c) 2003-2009 Tim Kientzle
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "test.h"
-#include <errno.h>
-#include <locale.h>
-#include <stdarg.h>
-#include <time.h>
-
-/*
- * This same file is used pretty much verbatim for all test harnesses.
- *
- * The next few lines are the only differences.
- * TODO: Move this into a separate configuration header, have all test
- * suites share one copy of this file.
- */
-__FBSDID("$FreeBSD: src/usr.bin/cpio/test/main.c,v 1.3 2008/08/24 04:58:22 kientzle Exp $");
-#define KNOWNREF "test_option_f.cpio.uu"
-#define ENVBASE "BSDCPIO" /* Prefix for environment variables. */
Home |
Main Index |
Thread Index |
Old Index