Aaron Griffin
2546a35cd5
Configuration changes:
...
* Added libdownload check in configure.ac
* Added generation for mirrorlists in pacman.d
NOTE: autoconf sucks for things like this, so gen-mirrorlist is required
Dan McGee <dpmcgee@gmail.com>:
* mirrorlist.in file
Roman Kyrylych <roman.kyrylych@gmail.com>:
* ukrainian mirror
Jürgen Hötzel <juergen@hoetzel.info>:
* conditional build for pacman.static
2006-12-28 16:54:35 +00:00
Aaron Griffin
d8d8221556
Modified front end output routines to accept a "padding' setting, which pads any
...
statement with ' ' until the size of the terminal. The rationale is that, when
a log message is emitted during progress bar display, the terminal is artifacted.
This prevents that messiness.
2006-12-22 07:11:20 +00:00
Aaron Griffin
b308f06a3a
* Dan McGee's makepkg updates http://www.archlinux.org/pipermail/pacman-dev/2006-December/000792.html
...
* configure fixes (CFLAGS)
* no-strict-aliasing hacks until full C99 compliance
* --with-config-file configure option
2006-12-14 05:23:08 +00:00
Aaron Griffin
716e9ef095
A few minor updates so --root works again.
2006-12-08 08:17:41 +00:00
Aaron Griffin
fc361cc111
Removed an extra call to alpm_option_set_root() - it is set by alpm_init()
2006-12-08 07:21:38 +00:00
Aaron Griffin
6ca24d5924
Changed upgrade message to use the term "installation" to make the meaning more
...
clear
2006-12-05 08:39:32 +00:00
Aaron Griffin
aad3f6ab1f
Changed "Total Uncompressed Size" to "Total Installed Size"
2006-12-05 07:11:27 +00:00
Aaron Griffin
8028a1124a
Added dbpath validation
2006-12-05 06:55:52 +00:00
Aaron Griffin
4488058900
* Fixed the bug where -R pkgA pkgB failed when pkgA depended on pkgB
2006-12-01 09:51:54 +00:00
Aaron Griffin
08dca1593f
* Cosmetic changes and typo fixes
...
* IgnorePkg and --ignore work again
* Partial changes to support removal of conflicts for -U and -A (INCOMPLETE)
2006-12-01 09:32:29 +00:00
Aaron Griffin
6c68723905
* cosmetic: double space in "full system upgrade"
2006-11-27 15:44:22 +00:00
Aaron Griffin
12fdce244c
* Move sync *after* transaction init (lock file). We don't want to stomp on the
...
databases while another instance of pacman /could/ be reading them.
2006-11-23 02:42:50 +00:00
Aaron Griffin
07b0092736
-std=c99 seems to undefine PATH_MAX in this case. I don't care enough to fix it
...
at the moment, so this workaround works.
2006-11-23 02:36:26 +00:00
Aaron Griffin
8da03650b0
* Whoops util Makefile
...
* Slight modification to depcmp debug output
2006-11-22 20:03:52 +00:00
Aaron Griffin
986409f9bd
* Completed getinfo api changes (pmmissing_t, pmtrans_t, etc)
...
* Modified some dependancy checking
* Changed "performing local database upgrade" message to be more clear
* Change 'usize' to 'isize' in database files
* Scriptlet output is now sent to pacman's log file
* Limited some debugging output to be more clear
2006-11-22 09:03:41 +00:00
Aaron Griffin
5469177183
Removed global maxcols - it is looked up on the fly now, so the progress bar is
...
resized. Also used ioctl in place of the COLUMNS env variable
2006-11-22 04:53:10 +00:00
Aaron Griffin
99d0c00246
* Fixed a double free which happened in 2 cases in --sync
2006-11-22 03:51:06 +00:00
Aaron Griffin
cb65f08d2f
libalpm appends the trailing / to the config root, no need to do it here
2006-11-20 22:15:26 +00:00
Aaron Griffin
aa1c0ba9f8
* repo-add script - to add entries to a db file directly from package data (no PKGBUILD)
...
* libalpm api changes - move from a _getinfo(p, WHAT_WE_WANT) scheme to a
typesafe _get_what_we_want(p) scheme [not 100% complete yet]
* some const correctness changes
* removal of PM_* types in alpm.h in favor of the pm*_t types used throughout
libalpm
2006-11-20 09:10:23 +00:00
Aaron Griffin
3d6242ed74
* makepkg.conf.in variable changes (missed the checkin)
...
* Better error reporting when unpacking an archive fails
* Fixed -Sc and -Scc cache dir opening/reading
2006-11-16 17:24:41 +00:00
Aaron Griffin
00ce9ea739
* Initial changes to gensync - makepkg changes were not checked in from another
...
machine - still pending
* Addition of _alpm_pkg_makefilename to simplify the with/without -ARCH prefix
scheme we're going with for the interim
2006-11-15 07:50:37 +00:00
Aaron Griffin
74e780f25d
* has_archname additions
...
* additional newline for search output, as suggested on the forums
2006-11-14 21:53:45 +00:00
Aaron Griffin
eb514bee96
* autotool fixes
...
* Renamed "download" files to "downloadprog" as it only holds the progress bar
and to not confuse (myself) with <download.h>
2006-11-14 08:07:57 +00:00
Aaron Griffin
4470e5ce01
* Numerous mini valgrind fixes.
...
* Addition of hacky architecture check in the _splitname function
* Removal of libfetch from the archlinux proper - it has been renamed to
libdownload and can be found at http://phraktured.net/libdownload
* Merge of _some_ of the Frugalware makepkg change - this may still be
incomplete
* Removal of libftp from cvs proper
* PKGBUILD manpage now says 'PKGBUILD' instead of FrugalBuild (he he)
2006-11-14 07:58:42 +00:00
Aaron Griffin
734e077996
Skip root check on -Sp
2006-11-10 20:09:59 +00:00
Aaron Griffin
d069999cbf
Last mtrace/setenv change, I swear
2006-11-09 19:45:53 +00:00
Aaron Griffin
33c354031c
Whoops - I fail at setenv
2006-11-09 19:44:52 +00:00
Aaron Griffin
2d3a707a05
mcheck() seems to cause segfaults. Annoying. Switched back to useing mtrace() - if anything valgrind is superior to mcheck anyway
2006-11-09 19:27:10 +00:00
Aaron Griffin
3e608e7e85
* Improved mcheck output
...
* Added minor libalpm const correctness
* Mini-memory fixes
2006-11-08 08:14:29 +00:00
Aaron Griffin
34931106d7
Added mcheck support for memory debugging
2006-11-07 16:32:48 +00:00
Aaron Griffin
9b4aabdb0f
* Modified some error output and logging
...
* Changed the initial log mask (added PM_LOG_ERROR)
* Fixed -Syu so it now works if any databases were downloaded (it was working
like a -Su)
2006-11-03 03:56:02 +00:00
Aaron Griffin
fbf1aa6539
* Fixed some alpm_get_option calls (long params were used for C99 compliance,
...
but were used in error)
* Cleaned up some output newlines
* Added "local database is up to date" when no packages are upgraded
2006-11-02 02:29:10 +00:00
Aaron Griffin
22ce4a2a00
Added a newline upong progress completion - this was accidentally left out causing the second progress bar to overwrite the first
2006-11-01 22:20:03 +00:00
Aaron Griffin
5a8bbc99be
Numerous changes:
...
* Added 'ILoveCandy' support to all progress bars
* Changed download callback with regards to libfetch libalpm changes
* libfetch error output on failed sync
* Misc others I may have forgot to name (check the diff, heh)
2006-10-31 06:41:42 +00:00
Aaron Griffin
52363b4327
Attempted fix for x86_64 - switched some unsigned char variables to ints, and
...
prefixed sync_fnm with the length when outputting - waiting for verification
2006-10-24 04:46:07 +00:00
Aaron Griffin
e21f4c8f2e
Added PM_DLFNM_LEN define, via VMiklos
...
http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=commitdiff;h=20061023154138-e2957-de4837230b091cbc2136306e1c55a4b79cc72fc8.gz
2006-10-24 04:33:40 +00:00
Aaron Griffin
7131b7ac87
A handful of minor changes:
...
* Removed the PMList typedef, in favor of the same naming scheme other
structs use 'pmlist_t'
* Added a time stamp on debug output, to make it more informational
* Moved alpm_db_register to _alpm_db_register, making the public function
not take a callback parameter
2006-10-20 06:26:55 +00:00
Aaron Griffin
e7f886aac3
From VMiklos <vmiklos@frugalware.org>
...
* alpm_db_update() fix up the level parameter
till now when it was "1", it meant false, which was not in sync with the C logic :)
2006-10-19 15:28:52 +00:00
Aaron Griffin
39790dcc18
Removed old db files (unused)
2006-10-19 15:22:05 +00:00
Aaron Griffin
6f5bf3fa54
Adjust progress bar to align with frugalware's progressbar
2006-10-16 04:32:15 +00:00
Aaron Griffin
ac30eb2c1e
Applied Frugalware patch from Christian Hamar alias krix <krics@linuxforum.hu>
...
for file-conflict progress bar
Also did some CVS cleanup, removing some of the autogenerated files that
shouldn't have been there
2006-10-15 23:54:43 +00:00
Aaron Griffin
42aae4aa7b
Applied changes from frugalware:
...
http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=commitdiff;h=20061009002226-e2957-93b82621b6b060312559ea0539699f659bd9cb97.gz
2006-10-15 23:31:21 +00:00
Aaron Griffin
3bed58f070
Added po files
2006-10-15 22:32:44 +00:00
Aaron Griffin
29fef7b97b
Whoops, actually remove convertdb this time
2006-10-15 22:28:16 +00:00
Aaron Griffin
6f46645e77
Removed convertdb
2006-10-15 22:25:42 +00:00
Aaron Griffin
db769f667d
Added alpm function docs along
...
pacman.c : Removed link to frugalware wiki
sync.c : do not display Uncompressed size if 0 (archlinux has no USIZE)
2006-10-15 21:06:08 +00:00
Aaron Griffin
e037328e21
Corrected documentation compilation - succeeds now
2006-10-15 20:46:33 +00:00
Aaron Griffin
505155d995
include changes so that this compiles
2006-10-15 20:02:05 +00:00
Aaron Griffin
3f27542156
Merged frugalware changes. Added a few other minor things too, but there's alot
...
to list. The diff should show you 8)
2006-10-15 19:34:52 +00:00
Judd Vinet
54008798ef
Patch from FW: Better control over CTRL-C interruptions -- do not leave the DB in an inconsistent state
2006-07-14 23:15:07 +00:00
Judd Vinet
7236dd3287
i18n stuff
2006-06-28 05:37:15 +00:00
Judd Vinet
1a30bc554d
patch: check strlen of str, NOT msg, which is always true
2006-05-15 16:36:35 +00:00
Judd Vinet
bb787e26ee
first stage of i18n stuff from VMiklos
2006-05-15 02:19:57 +00:00
Aurelien Foret
3d3a29a808
added .cvsignore files
2006-03-27 17:17:35 +00:00
Aurelien Foret
25ca241a7c
fixed dbpath initialization (found out by VMiklos <vmiklos@frugalware.org>)
2006-03-21 19:50:05 +00:00
Aurelien Foret
80c7f0efca
removed pacman.h
2006-03-13 20:39:37 +00:00
Aurelien Foret
039e6d9ee4
- removed pacman.h
...
- removed unuseful extern declarations
- set pacman.c internal functions as static
2006-03-13 20:34:47 +00:00
Aurelien Foret
27be34c09b
added a NOSCRIPLET flag to transactions (patch from VMiklos <vmiklos@frugalware.org>)
2006-03-07 18:17:03 +00:00
Aurelien Foret
1bd8f57a18
- changed flags type from char to int
...
- downloadonly implies FLAG_NOCONFLICTS
2006-03-04 15:33:44 +00:00
Aurelien Foret
e50f76bf7c
fixed HoldPkg implementation
2006-03-02 20:53:41 +00:00
Aurelien Foret
ce4c043805
disable progress bar if the output is redirected (patch from VMiklos <vmiklos@frugalware.org>)
2006-03-01 07:27:06 +00:00
Aurelien Foret
b868e02967
fixed indentation
2006-02-22 20:58:12 +00:00
Aurelien Foret
16ff7cfa8e
improved _alpm_list_free handling
2006-02-22 20:49:33 +00:00
Aurelien Foret
78ffd98701
fixed outputs when downloadonly flag is set (patch from VMiklos <vmiklos@frugalware.org>)
2006-02-22 20:39:24 +00:00
Aurelien Foret
910fd6a687
the library must provide default values for main options
2006-02-20 20:59:35 +00:00
Aurelien Foret
be39f49a54
prepend library function names with _alpm (helped with the patch from VMiklos <vmiklos@frugalware.org>)
...
added log and event callbacks to sync_commit internal transactions
2006-02-17 22:35:26 +00:00
Aurelien Foret
041e51f68d
sync with pacman 2.9.8
2006-02-16 22:57:25 +00:00
Aurelien Foret
a6bececa06
moved the .lastupdate support from libalpm to pacman
2006-02-15 22:53:18 +00:00
Aurelien Foret
2e128d3a41
fixed a compilation warning
2006-02-15 22:37:35 +00:00
Aurelien Foret
f83f01b8eb
fixed a typo
2006-02-15 22:00:01 +00:00
Aurelien Foret
ce194bdd5e
used MALLOC macro when possible
2006-02-14 18:48:13 +00:00
Aurelien Foret
e4c9ab4895
- added a WARN macro to display warnings
...
- used ERR macro for error messages
2006-02-14 18:43:51 +00:00
Aurelien Foret
7ab3bb136d
fixed a compilation warning
2006-02-14 18:43:01 +00:00
Aurelien Foret
07e46d2fc0
better use ERR than fprintf for error messages
2006-02-14 18:30:23 +00:00
Aurelien Foret
a56e13d770
added the possibility to force synctree update by using -Syy
2006-02-14 18:29:26 +00:00
Aurelien Foret
843e73275e
copyright update
2006-02-07 18:20:39 +00:00
Aurelien Foret
b708e448ea
added support for alpm_pkg_checkmd5sum()
2006-02-05 09:58:16 +00:00
Aurelien Foret
bcd7ce0dfd
added support for the PM_CONFLICT structure to handle file conflicts
2006-02-05 09:34:49 +00:00
Aurelien Foret
2b8d00a5e8
fixed a possible memory leak
2006-02-04 10:39:12 +00:00
Aurelien Foret
633c89b532
- moved yesno() from util.c to log.c
...
- fixed a missing line feed in yesno when printing the message
2006-02-04 10:34:27 +00:00
Aurelien Foret
bd25319775
fixed vprint implementation (patch from VMiklos <vmiklos@frugalware.org>)
2006-02-01 22:14:17 +00:00
Aurelien Foret
cdc97dd6f2
added line feeds when needed (patch from VMiklos <vmiklos@frugalware.org>)
2006-02-01 18:20:13 +00:00
Aurelien Foret
f8933f8554
added a missing trans_release before pacman_sync call
2006-01-29 16:52:41 +00:00
Aurelien Foret
427f724913
cleanup up error cases handling in pacman_deptest
2006-01-28 21:21:31 +00:00
Judd Vinet
be38a51750
added a --noprogressbar switch for scripts to use
2006-01-28 05:07:50 +00:00
Aurelien Foret
ddc49a816c
added a missing error message in case of lock failure
2006-01-27 19:02:56 +00:00
Aurelien Foret
a55ad29a7e
added missing retval values in trans_release error cases
2006-01-27 19:02:24 +00:00
Aurelien Foret
fb2331ab8b
- fixed a compilation warning
...
- added missing alpm_trans_release() calls upon transation completion
- put back error messages from pacman 2.x in case of PM_ERR_HANDLE_LOCK error
2006-01-26 20:46:48 +00:00
Aurelien Foret
c57d069abb
fixed a typo
2006-01-21 18:29:18 +00:00
Aurelien Foret
2d08e902ef
added a FAKEROOT define allowing to use pacman in a fakeroot enivronment (for tests purpose)
2006-01-21 16:50:01 +00:00
Aurelien Foret
4e8220fae7
added the possibility to "-Syy" (can be used to force synctrees update, even if mtimes are ok)
2006-01-17 21:30:02 +00:00
Aurelien Foret
d0ba0dcbee
code cleanup
2006-01-17 21:27:01 +00:00
Aurelien Foret
4857012be7
code cleanup
2006-01-17 21:19:40 +00:00
Aurelien Foret
aeb0133974
sysupgrade: skip version cmp for pkg elected for removal (patch from VMiklos <vmiklos@frugalware.org>)
2006-01-14 08:14:55 +00:00
Aurelien Foret
9bf647c82b
code cleanup
2006-01-13 21:51:05 +00:00
Aurelien Foret
08bf45aceb
maked verbose group listing enabled by -Sgg instead of -Sgv
2006-01-13 21:27:25 +00:00
Aurelien Foret
b014cdbe8b
code cleanup
2006-01-13 21:16:49 +00:00
Aurelien Foret
e3cc4150f6
added a missing commentary from pacman 2.9.x code
2006-01-13 21:02:33 +00:00
Aurelien Foret
4232cd9cca
fixed a possible memory corruption
2006-01-13 20:59:57 +00:00
Aurelien Foret
365e440e80
code cleanup
2006-01-13 20:54:36 +00:00
Aurelien Foret
ca67579656
code cleanup
2006-01-13 20:47:13 +00:00
Aurelien Foret
c305bf670b
updated README and download comments about mtimes support
2006-01-10 22:09:47 +00:00
Aurelien Foret
325d297739
made use of the new ALLDEPS transaction flag to handle "makepkg -s"
2006-01-10 18:45:32 +00:00
Aurelien Foret
ec305c1443
code cleanup
2006-01-10 17:55:17 +00:00
Aurelien Foret
86e5c8bc06
sync_commit can now return conflicting files with a trans_prepare like data structure (patch from VMiklos <vmiklos@frugalware.org>)
2006-01-07 18:42:44 +00:00
Aurelien Foret
fce68beaaf
code cleanup
2006-01-07 18:11:37 +00:00
Aurelien Foret
59edbdd4cf
code cleanup
2006-01-07 17:50:20 +00:00
Aurelien Foret
52346fc121
- removed uid checks (CYGWIN)
...
- fixed indentation in parseargs
2006-01-07 10:01:19 +00:00
Aurelien Foret
f3a4197e34
code cleanup (mainly removed line spaces at the beginning of lines by tabulations)
2006-01-07 09:42:48 +00:00
Aurelien Foret
7dfe0ca0ae
pacman_sync: handle trans_prepare error cases (patch from VMiklos <vmiklos@frugalware.org>)
2006-01-06 23:14:21 +00:00
Aurelien Foret
11b6a69266
moved pacman_deptest function in its own file
2006-01-06 22:19:14 +00:00
Aurelien Foret
2c22045ba8
- fixed a regression with pacman 2.x (reworked patch from VMiklos <vmiklos@frugalware.org>):
...
if pacman is desiganted as a target in a sysupgrade operation, it should be able to upgrade itself first upon user request.
- removed uneeded sanity checks in alpm interface calls
- replaced printf by MSG in pacman
2006-01-06 14:00:03 +00:00
Aurelien Foret
4585060a5a
code cleanup
2006-01-06 12:29:51 +00:00
Aurelien Foret
5fc2e009dc
- started to rename list_XXX calls to _alpm_list_XXX
...
- fixed 2 compilation warnings
2006-01-05 21:49:42 +00:00
Aurelien Foret
ef8bbd2ac4
various code cleanup
2006-01-05 21:29:36 +00:00
Aurelien Foret
13cb20aeab
added a missing cachedir registration
2006-01-05 21:02:08 +00:00
Aurelien Foret
a6923f9aae
fixed a regression
2006-01-05 19:49:08 +00:00
Aurelien Foret
4819d21c74
terminated .lastupdate implementation for HTTP protocol
2006-01-05 19:37:54 +00:00
Aurelien Foret
9d55476c9c
added .lastudate support for HTTP protocol
...
known limitation: do not work when connected to some web servers (lighttpd)
2006-01-04 23:52:26 +00:00
Aurelien Foret
5eb29e2127
fixed a corrupted argument
2006-01-02 20:48:40 +00:00
Judd Vinet
96de3501ab
patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSION
2006-01-02 19:55:35 +00:00
Aurelien Foret
db0df44598
code cleanup
2006-01-02 13:26:30 +00:00
Aurelien Foret
7ff3ad054b
- reworked verbose levels
...
- fixed the handling of command line errors when no operation is specified
2006-01-01 15:12:20 +00:00
Aurelien Foret
d28415a3b7
renamed error titles from XXX to xxx
2006-01-01 10:18:22 +00:00
Aurelien Foret
5a0565cf24
*** empty log message ***
2006-01-01 10:06:28 +00:00
Aurelien Foret
bfa0853acb
fixed a segfault and added more verbose outputs in group handling (patch from VMiklos <vmiklos@frugalware.org>)
2005-12-31 17:59:28 +00:00
Aurelien Foret
2c0530e634
added a missing code chunk of the ignore command line option (patch from VMiklos <vmiklos@frugalware.org>)
2005-12-31 17:58:22 +00:00
Aurelien Foret
0c696200ae
don't complain on PM_ERR_DB_UPTODATE errors (patch from VMiklos <vmiklos@frugalware.org>)
2005-12-31 17:36:45 +00:00
Aurelien Foret
146ec957a7
do not consider duplicated targets as an error (patch from VMiklos <vmiklos@frugalware.org>)
2005-12-31 17:07:32 +00:00
Aurelien Foret
289b75d576
used defines from alpm.h instead of local ones (patch from VMiklos <vmiklos@frugalware.org>)
2005-12-31 17:03:48 +00:00
Aurelien Foret
0fe69d030b
removed an uneeded call to strtrim
2005-12-31 16:57:53 +00:00
Judd Vinet
6bd15469b1
renamed rpmvercmp to versioncmp, added some fixes from isteve@bofh.cz
2005-12-26 16:48:37 +00:00
Judd Vinet
58c9d5d663
applied first try at sync conflict handling (VMiklos) plus a couple changes
2005-12-26 06:40:29 +00:00
Judd Vinet
a074ddb85b
VMiklos: add STRNCPY macro from alpm to pacman
2005-12-20 23:59:56 +00:00
Judd Vinet
953e7e5d3e
VMiklos: --noconfirm fix
2005-12-20 23:58:27 +00:00
Judd Vinet
9a7190dfff
verbosity fix from VMiklos
2005-12-20 23:37:22 +00:00
Judd Vinet
15689bddbf
added Frugalware patch: -Q --foreign to display packages not found in sync repos
2005-12-14 02:23:14 +00:00
Aurelien Foret
2ab57b6022
fixed compilation warnings
2005-11-07 13:14:19 +00:00
Aurelien Foret
096e531236
removed the declaration of an unused variable
2005-11-07 09:21:42 +00:00
Aurelien Foret
bbfe57b95a
fixed parseconfig usage
2005-10-29 07:18:40 +00:00
Aurelien Foret
617263a605
fixed a compilation warning
2005-10-29 07:18:11 +00:00
Aurelien Foret
36da65c468
fixed some compilation warnings
2005-10-29 07:17:43 +00:00
Aurelien Foret
48c6090098
added PACCONF, PACDB and PACROOT defines
2005-10-29 07:09:48 +00:00
Aurelien Foret
44fc71396f
renamed pmconfig_t to config_t
2005-10-29 07:00:56 +00:00
Aurelien Foret
98df67cd18
added pmconfig_t structure to hold all the configuration
...
(patch from VMiklos <vmiklos@frugalware.org>)
2005-10-28 12:20:40 +00:00
Aurelien Foret
83fca950bc
added a missing line feed in a MSG call
2005-10-22 08:31:12 +00:00
Judd Vinet
ff50305a02
improved the Replace question format a bit
2005-10-20 23:31:14 +00:00
Judd Vinet
feb152d78c
added a default cachedir
2005-10-20 20:44:14 +00:00
Judd Vinet
86ec3a2ad7
removed debug comment
2005-10-20 20:35:16 +00:00
Judd Vinet
958f7ee860
remove dupes from group lists in sync
2005-10-20 20:34:31 +00:00
Aurelien Foret
3929450d62
removed an uneeded variable declaration
2005-10-20 20:28:25 +00:00
Aurelien Foret
339bc1de65
removed useless getenv() calls
2005-10-18 07:40:04 +00:00
Judd Vinet
a1526a3e7d
added first part of the autoconf stuff - patch from Christian Hamar <krics@linuxforum.hu>
2005-10-17 18:52:43 +00:00
Aurelien Foret
8f191f3b33
added a missing header file declaration
2005-10-10 20:42:48 +00:00
Aurelien Foret
b817883cdd
pacman update to cope with the CACHEDIR option from the library
2005-10-10 16:03:17 +00:00
Aurelien Foret
6c7f521298
improved query_fileowner() function
2005-10-10 15:05:12 +00:00
Aurelien Foret
75800d4ec2
pacman should work without its configuration file!
2005-10-10 15:04:25 +00:00
Judd Vinet
a36ded25eb
added conversation callback support for transactions
2005-10-09 06:09:57 +00:00
Judd Vinet
995057bcda
correct a trans_commit protocol
2005-10-08 23:42:15 +00:00
Aurelien Foret
2a2659e2a1
Fixed an text formatting issue
2005-10-08 21:37:37 +00:00
Judd Vinet
5ef51b3e26
Merging in recent fixes/additions from 2.9.7
2005-10-07 23:29:49 +00:00
Aurelien Foret
5267004884
Applied patch from Christian Hamar (krics@linuxforum.hu)
2005-10-06 19:02:14 +00:00
Aurelien Foret
4ee51bdf46
Added a CYGWIN define to include header files required to build in a Cygwin environment
2005-10-06 07:28:30 +00:00
Aurelien Foret
65bfbb0bf3
changed license package field to a list
2005-08-20 06:03:49 +00:00
Aurelien Foret
da79a41054
fixed cb_trans() prototype
2005-05-09 09:14:45 +00:00
Aurelien Foret
2b0c91cff8
- indented properly sync_cleancache()
...
- reworked sync_list()
- added a log
2005-05-09 09:14:10 +00:00
Aurelien Foret
8b48763b5d
fixed some small memory leaks
2005-05-04 20:52:41 +00:00
Aurelien Foret
d5bfc60734
fixed a small memory leak during the cleanup of config data
2005-05-03 17:29:00 +00:00
Aurelien Foret
a53bf50189
get ride of ORE tags
2005-05-02 08:05:47 +00:00
Aurelien Foret
9e7dfed18b
added a --debug option to externally set the library log level
2005-05-02 07:37:55 +00:00
Aurelien Foret
1942c74489
fixed targets display for cascade or recurse commands
2005-05-02 07:37:14 +00:00
Aurelien Foret
1e522d5baa
removed unused function list_is_ptrin()
2005-05-01 20:51:01 +00:00
Aurelien Foret
cda9c6671c
reworked pacman_deptest()
2005-05-01 20:47:22 +00:00
Aurelien Foret
4df9278328
reimplemented list_free() a safer way
2005-05-01 20:45:07 +00:00
Aurelien Foret
a73427fc0b
removed an uneeded check
2005-05-01 17:19:31 +00:00
Aurelien Foret
62d9957739
added a new ORE tag
2005-04-24 21:28:02 +00:00
Aurelien Foret
ca61a89987
slighlty improved efficiency for dump_pkg_full()
2005-04-24 19:42:51 +00:00
Aurelien Foret
e8382cca7c
outputs cleanup
2005-04-24 11:13:26 +00:00
Aurelien Foret
e56980597b
code cleanup
2005-04-23 17:16:50 +00:00
Aurelien Foret
6511f1949e
some remork for pacman_deptest()
2005-04-23 17:16:02 +00:00
Aurelien Foret
2a3968b8bc
display the list of targets to be removed before trans_commit() call
2005-04-20 20:49:39 +00:00
Aurelien Foret
f5cbbb2483
fixed a segfault
2005-04-19 20:03:28 +00:00
Aurelien Foret
5a035d0b40
fixed a log message
2005-04-17 20:07:48 +00:00
Aurelien Foret
0c0a50caf5
fixed a user message
2005-04-17 10:00:03 +00:00
Aurelien Foret
2e8fc45a12
cleanup to keep in sync with alpm changes
2005-04-16 22:24:13 +00:00
Aurelien Foret
35762528df
added packages integrity checking
2005-04-13 21:05:08 +00:00
Aurelien Foret
e115a5829e
- updated sync feature
...
- added 2 new transaction events
2005-04-13 19:59:04 +00:00
Aurelien Foret
3fa2b0e3bd
backported support for print-uris from pacman 2.9.x
2005-04-13 19:16:32 +00:00
Aurelien Foret
54593f515a
added option -p in pacman usage screen
2005-04-13 19:11:29 +00:00
Aurelien Foret
761b21d8ae
- small bugfixes
...
- removed 2 debug messages
2005-04-08 19:21:28 +00:00
Aurelien Foret
3c0ea9451b
synchronization with libalpm for latest sync feature work
2005-04-06 21:03:09 +00:00
Aurelien Foret
48f8f521b1
reworked MSG and ERR outputs
2005-04-06 20:59:13 +00:00
Aurelien Foret
af759f11b5
fixed a typo
2005-04-03 19:58:24 +00:00
Aurelien Foret
5ad504240d
added list_is_ptrin()
2005-04-03 08:07:58 +00:00
Aurelien Foret
686e8eaeb5
more work to backport pacman_sync from pacman 2.9.5
2005-04-02 23:21:10 +00:00
Aurelien Foret
3dc36aa0e1
sync with changes in alpm.h and new RESOLVEDEPS event
2005-04-02 20:31:40 +00:00
Aurelien Foret
82de25badf
reworked sync_cleanup
2005-04-02 20:25:24 +00:00
Aurelien Foret
ffb54aba32
fixed a compilation warning
2005-04-02 20:24:24 +00:00
Aurelien Foret
4d21e4f721
started the work on "pacman_sync"
2005-03-30 22:32:43 +00:00
Aurelien Foret
c3f53cdf12
changed alpm_db_register() prototype
2005-03-29 21:09:54 +00:00
Aurelien Foret
d16c8be8a0
turned pmdepmissing_t into an opaque structure
2005-03-29 20:32:10 +00:00
Aurelien Foret
350a3972d1
fixed an error message
2005-03-27 07:43:13 +00:00
Aurelien Foret
0226ed1723
Backport from pacman 2.9.5 (--ignore in usage)
2005-03-26 13:30:59 +00:00
Aurelien Foret
0550ba151f
Backport from pacman 2.9.5 (code cleanup)
2005-03-25 22:37:13 +00:00
Aurelien Foret
e010e1bba6
replaced hardcoded references to the cache by CACHEDIR
2005-03-25 20:29:35 +00:00
Aurelien Foret
3ed2795295
uncommented a call to alpm_logaction
2005-03-23 20:07:45 +00:00
Aurelien Foret
8179f7cbaa
- added db_setlastupdate to db.c
...
- moved db_update from db.c to alpm.c
2005-03-22 20:14:49 +00:00
Aurelien Foret
621e241279
Let the C preprocessor concatenates CACHEDIR string
2005-03-20 22:04:20 +00:00
Aurelien Foret
73fa6fb9d9
added display of backup info in dump_pkg_full()
2005-03-20 22:03:30 +00:00
Aurelien Foret
a65f6aef48
fetch_pkgurl: do not download a file if it's already in the current dir
2005-03-20 21:41:19 +00:00
Aurelien Foret
950839b557
- added pmo_chomp support (from pacman 2.9.3)
...
- fixed a typo with pmo_proxyport usage
2005-03-20 14:17:34 +00:00
Aurelien Foret
4744a2a764
added support for the XFERCOMMAND option
2005-03-20 12:32:32 +00:00
Aurelien Foret
1ace50e2a8
removed a deprecated placeholder
2005-03-20 12:28:07 +00:00
Aurelien Foret
72c2439576
Added support for .lastupdate files (from pacman 2.9.1)
2005-03-20 09:22:03 +00:00
Aurelien Foret
2da0b2263e
pacman_deptest() rework
2005-03-19 18:14:18 +00:00
Aurelien Foret
5dd92d9d52
Revert to previous version
2005-03-19 09:03:50 +00:00
Aurelien Foret
636732524b
Removed an uneeded global reference
2005-03-19 09:02:21 +00:00
Aurelien Foret
05ad2e0771
Copyright update
2005-03-19 09:01:27 +00:00
Aurelien Foret
0709c15543
Relocated log and transaction stuffs from pacman.c to log.c and trans.c
2005-03-19 09:00:40 +00:00
Aurelien Foret
4b272ae5b6
Avoided extern references to pmo_root.
...
Better use PM_OPT_ROOT to know the root.
2005-03-18 18:41:27 +00:00
Aurelien Foret
2b63d0103d
Added a missing FtpQuit() call
2005-03-16 22:00:40 +00:00
Aurelien Foret
fe5636cc47
Dropped pmo_nosave parameter (now included in pmo_flags)
2005-03-16 21:53:45 +00:00
Aurelien Foret
6d703ec8cb
Code formatting
2005-03-16 21:52:49 +00:00
Aurelien Foret
e1eff42fe1
Added missing extern declaration
2005-03-16 21:38:30 +00:00
Aurelien Foret
47cd8c2323
Avoided usage of global variables pmo_root and pmo_dbpath.
...
Better make use of alpm_get_option to ge their values.
2005-03-16 21:32:46 +00:00
Aurelien Foret
ab7ca5dc72
- reworked sync_synctree() to make use of alpm_db_update()
...
- dropped unpack()
2005-03-16 21:21:06 +00:00
Aurelien Foret
2ce1105900
- added PM_EXT_PKG and PM_EXT_DB defines to alpm.h (taken from pacman 2.9.3)
...
- renamed ALPM_VERSION to PM_VERSION
2005-03-16 20:59:14 +00:00
Aurelien Foret
438f653ba6
Renamed PM_TRANS_CB_XXX to PM_TRANS_EVT_XXX
2005-03-15 18:41:02 +00:00
Judd Vinet
d04baabafa
Initial revision
2005-03-15 01:51:43 +00:00