Commit Graph

633 Commits

Author SHA1 Message Date
Juan RP
8d739f3009 NEWS: sync. 2015-12-12 07:57:47 +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
93b50bc4dc alternatives: preserve order while updating pkgs (thanks chris2/duncaen). 2015-11-17 16:32:12 +01:00
Juan RP
d9f56c9cdf NEWS: mention recent alternatives bugfix. 2015-11-14 07:28:54 +01:00
Juan RP
784e43d876 conflicts: do not take into account conflicts for on hold pkgs. 2015-11-12 12:24:33 +01:00
Juan RP
30a2642b7e Post release bump to 0.51. 2015-11-10 15:44:29 +01:00
Juan RP
339b2ac03f NEWS: prepare 0.50. 2015-11-10 15:43:32 +01:00
Juan RP
0cf4a2c0c0 conflicts: another bugfix + test case. 2015-11-10 15:36:25 +01:00
Juan RP
ae8a5dafb8 NEWS: mention alternatives relative symlink changes by @Gottox. 2015-11-09 16:23:02 +01:00
Juan RP
62f76e5497 NEWS: mention recent conflicts bugfix. 2015-11-09 16:16:55 +01:00
Juan RP
9b0cde3267 xbps-alternatives: dangling symlinks are now supported. 2015-11-02 21:02:37 +01:00
Juan RP
8c5878bff6 NEWS: mention recent changes. 2015-11-01 09:57:10 +01:00
Juan RP
1ed8551c08 xbps_configure_packages: ignore internal xbps objects.
Fixes an assertion triggered by `xbps-reconfigure -a`.
2015-10-31 15:03:26 +01:00
Juan RP
512122da4c alternatives: really make relative symlinks this time. 2015-10-31 14:01:20 +01:00
Juan RP
b8abe80362 Post release bump to 0.50. 2015-10-31 13:13:42 +01:00
Juan RP
e1ca5280f7 NEWS: prepare 0.49. 2015-10-31 13:11:39 +01:00
Juan RP
84c58e241c NEWS: you've been twerked. 2015-10-31 13:11:12 +01:00
Juan RP
ac51dd913e NEWS: mention relative symlinks support in alternatives (thanks @jgouly). 2015-10-31 13:04:36 +01:00
Juan RP
3e6651d286 xbps-alternatives(1): implemented -g <grp> -l. 2015-10-31 12:11:21 +01:00
Juan RP
7b43e7381b NEWS: mention xbps-remove(1) bugfix. 2015-10-31 12:09:08 +01:00
Juan RP
15dc9fbd55 NEWS: mention alternatives bugfix. 2015-10-31 11:52:39 +01:00
Juan RP
d68a2796c5 Post release bump to 0.49. 2015-10-31 11:37:40 +01:00
Juan RP
616a10bcae NEWS: prepare 0.48. 2015-10-30 14:52:41 +01:00
Juan RP
cb857dfc27 Alternatives framework for xbps (2/2).
See xbps-alternatives(1) for more information.

Thanks to all who helped to design this and for fixing grammar in
the manual page.
2015-10-30 12:24:46 +01:00
Juan RP
637c087173 xbps-*: do not log to console with syslog enabled. Close #123 2015-10-29 07:16:49 +01:00
Juan RP
4211f5cd09 New manual page for xbps-fbulk(1). 2015-10-28 09:37:09 +01:00
Juan RP
d4f1fd56cd NEWS: document libfetch env vars for SSL cert verification. 2015-10-28 07:36:50 +01:00
Juan RP
a13a7fa896 Implemented reverse conflicts for pkgs in pkgdb and transaction. 2015-10-28 05:23:42 +01:00
Juan RP
6044030ec1 NEWS: mention -M bugfix. 2015-10-27 12:52:43 +01:00
Juan RP
be5e544093 NEWS: twerks. 2015-10-24 09:33:34 +02:00
Juan RP
90eb1d9433 libfetch: merge some features from FreeBSD:
- Supports HTTP/1.1 308 redirect.
- SSLv[23] HTTPS connections are forbidden by default.
- TLS client certificate validation thru OpenSSL.
- Fixes for user/password encoding, misc.
2015-10-24 07:52:30 +02:00
Juan RP
b4d26f7945 NEWS: mention libxbps/pkgdb umask #108 PR. 2015-10-21 09:38:55 +02:00
Juan RP
24af8cde9b xbps-install(1): implement #109.
-n/--dry-run mode now prints "installed_size" obj as 5th argument,
and "filename-size" as 6th argument (if available).

Close #109
2015-10-19 19:02:26 +02:00
Juan RP
99bf58b091 NEWS: #113 was fixed long ago. 2015-10-19 18:48:56 +02:00
Juan RP
b069eb14ae libxbps: fixed issue #116 (vpkg does not replace pkg with update in trans).
Thanks to @dominikh for the test case.
2015-10-19 18:01:43 +02:00
Juan RP
240d87af92 rpool: if pkg wasn't found set errno to ENOENT.
This is to return a proper error to the callers (i.e xbps-query(1)).
2015-10-19 17:05:55 +02:00
Juan RP
c457b594aa libxbps: fix eudev-libgudev -> libgudev fallout.
Packages to be replaced must be collected *before* checking for
broken reverse dependencies, otherwise them will always be detected
as broken.
2015-10-14 11:46:56 +02:00
Enno Boland
f1617441db xbps-query: fail on trailing parameters. 2015-09-23 13:33:51 +02:00
Juan RP
d8fc08eb50 libxbps: make relative cachedir set via xbps.d(5) work again.
Close #117
2015-09-15 09:26:07 +02:00
Juan RP
21be2318cf xbps-create(1): support '--compression none' to skip any compression format. 2015-09-03 12:34:29 +02:00
Juan RP
782ec10111 xbps-create(1): timestamps of metadata files are now set to epoch.
Thanks to @Gottox for finding the real issue.
2015-09-03 11:12:49 +02:00
Enno Boland
2a6b14ae74 Merge pull request #111 from Gottox/no-build-date
xbps-create: do not add a build-date property to packages.
2015-09-03 09:26:53 +02:00
Enno Boland
186ce68432 update NEWS with changes in xbps-rindex 2015-09-03 09:23:41 +02:00
Juan RP
d4961a0058 NEWS: mention issues fixed that were found by Coverity scan. 2015-09-02 19:00:40 +02:00
Juan RP
35e0b3fef5 NEWS: mention today's changes. 2015-09-02 18:57:41 +02:00
Enno Boland
9de0d8a60d xbps-create: do not add a build-date property to packages. 2015-08-19 16:05:51 +02:00
Juan RP
0d5385ad2b xbps-checkvers: fixed an endless loop with "reverts" containing extra alphanumeric chars. 2015-07-27 09:44:25 +02:00
Juan RP
8d20760fee Post release bump to 0.48. 2015-07-18 09:54:51 +02:00
Juan RP
de6d5d51cc NEWS: prepare 0.47. 2015-07-18 09:53:56 +02:00
Juan RP
22ffc14026 Override and use a sane umask when performing pkg configuration.
Close #106
2015-06-28 05:14:02 +02:00
Juan RP
dd5f57dfca NEWS: mention latest fetch change. 2015-06-28 05:12:08 +02:00
Juan RP
7190a2897e NEWS: prepare 0.46. 2015-06-24 10:16:25 +02:00
Juan RP
148e80d101 NEWS: mention getopt_long changes for all xbps utils. 2015-06-24 10:14:37 +02:00
Juan RP
00149d0f37 xbps_transaction_prepare: if ENOSPC, keep the transaction dictionary.
... we need this in xbps-install to print required/free space on rootfs.

Close #101
2015-06-20 09:48:21 +02:00
Juan RP
5ebd4a6dfb xbps-uchroot: handle SIG{INT,TERM,QUIT} signals to cleanup temp masterdir. 2015-06-11 11:21:35 +02:00
Juan RP
1774d17e40 Keep /usr/sbin if found as obsolete, it's a symlink in void. 2015-06-05 08:29:05 +02:00
Juan RP
d86cece411 xbps-rindex(1): add support to sign specific pkgs, not the whole repo.
See NEWS for more information.
2015-06-04 16:01:43 +02:00
Juan RP
3d70668ad6 NEWS: update with recent changes for 0.45.1. 2015-06-04 10:00:14 +02:00
Juan RP
60c8bd7fef NEWS: prepare 0.45. 2015-06-03 11:16:36 +02:00
Juan RP
07e8330936 xbps-install(1): added -U --unpack-only to only unpack pkgs, skips configuration. 2015-06-03 11:15:11 +02:00
Juan RP
b2dd18faba configure: added --enable-fulldebug to enable extra/expensive debug code.
This is mostly to avoid the allocation required by the externalization of the
transaction dictionary, which in some cases is huge.

This should reduce the massive memory usage required to inspect the externalized
dictionary.
2015-05-28 11:02:40 +02:00
Juan RP
fcdd71aac4 Move xbps utils manpages to the section 1 (user commands). 2015-05-16 09:46:10 +02:00
Juan RP
2c0e27a001 xbps-install: print required size and free size on ENOSPC. 2015-05-09 07:02:21 +02:00
Juan RP
da74e3dd9e libxbps: stop and error out if pkg signature is not valid. 2015-05-09 06:27:03 +02:00
Juan RP
b22d557287 NEWS: typo: descripters -> descriptors 2015-05-06 17:24:18 +02:00
Juan RP
c5d6556c50 xbps-remove: fix #95 (xbps-remove -R pkg lists/removes orphans) 2015-05-06 17:21:13 +02:00
Juan RP
2baf1ae101 xbps-uunshare: replace -D/-H/-S with -b src/dest and switch to getopt(3). 2015-05-06 11:40:19 +02:00
Juan RP
7d6d1805f3 xbps-uchroot: replace -D/-H/-S with -b src/dest and switch to getopt(3). 2015-05-06 11:24:47 +02:00
Juan RP
e9b8ff7360 Added support to specify --dbdir to customize path to pkgdb. 2015-05-05 16:00:04 +02:00
Juan RP
149f48fb8e xbps-uchroot: added -t option to mount a tmpfs for overlayfs. 2015-04-23 15:05:29 +02:00
Juan RP
31bf6c5309 xbps-uchroot: added -o <opts> to pass options to the temporary tmpfs mount. 2015-04-20 20:44:42 +02:00
Juan RP
e4284faf05 NEWS: sync with reality and simplify. 2015-04-16 10:11:42 +02:00
Juan RP
bc97851fdb xbps-query(8): do not truncate output if stdout is not a tty. 2015-04-15 18:40:34 +02:00
Juan RP
15893caf0b fetch: support keep-alive even if the HTTP server returns 304 (Not-Modified). 2015-04-13 12:05:40 +02:00
Juan RP
504e68ad82 NEWS: sync with reality. 2015-03-29 09:58:03 +02:00
Juan RP
efd24456ce Post release bump. 2015-03-21 09:32:07 +01:00
Juan RP
ba84eec50f NEWS: prepare 0.44.1. 2015-03-21 09:30:58 +01:00
Juan RP
dc47dfd593 xbps_get_pkg_fulldeptree: detect pkgs depending on itself via virtual pkgs.
Reported by Duncan Overbrook.

Update NEWS with recent changes.
2015-03-20 08:03:06 +01:00
Juan RP
52dae50075 xbps-uunshare: replace clone/exec with unshare/exec cmd.
There's no reason to clone and run cmd in the child, replace the
execution environment with cmd directly to avoid the child process.
2015-03-13 21:14:28 +01:00
Juan RP
1597727814 xbps-uunshare: do not fail if /proc/self/setgroups does not exist.
3.16 supports user_namespaces(7) but does not have /proc/self/setgroups.

Found by @cheneukirchen.
2015-03-09 12:34:57 +01:00
Juan RP
345183c13e NEWS: mention some items for 0.44.1. 2015-03-08 10:22:15 +01:00
Juan RP
38fb0aabe5 NEWS: prepare 0.44. 2015-03-06 09:04:02 +01:00
Juan RP
58e6d71d24 New utility: xbps-uunshare(8) - like xbps-uchroot(8) with user_namespaces(7). 2015-03-05 18:44:20 +01:00
Juan RP
927254c43e xbps-rindex(8): fix -s short option (omitted in shortopts). 2015-03-03 16:10:03 +01:00
Juan RP
4922c808f4 Implemented feature #77 (Add package repository locked mode)
Close #77
2015-03-03 12:11:28 +01:00
Juan RP
b6b446d32e libxbps: properly detect obsolete files with files being between pkgs.
120 test cases now successfully pass, and all known issues about
pkg updates that move files between them should be gone (hopefully).
2015-02-26 19:37:46 +01:00
Juan RP
c712c99ced xbps-pkgdb: exit with error if any test fails. 2015-02-26 12:01:20 +01:00
Juan RP
cbe493858c libxbps: apply file timestamps to unmodified files on-disk while unpacking. 2015-02-25 11:10:18 +01:00
Juan RP
3855d2e2fb xbps-pkgdb(8): check pkg file mtime (iff the obj is available). 2015-02-22 18:45:47 +01:00
Juan RP
2cae0cba01 xbps-create(8): store file mtime in metadata for upcoming changes. 2015-02-22 18:20:32 +01:00
Juan RP
ae8ce64542 Restore pkg file timestamps while unpacking as regular user.
Requested by @dominikh.
2015-02-21 16:52:27 +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
2f9dd7237b NEWS: mention xbps-pkgdb(8) recent fixes. 2015-02-19 10:33:43 +01:00
Juan RP
3c34c300d1 xbps-create(8): record target file or relative symlinks correctly. 2015-02-18 14:55:54 +01:00
Juan RP
1403826fa6 libxbps: detect and remove properly symlinks with relative targets.
Close #78
2015-02-17 11:59:05 +01:00
Juan RP
7cdba2ed14 xbps-checkvers(8): fixed segfaults with missing vars on templates. 2015-02-16 18:53:45 +01:00
Juan RP
d607655371 libxbps: globally check for unresolved reverse dependencies.
Close #46. See NEWS for more information.
2015-02-03 10:20:13 +01:00
Juan RP
0c208bb744 xbps-query(8): ownedby: do not follow symlinks and print target file too. 2015-01-29 17:32:14 +01:00
Juan RP
20276fc068 xbps-install: add additional actions to the column output.
- downgrade if new version in repos is less than installed one.
- reinstall if both versions are equal.

and additionally always print installed pkg version, irrespectively of
the transaction mode.

Close #72
2015-01-29 09:58:32 +01:00