Duncan Overbruck
6794077efd
Add noextract configuration option
...
Closes #208
Fixes #165
2020-01-18 15:51:13 +01:00
Juan RP
c712c99ced
xbps-pkgdb: exit with error if any test fails.
2015-02-26 12:01:20 +01:00
Juan RP
a05e039cce
Revert "Stop converting relative symlinks to absolute."
...
This reverts commit 9ae3638429
.
This change is ok, but cannot be used right now because all existing
binpkgs were created with an old xbps-create(8).
2015-02-19 11:11:58 +01:00
Juan RP
9ae3638429
Stop converting relative symlinks to absolute.
...
There's no reason to make them absolute, simply store in the metadata
the target file as is. This vastly simplifies the code and makes all
test pass correctly.
2015-02-19 11:04:34 +01:00
Juan RP
67eba7d912
Improve detection of target file in relative symlinks.
...
If xbps-create(8) did not guess the target file of relative symlinks for
some reason, just compare the current symlink and what's stored as is,
without converting it to absolute.
This might happen with dangling relative symlinks or existing binary
packages that were not created with a newer xbps-create(8).
2015-02-19 10:24:24 +01:00
Juan RP
05f879ec09
Introduce xbps_symlink_target() and use it in two places.
...
This code is now shared by xbps-pkgdb and libxbps/xbps-remove.
2015-02-19 09:47:09 +01:00
Juan RP
fa6f20ec4f
xbps-pkgdb: rework symlinks checks to avoid false positives with -r.
2014-10-25 10:11:46 +02:00
Juan RP
810c5d8de0
bin/xbps-pkgdb/check_pkg_symlinks.c: buffer not NUL terminated (CID 62665)
2014-10-05 07:43:39 +02:00
Juan RP
a15dc24fe8
bin/xbps-pkgdb/check_pkg_symlinks.c: uninitialized pointer read (CID 62730)
2014-10-05 07:23:53 +02:00
Juan RP
ccc5a29a27
xbps-pkgdb/check_pkg_symlinks: avoid many small allocations and fix a small memleak.
2014-05-13 22:54:43 +02:00
Juan RP
4057e4961c
Use C99 for loop initializers.
...
That means that a C99 compiler is now mandatory.
2013-09-15 10:06:49 +02:00
Juan RP
09e116b7f0
xbps_api.h -> xbps.h
2013-06-20 12:31:02 +02:00
Juan RP
42c0766c00
Get rid of libfetch and proplib external dependencies.
...
The list of required external deps is now confuse, libarchive and openssl.
libxbps now includes a wrapper for proplib prefixed with xbps_ rather than prop_.
2013-06-20 10:26:12 +02:00
Juan RP
db1efb3aa6
Relax memory requirements on 64bit platforms; fix two memleaks.
2013-06-12 10:04:10 +02:00
Juan RP
111184ea84
xbps-pkgdb: change symlink checks to warning messages not errors.
2013-04-19 10:15:44 +02:00
Juan RP
d536ad39ff
xbps-pkgdb: fix two meamleaks in error paths.
2013-04-04 09:54:53 +02:00
Juan RP
338c0d549f
xbps-pkgdb: fixed some memleaks.
2012-12-14 06:04:58 +01:00
Juan RP
78cd625c28
xbps-pkgdb: fixed symlinks check; this now detects modified symlinks correctly.
2012-11-19 21:12:04 +01:00
Juan RP
e763f154a0
xbps-pkgdb: simplify the check code; make the reqby check work again.
2012-11-17 17:43:54 +01:00
Juan RP
d6735d5685
xbps_xasprintf: do not return NULL anymore; remove checks for this.
2012-11-11 09:37:27 +01:00
Juan RP
b05ce9fe57
New utilities: xbps-{install,pkgdb,query,reconfigure,rindex} (WIP).
2012-11-02 15:04:25 +01:00