Commit Graph

  • 9c44411722 NEWS: mention recent changes. Juan RP 2013-06-14 10:32:28 +02:00
  • 3abe48b68a Introduce xbps_repo_get_pkg_plist() and use it in xbps-query -R. Juan RP 2013-06-14 10:22:10 +02:00
  • 2c03e1c9a8 Read virtual pkg config files only when it's necessary. Juan RP 2013-06-14 10:00:33 +02:00
  • 5c3985ddf1 xbps-query: search: simplify and use xbps_match_virtual_pkg_in_dict(). Juan RP 2013-06-14 09:40:10 +02:00
  • 89ded69bed xbps-query: use get_maxcols() from xbps-install. Juan RP 2013-06-14 09:33:27 +02:00
  • 5f2bba7f4e Move functionality to resolve revdeps from repos to libxbps. Juan RP 2013-06-14 08:13:51 +02:00
  • 8a05bc5f24 xbps-dgraph: installed_size obj is in bytes; fix a comment. Juan RP 2013-06-14 05:12:15 +02:00
  • 6e6b7560f3 NEWS: mention xbps-dgraph changes. Juan RP 2013-06-13 17:46:58 +02:00
  • 7b2942e789 xbps-dgraph: only add revdeps when it's necessary. Juan RP 2013-06-13 17:44:44 +02:00
  • 6b397198bf xbps-dgraph: completely updated and working as before. Juan RP 2013-06-13 17:41:16 +02:00
  • f868dd7816 xbps-dgraph: make this work again; needs more changes yet. Juan RP 2013-06-12 10:34:01 +02:00
  • db1efb3aa6 Relax memory requirements on 64bit platforms; fix two memleaks. Juan RP 2013-06-12 10:04:10 +02:00
  • 6a9e394a60 xbps-query(8): extend 734a2c3 to also match with pkgpatterns. Juan RP 2013-06-12 04:48:36 +02:00
  • 5f02790ac7 xbps-query(8): fix regression introduced in 734a2c3. Juan RP 2013-06-11 16:41:36 +02:00
  • b646554aea xbps-query: formatting tweaks for PROP_TYPE_ARRAY objects. Juan RP 2013-06-11 16:26:27 +02:00
  • 734a2c3c2b xbps-query(8): added support to find revdeps for virtual pkgs in repository mode. Juan RP 2013-06-11 16:18:40 +02:00
  • 99be698979 Use a single file to store repository data. Juan RP 2013-06-10 10:28:39 +02:00
  • fa9d3471d9 xbps-create: improve d6605e1b97 (sanitize destdir to resolve target files in symlinks). Juan RP 2013-05-27 13:03:40 +02:00
  • d6605e1b97 xbps-create(8): calculate correctly target file for relative symlinks. Juan RP 2013-05-27 10:27:55 +02:00
  • c22dfa8d52 Make sure that pkg meta plist are always created, even in pkgs without files. Juan RP 2013-05-17 09:17:32 +02:00
  • 769205db0c Before unpacking pkg files, first create the pkg metafile (temp fix for #7). Juan RP 2013-05-17 08:24:47 +02:00
  • 15b2258b77 xbps-pkgdb: fix issue #9 (remove old code that broke pkgdb mem vs disk comparisions). Juan RP 2013-05-16 17:16:39 +02:00
  • 7da5f6e8f7 lib/package_unpack.c: remove extra arg in xbps_set_cb_state(). Juan RP 2013-05-15 12:45:35 +02:00
  • 91c08bfe75 bin/xbps-query/ownedby.c: simply match patterns with fnmatch(3). Juan RP 2013-05-13 15:10:47 +02:00
  • cb15387bb8 Post release version bump. Juan RP 2013-05-02 12:31:34 +02:00
  • 956d0d8690 NEWS: update for 0.24. Juan RP 2013-05-02 12:16:58 +02:00
  • 53217fd51b xbps-rindex: added -f --force flag to forcefully register a pkg with -a --add. Juan RP 2013-05-02 10:46:30 +02:00
  • 30747b1c8b Post release bump to 0.24. Juan RP 2013-04-19 10:44:13 +02:00
  • 1503a83c89 NEWS: prepare 0.23. Juan RP 2013-04-19 10:31:25 +02:00
  • 111184ea84 xbps-pkgdb: change symlink checks to warning messages not errors. Juan RP 2013-04-19 10:15:44 +02:00
  • 5fd7565e6c xbps-install(8): -R now overrides the repository list set in a configuration file. Juan RP 2013-04-18 18:17:14 +02:00
  • 3a5d6b1376 xbps-rindex: fixed writing repo index-files (regression added in e29f221). Juan RP 2013-04-17 14:20:48 +02:00
  • a0d50f542a xbps-install: revert fa40928026. Juan RP 2013-04-15 21:02:33 +02:00
  • 68770053e9 xbps-rindex: fixed cleaning obsolete entries from index-files in clean mode (-c). Juan RP 2013-04-06 21:30:31 +02:00
  • f6971727ac NEWS: mention latest bugfix. Juan RP 2013-04-04 10:43:57 +02:00
  • 80de70d0cf lib/transaction_dictionary.c: get installed_size obj from pkg metadata correctly. Juan RP 2013-04-04 10:40:32 +02:00
  • ef4e43931b lib/rindex_sync.c: remove extra parameter in a variadic function. Juan RP 2013-04-04 10:18:10 +02:00
  • 1f5bb03daf bin/xbps-pkgdb/check_pkg_files.c: remove bogus assignment. Juan RP 2013-04-04 10:17:00 +02:00
  • 6fdb2e322d lib/package_unpack.c: remove extra parameter in a variadic function. Juan RP 2013-04-04 10:15:32 +02:00
  • 074a2f0747 bin/xbps-rindex/index-add.c: remove completely unused var. Juan RP 2013-04-04 10:09:52 +02:00
  • ab445ec307 bin/xbps-pkgdb/check_pkg_files.c: no need to initialize rv. Juan RP 2013-04-04 10:09:36 +02:00
  • dc900353e4 lib/initend.c: xbps_end: remove bogus assignment. Juan RP 2013-04-04 10:07:19 +02:00
  • 6ac76f68ed bin/xbps-rindex/index-add.c: remove unused variable. Juan RP 2013-04-04 10:04:45 +02:00
  • 1741019b90 lib/transaction_sortdeps.c: remove bogus assignment in pkgdep_release(). Juan RP 2013-04-04 09:57:59 +02:00
  • c753eae9f7 lib/package_unpack.c: fix two possible memleaks. Juan RP 2013-04-04 09:55:35 +02:00
  • e29f2216e2 xbps-rindex: fix memleaks in error paths. Juan RP 2013-04-04 09:55:12 +02:00
  • d536ad39ff xbps-pkgdb: fix two meamleaks in error paths. Juan RP 2013-04-04 09:54:53 +02:00
  • dbf4bb184e xbps_transaction_remove_pkg: fix uninitialized argument value reported by scan-build. Juan RP 2013-04-04 09:22:40 +02:00
  • 0a1ea51e4e lib/package_unpack.c: fix a meamleak in error path. Juan RP 2013-04-04 09:17:32 +02:00
  • e844bc1ad5 xbps_callback_array_iter_reverse: initialize rv (fixes garbage return value). Juan RP 2013-04-04 09:13:52 +02:00
  • ae254e9b06 bin/xbps-query/list.c: return error if pkgver or short_desc are NULL. Juan RP 2013-04-04 09:11:37 +02:00
  • 8736ef6c5a xbps-create: fix issue #5 from github: initialize setlocale. Juan RP 2013-04-01 10:49:25 +02:00
  • e4a3342c39 xbps_entry_install_conf_file: pass correct number of args to xbps_set_cb_state(). Juan RP 2013-03-27 17:22:44 +01:00
  • ab8cb56c24 fetch_cb.c: fixed casts when computing ETA. Juan RP 2013-03-27 16:14:23 +01:00
  • 069f65a2a5 NEWS: mention 2 last items. Juan RP 2013-03-26 10:56:01 +01:00
  • 7c4f20ba89 lib/transaction_commit.c: fix a use-after-free in state cb (found by ojab). Juan RP 2013-03-26 10:35:20 +01:00
  • e25216822b xbps-uhelper: make the 'version' target also match virtual pkgs. Juan RP 2013-03-25 21:11:30 +01:00
  • 4411ff82ac Post release bump to 0.23. Juan RP 2013-03-23 08:33:38 +01:00
  • ca6cfa252c NEWS: update for 0.22. Juan RP 2013-03-23 08:24:34 +01:00
  • 59006fe86c xbps-create: added --build-options option, mainly for xbps-src. Juan RP 2013-03-23 08:18:06 +01:00
  • 8d6f3b5029 unpack: use lchown(2) to set proper uid/gid to symlinks. Juan RP 2013-03-17 17:13:07 +01:00
  • 70b89a88cc xbps-query: make -o (ownedby) follow symlinks; close issue #4 from github. Juan RP 2013-03-17 10:59:40 +01:00
  • 57bb7baf5e unpack: use archive_entry_{filetype,uid,gid,mode} rather than stored struct stat. Juan RP 2013-03-15 13:18:30 +01:00
  • a6c26f6c12 xbps-create: also set st_{uid,gid} to 0:0 in archived files. Juan RP 2013-03-15 13:14:57 +01:00
  • 7491c0e584 xbps-create: set root:root if e[gu]id == st.st_e[gu]id in package files. Juan RP 2013-03-15 09:31:15 +01:00
  • dd9cf9737b xbps-query: fix segfault when listing unexistent package files. Juan RP 2013-03-13 23:15:42 +01:00
  • b5d141e28c When checking for obsolete files ignore unexistent files. Juan RP 2013-03-13 22:08:13 +01:00
  • db5ddf0578 configure: post release version bump (welcome to 0.22). Juan RP 2013-03-11 15:57:56 +01:00
  • 7fd3e23762 NEWS: another item. Juan RP 2013-03-11 15:51:58 +01:00
  • 5efa1de8d5 lib/package_unpack.c: no need to use a var just to check lstat() rval. Juan RP 2013-03-11 14:06:47 +01:00
  • 430b224f58 Add new kyua tests for xbps_find_pkg_orphans(). Juan RP 2013-03-11 12:59:31 +01:00
  • a92863cb62 xbps_find_pkg_orphans: remove workaround for target pkgs; ignore unknown pkgs. Juan RP 2013-03-11 12:13:42 +01:00
  • 0845d6cae3 xbps_transaction_remove_pkg: handle correctly target pkg. Juan RP 2013-03-11 12:13:02 +01:00
  • 4d7c51c368 bin/xbps-install/transaction.c: fix -n (dry-run) output for removed pkgs. Juan RP 2013-03-11 12:12:03 +01:00
  • bc6aa52f33 Add some tests for pkgdb. Juan RP 2013-03-10 10:08:58 +01:00
  • b9888fd7be xbps_match_virtual_pkg_in_dict: add support to match vpkgs with exact version. Juan RP 2013-03-10 10:07:54 +01:00
  • 8fce81cc9f pkgdb: do not add dups in revdeps generation; remove old code. Juan RP 2013-03-10 08:58:37 +01:00
  • 356f451d17 Renameed lib/package_remove_obsoletes.c -> package_find_obsoletes.c. Juan RP 2013-03-09 17:21:27 +01:00
  • fe922ace4c Merge portable proplib 0.6.3. Juan RP 2013-03-09 16:41:40 +01:00
  • 84745dfe33 xbps_file_hash: remove madvise usage (no gain irl). Juan RP 2013-03-09 16:22:41 +01:00
  • b976a45aed New code to find pkg obsolete files, with a proper kyua test. Juan RP 2013-03-09 13:30:56 +01:00
  • e2b303363b lib/package_unpack.c: fix a memleak. Juan RP 2013-03-09 11:07:14 +01:00
  • 5885543728 xbps_rindex_sync: simplify. Juan RP 2013-03-09 10:43:50 +01:00
  • f9fc39fcdc Repair xbps_find_pkg_orphans() after pkgdb 0.21 format switch. Juan RP 2013-03-09 09:56:36 +01:00
  • 3e2aac74d2 xbps-query: print filename-{sha256,size} objs from index in repo mode. Juan RP 2013-03-08 21:06:55 +01:00
  • dfe42ce7e3 xbps-query: -p expects an argument; show usage() otherwise. Juan RP 2013-03-08 20:23:13 +01:00
  • c504a73f08 Re-use pkgname from unpack to handle config files. Juan RP 2013-03-08 10:11:16 +01:00
  • faacbd4a96 lib/package_unpack.c: fix xbps_entry_install_conf_file() args. Juan RP 2013-03-08 10:07:48 +01:00
  • f13d0cdb33 bin/xbps-install/transaction.c: remove extra newlines. Juan RP 2013-03-08 10:01:19 +01:00
  • 9c692c895c etc/xbps.conf: improve PackagesOnHold description. Juan RP 2013-03-08 09:58:32 +01:00
  • 50ea03df2a Revert code to update xbps independently; I'll use another way to implement this. Juan RP 2013-03-08 09:44:57 +01:00
  • f5f6f50e27 lib/external/fexec.c: add some parens so that expression is evaluated correctly. Juan RP 2013-03-07 20:15:16 +01:00
  • 5eddf04898 Ignore executing install/remove scripts if XBPS_TARGET_ARCH is set. Juan RP 2013-03-07 18:08:12 +01:00
  • fd7153fe5c lib/external/fexec.c: error out if chroot/chdir fails, ignore target_arch. Juan RP 2013-03-07 18:07:47 +01:00
  • bcae7e83aa lib/package_unpack.c: pass pkgver to xbps_pkg_exec_buffer() not pkgname. Juan RP 2013-03-07 12:01:07 +01:00
  • 98adbf34a1 xbps_pkg_exec_buffer: pass correct args to the install/remove scripts. Juan RP 2013-03-07 11:56:08 +01:00
  • 7e2d5344d3 lib/package_unpack.c: pass correct number of args to xbps_set_cb_state(). Juan RP 2013-03-07 11:52:47 +01:00
  • 59105ab995 xbps-remove: make XBPS_STATE_REMOVE_FILE_OBSOLETE state silent, only show errors. Juan RP 2013-03-07 11:32:22 +01:00
  • bb17958212 xbps-install: remove dead code. Juan RP 2013-03-07 11:31:55 +01:00
  • 0a1859987a Respect automatic-install mode from pkgdb in transaction updates. Juan RP 2013-03-07 10:03:59 +01:00