Commit Graph

3153 Commits

Author SHA1 Message Date
Enno Boland
5b66679929 tests: xbps-rindex add missing atf_test_case 2016-03-20 21:36:30 +01:00
Enno Boland
5f4e1ad43e xbps-rindex: check for consistent shlibs
When adding packages to the index, xbps-rindex will check if the
consistency of shlibs is broken by a package. If so, rindex will create
a stage repository and commit the packages there. Once the consistency
is restored, rindex -a will commit the stage area back to the public
repo and delete the stage file.
2016-03-20 21:36:30 +01:00
Enno Boland
45f46d02e5 Merge pull request #155 from Gottox/fix-clang
xbps-query: remove doubled incrementation
2016-03-20 17:56:38 +01:00
Enno Boland
3bcb2d6543 xbps-query: remove doubled incrementation
Otherwise clang will complain with the following message:

  search.c:67:3: error: variable 'i' is incremented both in the loop
  header and in the loop body [-Werror,-Wfor-loop-analysis]
2016-03-20 10:02:26 +01:00
Juan RP
e2693f7012 Merge pull request #151 from ebfe/freebsd
freebsd build
2016-02-08 18:42:19 +01:00
Michael Gehring
604499d6f2 contributors: fix typo 2016-02-08 15:10:07 +01:00
Michael Gehring
3bfc7b5e6d alternatives: fix dirname() buffer reuse 2016-02-08 15:10:07 +01:00
Michael Gehring
ab0d5c847d libxbps: define _WITH_GETLINE for FreeBSD 2016-02-08 15:09:58 +01:00
Michael Gehring
618e504d30 actually use HAVE_FDATASYNC 2016-02-08 15:09:43 +01:00
Michael Gehring
0f56b68eac add HAVE_STRNSTR 2016-02-08 15:09:33 +01:00
Juan RP
041708f643 Revert "Execute pkg scripts via posix_spawn(3)."
This reverts commit e33f6354c3.

@Gottox pointed out why this won't work.
2016-02-06 10:56:32 +01:00
Juan RP
9ec32ec5e3 COPYING: welcome to 2016. 2016-02-06 09:55:53 +01:00
Juan RP
0d4906e1ae xbps_xasprintf: use __attribute__(format printf) too. 2016-02-06 09:46:52 +01:00
Juan RP
2130d5daa6 proplib/prop_data: avoid 0 sized allocation reported by clang-analyzer. 2016-02-06 09:41:27 +01:00
Juan RP
c3382c5c05 Makefile: also remove temp files from 'make check'. 2016-02-06 09:31:13 +01:00
Juan RP
e526094d71 NEWS: mention recent change. 2016-02-06 09:19:51 +01:00
Juan RP
baf909caeb xbps.h: bump XBPS_APIVER due to xbps_handle::native_arch change. 2016-02-06 09:18:00 +01:00
Juan RP
a6b2954aba CONTRIBUTORS: added Michael Ghering (@ebfe). 2016-02-06 09:16:21 +01:00
Juan RP
42994ada07 Fix xbps_dbg_printf arguments by using __attribute__((format, printf)).
Patch provided by Michael Ghering in #148.

Close #148
2016-02-06 09:13:38 +01:00
Juan RP
067687ce28 libxbps: ignore updates for pkgs with held deps. Close #143 2016-02-06 09:03:54 +01:00
Juan RP
27e36fcbf9 xbps-fbulk(1): ignore xbps-src msgs (those starting with '=>').
Reported by @chneukirchen.
2016-02-05 11:44:22 +01:00
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