940e077fb4
Improvements for xbps-{bin,repo}.
Juan RP2010-11-24 16:37:30 +01:00
d2be842ce5
Fix and improve when there are missing deps in the transaction dictionary.
Juan RP2010-11-23 23:17:04 +01:00
99f3d846de
xbps_purge_pkg: if state is not XBPS_PKG_STATE_CONFIG_FILES, just return 0.
Juan RP2010-11-21 14:34:49 +01:00
fdec663855
API clean up (part 2), plus misc changes and improvements.
Juan RP2010-11-19 13:40:13 +01:00
ffc255b715
Starting to clean up the public API, move private stuff into xbps_api_impl.h.
Juan RP2010-11-13 03:18:58 +01:00
3b931475c0
Make xbps_read_dict_from_archive_entry() private to libxbps, as it's only used internally.
Juan RP2010-11-10 15:08:21 +01:00
420225d414
xbps-dgraph: new utility to generate dot(1) graphs for package metadata properties.
Juan RP2010-11-08 23:27:15 +01:00
175b1abf8f
xbps_purge_all_pkgs: no need to check for pkg state because xbps_purge_pkg() does it too.
Juan RP2010-11-08 12:20:44 +01:00
0584c01088
Better describe xbps_find_pkg_from_plist().
Juan RP2010-11-08 11:49:29 +01:00
c3afb4f4fb
New function: xbps_get_pkg_dict_from_metadata_plist.
Juan RP2010-11-08 03:14:41 +01:00
25ebcd53f8
xbps_api.h: update comments for @private funcs.
Juan RP2010-11-08 02:12:03 +01:00
679833156a
Always release the object dictionary returned by xbps_find_pkg_dict_installed().
Juan RP2010-11-08 02:02:35 +01:00
ab10cc3b15
xbps_find_pkg_dict_installed: dictionary MUST be copied before calling xbps_regpkgs_dictionary_release(), otherwise it will be NULL.
Juan RP2010-11-08 01:37:53 +01:00
756a5ec654
xbps_api.h: improve description for some defs.
Juan RP2010-11-08 00:50:19 +01:00
c97c2c3f2f
Update the dot(1) graph for the libxbps transaction dictionary.
Juan RP2010-11-06 10:28:09 +01:00
ec7cdde1e0
Misc cleanups and performance improvements.
Juan RP2010-11-06 06:44:00 +01:00
f8629652da
Make xbps_file_*_exec() always chroot if uid==0 and /bin/sh (+x, relative) exists.
Juan RP2010-11-06 06:40:19 +01:00
74500381ff
lib/Makefile: remove dup values.
Juan RP2010-11-04 03:48:23 +01:00
99d38bf176
Rename some files in the library to better describe what they do.
Juan RP2010-11-03 20:08:33 +01:00
8ef8d86c12
Some changes for the XBPS libfetch's frontend code.
Juan RP2010-11-03 12:23:57 +01:00
9c60862e0f
Pass LDFLAGS after the objects when creating the sharedlib, otherwise -Wl,--as-needed will think that zlib is not needed.
Juan RP2010-11-02 07:40:14 +01:00
8d998948ef
xbps-bin.8: fixed two formatting errors.
Juan RP2010-10-31 01:59:48 +02:00
e2e5e0478f
Added tag 0.6.2 for changeset fe0d022c4236
Juan RP2010-10-31 00:50:32 +02:00
0672cb1dec
NEWS: XBPS 0.6.2 will be released in a few minutes.
Juan RP2010-10-31 00:49:56 +02:00
8051232e82
libxbps: xbps_repository_unregister(): in remote repositories, also remove the pkg index file and its directory.
Juan RP2010-10-29 09:10:41 +02:00
49a356df81
xbps_get_pkg_index_plist: fix a memleak.
Juan RP2010-10-29 08:21:56 +02:00
a0e8fac8cb
Add a Changelog file with all repo changes.
Juan RP2010-10-27 16:37:25 +02:00
210f2799fc
xbps-bin(8): modify the 'list' target to accept an optional argument to list packages in the specified state, so that you can list packages that need to be purged, configured and broken (will be used in the future).
Juan RP2010-10-27 13:10:03 +02:00
ef7da88db1
xbps-bin(8): added a new target "find-files".
Juan RP2010-10-27 00:25:02 +02:00
992583311b
configure: don't use -fPIE and --param ssp-buffer-size if CC != gcc.
Juan RP2010-10-27 00:19:02 +02:00
c49bd80e20
fetch/ftp.c: fix a cast that caught clang via -Wcast-qual.
Juan RP2010-10-27 00:17:08 +02:00
418ee6eec4
Remove empty dirs while removing obsolete files.
Juan RP2010-10-27 00:15:59 +02:00
18e247486d
Added tag 0.6.1 for changeset 9133c604fd81
Juan RP2010-10-23 18:13:01 +02:00
d64815403e
Increment XBPS_RELVER for 0.6.1.
Juan RP2010-10-23 18:12:54 +02:00
9592fb012b
Added tag 0.6.1 for changeset 6a4587e4f95f
Juan RP2010-10-23 18:10:35 +02:00
8534b79ffc
Prepare for going-to-be-released 0.6.1.
Juan RP2010-10-23 18:09:35 +02:00
05c841ee9e
Makefile: added dist target to create distribution source tarball.
Juan RP2010-10-23 18:08:33 +02:00
f1c24cebfa
Added tag 0.6.1 for changeset e51c0a0d740b
Juan RP2010-10-23 17:58:16 +02:00
6cc080e029
Added tag 0.6.0 for changeset bfbbdcaef85a
Juan RP2010-06-03 09:53:09 +02:00
d92f259921
NEWS: fix date for 0.6.0.
Juan RP2010-06-03 09:53:03 +02:00
4b8f85382e
Bump XBPS_RELVER for changes that will go to 0.6.0.
Juan RP2010-06-02 23:50:44 +02:00
cb800e4996
Mention libfetch-2.31 sync.
Juan RP2010-06-02 23:48:09 +02:00
bd37736d89
Import and merge libfetch-2.31 from NetBSD pkgsrc.
Juan RP2010-06-02 23:44:25 +02:00
0c67681ce1
Update .hgignore for recent changes.
Juan RP2010-05-20 15:20:29 +02:00
1bcf9de67a
xbps_[gs]et_cachedir(): ensure we don't copy more than buffer's size including NUL.
Juan RP2010-05-20 15:10:36 +02:00
8e764dca60
xbps-repo: put back sanitize_url() and improve the implementation.
Juan RP2010-05-20 14:45:12 +02:00
3038fbed2d
lib/repository_finddeps.c: change var names to be more descriptive, add some more verbose messages.
Juan RP2010-05-20 07:21:24 +02:00
eb645d2974
xbps_api.h: do not rely on sys/cdefs.h, fix up some comments.
Juan RP2010-05-20 04:49:53 +02:00
8f20f4c0c6
libxbps: use OpenSSL SHA256, 5x faster xbps_get_file_hash() implementation.
Juan RP2010-05-20 02:43:56 +02:00
e13bf5de02
3RDPARTY: sync with reality.
Juan RP2010-05-19 23:29:50 +02:00
f888b582f9
Added a configure script to emulate GNU autoconf and related changes.
Juan RP2010-05-19 22:38:27 +02:00
c13d3c96df
Improve xbps_pkg_props_dictionary.dot even more.
Juan RP2010-05-19 01:06:58 +02:00
8b222fd093
xbps-repo/index.c: fix a typo.
Juan RP2010-05-18 23:06:27 +02:00
2be6a7b1bc
libxbps: if XBPS_FLAG_VERBOSE is set print to stdout some info about binary packages found in repositories and its dependencies.
Juan RP2010-05-18 23:04:14 +02:00
855a1d505e
Added tag 0.5.2.2 for changeset 0c1a7cea8bd2
Juan RP2010-05-18 15:33:31 +02:00
c4e9d86630
libxbps::xbps_remove_obsoletes(): reset a var to 0 in non fatal errors!
Juan RP2010-05-18 15:33:27 +02:00
0074312dec
Added tag 0.5.2.1 for changeset 4cf86e688eef
Juan RP2010-05-18 13:42:08 +02:00
af6949cc43
Apply the commit from portableproplib's git master:
Juan RP2010-04-29 18:24:12 +02:00
4d09be8cba
NEWS: improve an entry.
Juan RP2010-04-28 23:58:55 +02:00
2d68c5fb20
xbps-repo(8): fixed the 'search' target to also match patterns against its description, and not only from the package/version touple.
Juan RP2010-04-28 23:46:59 +02:00
40ae71d195
NEWS: no more warnings now are reported by the LLVM's clang analyzer.
Juan RP2010-04-28 23:33:23 +02:00
28f997bdf7
libxbps: fixed all warnings found by clang.
Juan RP2010-04-28 23:30:56 +02:00
7976ac3707
xbps-repo/index.c: fix warnings found by clang.
Juan RP2010-04-28 23:13:33 +02:00
b04a0230cd
xbps-bin/check.c: remove dead code, fix warnings found by clang.
Juan RP2010-04-28 23:11:07 +02:00
db685f280d
xbps-bin/install.c: remove unused vars, found by clang.
Juan RP2010-04-28 21:33:36 +02:00
8ec438e168
xbps-bin/main.c: remove unused var found by clang analyzer.
Juan RP2010-04-28 18:33:41 +02:00
11de88d122
xbps-bin/install.c: fix a NULL pointer dereference in error path, found by the clang analyzer.
Juan RP2010-04-28 18:31:37 +02:00
abe9e91e8b
Exclude portableproplib code when generating the API docs.
Juan RP2010-04-28 18:10:35 +02:00
5f8effab48
LICENSE: remove C comments.
Juan RP2010-04-28 03:40:31 +02:00
e274585c3c
xbps-bin(8): added -p flag to also purge packages for the 'remove' and 'autoremove' targets, after successful removal.
Juan RP2010-04-28 03:26:13 +02:00
1771aacfab
NEWS: update for latest changes.
Juan RP2010-04-27 18:04:02 +02:00
a5d8d486ea
xbps-repo: show a warning when a repository has been already added.
Juan RP2010-04-27 18:02:15 +02:00
b77bebe03a
xbps_repository_register(): if repository already exists return EEXIST.
Juan RP2010-04-27 18:01:25 +02:00