changelog
来自「this is the pkg installer for linux」· 代码 · 共 1,421 行 · 第 1/5 页
TXT
1,421 行
* configure.ac: incremented version number to 0.99.18 * fixed a segv due to type error in provides support 2002-07-07 Jamey Hicks <jamey.hicks@hp.com> * configure.ac: incremented version number to 0.99.17 * updated provides support so that installed provider is preferred to uninstalled provider2002-07-05 Abhaya Shenoy <abhaya@innvo.com> * pkg_depends.c (pkg_hash_fetch_conflicts): check for conflicts found before returning2002-07-04 Abhaya Shenoy <abhaya@innvo.com> * ipkg_install.c (check_conflicts_for): new function to call pkg_hash_fetch_conflicts and print offending packages (ipkg_install_pkg): added call to check_conflicts_for * pkg.c (pkg_merge): provides from oldpkg should be given priority (pkg_init): init of conflicts, conflicts_count fields * pkg.h (struct pkg): added fields conflicts_str, conflicts, conflicts_count * pkg_depends.c (pkg_hash_fetch_conflicts): new function to check for conflicts (buildConflicts): new function to set up the conflicts in the pkg struct * pkg_depends.h: added new type CONFLICTS to depend_type enum * pkg_hash.c (hash_insert_pkg): added call to buildConflicts * pkg_parse.c (pkg_parse_raw): added parsing of Conflicts2002-07-04 Karthikeyan K <karthik@innvo.com> * ipkg_cmd.c (ipkg_multiple_files_scan): new function to handle installation of already downloaded files (ipkg_install_cmd): added call to ipkg_multiple_files_scan (ipkg_remove_cmd): added call to possible_broken_removal_of_packages * ipkg_install.c (ipkg_install_pkg): added check to remove redundant upgrade when a package to be installed is already installed as a dependancy of another * ipkg_remove.c (possible_broken_removal_of_packages): new fnuction to check that all packages can be removed, before actually starting to remove them (ipkg_remove_dependant_pkgs): new function to remove dependant packages (ipkg_remove_pkg): added call to ipkg_remove_dependant_pkgs * pkg.c (abstract_pkg_init): initialized dependencies_checked * pkg_hash.c (pkg_hash_dump): added more information to hash dump 2002-07-03 Jamey Hicks <jamey.hicks@hp.com> * configure.ac: incremented version number to 0.99.16 * ipkg_install.c: defensive programming in case pkg contains no Size: clause 2002-07-02 Jamey Hicks <jamey.hicks@hp.com> * configure.ac: incremented version number to 0.99.15 * pkg_depends.c: check for provided_by when fetching unsatisfied dependencies 2002-07-02 Jamey Hicks <jamey.hicks@hp.com> * configure.ac: incremented version number to 0.99.14 * pkg_hash.c: if abstract pkg is provided_by, then return pkg vec of first package that provides it. 2002-06-17 Jamey Hicks <jamey.hicks@hp.com> * configure.ac: incremented version number to 0.99.12 * args.h, ipkg_conf.h, ipkg_install.c: Added force_overwrite option. When this is asserted, ipkg will overwrite files that have no owner or that belong to other packages. * ipkg_conf.c, ipkg_dest.c: Update status file atomically, keeping old copy of status file if cannot update new status file. Applied patch from Jukka Santala for this fix. 2002-03-16 Carl Worth <cworth@east.isi.edu> * configure.ac: Incremented version number to 0.99.9-1. * RELEASE_NOTES: Added release notes for 0.99.9-1. 2002-03-15 Carl Worth <cworth@east.isi.edu> * configure.ac: Incremented version number to 0.99.9. * RELEASE_NOTES: Added release notes for 0.99.9. * Makefile.am (bin_PROGRAMS): Install update-alternatives as well. * familiar/rules (binary-arch): Mv all of /bin to /usr/bin * configure.ac: Incremented version number to 0.99.8. * RELEASE_NOTES: Added release notes for 0.99.8. * familiar/rules (binary-arch): Fixed to use "make install-strip" rather than "make install" and a strip command. * ipkg_cmd.c (ipkg_install_cmd): Moved an error message up from ipkg_install_by_name, (eventually all error messages should come up out of what will become libipkg, (pkg.c, ipkg_install.c, etc.) and into ipkg_cmd.c and friends). (ipkg_upgrade_pkg): Pushed downgrade check down into ipkg_install_by_name so that "ipkg install foo" will do the downgrade check. * ipkg.h: Rename some ipkg_error_t error codes to be more consistent. * ipkg_install.c (resolve_conffiles): Added missing removal of backed-up modified conffiles, (which led to bizarre, bogus conffile prompting the next time the package was upgraded). (user_prefers_old_conffile): Fixed reversed arguments to diff in interactive conffiles prompting. (ipkg_install_by_name): Fixed "ipkg install foo" to never downgrade foo, (just like "ipkg upgrade foo"). * familiar/rules: Added installation of /usr/share/doc/ipkg/copyright file. Fixed so that ipkg.conf goes to /etc, not /usr/etc, (but still keep binary in /usr/bin not /bin). Changed name of installed binary from ipkg-unstable to ipkg. * familiar/control.in (Package): Changed package name from ipkg-unstable to ipkg. * pkg_parse.c (parseVersion): Fixed to ignore whitespace at beginning of version string. (pkg_parse_raw): Fixed segfault if a package record list ends with a package paragraph without a final blank line. * ipkg_install.c (check_data_file_clashes): Improved wording of file clash error message. * ipkg_download.c (ipkg_download_pkg): Fixed segfault if package has no src, (occurs if package had benn installed locally, then was removed (but not purged), then tried to reinstall eithout it existing in any /usr/lib/ipkg/lists/* file). * etc/ipkg.conf: Added a default ipkg.conf to the distribution.2002-03-13 Carl Worth <cworth@east.isi.edu> * configure.ac: Incremented version to 0.99.7. * RELEASE_NOTES: Added release notes for 0.99.7. * pkg.c (pkg_run_script): Added support to export IPKG_OFFLINE_ROOT. This is really a nasty hack as it means scripts need to be modified to check IPKG_OFFLINE_ROOT. I'd really prefer coming up with a good, reliable chroot system. But for now this will let update-alternatives work, (which already does examine IPKG_OFFLINE_ROOT). (pkg_run_script): Added missing brace. * ipkg_conf.c (ipkg_conf_init): Reworked significantly to properly set up the pkg_dest_list stuff to account for offline_root. * args.c (args_parse): Added support for -force_defaults in addition to -force-defaults, etc. as I kept mistyping these somehow.2002-03-12 Carl Worth <cworth@east.isi.edu> * configure.ac: Incremented version to 0.99.6. * RELEASE_NOTES: Added release notes for 0.99.6. * ipkg_download.c (ipkg_download): Fixed bug in handling of "file://" URLs. * ipkg.c (main): Fixed to abort if ipkg_conf_init fails. * ipkg_conf.c (ipkg_conf_init): Fixed to complain if given an unknown dest. * pkg.c (pkg_print_field): Fixed several fields to not print if NULL, (Architecture. Maintainer, Size, Filename, Description) * args.c (args_parse): Fixed bug that was always setting force_removal_of_essentail_packages (yikes!). * configure.ac: Incremented version to 0.99.5. * RELEASE_NOTES: Added release notes for 0.99.5. * familiar/rules (binary-arch): Added strip back in in preparation of non-unstable release of ipkg. * str_util.c (str_starts_with): Added convenience function. * pkg_extract.c (pkg_extract_data_file_names_to_file): Fixed filenames in *.list files to be compatible with dpkg and the old ipkg, (no prefix of "." for example). * pkg.c (pkg_run_script): Added export of PKG_ROOT for the benefit of maintainer scripts. * ipkg_remove.c (ipkg_remove_pkg): Complain and abort if user attempts to remove an essential package, (also inform them of the force option if they insist). * ipkg_install.c (ipkg_install_pkg): Added message about whether installing or upgrading. * ipkg_download.c (ipkg_download): Added support for "file://" URLs, (untested). (ipkg_download): Added support for wget proxy options. * ipkg_conf.c (ipkg_conf_init): Added proxy support to ipkg_conf, (http_proxy, ftp_proxy, no_proxy, proxy_user, and proxy_passwd). * ipkg_cmd.c (ipkg_upgrade_pkg): Moved Upgrading message from ipkg_upgrade_cmd to ipkg_install_pkg. * args.c (args_parse): Added new option -force-removal-of-essential-packages, (which is intentionally painful to type and not listed in usage. It should not be used often).2002-03-11 Carl Worth <cworth@east.isi.edu> * configure.ac: Incremented version to 0.99.3. * RELEASE_NOTES: Added release notes for 0.99.3. * pkg_depends.c (pkg_hash_fetch_unsatisfied_dependencies): Fixed to avoid infinite loop in the case of a circular dependency. * configure.ac: Incremented version to 0.99.2. * RELEASE_NOTES: Added release notes for 0.99.2. * familiar/rules: Commented out strip, (temporary until this beast is deemed more stable). * xsystem.c (xsystem): Cleaned up error message, (missing newline). * pkg.c (pkg_merge): Made pkg_merge a NOP if oldpkg == newpkg. (pkg_print_field): Don't print MD5sum field if NULL. * ipkg_install.c (satisfy_dependencies_for): Now returns error status if one or more of the dependencies fail to install cleanly. (unpack_pkg_control_files): Fixed to not tack on a bunch of NULL-valued conffiles entries if non-NULL conffiles already exist. This fixed the errant prompting for unmodified conffiles during -force-reinstall. (unpack_pkg_control_files): Cleaned up conffile filenames to not have ugly things like "///" inside them. * ipkg_download.c (ipkg_download): Cleaned up error message. (ipkg_download): Now uses new file_move function. (ipkg_download_pkg): Created new function, (from old code in ipkg_install). * ipkg_cmd.c (ipkg_download_cmd): Added new "ipkg download" command. * file_util.c (file_move): Created file_move, (from code that had been in ipkg_download). (file_copy): Added error message on failure. * conffile.c (conffile_has_been_modified): Eliminated crash if conffile_has_been_modified is called with conffile->value == NULL.2002-03-09 Carl Worth <cworth@east.isi.edu> * RELEASE_NOTES: Added release notes for 0.99.1 * configure.ac: Incremented version to 0.99.1 * pkg_hash.c (pkg_hash_pkg_owning_file): Fixed to actually return NULL if no package owns a file. * pkg.c (pkg_get_installed_files): Added installed_files_ref_cnt to pkg_t to prevent pkg->installed_files from being freed from an inner loop while still being used by an outer loop, (which was happening). * pkg_hash.c (pkg_hash_pkg_owning_file): Moved this function in from pkg_dest.c. Also, updated it to use pkg_get_installed rather than mucking around inside /usr/lib/ipkg and globbing for *.list files. (pkg_hash_fetch_best_installation_candidate): Fixed to only return a package that actually could be installed, (ie. it must have either a local_filename or a non-NULL src from which it could be downloaded). This prevents a segfault during "ipkg upgrade".
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?