9ee1f8a09a
README: zlib is also required now.
Juan RP
2010-04-24 18:08:39 +02:00
9efe430e7c
portableproplib can now be built with -Wextra and -Werror, but still needs -Wno-cast-qual and -Wno-unused-parameter.
Juan RP
2010-04-21 11:04:58 +02:00
4bef22e190
Add change from portableproplib's git master to fix a warning with -Wextra:
Juan RP
2010-04-21 05:48:57 +02:00
ea0d37a104
Incorporate a commit from portableproplib's git master to fix two warnings:
Juan RP
2010-04-21 05:09:05 +02:00
19af2f4af4
xbps_read_dict_from_archive_entry: added support to uncompress plist files in archives.
Juan RP
2010-04-21 05:04:37 +02:00
9d4f44b776
Bump XBPS_RELVER to 20100420 for compressed gzip plist files support.
Juan RP
2010-04-20 15:04:49 +02:00
ad12302a69
xbps-uhelper: remove unused debug code.
Juan RP
2010-04-20 14:35:03 +02:00
6256b34ccc
Some changes that will appear in 0.5.0:
Juan RP
2010-04-20 14:22:38 +02:00
ab76f9d5e7
Use pkg-config to find out the openssl/libarchive required static libs.
Juan RP
2010-03-31 12:50:31 +02:00
fa9d8c718a
lib/register.c: add some DPRINTFs.
Juan RP
2010-03-13 09:31:02 +01:00
6eebced6b4
Add a LICENSE file.
Juan RP
2010-02-28 03:23:40 +01:00
09bab8fba9
NEWS: update for to be relesed 0.4.1 version.
Juan RP
2010-02-26 06:48:47 +01:00
9bceb2adb7
xbps-bin: fixed the install target to work with pkgnames containing multiple '-' characters, which resulted in incomplete pkgname.
Juan RP
2010-02-26 06:13:33 +01:00
9f4b36292d
xbps-bin: unset some bool vars while processing the transaction to avoid wrong messages for preserve pkgs.
Juan RP
2010-02-17 05:19:41 +01:00
2daffcc768
Avoid endless loop while sorting dependencies due to missing packages.
Juan RP
2010-01-29 04:44:40 +01:00
83ab3fe977
xbps-bin/remove.c: set some pointers to NULL before checking them.
Juan RP
2010-01-28 17:44:23 +01:00
df5b800366
Improve previous and only overwrite files while upgrading packages in the unpack phase.
Juan RP
2010-01-28 16:21:08 +01:00
61dde1ac02
Always overwrite files while unpacking, this makes the "essential" obj obsolete.
Juan RP
2010-01-28 16:08:50 +01:00
375330a956
xbps-bin: print different msgs for pkgs marked as preserve and essential.
Juan RP
2010-01-25 16:16:48 +01:00
dae134cd48
xbps-bin/remove.c: simplify error paths.
Juan RP
2010-01-25 16:16:04 +01:00
bf6b96c651
xbps-bin/check.c: simplify exit paths.
Juan RP
2010-01-25 16:15:33 +01:00
920db08f5c
lib/remove.c: bump copyright year for previous change.
Juan RP
2010-01-25 08:28:38 +01:00
1c4d43306a
xbps-bin(8): if -f is set, remove files and configuration files even if its hash doesn't match for the remove and purge targets respectively.
Juan RP
2010-01-25 08:09:48 +01:00
17d87b3559
Repair upgrades of preserve packages, i.e kernel.
Juan RP
2010-01-25 06:27:54 +01:00
7f343b8dbe
xbps-bin: fixed some stdout vs stderr printf issues.
Juan RP
2010-01-25 03:14:54 +01:00
0ebff2c636
lib/plist.c: fix an assertion.
Juan RP
2010-01-25 02:14:44 +01:00
5e367deffe
Added a NEWS file in preparation for xbps-0.4.
Juan RP
2010-01-24 17:59:40 +01:00
232660167b
xbps-uhelper: make 'fetch' target accept an arbitrary number of arguments.
Juan RP
2010-01-24 17:25:17 +01:00
088baa7699
Add defs for default fetch cache connection limits and use them in xbps_fetch_cache_connection() if 0 is passed as argument.
Juan RP
2010-01-24 16:31:56 +01:00
801785cbab
Add xbps_fetch_set_cache_connection() to set libfetch's cache connection limits.
Juan RP
2010-01-24 15:48:29 +01:00
03e8fa53d9
Merge libfetch-2.30 from NetBSD's pkgsrc.
Juan RP
2010-01-24 15:47:53 +01:00
489f6baaa6
xbps-bin: remove an extra newline in transaction ops.
Juan RP
2010-01-24 14:07:57 +01:00
a0b5e9e83a
Rework Makefiles one more time.
Juan RP
2010-01-24 13:59:58 +01:00
f613e8e49d
README: explain BUILD_API_DOCS.
Juan RP
2010-01-23 06:59:45 +01:00
49134b3e62
xbps_find_orphan_packages: improve doxygen documentation.
Juan RP
2010-01-23 06:29:34 +01:00
97266fa921
lib/unpack.c: improve doxygen description.
Juan RP
2010-01-23 06:16:05 +01:00
823fe6d67c
Don't export xbps_get_remote_repo_string() to the API, it's only used internally in the library.
Juan RP
2010-01-23 06:13:34 +01:00
8a4b5fbd48
.bzrignore: add new stuff.
Juan RP
2010-01-23 06:12:48 +01:00
31f821669f
Add infrastructure changes to build the API documentation.
Juan RP
2010-01-23 02:37:19 +01:00
dac80a3fa2
libxbps: improve doxygen documentation, still not finished.
Juan RP
2010-01-22 23:59:55 +01:00
4b0c08ebcf
xbps_unpack_binary_pkg: multiple fixes and improvements.
Juan RP
2010-01-22 23:56:39 +01:00
65f241a081
xbps_repository_get_pkg_plist_dict_from_url: stop processing the archive once that 4 entries are checked for the plist file.
Juan RP
2010-01-22 23:54:33 +01:00
c0b280c118
Mega-commit to document the API with doxygen.
Juan RP
2010-01-21 03:10:19 +01:00
61d2ea8896
Rework Makefile files, fully parallel builds are now possible.
Juan RP
2010-01-18 21:18:26 +01:00
e11a1fe651
xbps_unpack_binary_pkg: fixed some bugs while upgrading essential pkgs.
Juan RP
2010-01-18 19:49:32 +01:00
952e265b8f
xbps_repository_pool_init: fix memleaks in error paths, found by cppcheck.
Juan RP
2010-01-18 00:26:50 +01:00
a165d20193
Error and warning messages should go to stderr, make it so.
Juan RP
2010-01-15 15:19:16 +01:00
d2a093a401
xbps_repository_install_pkg: don't forget to release repository pool stuff.
Juan RP
2010-01-14 18:58:14 +01:00
d8a025a56a
xbps_repository_install_pkg: before adding pkg into the transaction, check that it wasn't added before.
Juan RP
2010-01-14 13:57:13 +01:00
6c27794c5b
xbps-bin: simplify pkgname_from_pkgmatch() and fix a bug.
Juan RP
2010-01-14 13:39:17 +01:00
7230203be4
xbps-bin: really fix previous, by using a hack for now.
Juan RP
2010-01-14 06:25:01 +01:00
37008d3c75
xbps-bin: don't make false positives detecting pkgmatches vs pkgnames while installing packages.
Juan RP
2010-01-14 04:00:01 +01:00
6c29fe7514
xbps-repo: search target: also report exact matches by pkgname.
Juan RP
2010-01-14 01:06:54 +01:00
15be7b43a4
xbps_pkgmatch: before checking pattern with csh_match(), try to see if a full match with strcmp() is enough.
Juan RP
2010-01-14 01:00:42 +01:00
27dd304d76
Install the xbps_api.h header.
Juan RP
2010-01-13 19:32:25 +01:00
05bad9c0d5
xbps_remove_pkg: fix a memleak, thanks valgrind.
Juan RP
2010-01-13 18:10:03 +01:00
536fb8a86e
xbps-repo/util.c: bump copyright year.
Juan RP
2010-01-13 17:05:23 +01:00
b225a8d243
xbps-repo/util.c: simplify show_pkg_files().
Juan RP
2010-01-13 16:57:50 +01:00
3d3c92dcbc
Install shlib with 755 perms to match what the world does.
Juan RP
2010-01-13 16:57:21 +01:00
e404632f7e
Sync fetch code with libfetch-2.27.
Juan RP
2010-01-11 20:24:21 +01:00
ec907d0646
Restructure the Makefiles, INET6 and SSL support in libfetch is now mandatory, build executables as PIE objects.
Juan RP
2010-01-06 11:15:56 +01:00
253be2e783
README: improve make install example.
Juan RP
2009-12-28 23:35:16 +01:00
d55391e2e9
Cleaned up the Makefiles, improve README about what's required.
Juan RP
2009-12-28 16:19:58 +01:00
4be79d4535
xbps_register_pkg: if automatic-install obj is there, don't overwrite its value.
Juan RP
2009-12-24 01:32:42 +01:00
53adf2779b
Bump XBPS_RELVER to 20091222 for last set of changes.
Juan RP
2009-12-22 15:03:09 +01:00
343600261c
xbps-bin(8): - Add -y flag to assume "yes" for all questions. - Print a proper error string when the transaction dictionary is empty.
Juan RP
2009-12-22 14:43:38 +01:00
009c2131fc
xbps_yesno/noyes: change the funcs to only accept "yes" or "no" (case insensitive) answers rather than the short ones.
Juan RP
2009-12-22 12:27:59 +01:00
6b83ad4c7e
vars.mk: remove dup -lcrypto.
Juan RP
2009-12-20 23:33:49 +01:00
6e863cbf45
lib/fetch/Makefile: ignore fstack-protector warnings.
Juan RP
2009-12-18 13:21:39 +01:00
eb0cd7ac5c
.bzrignore: add .xml files.
Juan RP
2009-12-18 13:21:19 +01:00
f89e128a81
repository_sync_index.c: add missing sys/stat.h.
Juan RP
2009-12-18 13:20:54 +01:00
02c0c569a3
xbps-{bin,repo}.8.txt: s/SYNOPSYS/SYNOPSIS/
Juan RP
2009-12-18 13:19:33 +01:00
bb5859fa35
README: asciidoc is also required to build the manpages.
Juan RP
2009-12-12 11:22:27 +01:00
a666573d29
Added a minimal README file.
Juan RP
2009-12-12 11:20:23 +01:00
279219a348
xbps_unpack_binary_pkg: set INSTALL/REMOVE perms to 0750.
Juan RP
2009-12-11 10:58:46 +01:00
6c2a648510
repository_plist.c: fix lp bug #494905 "xbps build failure on x86_64".
Juan RP
2009-12-10 09:13:28 +01:00
eb885bbcc2
When executing the INSTALL/REMOVE scripts, always pass the UPDATE value to them.
Juan RP
2009-12-09 16:14:35 +01:00
026dc6dbd9
xbps_unpack_binary_pkg: bail out if required metadata plist files aren't found after processing 6 entries from the archive.
Juan RP
2009-12-07 07:24:22 +01:00
2d68cec780
xbps-bin: make the 'autoremove' target respect -f flag to bypass question.
Juan RP
2009-12-07 06:52:27 +01:00
972af411d1
libxbps: share code for removing pkg files in remove.c and purge.c.
Juan RP
2009-12-07 06:30:06 +01:00
f5744b0d3d
xbps_remove_pkg: when removing dirs there is no need to look for the "keep" obj anymore.
Juan RP
2009-12-07 05:27:11 +01:00
b0b00cf1ff
xbps-repo: when adding local repos always create XBPS_META_PATH.
Juan RP
2009-12-06 09:29:38 +01:00
2faef604bd
xbps-bin.8.txt: fix typo.
Juan RP
2009-12-05 01:05:58 +01:00
20ec9c3b6d
Fixed typos in xbps-{bin,repo} manpages.
Juan RP
2009-12-02 07:19:45 +01:00
b03a18ff84
xbps_unpack_binary_pkg: removed 2nd bool argument, look for a preserve object to not remove files in removal or upgrades.
Juan RP
2009-12-02 06:31:03 +01:00
94bb169c88
Rename lib/repository_plist.c exported functions.
Juan RP
2009-11-30 12:35:38 +01:00
d90a248244
Rename struct repository_data to repository_pool.
Juan RP
2009-11-30 12:24:04 +01:00
91aeac4dad
Rename some function from lib/repository* with more meaningful names.
Juan RP
2009-11-30 12:08:46 +01:00
e4cda0e9cc
Rename lib/sync_remote_pkgidx.c to repository_sync_index.c.
Juan RP
2009-11-30 11:53:25 +01:00
a3db88bd07
xbps_api.h: update comments, sort.
Juan RP
2009-11-30 11:48:25 +01:00
7996aeba3f
Rename lib/depends.c to repository_finddeps.c and lib/findpkg.c to repository_findpkg.c.
Juan RP
2009-11-30 11:38:14 +01:00
bfa9858277
xbps-bin, xbps-repo: show the "essential" and "replaces" objs values in the 'show' target.
Juan RP
2009-11-30 11:20:23 +01:00
45f1d7b70a
xbps_sort_pkg_deps: add debugging, use xbps_pkgdep_match().
Juan RP
2009-11-29 05:53:27 +01:00
bd9b545fc9
xbps_find_pkg_repo_deps: check if current pkg version in repo is enough to satisfy the required rundep for a pkg!
Juan RP
2009-11-29 05:52:32 +01:00
4e38be11f4
xbps-bin: fix assertion with pkgs containing the "replaces" obj.
Juan RP
2009-11-29 05:51:49 +01:00
1a5d19dca2
Fix and improve how missing pkg dependencies are handled from repos.
Juan RP
2009-11-29 03:17:35 +01:00
eb0567bfab
xbps-bin(8): mention /var/db/xbps/metadata/pkgname/*.plist.
Juan RP
2009-11-28 09:18:09 +01:00
5c1d4034ee
xbps_api.h: indent.
Juan RP
2009-11-28 09:14:22 +01:00