Commit Graph

2982 Commits

Author SHA1 Message Date
Juan RP
c91b942a45 xbps.h: increase xbps_handle::native_arch to 64.
Requested by @chneukirchen.
2016-02-05 11:43:22 +01:00
Juan RP
b759ca4b07 xbps-install(1): do not exit if pkg is up-to-date in dry-run mode.
Close #145
2016-02-05 11:27:40 +01:00
Juan RP
0fa676f50c tests/libxbps/update_hold: fix previous. 2016-02-05 11:27:07 +01:00
Juan RP
d211825a18 tests: move and rename on hold test to the correct file. 2016-02-05 11:14:18 +01:00
Juan RP
e33f6354c3 Execute pkg scripts via posix_spawn(3). 2016-02-04 11:39:02 +01:00
Juan RP
bd00a0b096 tests: comment out the cyclic_dep_full test for now. 2016-02-04 10:41:10 +01:00
Juan RP
ccc4b3ccf0 tests: cyclic_deps/cyclic_dep_full: set timeout to 5. 2016-02-04 10:38:58 +01:00
Juan RP
76c577e6f3 .travis.yml: run on trusty dist. 2016-02-04 10:27:10 +01:00
Juan RP
91067c0547 xbps_symlink_target: fix bug introduced in b81b9ab. 2016-02-04 09:55:46 +01:00
Juan RP
1394f69de0 .travis.yml: needs sudo to install deps. 2016-02-04 09:16:20 +01:00
Juan RP
1e733f4daa lib/util: fix a memleak detected by clang-analyzer. 2016-02-03 11:52:07 +01:00
Juan RP
f5f25a5ff4 xbps_symlink_target: fix a double free. 2016-02-02 11:51:26 +01:00
Juan RP
430a25f422 libxbps: execute pkg scripts with /bin/sh directly.
The pkg INSTALL/REMOVE scripts do not need to have the executable
bit set anymore, thus /tmp can be mounted with 'noexec' from now on.

GH #149
2016-02-02 11:28:48 +01:00
Juan RP
b81b9ab379 xbps_symlink_target: fix bb977c7 (v3). 2016-02-02 11:08:05 +01:00
Juan RP
377ec33ecf tests/xbps-install: #143 has not yet been resolved; mark as known bug for now. 2016-02-02 11:08:05 +01:00
Christian Neukirchen
034d3591b3 xbps-query: generate -o output from a single printf.
Else parts written by multiple threads can become mixed up.
2016-01-20 13:41:13 +01:00
Juan RP
0a5f86e772 Merge pull request #142 from Gottox/sign-doc
document that remote repositories must be signed.
2016-01-19 06:29:43 +01:00
Enno Boland
75dc5eb2f6 Merge pull request #144 from yupi2/test-for-143
tests: reproducible segfault
2016-01-02 20:59:36 +01:00
yupi2
099d11a448 tests: reproducible segfault 2016-01-02 13:47:38 -06:00
Enno Boland
4e7cc1fb39 tests: fixing a wrong return value. 2016-01-02 18:29:09 +01:00
Enno Boland
35e4f31234 tests: fix test as it was failing for the wrong reason. 2016-01-02 18:21:26 +01:00
Enno Boland
87b9c2e099 tests: add test case for issue #143
Segfault when attempting to install a package on hold
2016-01-02 17:43:58 +01:00
Enno Boland
c9c3bf6d52 data/xbps.d.5: document in the manpage that remote repositories must be signed. #141 2015-12-24 13:48:30 +01:00
Enno Boland
e7a2c08629 bin/xbps-query: document in the manpage that remote repositories must be signed. #141 2015-12-24 13:48:26 +01:00
Enno Boland
93df7953f5 bin/xbps-install: document in the manpage that remote repositories must be signed. #141 2015-12-24 13:48:21 +01:00
Juan RP
4632254de6 admin/travis-install-deps.sh: switch to kyua-0.12. 2015-12-21 18:04:23 +01:00
Juan RP
80926d7787 Revert "admin/travis-install-deps.sh: create a symlink for atf-sh."
This reverts commit 4990061257.
2015-12-21 17:59:51 +01:00
Juan RP
4990061257 admin/travis-install-deps.sh: create a symlink for atf-sh. 2015-12-21 17:55:11 +01:00
Juan RP
d984eeeb47 xbps_symlink_target: fix bb977c7 (v2). 2015-12-21 17:50:13 +01:00
Juan RP
4c655fd56a xbps_symlink_target: fix bb977c7 2015-12-21 17:20:34 +01:00
Juan RP
83b5b357cb xbps-rindex/sign: fix a memleak found by clang-analyzer. 2015-12-21 17:16:00 +01:00
Juan RP
9e524d831c fetch/common.c: fix a memleak found by clang-analyzer. 2015-12-21 17:12:14 +01:00
Juan RP
68d84d89c1 xbps-fbulk: fix a memleak found by clang-analyzer. 2015-12-21 17:07:43 +01:00
Juan RP
bb977c73e4 xbps_symlink_target: fix a meamleak reported by clang-analyzer. 2015-12-21 16:55:53 +01:00
Juan RP
a00c7b1c4b xbps-checkvers: add some assertions. 2015-12-21 16:51:24 +01:00
Juan RP
efbd329122 Post release bump to 0.52. 2015-12-12 08:02:49 +01:00
Juan RP
5a60a228d8 NEWS: prepare 0.51. 2015-12-12 07:58:55 +01:00
Juan RP
8d739f3009 NEWS: sync. 2015-12-12 07:57:47 +01:00
Juan RP
6aa6856136 .gitignore: add xbps-alternatives bin. 2015-12-11 10:00:43 +01:00
Juan RP
9c4fa4909c libxbps: initialize locale correctly to handle UTF-8 filenames with musl.
This fixes unpacking of ca-certificates that wasn't unpacking the files
with UTF-8 characters correctly.
2015-12-11 09:59:16 +01:00
Juan RP
2830bbef6d package_remove: reset errno when a file does not exist (ENOENT).
To not propagate it later on... and also pass rv not errno to the
state callback function.
2015-12-01 08:31:05 +01:00
Juan RP
a9482027b2 xbps_array_foreach_cb_multi: handle the case of sysconf returning 0. 2015-11-26 07:18:14 +01:00
Juan RP
93b50bc4dc alternatives: preserve order while updating pkgs (thanks chris2/duncaen). 2015-11-17 16:32:12 +01:00
Juan RP
28a6f8f9e5 Merge pull request #134 from stpx/zsh
_xbps: add --unpack-only/-U support for xbps-install.
2015-11-16 10:56:09 +01:00
Juan RP
15ab86c90d alternatives: fix a double free in error path. 2015-11-15 09:23:51 +01:00
Juan RP
9ef83cfa69 alternatives: handle dirname() returning ".". 2015-11-15 09:17:05 +01:00
Juan RP
d9f56c9cdf NEWS: mention recent alternatives bugfix. 2015-11-14 07:28:54 +01:00
Juan RP
b3c7d27c6b alternatives: fix creation of symlinks with unexistent dirs.
If an alternative needs to create /usr/bin/foo, and /usr/bin
does not exist, this directory must be created prior to create
the symlink.
2015-11-14 07:26:27 +01:00
Juan RP
e0ce5641a3 lib/repo_pkgdeps.c: add missing \n in debug printfs. 2015-11-13 16:28:59 +01:00
Steve Prybylski
5d9562237f _xbps: add --unpack-only/-U support for xbps-install. 2015-11-12 20:45:32 -05:00