15e43e550b
xbps_rpool_release: fix a memleak found by valgrind. (cherry picked from commit 90e24f4b18fdde44958584cdc038ff8a88e919a0)
Juan RP
2012-09-24 11:48:33 +02:00
e370ff0625
libxbps: use a new bool in struct xbps_handle to track successful initialization. (cherry picked from commit 03374950680f6a839b1ee2df8e3a4e1dfb110fa8)
Juan RP
2012-09-24 10:50:23 +02:00
7714f0f6c5
bin: print usage() in stdout. (cherry picked from commit b090e1a0bd32cabd8fe81bd756d419ee4b170ef7)
Juan RP
2012-09-24 10:49:45 +02:00
c39c1e5751
xbps-create: handle another variant of a relative symlink. (cherry picked from commit 7d849c2a656246be808206baa0adae2da1c9132d)
Juan RP
2012-09-23 15:48:02 +02:00
e989b74c6a
xbps-create: handle symlinks a bit better. (cherry picked from commit 8a0e98485872b4ab97a3e55b453821016d89eab7)
Juan RP
2012-09-23 14:54:04 +02:00
d3bb6fe13e
xbps-create: when adding entries to archive, copy data with one read(). (cherry picked from commit 1263e4555a25c4118647104563c92af9bfbe5005)
Juan RP
2012-09-23 02:49:32 +02:00
b478f6d774
xbps-create: add -q (quiet), ignore optarg if it's empty. (cherry picked from commit 4417f7d74c0d552bba0f625b7df8adf25999000f)
Juan RP
2012-09-23 01:33:51 +02:00
9e5c7de33b
xbps_dictionary_from_archive_entry: fixed internalizing uncompressed dictionaries. (cherry picked from commit 2debc5c5ee6db1a197fe3afebaa9463934707b10)
Juan RP
2012-09-22 23:28:16 +02:00
83688cf8ec
xbps-{bin,repo}: fixed crash in 'show' target reported by pancake. (cherry picked from commit 4129a08cef7139b30b41ac659f35f9d494c2d918)
Juan RP
2012-09-19 07:04:59 +02:00
b08d3ea89c
xbps-create: added -B (--built-with) to set "packaged-with" string obj. (cherry picked from commit 16cffb187990df161e4683ce3154abdd6ce2bbd4)
Juan RP
2012-09-11 08:18:31 +02:00
114fd914d8
xbps-create: finish support for -M (mutable files). (cherry picked from commit 73028bdd892384684a70fa8da0572b0832c69c92)
Juan RP
2012-09-08 06:16:51 +02:00
7f8c8b3dcd
xbps-create: remove trailing whitespace. (cherry picked from commit d139420576328084255f0145c5cfea3ad2d1367a)
Juan RP
2012-09-05 09:59:45 +02:00
5868bafc85
xbps-create: remove leftover line. (cherry picked from commit 1c37453d2815b94de5a1191031a17623661ce435)
Juan RP
2012-09-05 09:08:05 +02:00
215f6d6f31
xbps-create: multiple fixes and new additions, 1 item left to finish.
Juan RP
2012-09-05 09:00:09 +02:00
6d6d31ccc0
Fix previous and make sure that we build PIE binaries. (cherry picked from commit 1b9dd30d7b590e219cb51561f1e7371f4628575f)
Juan RP
2012-09-04 11:38:21 +02:00
886807687e
configure: enable PIE and RELRO by default if compiler supports it. (cherry picked from commit d79e3a641de934cd7546b2e628a8c6ea175b6c37)
Juan RP
2012-09-04 11:31:48 +02:00
6ece895957
WIP: xbps-create(8) to create xbps binary packages from a destdir. (cherry picked from commit 6546f73f90cd56d14a2e90cb6604901df18a9419)
Juan RP
2012-09-04 10:58:19 +02:00
0f17197627
libxbps: use a struct allocated from stack for the unpack cb. (cherry picked from commit a658586f27fd0a0c2c78ea96f89b54055e1e73be)
Juan RP
2012-08-31 10:14:33 +02:00
01915e3030
xbps_transaction_update_packages: make packages on hold work (duh!). (cherry picked from commit aa154199a6d7d89bfe040755be289b1d827c5727)
Juan RP
2012-09-25 15:02:57 +02:00
7d4ecbb0ab
xbps-repo: index-add: look for pkg in index matching arch or noarch.
Juan RP
2012-08-20 14:58:38 +02:00
3c379ff78e
xbps-repo: remove repo index file locking, it's unreliable under NFS.
Juan RP
2012-08-16 10:59:54 +02:00
a037b89042
xbps-repo: really wait 30 secs max to acquire repo file lock.
Juan RP
2012-08-14 09:36:44 +02:00
b422fa654e
xbps_api.h: next version will be 0.17.
Juan RP
2012-08-10 08:44:41 +02:00
2e594caf8a
xbps-repo(8): the 'show-deps' target only lists deps and not repo/pkgver.
Juan RP
2012-08-10 08:43:51 +02:00
c34e564327
xbps-repo: more exact pkg extension check.
Juan RP
2012-08-07 10:37:52 +02:00
f0ab396036
xbps-{bin,repo}: ignore ENOENT when checking write perms in {root,meta,cache}dir.
Juan RP
2012-08-03 10:58:16 +02:00
68a0223c4e
xbps-repo: fix the 'search' target to show a consistent output for inst/uninst pkgs.
Juan RP
2012-08-02 14:37:15 +02:00
3a247bd5cb
xbps-{bin,repo}: make sure that user has write permission on {root,meta,cache}dir.
Juan RP
2012-08-02 12:20:18 +02:00
cae219c4de
xbps-repo: indent pkgs from all repos with longest pkgver found.
Juan RP
2012-08-01 08:25:15 +02:00
01c2dcaca7
xbps-bin: get_maxcols(): use stdin to make it work in all cases (from xdave).
Juan RP
2012-08-01 07:47:40 +02:00
1be90e57d7
xbps-{bin,repo}: wrap long lines for list, pkg-list and search targets.
Juan RP
2012-07-31 17:50:50 +02:00
eb75041b25
xbps-repo(8): the search target now shows which pkgs are currently installed.
Juan RP
2012-07-31 10:34:10 +02:00
f92ce60462
xbps.conf: remove xbps.hosting-unlimited.org mirrors (outdated).
Juan RP
2012-07-31 10:18:14 +02:00
d319816fa2
xbps-bin: fixed regression in show target for vpkgs.
Juan RP
2012-07-23 10:21:32 +02:00
577ae731bb
xbps-repo: index-clean: simplify code.
Juan RP
2012-07-22 11:45:17 +02:00
8b74616f58
README: minor nits.
Juan RP
2012-07-22 10:55:24 +02:00
5a120e346e
xbps-repo: new 'remove-obsoletes' target to remove obsolete pkgs in a local repo.
Juan RP
2012-07-22 10:48:29 +02:00
f0c96aac65
xbps-repo: index-clean now also removes obsolete pkgs found in repo.
Juan RP
2012-07-22 10:21:49 +02:00
adc6ce9d22
xbps-repo: [index] use proper arch obj to remove old entry.
Juan RP
2012-07-21 22:23:45 +02:00
29f9724ba0
xbps-repo: properly remove (no)arch old entry/binpkg from index.
Juan RP
2012-07-21 21:50:16 +02:00
f7a5c55bc7
libxbps: xbps_pkg_arch_match: fix conditional tests.
Juan RP
2012-07-21 21:49:37 +02:00
a756060d38
libxbps: [unpack] fixed passing dangling pointer to unpack cb.
Juan RP
2012-07-21 10:41:19 +02:00
e3fbc01cbe
NEWS: mention ubuntu build fixes.
Juan RP
2012-07-19 18:07:22 +02:00
3339d0cd25
libfetch: fix warnings.
Juan RP
2012-07-19 18:00:31 +02:00
9a69c5e349
xbps-bin: fix a warning found by -Wshadow on Ubuntu.
Juan RP
2012-07-19 18:00:19 +02:00
634b5f726a
configure: force --no-as-needed in CC tests.
Juan RP
2012-07-19 17:50:29 +02:00
eb02d30791
configure: explicitly link dynamic executables to the shared library.
Juan RP
2012-07-19 16:30:53 +02:00
ef5743dfe5
configure: added '--with-static' option (disabled by default).
Juan RP
2012-07-19 16:01:12 +02:00
9c05e4b0c9
configure: add -O2 by default to CFLAGS.
Juan RP
2012-07-19 15:51:43 +02:00
bf7324f7a4
xbps-repo: mention index-{add,clean} in usage().
Juan RP
2012-07-18 15:06:47 +02:00
34d1c3411d
NEWS: mention repo index file locking.
Juan RP
2012-07-17 13:22:45 +02:00
674adf64a3
xbps-repo: remove old binpkg symlinks too, fix index-files.
Juan RP
2012-07-17 13:10:34 +02:00
8eba2d7ea3
xbps-repo: replaced 'genindex' target with 'index-{add,clean}'.
Juan RP
2012-07-17 12:31:04 +02:00
9edd60c3a7
libxbps: extend the list of symlinks in rootdir to be ignored.
Juan RP
2012-07-14 12:11:55 +02:00
6784a7b550
etc/xbps.conf: update list of remote repositories.
Juan RP
2012-07-14 12:11:33 +02:00
2f1e975607
Added "install-date" object to pkg's pkgdb dictionary, make xbps-bin(8) print it.
Juan RP
2012-07-11 12:19:39 +02:00
d8f1fc978a
NEWS: be ready for 0.16.4.
Juan RP
2012-07-10 23:44:47 +02:00
11ecf5438f
Import proplib-0.6.1.
Juan RP
2012-07-10 23:33:19 +02:00
34697e8022
libxbps: improve matching obsolete files, skip matches by hash and filename.
Juan RP
2012-07-10 23:22:25 +02:00
414fd67302
TODO: more items for 0.17.
Juan RP
2012-07-04 14:58:46 +02:00
172435bd7e
xbps_check_is_installed_pkg_by_pattern: do not reset errno, leave it as is.
Juan RP
2012-07-04 12:59:40 +02:00
5c24ef3b7f
NEWS: update for 0.16.2.
Juan RP
2012-07-04 11:58:03 +02:00
94238302f2
transaction_ops: in update, check if curpkg has been previously added.
Juan RP
2012-07-04 11:56:01 +02:00
e879c71a02
transaction_sortdeps: check if dep is installed by pattern.
Juan RP
2012-07-04 11:55:51 +02:00
dfb45f27ef
xbps_transaction_package_replace: misc cosmetic changes to dbg printfs.
Juan RP
2012-07-04 11:54:37 +02:00
abdf6e710d
xbps_remove_pkg: do not pass dangling pointers to state cb after removing pkgdict.
Juan RP
2012-07-04 09:52:51 +02:00
f1ad8a95de
xbps-repo: fixed issue 24 (xbps-src make-repoidx is doing something wrong).
Juan RP
2012-06-30 11:10:00 +02:00
54bc92bd97
xbps_dictionary_from_archive_entry: simplify and sync zlib code with proplib.
Juan RP
2012-06-20 09:26:00 +02:00
11ca0d481b
doc: update transaction dot file.
Juan RP
2012-06-20 09:11:17 +02:00
5cb0d17f8e
xbps-repo: [clean] print err msg when unlink(2) fails.
Juan RP
2012-06-19 10:55:42 +02:00
f4e97228c8
xbps-repo: [clean] do not fail if cachedir does not exist, update for new API.
Juan RP
2012-06-19 10:52:57 +02:00
8abd275bfb
libxbps: xbps_rpool_release: don't release repo_pool, it's already released.
Juan RP
2012-06-18 10:49:36 +02:00
c24ce8e4da
libxbps: use memcpy in critical paths for performance, fixed some memleaks.
Juan RP
2012-06-18 10:43:05 +02:00
3e93d235ff
xbps-{bin,repo}: strlcpy -> memcpy.
Juan RP
2012-06-18 10:42:24 +02:00
a2e42f1d57
xbps-bin: fixed a memleak in show_pkg_info().
Juan RP
2012-06-18 10:01:27 +02:00
0f3d4f4a19
libxbps: hide compat symbols.
Juan RP
2012-06-18 09:52:19 +02:00
ad766cd538
xbps-repo: fixed regression in the 'clean' target.
Juan RP
2012-06-16 09:32:26 +02:00
974b2fe8ad
libxbps: simplify pkgdb_get_pkgd and find_pkg_dict_installed internals.
Juan RP
2012-06-16 09:02:07 +02:00
068cab8d20
libxbps: performance improvements by caching the most accessed paths.
Juan RP
2012-06-15 15:33:11 +02:00
506625a716
libxbps: also match vpkgs in previous commit.
Juan RP
2012-06-14 12:12:05 +02:00
302b216d8d
libxbps: do not add dups to transaction dictionary due to virtual pkgs.
Juan RP
2012-06-14 11:53:27 +02:00
29871b2120
xbps-bin: re-add libxbps cleanup to the sighandler, also handle SIGHUP.
Juan RP
2012-06-14 10:11:50 +02:00
c31d168e2b
xbps_api.h: document EAGAIN in xbps_transaction_prepare(), fix typos.
Juan RP
2012-06-14 10:01:24 +02:00
6cc5ee2d81
xbps_api.h: fix doc for xbps_rpool_index.
Juan RP
2012-06-14 09:49:32 +02:00
d46c503a97
xbps_api.h: document new xhp arg in some funcs.
Juan RP
2012-06-14 09:43:39 +02:00
2c50346143
tests: update libxbp/find_pkg tests for new API changes.
Juan RP
2012-06-14 08:27:10 +02:00
3e9e87fc2a
libxbps: require a pointer to xbps_handle in functions that need it.
Juan RP
2012-06-14 08:22:11 +02:00
a3adbcda95
libxbps: use prop_array_get_cstring_nocopy().
Juan RP
2012-06-13 09:23:48 +02:00
412d4b7280
libxbps: switch to archive_read_{close,free}.
Juan RP
2012-06-12 22:22:46 +02:00
c61ba8dfcc
Added support for package conflicts.
Juan RP
2012-06-11 16:14:03 +02:00
81610697df
xbps_transaction_install_pkg: proper pkg find order in rpool.
Juan RP
2012-06-09 10:09:46 +02:00
20bb1af589
xbps_remove_pkg: return proper error if metadata files cannot be removed.
Juan RP
2012-06-09 10:05:29 +02:00
e75a524ee3
xbps_transaction_install_pkg: on exact match properly detect if it's installed.
Juan RP
2012-06-05 22:54:46 +02:00
efefa000b2
xbps_dictionary_metadata_plist_by_url: only accept exact matches.
Juan RP
2012-06-05 20:53:15 +02:00
a0f91f3342
xbps_file_hash_check_dictionary: fixed for rootdir != /.
Juan RP
2012-06-05 20:51:00 +02:00
a00a450fe0
unpack: make sure to use exact file when checking for hash matches.
Juan RP
2012-06-05 20:23:12 +02:00
84c6850c28
xbps_file_hash_dictionary: only process exact matches.
Juan RP
2012-06-05 20:22:47 +02:00
cc30039c60
xbps_unpack_binary_pkg: handle ARCHIVE_{EOF,FATAL,RETRY} and use archive_read_{close,free}.
Juan RP
2012-06-05 16:46:50 +02:00
1244d663d8
xbps-repo.8: rewording.
Juan RP
2012-06-05 14:42:03 +02:00
984612e3fc
NEWS: clarify latest item.
Juan RP
2012-06-05 11:34:35 +02:00