Commit Graph

3601 Commits

Author SHA1 Message Date
Juan RP
07d8735db6
Makefile: install licenses. 2020-04-20 19:28:59 +02:00
Juan RP
ed3f7b99af
LICENSE.3RDPARTY: mention lib/compat/vasprintf.c. 2020-04-20 19:20:08 +02:00
Juan RP
3453464ba6
LICENSE.3RDPARTY: mention lib/util_path.c and xbps-fbulk. 2020-04-20 19:13:00 +02:00
Juan RP
0b62ba8592
xbps-fbulk: fix usage. 2020-04-20 18:55:44 +02:00
Juan RP
1f4cfc377b
xbps-fbulk: misc changes (v3).
- Re-add original behaviour now I fixed the real issue for missing
  logs. Keep the build/run pipeline full as soon as possible.
- Added -s, --system. System build mode. To only build pkgs that
  are installed manually in your system.
- Added long options; sync usage.
- Restrict max jobs to ncores; there are issues with shared data,
  and until they are resolved this is the only way to make it work
  reliably.
2020-04-20 18:50:11 +02:00
Juan RP
a1d66032bd
xbps-uchroot: support long options; update usage. 2020-04-20 15:12:44 +02:00
Juan RP
9328afb397
AUTHORS: update. 2020-04-20 15:08:52 +02:00
Juan RP
82c0f5a2da
LICENSE.3RDPARTY: include uthash. 2020-04-20 15:02:32 +02:00
Juan RP
213ce1a72b
xbps-rindex/remove-obsoletes.c: fix CID 284947 (Resource leak). 2020-04-20 10:34:08 +02:00
Juan RP
e155ba6d20
lib/package_alternatives.c: revert back to orig order.
my mistake, I somehow confused it.
2020-04-20 10:32:14 +02:00
Juan RP
35ae128826
lib/fetch: fix CID 284966 in a different way.
Hopefully this fixes it for real.
2020-04-20 10:31:13 +02:00
Juan RP
8663c3bd75
lib/fetch/common.c: fix CID 284959 (NULL returns).
Also fix previous CID.
2020-04-19 11:53:28 +02:00
Juan RP
359721baa6
lib/fetch/common.c: fix CID 284966 (Resource leak). 2020-04-19 11:43:54 +02:00
Juan RP
7b623783c8
lib/package_alternatives.c: fix CID 284970 (Resource leak).
Also fix calloc args order.
2020-04-19 11:38:09 +02:00
Juan RP
c5904cc6ef
lib/conf.c: fix CID 284952 (Identical branches). 2020-04-19 11:22:17 +02:00
Juan RP
96acc6d8ef
lib/portableproplib/prop_object.c: fix CID 284969 (Double free). 2020-04-19 11:17:39 +02:00
Juan RP
83d87ce05b
lib/transaction_files.c: fix CID 284958 (Resource leak). 2020-04-19 11:17:02 +02:00
Juan RP
debfcf1273
Use xbps_repo_release() where applicable. 2020-04-19 11:09:05 +02:00
Duncan Overbruck
cb580a5c1a bin/xbps-query: use puts instead of printf("%s\n", ...) 2020-04-19 11:05:00 +02:00
Duncan Overbruck
910bb5674c bin/xbps-query: simplify list printing (with truncation) 2020-04-19 11:05:00 +02:00
Duncan Overbruck
a2c7f5fc29 bin/xbps-query: simplify search result printing (with truncation)
This should also fix a useless error from lgtm
2020-04-19 11:05:00 +02:00
Duncan Overbruck
df5f2a9378
README.md: add coverity.com badge 2020-04-18 16:13:57 +02:00
Duncan Overbruck
8d3063b5d2
.github/workflows/coverity-scan.yml: do scheduled coverity scan 2020-04-18 15:45:33 +02:00
Duncan Overbruck
c9837b9a9e
.github/workflows/coverity-scan.yml: fix tar 2020-04-18 15:39:00 +02:00
Duncan Overbruck
bed16c48db
.github/workflows/coverity-scan.yml: ignore lock files 2020-04-18 15:29:17 +02:00
Duncan Overbruck
a1f54ea4b6
.github/workflows/coverity-scan.yml: enable tests 2020-04-18 15:23:46 +02:00
Duncan Overbruck
2bc25a3369
.github/workflows/coverity-scan.yml: simplify 2020-04-18 15:17:10 +02:00
Duncan Overbruck
ef4937ecb7
.github/workflows/coverity-scan.yml: fix syntax 2020-04-18 15:10:20 +02:00
Duncan Overbruck
cf59b4a3b1
.github/workflows/coverity-scan.yml: use voidlinux/voidlinux docker container to build 2020-04-18 15:08:38 +02:00
Duncan Overbruck
65cd539f2d
.github/workflows/coverity-scan.yml: once again I'm asking you to do a coverity scan 2020-04-18 14:55:15 +02:00
Duncan Overbruck
13babcb5c0
.github/workflows/coverity-scan.yml: fix url again 2020-04-18 14:49:27 +02:00
Duncan Overbruck
6ff38bc320
.github/workflows/coverity-scan.yml: fix coverity scan tool urls 2020-04-18 14:47:38 +02:00
Duncan Overbruck
2bb6fae5d3
.github/workflows/coverity-scan.yml: fix openssl dependency 2020-04-18 14:44:28 +02:00
Duncan Overbruck
284f41c16c
.github/workflows/coverity-scan.yml: do it on push for now 2020-04-18 14:42:16 +02:00
Duncan Overbruck
537ef657d2
add github action for coverity scan 2020-04-18 14:36:35 +02:00
Juan RP
db1766986c
configure: accept any openssl version. 2020-04-16 14:57:18 +02:00
Juan RP
3164e9c7ce
README.md: openssl >= 1.1 has been tested. 2020-04-16 14:46:30 +02:00
Juan RP
4990a2dd91 lib/Makefile: bump LIBXBPS_MICRO. 2020-04-14 20:27:54 +02:00
Juan RP
70efe5c63a repo: introduce xbps_repo_release(), misc changes.
- xbps_repo_release(): new function to release all resources
  associated with a repository object.

- xbps_repo_close(): this now just closes the file descriptor
  associated with the archive and associated resources.

- repo_open_local: after getting the repository dictionaries,
  use xbps_repo_close() to release archive resources.

Bump XBPS_API_VERSION.
2020-04-14 20:27:54 +02:00
Juan RP
b9fb5e1cc8 xbps-uchroot: support read-only bind mounts, misc improvements.
- Added -B src:dest (like -b) but this makes bind mounts in
  read-only mode.

- Get rid of setfsuid(), it's unnecessary.

- Make sure chrootdir is not '/', use realpath().

- Always set SECBIT_NOROOT, see capabilities(7).

- Do not mount recursively, right now this only mounts
  /dev (ro), /dev/shm (rw), /sys (ro) and /proc (ro).
  Previously any mount below any specific mount were recursively
  mounted in chrootdir.
2020-04-14 20:01:44 +02:00
Juan RP
ae87662547 xbps-fbulk.1: sync with reality. 2020-04-14 19:57:23 +02:00
Juan RP
da2c104d16 xbps-fbulk: calloc -> malloc.
No need to use calloc here because its members are initialized
later on.
2020-04-14 19:57:23 +02:00
Juan RP
5d81aec07f xbps-fbulk: create log files with txt extension. 2020-04-14 19:57:23 +02:00
Juan RP
4f8e07aa64 xbps-fbulk: parallel working implementation.
- Removed -a, this won't work due to dependency cycles between
  host/target.
- Do the process in two steps: collect deps and then build.
- Cleaned up the whole code.
2020-04-14 19:57:23 +02:00
Anthony Iliopoulos
a3a103a194 travis: build on bionic
Change the build environment from the current travis default (xenial) to
bonic, so that we can run on a newer kernel. This gets rid of issues
related with coreutils due to the statx syscall which is unavailable on
xenial kernels.
2020-04-02 13:11:22 +02:00
Juan RP
bfad1afff3
Prepare for 0.59.1. 2020-04-01 11:32:37 +02:00
Juan RP
bd707acfee
repo: fix a double free with invalid repodata.
Fixes #248

Added new test case to verify.
2020-03-31 18:36:04 +02:00
Juan RP
743e76938f
xbps-install: fix regression in stats.
Updated packages will also be configured, so take this into
account in the stats.
2020-03-31 17:26:38 +02:00
Piraty
8b0d54c736 _xbps_src: update archs, add 'sort-dependencies' 2020-03-31 13:04:49 +02:00
Juan RP
0113b676ba
tests: rename transaction_check_revdeps to make .gitignore effective. 2020-03-31 12:32:31 +02:00