519ea4001c
xbps-uunshare: fix typo in an error msg (thanks uggedal).
2015-03-12 19:05:05 +01:00
f9b6dd9d2d
proplib: anonymous mappings need MAP_ANON.
...
Somehow I removed this accidentally in a previous change... sigh.
2015-03-11 17:06:45 +01:00
301b6d220e
xbps-uunshare: fix previous ( 15977278
).
2015-03-09 12:45:32 +01:00
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
be363d93f5
configure: post-release bump.
2015-03-08 10:22:33 +01:00
345183c13e
NEWS: mention some items for 0.44.1.
2015-03-08 10:22:15 +01:00
25f7228920
xbps-reconfigure: add -i/--ignore to usage; thanks @chneukirchen.
2015-03-08 10:22:15 +01:00
ac93845378
Merge pull request #84 from chneukirchen/master
...
updated completions
2015-03-07 21:25:14 +01:00
916f8bea26
_xbps_src: update zsh completion.
2015-03-07 14:05:36 +01:00
1ac25a53c4
_xbps: update zsh completion.
2015-03-07 14:00:10 +01:00
acb00d52e4
xbps-checkvers(8): fix manually added packages as arguments.
...
Regression introduced in the 0.44 changes.
2015-03-07 09:11:12 +01:00
95d650bdb1
lib/transaction_shlibs.c: add a printf to see what's going on.
2015-03-07 08:02:39 +01:00
38fb0aabe5
NEWS: prepare 0.44.
2015-03-06 09:04:02 +01:00
77e83d4b17
xbps-uunshare: for compat with uchroot, use the uid/gid of the calling process.
...
... rather than setting this up for uid/gid 0.
2015-03-06 07:39:31 +01:00
441f147f05
Fix reinstallation of pkgs in repolock mode.
...
At the time we've been searching for the pkg in a repo, no repos
were registered resulting in EINVAL. While here, if there's no
declared repos return ENOENT instead.
2015-03-05 21:23:58 +01:00
3da2c3fdda
xbps-uunshare: silence a clang warning.
2015-03-05 19:24:33 +01:00
26944cf6be
xbps-uunshare: chdir to the correct dir for bind mounts.
2015-03-05 19:06:39 +01:00
a1d1b3e480
bin/Makefile: restrict xbps-uunshare(8) only on linux.
2015-03-05 18:46:01 +01:00
58e6d71d24
New utility: xbps-uunshare(8) - like xbps-uchroot(8) with user_namespaces(7).
2015-03-05 18:44:20 +01:00
927254c43e
xbps-rindex(8): fix -s short option (omitted in shortopts).
2015-03-03 16:10:03 +01:00
7bff8aa350
tests/update_repolock: fix repo order and use readlink -f to fix travis-ci.
2015-03-03 12:57:49 +01:00
4922c808f4
Implemented feature #77 (Add package repository locked mode)
...
Close #77
2015-03-03 12:11:28 +01:00
db21c045d2
xbps-create(8): use fdatasync() rather than fsync().
...
The latter could be too expensive, and we only care for the data to be written
to the binary package because a bit later we rename() the temporary file,
which will ensure a data flush to disk.
2015-02-27 11:04:25 +01:00
04da57e4f9
xbps-pkgdb: when checking pkg files, ignore mtime with mutable files.
2015-02-27 10:38:50 +01:00
976718417b
libxbps: remove "skip-obsoletes" handling; unnecessary with the mtime checks.
2015-02-26 19:51:03 +01:00
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
8de52caa2f
tests: two more test cases to verify moving files between pkgs.
...
There are now 2 broken test cases thanks to the fixed xbps-pkgdb(8).
2015-02-26 12:02:06 +01:00
c712c99ced
xbps-pkgdb: exit with error if any test fails.
2015-02-26 12:01:20 +01:00
7c52471ff6
tests: add test case to verify pkg file timestamps are updated correctly.
2015-02-26 10:40:15 +01:00
cbe493858c
libxbps: apply file timestamps to unmodified files on-disk while unpacking.
2015-02-25 11:10:18 +01:00
b133b9023c
lib/package_unpack.c: wrap some long lines and fix an obvious error.
2015-02-24 09:34:39 +01:00
725ef2472d
xbps-uhelper: sync error messages with reality.
2015-02-23 16:56:47 +01:00
b909e8edc3
xbps-pkgdb: fix use-after-free introduced in 3855d2e
.
2015-02-23 08:26:20 +01:00
3855d2e2fb
xbps-pkgdb(8): check pkg file mtime (iff the obj is available).
2015-02-22 18:45:47 +01:00
2cae0cba01
xbps-create(8): store file mtime in metadata for upcoming changes.
2015-02-22 18:20:32 +01:00
ae8ce64542
Restore pkg file timestamps while unpacking as regular user.
...
Requested by @dominikh.
2015-02-21 16:52:27 +01:00
3692ecb537
xbps-query/search: fix previous.
2015-02-20 11:07:35 +01:00
341e8a10ae
xbps-query/search: minor optimizations.
2015-02-20 11:01:18 +01:00
7e21f1ee1a
xbps_symlink_target: rename var to avoid shadowing a global var.
2015-02-19 11:44:10 +01:00
9083191e4b
xbps_symlink_target: double free in rootdir == '/' case.
2015-02-19 11:39:59 +01:00
6d65e76f91
xbps_symlink_target: fix a memleak.
2015-02-19 11:36:09 +01:00
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
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
2f9dd7237b
NEWS: mention xbps-pkgdb(8) recent fixes.
2015-02-19 10:33:43 +01:00
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
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
69e3a50e75
xbps-create: handle correctly another case of relative symlinks.
2015-02-19 09:44:09 +01:00
9c47bc0b1a
xbps-re{configure,move}: fix previous.
2015-02-18 17:02:50 +01:00
96b76c28e5
xbps-reconfigure: do not bother to print useless msgs about unknown states.
...
Those states are not meaningful for the application.
2015-02-18 16:56:34 +01:00
73c0d68acd
xbps-remove: do not bother to print useless msgs about unknown states.
...
Those states are not meaningful for the application.
2015-02-18 16:55:42 +01:00