Juan RP
900e35a15e
xbps_unpack_binary_pkg: printf existents entries iff XBPS_FLAG_VERBOSE is set.
2011-07-05 17:47:37 +02:00
Juan RP
a379b394fd
README: item for zlib's configure tests.
2011-07-05 16:46:34 +02:00
Juan RP
c8ee562d7c
configure: avoid using zlib's pkgconfig file, fixes issue 6.
...
Not all systems provide a zlib.pc file, so explicitly check for
InflateInit2() which is what we use in XBPS.
Thanks to str1ngs for finding this error on Ubuntu.
2011-07-04 13:09:37 +02:00
Juan RP
979c585652
Preserve files on disk while installing a binary package.
...
While installing packages, if any file that is going to be unpacked
exists on disk don't remove it. Always preserve them to avoid missing
files on currently installed package if there are file conflicts.
2011-07-03 17:12:02 +02:00
Juan RP
7999d393e2
xbps-bin: return ENODEV in missing dependencies, not 1.
2011-07-02 23:44:51 +02:00
Juan RP
8b43800e94
xbps-repo: improve error msg if 'sync' target fails.
2011-06-30 10:58:10 +02:00
Juan RP
f897ffa431
Do not redefine strlc{at,py} prototypes.
2011-06-29 12:16:04 +02:00
Juan RP
8b02d73559
Re-use .hgignore and make a symlink to .gitignore.
2011-06-27 22:48:15 +02:00
Juan RP
539dd1c0cd
xbps-bin: when replacing pkgs only purge for pkgs that aren't going to be updated.
2011-06-25 22:53:47 +02:00
Juan RP
f0745120f6
Fix sorting algorithm to add same pkgs with different transaction reasons.
2011-06-25 22:53:16 +02:00
Juan RP
fe2bbb675f
xbps_unpack_binary_pkg: fix previous and also handle ERANGE after unlink.
2011-06-25 18:19:56 +02:00
Juan RP
f29bbc7029
Backed out changeset 2d5467e382fd
...
This broke some dependency patterns, revert it for now.
2011-06-25 12:45:17 +02:00
Juan RP
a984c60437
xbps_cmpver: test for DEWEY_GT because it's most commonly used.
...
Also some code that handled "netbsd" pkg revisions have been removed,
we don't/won't use it.
2011-06-25 12:37:10 +02:00
Juan RP
e218e710f9
xbps_unpack_binary_pkg: in remove_file_wrong_hash() handle ENOENT errors.
2011-06-25 11:47:42 +02:00
Juan RP
cf4b9b5011
xbps-uhelper: make 'register' target to not set automatic-install (i.e manual).
2011-06-24 22:40:00 +02:00
Juan RP
532edaddda
libxbps: only initialize repository pool in repository_pool_foreach, fix a bug.
...
In xbps_repository_pool_init, xbps_fetch_file() returns 1 when a file is
successfully fetched and that var was used to check for successful initialization.
2011-06-24 21:20:06 +02:00
Juan RP
97fcd43bbe
xbps-bin: also purge pkgs that shall be replaced.
2011-06-23 11:46:15 +02:00
Juan RP
a1100fd00d
libxbps: when updating ignore pkgs in config-files state.
2011-06-23 11:40:11 +02:00
Juan RP
9468520e69
libxbps: fixed a bug in virtual pkg handling.
...
When resolving dependencies it didn't take into account virtual packages
in some cases.
2011-06-23 11:30:04 +02:00
Juan RP
5847a11570
xbps_fetch_file: remove local file if bigger than remote and refetch.
2011-06-23 00:06:50 +02:00
Juan RP
74ce033d45
Don't initialize repository pool via xbps_init, instead in repository_pool public funcs.
...
That way we can avoid having to sync all remote repositories for any code
using xbps_init()!
2011-06-22 11:55:02 +02:00
Juan RP
12d488ec47
xbps_repository_pool_init: return errno value if a repo sync fails.
2011-06-22 10:54:06 +02:00
Juan RP
6fe2c61c59
xbps_init: missing argument in a printf.
2011-06-22 10:53:20 +02:00
Juan RP
e9fa37bc2f
xbps_repository_sync_index: preserve errno in error path and add debug printfs.
2011-06-22 10:52:46 +02:00
Juan RP
fbfa9c5960
New option in conffile to set libfetch's limit (seconds) in timed out connections.
2011-06-22 09:53:44 +02:00
Juan RP
6b4aaae971
xbps-bin: check: missing whitespace in printf.
2011-06-22 09:37:59 +02:00
Juan RP
96bf160032
xbps-bin: check: don't play stupid games removing previous lines.
2011-06-22 09:33:39 +02:00
Juan RP
de9e153bb9
xbps-bin: check target: ignore symlinks with empty targets.
2011-06-22 09:16:48 +02:00
Juan RP
092c832e6c
mkpath: indent some comments.
2011-06-21 10:43:52 +02:00
Juan RP
2719f63642
xbps-repo: improve error string when xbps_fetch_file() errors out.
2011-06-20 23:16:58 +02:00
Juan RP
ed82315813
xbps-{bin,repo}(8): don't mention xbps-src, this info is outdated.
2011-06-20 12:56:43 +02:00
Juan RP
0bc77f86fa
xbps_pkg_epoch is not supported anymore with NetBSD's dewey.
2011-06-14 11:26:00 +02:00
Juan RP
3bd48a8521
lib/dewey.c: minor cosmetic changes.
2011-06-14 11:25:28 +02:00
Juan RP
32a5cd501e
xbps-bin: improve error printfs while checking files.plist.
2011-06-06 09:09:30 +02:00
Juan RP
90549d829a
xbps-bin::util.c: do not use C99 struct initialization, it's too long to type.
2011-06-04 22:35:48 +02:00
Juan RP
cb7b44bc13
Rename property in conf file for virtual packages to "virtual-packages".
2011-06-04 11:30:21 +02:00
Juan RP
a9a558796c
NEWS: mention new options in configuration file.
2011-06-04 17:53:27 +02:00
Juan RP
6fe23a1b80
configure: do not add --as-needed automatically.
2011-06-04 17:32:17 +02:00
Juan RP
ebae4fbfca
xbps_init: fix logic.
2011-06-04 17:12:26 +02:00
Juan RP
5a355ed6d9
It's now possible to set rootdir, cachedir, and fetch caches in the conf file.
2011-06-04 17:08:44 +02:00
Juan RP
48f689d8e6
xbps-bin: error msg when cachedir cannot be created.
2011-06-04 16:37:05 +02:00
Juan RP
b2840a3f16
plist_fetch: add some debugging printfs to know when network access is working.
2011-06-04 16:05:19 +02:00
Juan RP
20c36d73ef
xbps_init: don't panic if conf_dictionary cannot be internalized, just continue.
2011-06-04 15:51:32 +02:00
Juan RP
51bee11bfa
Switch xbps_cmpver() to use NetBSD's dewey code.
2011-06-04 15:42:50 +02:00
Juan RP
47e3a3f39b
xbps_init: add a debug printf if repository array in conf file is empty.
2011-06-04 15:08:50 +02:00
Juan RP
36346a7ca0
xbps_init: add a debug printf.
2011-06-04 14:17:11 +02:00
Juan RP
bb4cefcd2c
xbps-{bin,repo}: init conffile to NULL.
2011-06-04 13:53:55 +02:00
Juan RP
a85a1a145a
configure: use static libxbps from topdir not from DESTDIR.
2011-06-04 13:53:16 +02:00
Juan RP
9673c4bd09
XBPS major changes in June 2011.
...
- A configuration file "xbps-conf.plist" replaces the (un)register target
in xbps-repo(8) and (un)set-prop in xbps-bin(8). For now, you can set
the repositories and prefered virtual packages.
- New package pattern matching code from NetBSD. Supports more ways of
matching patterns in packages.
- Multiple bugs fixed in virtual packages related matching code.
--HG--
rename : LICENSE => COPYING
2011-06-04 13:37:53 +02:00
Juan RP
2d6140f65b
Rename: xbps_read_dict_from_archive_entry() -> xbps_dictionary_from_archive_entry().
2011-06-02 09:54:59 +02:00