Juan RP
fb868454b2
libxbps: make sure to not add dups in transaction for install/update.
2014-10-19 11:00:40 +02:00
Juan RP
e884270e06
xbps_transaction_prepare: ignore pkgs that will be removed.
2014-10-18 16:07:52 +02:00
Juan RP
ff189fd210
Replaced redundant dependency sorting code with a simpler implementation.
...
This fixes the issue found by "xbps-src bootstrap" when a package
without "provides" was declared as a virtual package.
2014-10-18 12:35:47 +02:00
Juan RP
adc0643ee4
Fully switch to zplists.
2014-10-17 10:27:58 +02:00
Juan RP
b1eb62a2df
lib/package_unpack.c: switch pkg meta files to zplist too.
2014-10-17 10:23:12 +02:00
Juan RP
5b5a948f15
tests: xbps-rindex/add: set rootdir to not use host repo.d
2014-10-17 10:14:58 +02:00
Juan RP
fc368e159d
lib/portableproplib/prop_zlib.c: use a stack buffer to process compressed chunks.
2014-10-17 10:12:12 +02:00
Juan RP
83f5e35ec7
pkgdb: switch to zplists by default.
2014-10-17 10:11:56 +02:00
Juan RP
47310d3408
lib/archive.c: remove support to read zplists in archives.
...
It was never used and the binpkgs are already compressed...
2014-10-17 10:10:16 +02:00
Juan RP
84a16c86cc
xbps-query/search: simplify.
2014-10-17 10:09:34 +02:00
Juan RP
5c8c7b1172
tests: xbps-rindex/add: rework some tests to use xbps-query -s rather than -Ro.
2014-10-17 10:08:59 +02:00
Juan RP
1531e26ac0
NEWS: sync.
2014-10-17 10:02:20 +02:00
Juan RP
d7633e88e0
Fix #62 (Dup replaced pkgs in transaction)
2014-10-17 09:52:32 +02:00
Juan RP
1c20086896
Package remove: disable file owner checks if euid==0.
...
All package files even not owned by root should be removed, so make sure
that those checks return success while being root.
This fixes package removal for polkit, that had /etc/polkit/rules.d
files owned by the polkitd user.
2014-10-17 09:17:07 +02:00
Juan RP
b3d105cbc3
NEWS: update.
2014-10-17 09:14:15 +02:00
Juan RP
fe76af7702
proplib: use GCC atomic builtins if supported.
2014-10-09 14:41:43 +02:00
Juan RP
09c630a825
lib/transaction_commit.c: CID 62740 (toctou)
2014-10-08 10:13:21 +02:00
Juan RP
b157407684
bin/xbps-remove/clean-cache.c: CID 62747 (toctou)
2014-10-08 10:09:58 +02:00
Juan RP
513f8a2bae
lib/repo.c: CID 62757 (toctou)
2014-10-08 10:00:17 +02:00
Juan RP
805f6aa1b2
lib/repo_sync.c: CID 62763 (toctou)
2014-10-08 09:55:12 +02:00
Juan RP
0c74a5d7fe
Revert "lib/portableproplib/prop_object.c: CID 62694 (data race condition)"
...
This reverts commit dc63aed221
.
2014-10-07 11:51:53 +02:00
Juan RP
967acd82b0
lib/fetch/http.c: CID 62725 (NULL pointer dereference)
2014-10-07 11:12:04 +02:00
Juan RP
a6cdd9a698
lib/fetch/common.c: CID 62709 (NULL pointer dereference)
2014-10-07 11:07:24 +02:00
Juan RP
6e7c160195
lib/fetch/file.c: CID 62701 (NULL pointer dereference)
2014-10-07 11:02:12 +02:00
Juan RP
d434b44cfc
lib/fetch/http.c: CID 62698 (NULL pointer dereference)
2014-10-07 10:51:37 +02:00
Juan RP
dc63aed221
lib/portableproplib/prop_object.c: CID 62694 (data race condition)
2014-10-07 10:27:07 +02:00
Juan RP
9c5af90fae
lib/portableproplib/prop_object.c: CID 62703 (argument cannot be negative)
2014-10-07 10:23:02 +02:00
Juan RP
6a02cb6534
lib/portableproplib/prop_data.c: CID 62728 (integer overflowed argument)
2014-10-07 10:19:32 +02:00
Juan RP
d4374fb9af
xbps-rindex: fix CID 62741 correctly (untrusted value as argument)
2014-10-07 10:11:14 +02:00
Juan RP
3a71db1d0b
lib/pubkey2fp.c: fix CID 62724 correctly.
2014-10-07 09:34:14 +02:00
Juan RP
ec438c36f9
Fix 1a19adf85c
correctly.
2014-10-07 09:18:28 +02:00
Juan RP
680abe50e7
lib/fetch/ftp.c: CID 62745 (unusued value)
2014-10-07 08:25:57 +02:00
Juan RP
fe87bc1a88
lib/util.c: CID 62710 (dead code)
2014-10-07 08:16:45 +02:00
Juan RP
a730a61df9
lib/initend.c: CID 62720 (NULL pointer dereference)
2014-10-07 07:59:07 +02:00
Juan RP
4be2a0ee84
lib/pkgdb.c: CID 62719 (NULL pointer dereference)
2014-10-07 07:57:38 +02:00
Juan RP
8d4a01baa4
bin/xbps-checkvers/main.c: CID 62712 (NULL pointer dereference)
2014-10-07 07:55:54 +02:00
Juan RP
eb0674376f
bin/xbps-checkvers/main.c: CID 62711 (NULL pointer dereference)
2014-10-07 07:53:49 +02:00
Juan RP
4a188a433a
bin/xbps-rindex/index-clean.c: CID 62708 (NULL pointer dereference)
2014-10-07 07:50:03 +02:00
Juan RP
fcf464d2fa
lib/transaction_sortdeps.c: CID 62717 (NULL pointer dereference)
2014-10-07 07:45:20 +02:00
Juan RP
8c5ef42935
bin/xbps-checkvers/main.c: CID 62705 (argument cannot be negative)
2014-10-07 07:33:28 +02:00
Juan RP
1a19adf85c
lib/transaction_commit.c: CID 62716 (argument cannot be negative)
2014-10-07 07:29:58 +02:00
Juan RP
9fc6c9d70e
lib/repo.c: CID 62706 (argument cannot be negative)
2014-10-07 07:27:45 +02:00
Juan RP
960c3fdcdf
bin/xbps-pkgdb/check.c: CID 62721 (argument cannot be negative)
2014-10-07 07:25:25 +02:00
Juan RP
6a50290fe1
travis: remove coverity specific settings.
2014-10-06 18:55:05 +02:00
Juan RP
5bec421726
bin/xbps-rindex/index-add.c: add assertions to make coverity happy (CID 62741)
2014-10-06 17:13:06 +02:00
Juan RP
1a12ff99ba
travis: remove LDFLAGS from env, should be unnecessary.
2014-10-06 14:46:03 +02:00
Juan RP
0e65b2596b
mk/test.mk: use LDFLAGS when linking too.
2014-10-06 14:34:16 +02:00
Juan RP
ce7b2c97c6
travis: also set LDFLAGS in the configure step.
2014-10-06 14:32:01 +02:00
Juan RP
b7c8b21a85
travis: set LDFLAGS to /usr/local/lib for libatf.
2014-10-06 14:28:22 +02:00
Juan RP
1a3982bb57
tests: libxbps/shell: fix tests that use ln(1) -r on travis-ci.
2014-10-06 14:24:42 +02:00