New patches: [ugly but works VMiklos **20051214184753] { hunk ./lib/libalpm/alpm.c 336 + +PMList *alpm_db_whatprovides(pmdb_t *db, char *name) +{ + /* Sanity checks */ + ASSERT(handle != NULL, return(NULL)); + ASSERT(db != NULL, return(NULL)); + ASSERT(name != NULL && strlen(name) != 0, return(NULL)); + + return(_alpm_db_whatprovides(db, name)); +} hunk ./lib/libalpm/alpm.h 116 +PM_LIST *alpm_db_whatprovides(PM_DB *db, char *name); hunk ./src/pacman/sync.c 495 - ERR(NL, "could not add target '%s': not found in sync db\n", targ); - retval = 1; - goto cleanup; + /* targ not found in sync db, searching for providers... */ + + PM_LIST *k = NULL; + PM_PKG *pkg; + char *pname; + for(j = pmc_syncs; j && !k; j = j->next) { + sync_t *sync = j->data; + k = alpm_db_whatprovides(sync->db, targ); + pkg = (PM_PKG*)alpm_list_getdata(alpm_list_first(k)); + pname = (char*)alpm_pkg_getinfo(pkg, PM_PKG_NAME); + //FREELIST(k); + } + if(pname != NULL) { + /* targ is provided by pname */ + printf(":: %s is provided by : %s\n", targ, pname); + //if(pmo_verbose) list_display(" ", k); + //PMList *l; + //l = k; + //vprint(":: Using the first provider - %s\n", strdup((char*)l->data)); + targets = list_add(targets, pname); + //FREELIST(k); + } else { + ERR(NL, "could not add target '%s': not found in sync db\n", targ); + retval = 1; + goto cleanup; + } } Context: [sync with upstream VMiklos **20051214092922 also note that with this --mypkgs is rename to --foreign! ] [makepkg: typo fix in handledeps() VMiklos **20051214012346] [s/ABSROOT/fst_root/g VMiklos **20051214012043 Fri Nov 11 01:55:29 CET 2005 Christian Hamar alias krix * pacman-2.9.7-16-x86_64 * Added abs.conf replace to repoman.conf and fst_root patch from crazy|| (thx) ] [makepkg: added distcc support VMiklos **20051214010307 Date: 2005-10-12 Initial Package Version: 2.9.7 Upstream Status: Not yet submitted Origin: Miklos Vajna Description: Adds distcc support to makepkg. etc/makepkg.conf | 7 +++++++ scripts/makepkg | 5 +++++ 2 files changed, 12 insertions(+) ] [pacman: ported --mypkgs VMiklos **20051214004731 Date: 2005-09-18 Initial Package Version: 2.9.7 Upstream Status: http://bugs.archlinux.org/index.php?do=details&id=3223 Origin: Miklos Vajna Description: Adds a -Qm option to list pkgs that weren't found in the sync dbs ] [pacman: sha1sum display fix in package.c Christian Hamar alias krix **20051213062710] [pacman: gensync, updatesync sha1sum part Christian Hamar alias krix **20051212194829] [pacman: sha1sum-in-fdb patch integration. Christian Hamar alias krix **20051212194201 * Maybe works, maybe not... :) ] [pacman: sha1 initial import Christian Hamar alias krix **20051212190251 * Imported sha1.c and sha1.h ] [makepkg: handle the case when we're in a darcs repo, but the current dir is not yet part of it VMiklos **20051211224037] [pacman: confirm before deleting old/all packages from cache VMiklos **20051211221340 Date: 2005-08-30 Initial Package Version: 2.9.6 Upstream Status: http://bugs.archlinux.org/index.php?do=details&id=3219 Origin: Miklos Vajna Description: Confirms deleting old/all packages from cache. Requested by many newbie. pacman.c | 4 ++++ 1 file changed, 4 insertions(+) ] [pacman: makepkg sha1 manpage fix Christian Hamar alias krix **20051211190650] [pacman: sha1sum support Christian Hamar alias krix **20051211190206 * Added sha1sum support patch into makepkg ] [pacman: :P Christian Hamar alias krix **20051211180201] [pacman: libarchive part 2 (finish line :P ) Christian Hamar alias krix **20051211175730 * Added support for libarchive to makepkg ] [pacman: added a --dependsonly option VMiklos **20051211114539 Date: 2005-08-26 Initial Package Version: 2.9.6 Upstream Status: http://bugs.archlinux.org/index.php?do=details&id=3220 Origin: Miklos Vajna Description: Adds the ability to install only the dependencies of packages, but not the packages themselves. doc/pacman.8.in | 5 +++++ src/pacman.c | 33 +++++++++++++++++++++++++++++++-- 2 files changed, 36 insertions(+), 2 deletions(-) ] [makepkg: chroot support VMiklos **20051211004427 Date: 2005-08-11 Initial Package Version: 2.9.6 Upstream Status: Not yet submitted Origin: Miklos Vajna Description: Adds support for building the package in a chroot. doc/makepkg.8.in | 55 ++++++++++++++++ etc/makepkg.conf | 5 + scripts/makepkg | 178 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 237 insertions(+), 1 deletion(-) ] [changelog support VMiklos **20051211003341 Date: 2005-08-07 Initial Package Version: 2.9.6 Upstream Status: Not yet submitted Origin: Miklos Vajna Description: Allow users to view the changelog of a package. doc/pacman.8.in | 3 +++ scripts/makepkg | 18 ++++++++++++++---- src/pacman.c | 37 +++++++++++++++++++++++++++++++++++-- 3 files changed, 52 insertions(+), 6 deletions(-) ] [makepkg: added logging support VMiklos **20051210192015 Date: 2005-08-03 Initial Package Version: 2.9.6 Upstream Status: http://bugs.archlinux.org/index.php?do=details&id=3131 Origin: Marcus Habermehl Description: Adds logging support to makepkg. doc/makepkg.8.in | 3 +++ scripts/makepkg | 32 +++++++++++++++++++++++++++++--- 2 files changed, 32 insertions(+), 3 deletions(-) ] [makepkg: added rodepends() VMiklos **20051210191410 Date: 2005-06-22 Initial Package Version: 2.9.6 Upstream Status: http://bugs.archlinux.org/index.php?do=details&id=2891 Origin: Miklos Vajna Description: Adds the rodepends() directive to pacman buildscripts. ] [makepkg: new option: -l VMiklos **20051210185902 see the manpage! ] [makepkg: added up2date feature VMiklos **20051210185700 see the manpage! ] [pacman: initial progressbar integration - part 1 Christian Hamar alias krix **20051210173604 * Initial progressbar integration, part 1 * The progressbar is now """"working""" but not too usable :) (but not segfaults :P ) * part 2 comes in future ] [pacman: removed commented out parts from md5.c Christian Hamar alias krix **20051210164908 * Removed commented out parts from md5.c because we are using memcpy instead of other function for that. (was in upstream too) ] [pacman: libarchive fix Christian Hamar alias krix **20051210012136 * Missed one thing :) Fixed libarchive. Now pacman compiles :P ] [pacman: makepkg libarchive part 1 Christian Hamar alias krix **20051210000056 * libarchive patch for makepkg part 1. NOTE: Missing part is the chroot preparation part. ] [pacman: libarchive integration - part 2 Christian Hamar alias krix **20051209235243 * Modified all needed source files (i hope :P ) ] [pacman: libarchive integration - part 1 Christian Hamar alias krix **20051209232928 * prepared configure.in to handle libarchive ] [makepkg: automatically use $pkgname.install-named scriptlets VMiklos **20051210132849] [scripts: added fwmakepkg support VMiklos **20051210131319 Submitted By: Nagy Bence Date: 2005.02.03 Initial Packages: 2.9.5 Upstream Status: Not submitted - Frugalware-specific Description: This patch adds a new feature to makepkg. If available, use Frugalware's extensinons to makepkg. (provided by the pacman-tools package) Update: Also defines a fake Finclude function to disable inclusion of these files when generating/updating a .fdb. ] [new package name format for fpm packages: pkgname-pkgver-pkgrel-arch VMiklos **20051210130500 so the -arch suffix is added NOTE: under PM_DBPATH we still use the old format ] [scripts/updatesync, gensync: added "nobuild" support VMiklos **20051210113421 see the manpage! ] [scripts/makepkg: added chkdep support VMiklos **20051210010920 Submitted By: VMiklos Date: 2005.04.10 Initial Packages: 2.9.5 Upstream Status: Not submitted - Frugalware specific Description: This patch adds a new feature to makepkg. If chkdep available, search for package dependencies automatically if you use the -a switch. ] [update contact references VMiklos **20051210010755 basically an s/Arch/Frugalware/ where it was really necessary ] [doc/makepkg.8.in: s/abs/fst/ VMiklos **20051210005922 remove the ABS references and add our FST ones ] [doc/makepkg.8.in: update the manpage for the documentation changes VMiklos **20051210005610] [scripts/makepkg: s/remove/add/ docs VMiklos **20051210005350 Submitted By: VMiklos Date: 2005.03.05 Initial Packages: 2.9.5 Upstream Status: Not submitted - Frugalware specific Description: This patch fixes an annoying bug in makepkg. Instead of removing the documentation, add some automatically. ] [makepkg: update automatically the last modified line in ${BUILDSCRIPT} VMiklos **20051210005006 Submitted By: VMiklos Date: 2005.01.21 Initial Packages: 2.9.4 Upstream Status: Not submitted - Frugalware specific Description: This patch adds a new feature to makepkg. Automatically update the last modified line in FrugalBuild after a successfully build. ] [typo fixes for removes() VMiklos **20051210003407] [libalpm, scripts, pacman: added a remove() array VMiklos **20051209234208 Submitted By: Adam Zlehovszky Date: 2004.11.28 Initial Packages: 2.9.2 Description: This patch adds a new feature to pacman. If there are remove lines in .PKGINFO file, pacman will remove that files. ] [libalpm: modify the behaviour of handling config files VMiklos **20051209231144 Submitted By: Adam Zlehovszky Date: 2004.02.09. Initial Packages: 2.9.5 Upstream Status: Not submitted - Frugalware specific Description: This patch fixes an annoying bug of pacman. Always extract config files as .pacnew, instead of overwriting the users's configs. ] [pacman: remove two tab lines from configure.in Christian Hamar alias krix **20051209204816 * Removed two unneccessary tabbed lines from configure.in ] [etc/pacman.conf VMiklos **20051209223647 added our config ] [etc/makepkg.conf strip unneeded flags VMiklos **20051209221848] [pacman: modify pacman -Qe behaviour VMiklos **20051209221710 s/were explicitly installed/were installed as a dependency/ ] [configure.in: version bump VMiklos **20051209173300] [makepkg: unset LC_ALL LANG before building VMiklos **20051209173051] [scripts: changed the defalult buildscript name to FrugalBuild VMiklos **20051209172938] [makepkg: changed defalult packager to Frugalware Linux VMiklos **20051209172330] [makepkg: enable color message output by default VMiklos **20051209172146] [scripts,libalpm: change the package database extension from db.tar.gz to fdb VMiklos **20051209172032] [scripts,libalpm: change the package extension from pkg.tar.gz to fpm VMiklos **20051209171450] [scripts/: gensync, updatesync VMiklos **20051209134707 2005-11-28 20:47 judd * scripts/: gensync, updatesync: don't die on missing package files, just warn (#3535) ] [added Doxyfile judd**20051121221432] [fixed a file descriptor leak aurelien**20051109215047] [fixed compilation warnings aurelien**20051107131419] [cleanup aurelien**20051107130110] [fixed wrong prototype usage for trans_new() aurelien**20051107130022] [added a FREESYNC macro to release pointers to pmsyncpkg_t structures aurelien**20051107125929] [fixed compilation warnings aurelien**20051107125733] [added more pm_errnos aurelien**20051107094325] [removed the declaration of an unused variable aurelien**20051107092142] [Used the chroot syscall instead of the chroot binary aurelien**20051105192125 Used the chroot syscall instead of the chroot binary (patch from Christian Hamaer ) ] [fixed parseconfig usage aurelien**20051029071840] [fixed a compilation warning aurelien**20051029071811] [fixed some compilation warnings aurelien**20051029071743] [added PACCONF, PACDB and PACROOT defines aurelien**20051029070948] [renamed pmconfig_t to config_t aurelien**20051029070056] [added --no-check-certificate judd**20051028174700] [stripped end of lines aurelien**20051028122657] [removed entry dealing with pacman configuration structure aurelien**20051028122249] [added pmconfig_t structure to hold all the configuration aurelien**20051028122040 added pmconfig_t structure to hold all the configuration (patch from VMiklos ) ] [added pacman-optimize to Makefile.am judd**20051025014257] [added patch from VMiklos - fixes ownership problems when building in a chroot w/ fakeroot judd**20051025013054] [added a missing line feed in a MSG call aurelien**20051022083112] [do not free the cache right before using it! aurelien**20051022082912] [bugfix: before searching databases for a dependency, make sure one of the packages in the final list doesn't already provide that dependency judd**20051021195524] [fixed a segfault that occured in special cases when propagating requiredby fields during package replacements judd**20051021185340] [improved the Replace question format a bit judd**20051020233114] [copied up-to-date scripts from pacman 2.9.7 judd**20051020204635] [Added CacheDir directive judd**20051020204458] [added a default cachedir judd**20051020204414] [removed debug comment judd**20051020203516] [remove dupes from group lists in sync judd**20051020203431] [removed an uneeded variable declaration aurelien**20051020202825] [added INFRQ_DESC back to the package cache so the group cache will work judd**20051020201130] [added alpm.h to delivery targets (Jason) aurelien**20051020185733] [added patch to use the system memcpy for md5 stuff judd**20051018184710] [added idea from christian to TODO judd**20051018184312] [removed useless getenv() calls aurelien**20051018074004] [bumped up PACMAN_VERSION judd**20051017190654] [added first part of the autoconf stuff - patch from Christian Hamar judd**20051017185243] [added a missing header file declaration aurelien**20051010204248] [added PM_OPT_CACHEDIR library option aurelien**20051010204135] [pacman update to cope with the CACHEDIR option from the library aurelien**20051010160317] [removed a leftover comment aurelien**20051010150836] [improved query_fileowner() function aurelien**20051010150512] [pacman should work without its configuration file! aurelien**20051010150425] [- more sanity checks aurelien**20051010150335 - more sanity checks - alpm_pkg_free can now return an error code ] [Fixed EVENT and QUESTION macros aurelien**20051010101902] [Fixed missing parameter in trans_init() call aurelien**20051010101413] [removed debug stmt judd**20051009184839] [started some doxygen comment blocks judd**20051009074206] [added conversation callback support for transactions judd**20051009060957] [fixed a segfault w/ the skiplist judd**20051009042504] [correct a trans_commit protocol judd**20051008234215] [added more error messages, enabled the db permission check in trans_commit judd**20051008234049] [Added an error string for lock file creation failure aurelien**20051008221746] [update aurelien**20051008213951] [Fixed an text formatting issue aurelien**20051008213737] [Code update to make use of PKG_FULLNAME_LEN aurelien**20051008213647] [Reworked the cache handling to only load DEPENDS info by default aurelien**20051008213214] [Moved the REPLACES and FORCE package fields from DESC to DEPENDS db entry aurelien**20051008204325] [Merging in recent fixes/additions from 2.9.7 judd**20051007232949] [patch from vmiklos -- properly remove each db entry instead of rmrf'ing the whole thing judd**20051007163817] [Applied patch from Christian Hamar (krics@linuxforum.hu) aurelien**20051006190214] [Added a missing include for CYGWIN target aurelien**20051006073944] [Added a CYGWIN define to include header files required to build in a Cygwin environment aurelien**20051006072830] [Fixed an error log aurelien**20051006072433] [Applied reworked patch from VMiklos (vmiklos@frugalware.org) aurelien**20051005215058 Applied reworked patch from VMiklos (vmiklos@frugalware.org) Close the lock file descriptor upon handle release ] [Added a PKG_FULLNAME_LEN macro aurelien**20051005204932] [Small update aurelien**20051005204850] [Fixed some typos aurelien**20051005075500] [test judd**20051003195401] [test anonymous**20051003195257] [changed license package field to a list aurelien**20050820060349] [changed license package field to a list aurelien**20050820055445] [changed license package field to a list judd**20050722015911] [fixed cb_trans() prototype aurelien**20050509091445] [- indented properly sync_cleancache() aurelien**20050509091410 - indented properly sync_cleancache() - reworked sync_list() - added a log ] [fixed a memory leak with md5 sums handling aurelien**20050504212222] [code cleanup aurelien**20050504212151] [fixed a pointer error aurelien**20050504212043] [fixed a typo aurelien**20050504210613] [reordered operations in add_commit (as in pacman 2.9.x) aurelien**20050504210603] [fixed some small memory leaks aurelien**20050504205241] [code cleanup aurelien**20050504200701] [code cleanup aurelien**20050504200530] [event transaction callback rework to prepare the introduction of a conversation callback aurelien**20050504195523] [code cleanup aurelien**20050504195254] [fixed a memory leak and avoided to modify a read-only parameter aurelien**20050504193000] [- fixed a small memory leak aurelien**20050504192856 - fixed a small memory leak - made strverscmp implementation static ] [code cleanup aurelien**20050503174453] [make use of the new list_remove implementation aurelien**20050503174302] [found a possible MLK: to be fixed aurelien**20050503174254] [added some debug logs aurelien**20050503174119] [fixed a small memory leak during the cleanup of config data aurelien**20050503172900] [reimplemented list_remove to deal with lists of any kind of data aurelien**20050503172420] [moved pkg_cmp() to cache.c aurelien**20050503171919] [fixed a small memory leak with md5sums handling aurelien**20050503164618] [code cleanup aurelien**20050502181827] [do not register an already registered db aurelien**20050502175444] [get ride of ORE tags aurelien**20050502080547] [../../README aurelien**20050502080425] [code cleanup aurelien**20050502075051] [code cleanup aurelien**20050502074232] [updated REASON constants to be consistent with databases from pacman 2.9.x aurelien**20050502074218] [added a --debug option to externally set the library log level aurelien**20050502073755] [fixed targets display for cascade or recurse commands aurelien**20050502073714] [removed the extra line feed appended by asctime() aurelien**20050502062959] [removed unused function list_is_ptrin() aurelien**20050501205101] [*** empty log message *** aurelien**20050501204849] [reworked pacman_deptest() aurelien**20050501204722] [- rework to support pacman_deptest() aurelien**20050501204615 - rework to support pacman_deptest() - code cleanup ] [reimplemented list_free() a safer way aurelien**20050501204507] [removed an uneeded check aurelien**20050501171931] [code cleanup aurelien**20050424213630] [fixed potential memory leaks aurelien**20050424213618] [added a new ORE tag aurelien**20050424212802] [avoided to load twice the same target in remove_loadtarget() aurelien**20050424212735] [added support for the package reason field aurelien**20050424201110] [got ride of an ORE tag in resolvedeps() aurelien**20050424200600] [some more efficiency in remove_prepare() cascade loop aurelien**20050424200452] [fixed a commented MLK in db_find_conflicts()/CHECK1 aurelien**20050424200426] [slighlty improved efficiency for dump_pkg_full() aurelien**20050424194251] [code cleanup aurelien**20050424185834] [fixed the format of %REASON% entry when writing it aurelien**20050424112735] [- fixed a cut'n'paste bug with %REASON% entry aurelien**20050424112418 - fixed a cut'n'paste bug with %REASON% entry - factorized code between %SIZE% and %CSIZE% reading ] [use the cache instead of calling db_scan() aurelien**20050424111739] [code cleanup aurelien**20050424111537] [logs cleanup aurelien**20050424111527] [removed deprecated comments in add_commit() aurelien**20050424111450] [added transaction events for sync_commit operations aurelien**20050424111415] [outputs cleanup aurelien**20050424111326] [fixed some potential resource leaks aurelien**20050424091425] [rework the cache handling to avoid as much as possible calls to db_scan() aurelien**20050423171831] [code cleanup aurelien**20050423171650] [some remork for pacman_deptest() aurelien**20050423171602] [renamed list_is_ptrin() in list_is_in() aurelien**20050423082813] [first steps to support REPLACES feature aurelien**20050420205049] [code beautifying aurelien**20050420205017] [display the list of targets to be removed before trans_commit() call aurelien**20050420204939] [avoided two calls to db_scan() in checkdeps() aurelien**20050420194653] [- fixed args order in list_is_ptrin() aurelien**20050420194154 - fixed args order in list_is_ptrin() - fixed several memory leaks ] [fixed args order in list_is_ptrin() aurelien**20050420194133] [- fixed args order in list_is_ptrin() aurelien**20050420194122] [avoided a call to db_scan() aurelien**20050420194033] [bypass trans_prepare() if there is no target aurelien**20050420193941] [fixed a segfault aurelien**20050419200328] [more work for sync_commit() aurelien**20050417200906] [fixed a log message aurelien**20050417200748] [add_loadtarget: load package info only when needed aurelien**20050417100247] [improved logs for package removal aurelien**20050417100147] [renamed PM_ERR_INVALID_NAME to PM_ERR_PKG_INVALID_NAME aurelien**20050417100122] [more sanity checks for pkg_load() aurelien**20050417100049] [fixed a user message aurelien**20050417100003] [cleanup to keep in sync with alpm changes aurelien**20050416222413] [- general cleanup aurelien**20050416222328 - general cleanup - added alpm_trans_sysupgrade() function - relocated some defines ] [- reworked pmsyncpkg_t structure aurelien**20050416221550 - reworked pmsyncpkg_t structure - got ride of uneeded handle external references ] [- reworked transaction prototypes aurelien**20050416221434 - reworked transaction prototypes - added a trans_sysupgrade function ] [reworked handle structure initialization aurelien**20050416164355] [reworked transaction prototypes aurelien**20050416164243] [more work for sync_commit() aurelien**20050414210738] [added packages integrity checking aurelien**20050413210508] [-fixed 2 logs aurelien**20050413210128 -fixed 2 logs - some sync_commit() rework ] [replaced a call to list_free by the macro FREELIST aurelien**20050413200005] [- updated sync feature aurelien**20050413195904 - updated sync feature - added 2 new transaction events ] [updated a log aurelien**20050413195723] [backported support for print-uris from pacman 2.9.x aurelien**20050413191632] [added option -p in pacman usage screen aurelien**20050413191129] [added function pkg_splitname (not used for now) aurelien**20050408204313] [reworked alpm_db_readpkg aurelien**20050408204227] [more work in sync_prepare aurelien**20050408193723] [fixed a potential segfault aurelien**20050408192200] [- small bugfixes aurelien**20050408192128 - small bugfixes - removed 2 debug messages ] [removed a leftover comment aurelien**20050408172703] [fixed a small memory leak aurelien**20050408162955] [synchronization with libalpm for latest sync feature work aurelien**20050406210309] [more work to backport the sync features from pacman 2.9.5 aurelien**20050406210140] [reverted back to trans->packages instead of install and remove queues aurelien**20050406210057] [reworked MSG and ERR outputs aurelien**20050406205913] [package 'reason' field should default to 0 aurelien**20050406183050] [updated structure names (PM_SYNCPKG), and added transaction queues (install & remove) aurelien**20050406182917] [replaced transaction 'packages' field by 2 queues: one for packages to be installed and the other for the ones to be removed aurelien**20050406182533] [added logs for cache generation aurelien**20050405172108] [fixed a typo aurelien**20050403195824] [- added transaction flags for the removal of a package to be upgrade aurelien**20050403081910 - added transaction flags for the removal of a package to be upgrade - reworked some comments ] [reworked a log aurelien**20050403081054] [added list_is_ptrin() aurelien**20050403080758] [more work to backport pacman_sync from pacman 2.9.5 aurelien**20050402232110] [- added 'lastupdate' field to pmdb_t aurelien**20050402232000 - added 'lastupdate' field to pmdb_t - added a new public function alpm_db_getinfo - added a public parameter PM_PKG_DB for PM_PKG struct ] [fixed a log level aurelien**20050402231744] [- updated transaction events aurelien**20050402203750 - updated transaction events - the cache is rebuilt after each package installation (to be reworked) ] [added support for PACKAGES field in alpm_trans_getinfo aurelien**20050402203311] [sync with changes in alpm.h and new RESOLVEDEPS event aurelien**20050402203140] [reworked resolvedeps: aurelien**20050402203009 reworked resolvedeps: - used the cache instead of db_scan() calls - improved log messages - more sanity checks ] [added RESOLVEDEPS to the list of transaction events aurelien**20050402202801] [reworked sync_cleanup aurelien**20050402202524] [fixed a compilation warning aurelien**20050402202424] [started the work on "pacman_sync" aurelien**20050330223243] [checked for db_update() archive existence aurelien**20050329221911] [removed an uneeded call to db_scan aurelien**20050329221800] [fixed a log mask aurelien**20050329221727] [backport from pacman 2.9.5 - chdir aurelien**20050329211515] [*** empty log message *** aurelien**20050329211431] [changed alpm_db_register() prototype aurelien**20050329210954] [put back 3 _alpm_log() calls aurelien**20050329205843] [put back 5 _alpm_log() calls aurelien**20050329205447] [changed alpm_db_register() prototype aurelien**20050329205222] [turned pmdepmissing_t into an opaque structure aurelien**20050329203210] [Turned pmdepmissing_t into an opaque structure aurelien**20050329203103] [clearer string length for a strncpy call aurelien**20050329172043] [Replaced snprintf calls by the SNPRINTF macro to avoid buffer overflows when copying strings aurelien**20050329171859] [maked use of db->path instead of handle->root+handle->dbpath+db->treename aurelien**20050328200111] [reworked dbpath handling to make it possible to use databases stored at different locations at the same time aurelien**20050328195933] [replaced occ of list_free() by FREELIST/FREELISTPTR macros aurelien**20050328082533] [improved logs (use _alpm_log instead of fprintf) aurelien**20050328082117] [improved log message for alpm_db_update aurelien**20050328075030] [added a FREELISTPTR macro to free a PMList without freeing its data aurelien**20050328074524] [fixed an error message aurelien**20050327074313] [renamed temp files from pacman_XXXXXX to alpm_XXXXXX aurelien**20050327074221] [made 'provides' actually work when updating 'requiredby' fields from deps aurelien**20050327074151] [- fixed a small memory leak aurelien**20050326212003 - fixed a small memory leak - took into account sliptdep returned value ] [rewrote list_free to not be recursive anymore aurelien**20050326205608 rewrote list_free to not be recursive anymore (it can trigger segmentation faults when freeing long lists) ] [backport from pacman 2.9.5 (formatting, commentaries) aurelien**20050326202457] [backport from pacman 2.9.5 (splitdep returns an int) aurelien**20050326202303] [reworked PM_LOG_XXX messages during install/remove/upgrade operations aurelien**20050326180336] [Backport from pacman 2.9.5 (--ignore in usage) aurelien**20050326133059] [More backport from pacman 2.9.5 (mainly for resolvedeps) aurelien**20050326132947] [Backport from pacman 2.9.5 aurelien**20050326090049] [_alpm_runscriplet fixes aurelien**20050326085428] [updated comments aurelien**20050326085027] [fixed a typo aurelien**20050326074029] [Backport from pacman 2.9.5 (code cleanup) aurelien**20050325223713] [Backport from pacman 2.9.5 aurelien**20050325220914 Backport from pacman 2.9.5 - list_remove, list_check and list_reverse - sortbydeps(mode) ] [backported fixes for trim() from pacman 2.9.5 aurelien**20050325211323] [replaced hardcoded references to the cache by CACHEDIR aurelien**20050325202935] [added a missing goto! aurelien**20050325063900] [fix: one can't add a package twice in transaction targets list aurelien**20050324214918] [cleanup for add_loadtarget() logs aurelien**20050324214806] [removed duplicated prototype aurelien**20050324213920] [reorganization aurelien**20050324081616] [uncommented a call to alpm_logaction aurelien**20050323200745] [- removed db_find_conflicts() declaration from db.h aurelien**20050323200658 - removed db_find_conflicts() declaration from db.h - included conflict.h from add.c ] [removed leftover debug printf aurelien**20050323190644] [moved db_find_conflicts from db.c to conflict.c aurelien**20050322202112] [- added db_setlastupdate to db.c aurelien**20050322201449 - added db_setlastupdate to db.c - moved db_update from db.c to alpm.c ] [Let the C preprocessor concatenates CACHEDIR string aurelien**20050320220420] [added display of backup info in dump_pkg_full() aurelien**20050320220330] [fetch_pkgurl: do not download a file if it's already in the current dir aurelien**20050320214119] [replaced rewinddir() calls by db_rewind() aurelien**20050320142119] [- added pmo_chomp support (from pacman 2.9.3) aurelien**20050320141734 - added pmo_chomp support (from pacman 2.9.3) - fixed a typo with pmo_proxyport usage ] [added support for the XFERCOMMAND option aurelien**20050320123232] [removed a deprecated placeholder aurelien**20050320122807] [- added HTTP support for .lastupdate files aurelien**20050320092835 - added HTTP support for .lastupdate files - updated some points ] [Added support for .lastupdate files (from pacman 2.9.1) aurelien**20050320092203] [added i18n to TODO judd**20050320014926] [Rework for fixed length strings aurelien**20050319181531] [pacman_deptest() rework aurelien**20050319181418] [Removed an hardcoded string length aurelien**20050319175622] [Removed an hardcoded string length aurelien**20050319175557] [Revert to previous version aurelien**20050319090350] [Removed an uneeded global reference aurelien**20050319090221] [Copyright update aurelien**20050319090127] [Relocated log and transaction stuffs from pacman.c to log.c and trans.c aurelien**20050319090040] [Avoided extern references to pmo_root. aurelien**20050318184127 Avoided extern references to pmo_root. Better use PM_OPT_ROOT to know the root. ] [Fixed some typo... aurelien**20050318183629] [Removed unuseful getuid() calls aurelien**20050318183533] [One more sanity check, and one more ORE tag aurelien**20050318183355] [Removed hardcoded reference to fields of packages aurelien**20050316225712] [Renamed PM_RET_ERR to RET_ERR (no need for a PM_ prefix for internal aurelien**20050316221005 Renamed PM_RET_ERR to RET_ERR (no need for a PM_ prefix for internal defines). ] [Code cleanup aurelien**20050316220631] [Added a missing FtpQuit() call aurelien**20050316220040] [Code reformatting aurelien**20050316215602] [Dropped pmo_nosave parameter (now included in pmo_flags) aurelien**20050316215345] [Code formatting aurelien**20050316215249] [Bring back db_scan() modifications from pacman 2.9.1 aurelien**20050316214918 Bring back db_scan() modifications from pacman 2.9.1 (to cope with .lastupdate files in the db path) ] [Added missing extern declaration aurelien**20050316213830] [Avoided usage of global variables pmo_root and pmo_dbpath. aurelien**20050316213246 Avoided usage of global variables pmo_root and pmo_dbpath. Better make use of alpm_get_option to ge their values. ] [- reworked sync_synctree() to make use of alpm_db_update() aurelien**20050316212106 - reworked sync_synctree() to make use of alpm_db_update() - dropped unpack() ] [- added PM_EXT_PKG and PM_EXT_DB defines to alpm.h (taken from pacman 2.9.3) aurelien**20050316205914 - added PM_EXT_PKG and PM_EXT_DB defines to alpm.h (taken from pacman 2.9.3) - renamed ALPM_VERSION to PM_VERSION ] [Moved log callback definition to alpm.h aurelien**20050316204630] [*** empty log message *** aurelien**20050316204211] [New ORE tag aurelien**20050316202538] [Added DB_TREENAME_LEN define to avoid hardcoded length for database string aurelien**20050316202350] [One more ORE comment aurelien**20050316201707] [Make sure we generate a UPGRADE_DONE event during upgrades aurelien**20050316200910] [Removed the "__" prefix from __pm_logcb and __pm_logmask aurelien**20050316200611 Removed the "__" prefix from __pm_logcb and __pm_logmask Not needed for library internal data ] [Added a missing argument in db_create() aurelien**20050316200417] [Fixed a typo aurelien**20050316200025] [Removed a leftover debug printf aurelien**20050316195455] [Added LOG_STR_LEN define to avoid hardcoded length for log strings aurelien**20050316195057] [Removed a hardcoded reference to the 'local' database in db_create() aurelien**20050316193615] [Added a db_update() function to manage sync databases updates. aurelien**20050316193120 Added a db_update() function to manage sync databases updates. The API provides a wrapper alpm_db_update(). ] [Renamed PACXXX defines to PM_XXX aurelien**20050316191809] [Improved error handling in add_loadtarget() aurelien**20050316191503] [made makepkg echo the version-release number as well (#2375) judd**20050315190539] [Renamed PM_TRANS_CB_XXX to PM_TRANS_EVT_XXX aurelien**20050315184102] [Fixed a typo in add_loadtarget() aurelien**20050315183711] [Initial revision judd**20050315015143] Patch bundle hash: 6993a6817d09d7ba2c9b694e8194cac61649e037