|
dpkg 1.22.7-3-g89f48
|
#include <dpkg/deb-version.h>Go to the source code of this file.
Macros | |
| #define | ARCHIVEVERSION "2.0" |
| #define | BUILDCONTROLDIR "DEBIAN" |
| #define | EXTRACTCONTROLDIR BUILDCONTROLDIR |
| #define | OLDARCHIVEVERSION "0.939000" |
| #define | OLDDEBDIR "DEBIAN" |
| #define | OLDOLDDEBDIR ".DEBIAN" |
| #define | DEBMAGIC "debian-binary" |
| #define | ADMINMEMBER "control.tar" |
| #define | DATAMEMBER "data.tar" |
| #define | INTERPRETER_MAX 1024 |
Functions | |
| void | extracthalf (const char *debar, const char *dir, enum dpkg_tar_options taroption, int admininfo) |
Variables | |
| action_func | do_build |
| action_func | do_contents |
| action_func | do_control |
| action_func | do_showinfo |
| action_func | do_info |
| action_func | do_field |
| action_func | do_extract |
| action_func | do_vextract |
| action_func | do_raw_extract |
| action_func | do_ctrltarfile |
| action_func | do_fsystarfile |
| int | opt_verbose |
| int | opt_root_owner_group |
| int | opt_uniform_compression |
| int | opt_debug |
| int | opt_nocheck |
| const char * | opt_showformat |
| struct deb_version | deb_format |
| enum DPKG_ATTR_ENUM_FLAGS | dpkg_tar_options |
| DPKG_TAR_PASSTHROUGH = 0 | |
| Output the tar file directly, without any processing. | |
| DPKG_TAR_LIST = DPKG_BIT(0) | |
| List tar files. | |
| DPKG_TAR_EXTRACT = DPKG_BIT(1) | |
| Extract tar files. | |
| DPKG_TAR_PERMS = DPKG_BIT(2) | |
| Preserve tar permissions on extract. | |
| DPKG_TAR_NOMTIME = DPKG_BIT(3) | |
| Do not set tar mtime on extract. | |
| DPKG_TAR_CREATE_DIR = DPKG_BIT(4) | |
| Guarantee extraction into a new directory, abort if it exists. | |
| struct compress_params | compress_params_deb0 |
| struct compress_params | compress_params |
| #define ADMINMEMBER "control.tar" |
| #define ARCHIVEVERSION "2.0" |
| #define BUILDCONTROLDIR "DEBIAN" |
| #define DATAMEMBER "data.tar" |
| #define DEBMAGIC "debian-binary" |
| #define EXTRACTCONTROLDIR BUILDCONTROLDIR |
| #define INTERPRETER_MAX 1024 |
| #define OLDARCHIVEVERSION "0.939000" |
| #define OLDDEBDIR "DEBIAN" |
| #define OLDOLDDEBDIR ".DEBIAN" |
| void extracthalf | ( | const char * | debar, |
| const char * | dir, | ||
| enum dpkg_tar_options | taroption, | ||
| int | admininfo | ||
| ) |
References _, ADMINMEMBER, dpkg_ar_hdr::ar_name, command_add_arg(), command_exec(), command_init(), compressor_find_by_extension(), COMPRESSOR_TYPE_GZIP, COMPRESSOR_TYPE_NONE, COMPRESSOR_TYPE_UNKNOWN, COMPRESSOR_TYPE_XZ, COMPRESSOR_TYPE_ZSTD, DATAMEMBER, deb_version_parse(), DEBMAGIC, decompress_filter(), dpkg_ar_close(), DPKG_AR_MAGIC, dpkg_ar_member_get_size(), dpkg_ar_member_is_illegal(), dpkg_ar_normalize_name(), dpkg_ar_open(), DPKG_TAR_CREATE_DIR, DPKG_TAR_EXTRACT, DPKG_TAR_LIST, DPKG_TAR_NOMTIME, DPKG_TAR_PERMS, dpkg_ar::fd, fd_fd_copy, fd_read(), fd_skip, internerr, m_dup2(), m_malloc(), m_output(), m_pipe(), deb_version::major, deb_version::minor, dpkg_ar::name, notice(), ohshit(), ohshite(), OLDDEBDIR, OLDOLDDEBDIR, dpkg_ar::size, dpkg_error::str, subproc_fork(), SUBPROC_NOPIPE, subproc_reap(), compress_params::threads_max, compress_params::type, and dpkg_error::type.
Referenced by do_contents(), do_control(), do_ctrltarfile(), do_extract(), do_fsystarfile(), and do_raw_extract().
|
extern |
|
extern |
Referenced by do_build(), and main().
|
extern |
Referenced by do_build(), and main().
| action_func do_build |
| action_func do_contents |
| action_func do_control |
| action_func do_ctrltarfile |
| action_func do_extract |
Referenced by do_vextract().
| action_func do_field |
| action_func do_fsystarfile |
| action_func do_info |
| action_func do_raw_extract |
| action_func do_showinfo |
| action_func do_vextract |
| DPKG_TAR_CREATE_DIR = DPKG_BIT(4) |
Guarantee extraction into a new directory, abort if it exists.
Referenced by do_raw_extract(), and extracthalf().
| DPKG_TAR_EXTRACT = DPKG_BIT(1) |
Extract tar files.
Referenced by do_control(), do_extract(), do_raw_extract(), and extracthalf().
| DPKG_TAR_LIST = DPKG_BIT(0) |
List tar files.
Referenced by do_contents(), do_extract(), do_raw_extract(), and extracthalf().
| DPKG_TAR_NOMTIME = DPKG_BIT(3) |
Do not set tar mtime on extract.
Referenced by extracthalf().
| enum DPKG_ATTR_ENUM_FLAGS dpkg_tar_options |
Referenced by do_extract(), and do_raw_extract().
| DPKG_TAR_PASSTHROUGH = 0 |
Output the tar file directly, without any processing.
Referenced by do_ctrltarfile(), and do_fsystarfile().
| DPKG_TAR_PERMS = DPKG_BIT(2) |
Preserve tar permissions on extract.
Referenced by do_extract(), do_raw_extract(), and extracthalf().
|
extern |
|
extern |
Referenced by do_build().
|
extern |
Referenced by do_build().
|
extern |
Referenced by do_showinfo().
|
extern |
Referenced by do_build(), and main().
|
extern |
Referenced by do_extract(), do_raw_extract(), do_vextract(), and main().