940e077fb4
Improvements for xbps-{bin,repo}.
Juan RP
2010-11-24 16:37:30 +01:00
d2be842ce5
Fix and improve when there are missing deps in the transaction dictionary.
Juan RP
2010-11-23 23:17:04 +01:00
99f3d846de
xbps_purge_pkg: if state is not XBPS_PKG_STATE_CONFIG_FILES, just return 0.
Juan RP
2010-11-21 14:34:49 +01:00
fdec663855
API clean up (part 2), plus misc changes and improvements.
Juan RP
2010-11-19 13:40:13 +01:00
ffc255b715
Starting to clean up the public API, move private stuff into xbps_api_impl.h.
Juan RP
2010-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 RP
2010-11-10 15:08:21 +01:00
420225d414
xbps-dgraph: new utility to generate dot(1) graphs for package metadata properties.
Juan RP
2010-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 RP
2010-11-08 12:20:44 +01:00
0584c01088
Better describe xbps_find_pkg_from_plist().
Juan RP
2010-11-08 11:49:29 +01:00
c3afb4f4fb
New function: xbps_get_pkg_dict_from_metadata_plist.
Juan RP
2010-11-08 03:14:41 +01:00
25ebcd53f8
xbps_api.h: update comments for @private funcs.
Juan RP
2010-11-08 02:12:03 +01:00
679833156a
Always release the object dictionary returned by xbps_find_pkg_dict_installed().
Juan RP
2010-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 RP
2010-11-08 01:37:53 +01:00
756a5ec654
xbps_api.h: improve description for some defs.
Juan RP
2010-11-08 00:50:19 +01:00
c97c2c3f2f
Update the dot(1) graph for the libxbps transaction dictionary.
Juan RP
2010-11-06 10:28:09 +01:00
ec7cdde1e0
Misc cleanups and performance improvements.
Juan RP
2010-11-06 06:44:00 +01:00
f8629652da
Make xbps_file_*_exec() always chroot if uid==0 and /bin/sh (+x, relative) exists.
Juan RP
2010-11-06 06:40:19 +01:00
74500381ff
lib/Makefile: remove dup values.
Juan RP
2010-11-04 03:48:23 +01:00
99d38bf176
Rename some files in the library to better describe what they do.
Juan RP
2010-11-03 20:08:33 +01:00
8ef8d86c12
Some changes for the XBPS libfetch's frontend code.
Juan RP
2010-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 RP
2010-11-02 07:40:14 +01:00
8d998948ef
xbps-bin.8: fixed two formatting errors.
Juan RP
2010-10-31 01:59:48 +02:00
e2e5e0478f
Added tag 0.6.2 for changeset fe0d022c4236
Juan RP
2010-10-31 00:50:32 +02:00
1f9c57183d
Changelog: update.
Juan RP
2010-10-31 00:50:16 +02:00
0672cb1dec
NEWS: XBPS 0.6.2 will be released in a few minutes.
Juan RP
2010-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 RP
2010-10-29 09:10:41 +02:00
49a356df81
xbps_get_pkg_index_plist: fix a memleak.
Juan RP
2010-10-29 08:21:56 +02:00
a0e8fac8cb
Add a Changelog file with all repo changes.
Juan RP
2010-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 RP
2010-10-27 13:10:03 +02:00
ef7da88db1
xbps-bin(8): added a new target "find-files".
Juan RP
2010-10-27 00:25:02 +02:00
992583311b
configure: don't use -fPIE and --param ssp-buffer-size if CC != gcc.
Juan RP
2010-10-27 00:19:02 +02:00
c49bd80e20
fetch/ftp.c: fix a cast that caught clang via -Wcast-qual.
Juan RP
2010-10-27 00:17:08 +02:00
418ee6eec4
Remove empty dirs while removing obsolete files.
Juan RP
2010-10-27 00:15:59 +02:00
18e247486d
Added tag 0.6.1 for changeset 9133c604fd81
Juan RP
2010-10-23 18:13:01 +02:00
d64815403e
Increment XBPS_RELVER for 0.6.1.
Juan RP
2010-10-23 18:12:54 +02:00
9592fb012b
Added tag 0.6.1 for changeset 6a4587e4f95f
Juan RP
2010-10-23 18:10:35 +02:00
8534b79ffc
Prepare for going-to-be-released 0.6.1.
Juan RP
2010-10-23 18:09:35 +02:00
05c841ee9e
Makefile: added dist target to create distribution source tarball.
Juan RP
2010-10-23 18:08:33 +02:00
f1c24cebfa
Added tag 0.6.1 for changeset e51c0a0d740b
Juan RP
2010-10-23 17:58:16 +02:00
6cc080e029
Added tag 0.6.0 for changeset bfbbdcaef85a
Juan RP
2010-06-03 09:53:09 +02:00
d92f259921
NEWS: fix date for 0.6.0.
Juan RP
2010-06-03 09:53:03 +02:00
4b8f85382e
Bump XBPS_RELVER for changes that will go to 0.6.0.
Juan RP
2010-06-02 23:50:44 +02:00
cb800e4996
Mention libfetch-2.31 sync.
Juan RP
2010-06-02 23:48:09 +02:00
bd37736d89
Import and merge libfetch-2.31 from NetBSD pkgsrc.
Juan RP
2010-06-02 23:44:25 +02:00
0c67681ce1
Update .hgignore for recent changes.
Juan RP
2010-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 RP
2010-05-20 15:10:36 +02:00
8e764dca60
xbps-repo: put back sanitize_url() and improve the implementation.
Juan RP
2010-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 RP
2010-05-20 07:21:24 +02:00
eb645d2974
xbps_api.h: do not rely on sys/cdefs.h, fix up some comments.
Juan RP
2010-05-20 04:49:53 +02:00
8f20f4c0c6
libxbps: use OpenSSL SHA256, 5x faster xbps_get_file_hash() implementation.
Juan RP
2010-05-20 02:43:56 +02:00
e13bf5de02
3RDPARTY: sync with reality.
Juan RP
2010-05-19 23:29:50 +02:00
f888b582f9
Added a configure script to emulate GNU autoconf and related changes.
Juan RP
2010-05-19 22:38:27 +02:00
c13d3c96df
Improve xbps_pkg_props_dictionary.dot even more.
Juan RP
2010-05-19 01:06:58 +02:00
706851b037
Improve binary package metadata plist file images.
Juan RP
2010-05-19 00:42:36 +02:00
8b222fd093
xbps-repo/index.c: fix a typo.
Juan RP
2010-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 RP
2010-05-18 23:04:14 +02:00
855a1d505e
Added tag 0.5.2.2 for changeset 0c1a7cea8bd2
Juan RP
2010-05-18 15:33:31 +02:00
c4e9d86630
libxbps::xbps_remove_obsoletes(): reset a var to 0 in non fatal errors!
Juan RP
2010-05-18 15:33:27 +02:00
0074312dec
Added tag 0.5.2.1 for changeset 4cf86e688eef
Juan RP
2010-05-18 13:42:08 +02:00
bb220904b7
Bump XBPS_RELVER.
Juan RP
2010-05-18 13:41:51 +02:00
b57ce692a1
NEWS: fixed a typo.
Juan RP
2010-05-18 13:41:15 +02:00
fed78b9d6f
libxbps: bah do not ignore ENOENT when running INSTALL/REMOVE scripts.
Juan RP
2010-05-18 13:40:51 +02:00
1c9cf426a1
Added tag 0.5.2 for changeset e3054c016de0
Juan RP
2010-05-18 07:46:41 +02:00
76ca32e76f
libxbps: some random bugfixes.
Juan RP
2010-05-18 07:46:27 +02:00
42af3ac533
Removed tag 0.5.2
Juan RP
2010-05-18 07:45:39 +02:00
f93205d352
Added tag 0.5.2 for changeset 246721b8546e
Juan RP
2010-05-18 07:44:45 +02:00
754ec6ebb1
xbps-repo: fix genindex target to not return error when a package is already registered in the index.
Juan RP
2010-05-18 02:42:21 +02:00
1fbc19959f
xbps-bin: when replacing a pkg do not purge the old one, just remove it.
Juan RP
2010-05-12 07:47:40 +02:00
401d197c06
xbps-repo(8): improved the 'search' target to also match substrings in package/version tuples.
Juan RP
2010-05-12 05:04:35 +02:00
f2d8d5cc89
Added tag 0.5.1 for changeset 0d9e4fc8afd9
Juan RP
2010-05-11 15:20:58 +02:00
5ece482468
NEWS: mention new changes, in preparation for 0.5.1.
Juan RP
2010-05-11 15:01:44 +02:00
e22df5580b
Bump XBPS_RELVER for last change.
Juan RP
2010-05-11 13:47:14 +02:00
17b7651137
libxbps: change the epoch char to ':' to differentiate the starting char in pkgname.
Juan RP
2010-05-11 13:38:35 +02:00
a79d7b5884
lib/Makefile: proplib sources need -Wno-stack-protector.
Juan RP
2010-05-11 13:37:21 +02:00
b8c9577df6
xbps-bin(8): added a new target 'show-orphans' that list all package orphans currently installed.
Juan RP
2010-05-04 17:04:36 +02:00
cf2244b0b9
README: update project URL.
Juan RP
2010-05-04 15:11:48 +02:00
f4c03c11ff
prog.mk: don't redirect stderr to /dev/null for static linking.
Juan RP
2010-05-04 15:04:06 +02:00
9fe20ccbc8
Also link libxbps to libpthread as it's required now.
Juan RP
2010-05-04 14:57:08 +02:00
af3a2788aa
Provide stubs for htobe{32,64}() and be32toh() macros if they aren't defined on Linux.
Juan RP
2010-05-04 14:36:32 +02:00
ca7a0ef4b8
Update .hgignore after last change (troff manpages).
Juan RP
2010-05-03 22:01:18 +02:00
1b44e18b35
Remove asciidoc build dependency, use troff manpages directly.
Juan RP
2010-05-03 21:50:34 +02:00
361a7afa29
Moved .bzrignore to .hgignore and make it work.
Juan RP
2010-05-02 11:51:35 +02:00
59693bf505
Update manpages for new XBPS project locations.
Juan RP
2010-05-02 11:36:17 +02:00
af6949cc43
Apply the commit from portableproplib's git master:
Juan RP
2010-04-29 18:24:12 +02:00
4d09be8cba
NEWS: improve an entry.
Juan RP
2010-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 RP
2010-04-28 23:46:59 +02:00
40ae71d195
NEWS: no more warnings now are reported by the LLVM's clang analyzer.
Juan RP
2010-04-28 23:33:23 +02:00
28f997bdf7
libxbps: fixed all warnings found by clang.
Juan RP
2010-04-28 23:30:56 +02:00
7976ac3707
xbps-repo/index.c: fix warnings found by clang.
Juan RP
2010-04-28 23:13:33 +02:00
b04a0230cd
xbps-bin/check.c: remove dead code, fix warnings found by clang.
Juan RP
2010-04-28 23:11:07 +02:00
db685f280d
xbps-bin/install.c: remove unused vars, found by clang.
Juan RP
2010-04-28 21:33:36 +02:00
8ec438e168
xbps-bin/main.c: remove unused var found by clang analyzer.
Juan RP
2010-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 RP
2010-04-28 18:31:37 +02:00
abe9e91e8b
Exclude portableproplib code when generating the API docs.
Juan RP
2010-04-28 18:10:35 +02:00
5f8effab48
LICENSE: remove C comments.
Juan RP
2010-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 RP
2010-04-28 03:26:13 +02:00
1771aacfab
NEWS: update for latest changes.
Juan RP
2010-04-27 18:04:02 +02:00
a5d8d486ea
xbps-repo: show a warning when a repository has been already added.
Juan RP
2010-04-27 18:02:15 +02:00
b77bebe03a
xbps_repository_register(): if repository already exists return EEXIST.
Juan RP
2010-04-27 18:01:25 +02:00