fea4b446df
init_archive_deb_data() We want to filter for data.tar.* in the AR file not the TAR file, else we get nothing. all_control_list() Make the 'extensions' array of control file names a global so it can be used in unpack_package as well. Name the global all_control_files. Don't hard code the length of all_control_files but instead used sizeof. unpack_package() Only unpack the control files we are interested in (from all_control_files). Extract the data.tar.gz into / rather than the current directory. dpkg_main() Configure packages in a second pass so all the packages being installed are unpacked before configuring. Some purely cosmetic changes: header update list of differences since two of them are no longer true. The .control file is no longer stored as a result of this patch -- it was redundant since the info is in status. New packages appear to be added to the end of the status file now rather than the start. remove_package() Make message printing optional, so we can avoid a redundant message when replacing/upgrading a package. When we do print stuff then include the version number. purge_package() Print "Purging xxx (yyy) ..." message like the other actions. configure_package() Add "..." to "Setting up" message to be consistent with other actions. |
||
---|---|---|
.. | ||
libunarchive | ||
ar.c | ||
bunzip2.c | ||
Config.in | ||
cpio.c | ||
dpkg_deb.c | ||
dpkg.c | ||
gunzip.c | ||
gzip.c | ||
Makefile | ||
Makefile.in | ||
rpm2cpio.c | ||
rpm.c | ||
tar.c | ||
uncompress.c | ||
unzip.c |