|
dpkg 1.22.7-3-g89f48
|
#include <config.h>#include <compat.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/wait.h>#include <errno.h>#include <limits.h>#include <inttypes.h>#include <string.h>#include <time.h>#include <dirent.h>#include <fcntl.h>#include <unistd.h>#include <stdbool.h>#include <stdint.h>#include <stdlib.h>#include <stdio.h>#include <dpkg/i18n.h>#include <dpkg/c-ctype.h>#include <dpkg/dpkg.h>#include <dpkg/dpkg-db.h>#include <dpkg/path.h>#include <dpkg/treewalk.h>#include <dpkg/varbuf.h>#include <dpkg/fdio.h>#include <dpkg/buffer.h>#include <dpkg/subproc.h>#include <dpkg/command.h>#include <dpkg/compress.h>#include <dpkg/ar.h>#include <dpkg/options.h>#include "dpkg-deb.h"Data Structures | |
| struct | file_info |
| Simple structure to store information about a file. More... | |
| struct | tar_pack_options |
Typedefs | |
| typedef void | filenames_feed_func(const char *dir, int fd_out) |
Functions | |
| int | do_build (const char *const *argv) |
| Overly complex function that builds a .deb file. | |
| typedef void filenames_feed_func(const char *dir, int fd_out) |
| int do_build | ( | const char *const * | argv | ) |
Overly complex function that builds a .deb file.
References _, ADMINMEMBER, ARCHIVEVERSION, badusage(), BUILDCONTROLDIR, cipaction, compress_params_deb0, compressor_check_params(), compressor_get_extension(), DATAMEMBER, deb_format, DEBMAGIC, dpkg_ar_close(), dpkg_ar_create(), dpkg_ar_member_put_file(), dpkg_ar_member_put_mem(), dpkg_ar_put_magic(), dpkg_ar_set_mtime(), dpkg_ar::fd, fd_fd_copy, fd_write(), info(), internerr, m_output(), deb_version::major, deb_version::minor, tar_pack_options::mode, dpkg_ar::name, pkgset::name, ohshit(), ohshite(), OLDARCHIVEVERSION, cmdinfo::olong, opt_nocheck, opt_root_owner_group, opt_uniform_compression, path_make_temp_template(), tar_pack_options::root_owner_group, pkginfo::set, dpkg_error::str, str_fmt(), tar_pack_options::timestamp, compress_params::type, and warning().