/freebsd/.github/workflows/ |
H A D | cross-bootstrap-tools.yml | 1 name: Cross-build Kernel 16 runs-on: ${{ matrix.os }} 18 fail-fast: false 21 os: [ ubuntu-22.04, ubuntu-24.04, macos-latest ] 24 - os: ubuntu-22.04 25 compiler: clang-14 26 cross-bindir: /usr/lib/llvm-14/bin 27 pkgs: bmake libarchive-dev clang-14 lld-14 28 - os: ubuntu-24.04 29 compiler: clang-18 [all …]
|
/freebsd/contrib/libarchive/cpio/ |
H A D | bsdcpio.1 | 2 .\" SPDX-License-Identifier: BSD-2-Clause 4 .\" Copyright (c) 2003-2007 Tim Kientzle 22 .Ar < name-list 27 .Ar dest-dir 28 .Ar < name-list 39 .Bl -tag -compact -width indent 54 Pass-through. 61 .Bl -tag -width indent 71 When writing a cpio archive, use the (newer, non-PWB) binary format. 92 .It Fl d , Fl Fl make-directories [all …]
|
/freebsd/contrib/elftoolchain/ |
H A D | .cirrus.yml | 3 image: freebsd-11-2-release-amd64 4 install_script: pkg install -y git py27-yaml 6 - fetch http://tetworks.opengroup.org/downloads/38/software/Sources/3.8/tet3.8-src.tar.gz 7 - tar -x -C test/tet -f tet3.8-src.tar.gz 8 - make 14 - apt-get update 15 - apt-get install -y 17 libarchive-dev libbsd-dev libc6-dev libexpat1-dev lsb-release 18 m4 perl python-yaml sharutils zlib1g-dev 20 - curl -O http://tetworks.opengroup.org/downloads/38/software/Sources/3.8/tet3.8-src.tar.gz [all …]
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_entry_stat.3 | 60 Streaming Archive Library (libarchive, -larchive) 86 .Fn archive_entry_set_dev "struct archive_entry *a" "dev_t dev" 118 .Fn archive_entry_set_rdev "struct archive_entry *a" "dev_t dev" 151 and high-precision information for time-related fields 168 .Bl -tag -width "AE_IFSOCK" -compact -offset indent 274 .Xr libarchive 3
|
H A D | archive.h | 1 /*- 2 * Copyright (c) 2003-2010 Tim Kientzle 48 * Note: archive.h is for use outside of libarchive; the configuration 60 /* Get appropriate definitions of 64-bit integer */ 107 /* Use 64-bits integer types for time_t */ 115 /* Use 64-bits integer types for dev_t */ 127 * libarchive source should ever define __LIBARCHIVE_BUILD. 146 /* Static libraries or non-Windows needs no special declaration. */ 171 * dynamically-linked version of the library). Of course, if the 181 #define ARCHIVE_VERSION_STRING "libarchive " ARCHIVE_VERSION_ONLY_STRING [all …]
|
H A D | archive_entry.h | 1 /*- 2 * Copyright (c) 2003-2008 Tim Kientzle 34 * Note: archive_entry.h is for use outside of libarchive; the 53 /* Get a suitable 64-bit integer type. */ 97 /* Switch to plain 'int' for libarchive 4.0. It's less broken than 'mode_t' */ 109 /* Use 64-bits integer types for time_t */ 117 /* Use 64-bits integer types for dev_t */ 122 /* Libarchive 3.x used signed int64 for inode numbers */ 125 /* Switch to unsigned for libarchive 4.0 */ 137 * libarchive source should ever define __LIBARCHIVE_BUILD. [all …]
|
H A D | tar.5 | 1 .\" Copyright (c) 2003-2009 Tim Kientzle 39 tape drives that operate with fixed-size blocks, but is widely used as 44 archive consists of a series of 512-byte records. 61 commonly used with modern high-speed tape drives. 69 .Ss Old-Style Archive Format 76 which seems to be the earliest widely-used version of the tar program. 78 The header record for an old-style 81 .Bd -literal -offset indent 96 .Bl -ta [all...] |
H A D | archive_read_private.h | 1 /*- 2 * Copyright (c) 2003-2007 Tim Kientzle 31 #error This header is only to be used internally to libarchive. 47 /* Initialize a newly-created filter. */ 55 * * The bid manager initializes the client-provided reader as the 65 * This ends only when no bidder provides a non-zero bid. Then 126 * so should be deferred at least until libarchive 3.0. 163 /* Dev/ino of the archive being read/written. */ 180 /* File offset of beginning of most recently-read header. */
|
H A D | archive_write_private.h | 1 /*- 2 * Copyright (c) 2003-2007 Tim Kientzle 31 #error This header is only to be used internally to libarchive. 78 /* Dev/ino of the archive being written. */ 110 * Pointers to format-specific functions for writing. They're 141 * Generally, format-specific declarations don't belong in this
|
H A D | archive_pack_dev.c | 3 /*- 79 /* This is blatantly stolen from libarchive/archive_entry.c, 108 dev_t dev = 0; 111 dev = apd_makedev(numbers[0], numbers[1]); 112 if ((unsigned long)major(dev) != numbers[0]) 114 else if ((unsigned long)minor(dev) != numbers[1]) in pack_native() 118 return (dev); in pack_native() 125 dev_t dev = 0; in pack_native() 128 dev = makedev_netbsd(numbers[0], numbers[1]); 129 if ((unsigned long)major_netbsd(dev) ! 115 dev_t dev = 0; pack_native() local 132 dev_t dev = 0; pack_netbsd() local 154 dev_t dev = 0; pack_freebsd() local 176 dev_t dev = 0; pack_8_8() local 198 dev_t dev = 0; pack_12_20() local 220 dev_t dev = 0; pack_14_18() local 242 dev_t dev = 0; pack_8_24() local 266 dev_t dev = 0; pack_bsdos() local [all...] |
H A D | archive_read_support_format_tar.c | 1 /*- 2 * Copyright (c) 2003-2023 Tim Kientzle 3 * Copyright (c) 2011-2012 Michihiro NAKAJIMA 239 * prevent a maliciously-crafted archive from forcing us to 272 archive_set_error(&a->archive, ENOMEM, in archive_read_support_format_tar() 278 tar->process_mac_extensions = 1; in archive_read_support_format_tar() 302 tar = (struct tar *)(a->format->data); in archive_read_format_tar_cleanup() 304 archive_string_free(&tar->entry_pathname); in archive_read_format_tar_cleanup() 305 archive_string_free(&tar->entry_pathname_override); in archive_read_format_tar_cleanup() 306 archive_string_free(&tar->entry_uname); in archive_read_format_tar_cleanup() [all …]
|
H A D | archive_read_support_filter_compress.c | 1 /*- 2 * Copyright (c) 2003-2007 Tim Kientzle 32 /*- 123 * "worst" case here comes from compressing /dev/zero: the 125 * 65536-256 zero bytes. Thus, we need stack space to expand 126 * a 65280-byte dictionary entry. (Of course, 32640:1 127 * compression could also be considered the "best" case. ;-) 143 /* Deprecated; remove in libarchive 4.0 */ 217 self->code = ARCHIVE_FILTER_COMPRESS; in compress_bidder_init() 218 self->name = "compress (.Z)"; in compress_bidder_init() [all …]
|
H A D | archive_read_support_format_cpio.c | 1 /*- 2 * Copyright (c) 2003-2007 Tim Kientzle 3 * Copyright (c) 2010-2012 Michihiro NAKAJIMA 168 dev_t dev; member 234 archive_set_error(&a->archive, ENOMEM, "Can't allocate cpio data"); in archive_read_support_format_cpio() 237 cpio->magic = CPIO_MAGIC; in archive_read_support_format_cpio() 267 cpio = (struct cpio *)(a->format->data); in archive_read_format_cpio_bid() 270 return (-1); in archive_read_format_cpio_bid() 275 cpio->read_header = header_odc; in archive_read_format_cpio_bid() 283 cpio->read_header = header_odc; in archive_read_format_cpio_bid() [all …]
|
/freebsd/contrib/elftoolchain/ar/ |
H A D | ar.h | 1 /*- 26 * $Id: ar.h 3629 2018-09-30 19:26:28Z jkoshy $ 36 #define AR_A 0x0001 /* position-after */ 37 #define AR_B 0x0002 /* position-before */ 60 * Convenient wrapper for general libarchive error handling. 69 * The 'ACV' wrapper is used for libarchive APIs that changed from 70 * returning 'void' to returning an 'int' in later versions of libarchive. 81 * In-memory representation of archive member(object). 91 dev_t dev; /* inode's device */ member 103 const char *posarg; /* position arg for modifiers -a, -b. */
|
/freebsd/contrib/libarchive/tar/ |
H A D | bsdtar.1 | 2 .\" SPDX-License-Identifier: BSD-2-Clause 4 .\" Copyright (c) 2003-2007 Tim Kientzle 16 .Op Ar bundled-flags Ao args Ac 24 .Fl f Ar archive-file 35 rar, rpm, 7-zip, and ISO 9660 cdrom images and can create tar, pax, 36 cpio, ar, zip, 7-zip, and shar archives. 51 .Bl -tag -compact -width indent 103 Patterns are shell-style globbing patterns as 109 .Bl -tag -width indent 116 .Dl Nm Fl c Fl f Pa - Pa newfile Cm @ Ns Pa original.tar [all …]
|
H A D | bsdtar.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2003-2008 Tim Kientzle 61 // Libarchive 4.0 and later will NOT define _PATH_DEFTAPE 65 #define _PATH_DEFTAPE "/dev/st0" 69 #define _PATH_DEFTAPE "/dev/tape" 73 #define _PATH_STDIO "-" 110 /* A basic set of security flags to request from libarchive. */ 127 ".arch-ids", "{arch}", "=RELEASE-ID", "=meta-update", "=update", 152 * Use a pointer for consistency, but stack-allocated storage in main() [all …]
|
/freebsd/usr.bin/ar/ |
H A D | ar.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 34 #define AR_A 0x0001 /* position-after */ 35 #define AR_B 0x0002 /* position-before */ 51 * Convenient wrapper for general libarchive error handling. 60 * In-memory representation of archive member(object). 71 dev_t dev; /* inode's device */ member 83 const char *posarg; /* position arg for modifiers -a, -b. */
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_write_format_cpio_odc.c | 1 /*- 2 * Copyright (c) 2003-2007 Tim Kientzle 33 --l; in is_octal() 132 * * matching non-zero ino values be written as matching in DEFINE_TEST() 133 * non-zero values in DEFINE_TEST() 134 * * non-matching non-zero ino values be written as non-matching in DEFINE_TEST() 135 * non-zer in DEFINE_TEST() [all...] |
H A D | test_read_format_isozisofs_bz2.c | 1 /*- 2 * Copyright (c) 2003-2007 Tim Kientzle 29 tail -n +32 test_read_format_isozisofs_bz2.c | /bin/sh 31 rm -rf /tmp/iso /tmp/ziso 35 dd if=/dev/zero count=1 bs=12345678 >>/tmp/iso/file 37 (cd /tmp/iso; ln -s file symlink) 38 (cd /tmp/iso; ln -s /tmp/ symlink2) 39 (cd /tmp/iso; ln -s /tmp/../ symlink3) 40 (cd /tmp/iso; ln -s .././../tmp/ symlink4) 41 TZ=utc touch -afh [all...] |
H A D | test_read_format_isorr_new_bz2.c | 1 /*- 2 * Copyright (c) 2003-2007 Tim Kientzle 32 tail -n +34 test_read_format_isorr_new_bz2.c | /bin/sh 34 rm -rf /tmp/iso 38 dd if=/dev/zero count=1 bs=12345678 >>/tmp/iso/file 40 (cd /tmp/iso; ln -s file symlink) 41 (cd /tmp/iso; ln -s /tmp/ symlink2) 42 (cd /tmp/iso; ln -s /tmp/../ symlink3) 43 (cd /tmp/iso; ln -s .././../tmp/ symlink4) 44 (cd /tmp/iso; ln - [all...] |
H A D | test_read_format_isorr_bz2.c | 1 /*- 2 * Copyright (c) 2003-2007 Tim Kientzle 32 tail -n +34 test_read_format_isorr_bz2.c | /bin/sh 34 rm -rf /tmp/iso 38 dd if=/dev/zero count=1 bs=12345678 >>/tmp/iso/file 40 (cd /tmp/iso; ln -s file symlink) 41 (cd /tmp/iso; ln -s /tmp/ symlink2) 42 (cd /tmp/iso; ln -s /tmp/../ symlink3) 43 (cd /tmp/iso; ln -s .././../tmp/ symlink4) 44 (cd /tmp/iso; ln - [all...] |
H A D | main.c | 2 * Copyright (c) 2003-2009 Tim Kientzle 65 #define ENVBASE "LIBARCHIVE" /* Prefix for environment variables. */ 67 #define LIBRARY "libarchive" 79 * configure check. If libarchive and libarchive_test both look for 85 * try to minimize conditionals by grouping platform-specific tests in 88 * differences. Platform-specific coding in libarchive_test is often 89 * a symptom that some capability is missing from libarchive itself. 143 /* Name of exe to use in printf-formatted command strings. */ 219 // Silence unused-parameter compiler warnings. in invalid_parameter_handler() 242 #define VERBOSITY_SUMMARY_ONLY -1 /* -q */ [all …]
|
H A D | test_entry.c | 1 /*- 2 * Copyright (c) 2003-2007 Tim Kientzle 44 * Most of these tests are system-independent, though a few depend on 47 * system-independent features will be tested. 51 * A mis-configured library build should cause tests to fail. 107 * to overwrite the original passed-in string without in DEFINE_TEST() 121 archive_entry_set_atime(e, 13580, -7); in DEFINE_TEST() 136 archive_entry_set_birthtime(e, 17581, -24990); in DEFINE_TEST() 151 archive_entry_set_ctime(e, 13582, -24681); in DEFINE_TEST() 159 /* dev */ in DEFINE_TEST() [all …]
|
/freebsd/contrib/libarchive/test_utils/ |
H A D | test_main.c | 2 * Copyright (c) 2003-2009 Tim Kientzle 99 * configure check. If libarchive and libarchive_test both look for 105 * try to minimize conditionals by grouping platform-specific tests in 108 * differences. Platform-specific coding in libarchive_test is often 109 * a symptom that some capability is missing from libarchive itself. 165 /* Name of exe to use in printf-formatted command strings. */ 354 // Silence unused-parameter compiler warnings. in invalid_parameter_handler() 379 #define VERBOSITY_SUMMARY_ONLY -1 /* -q */ 381 #define VERBOSITY_LIGHT_REPORT 1 /* -v */ 382 #define VERBOSITY_FULL 2 /* -vv */ [all …]
|
/freebsd/contrib/elftoolchain/elfcopy/ |
H A D | main.c | 1 /*- 2 * Copyright (c) 2007-2013 Kai Wang 42 ELFTC_VCSID("$Id: main.c 3757 2019-06-28 01:15:28Z emaste $"); 92 {"discard-all", no_argument, NULL, 'x'}, 93 {"discard-locals", no_argument, NULL, 'X'}, 95 {"input-target", required_argument, NULL, 'I'}, 96 {"keep-symbol", required_argument, NULL, 'K'}, 97 {"only-keep-debug", no_argument, NULL, ECP_ONLY_DEBUG}, 98 {"output-file", required_argument, NULL, 'o'}, 99 {"output-target", required_argument, NULL, 'O'}, [all …]
|