5243eab739
Makefile: in the check target always remove "./result*".
...
... otherwise you need to remove them manually when re-running
'make check'.
2019-04-19 22:57:42 +02:00
8d594727cc
lib/util.c: improve error handling in xbps_binpkg_{arch,pkgver}
...
they no longer assert or segfault on malformed strings
Closes : #48 [via git-merge-pr]
2019-04-14 15:01:18 +02:00
2745e25740
lib/package_remove: order directories before removal
...
The order of entries in files.plist is inconsistent
between different releases of xbps. Hence they must be
ordered before removal to, so sub directories are removed
before their parents.
2019-04-14 14:30:16 +02:00
a46be6867a
xbps-create: reject unhandled files
...
A segfault in xbps-create(1) was found in:
https://github.com/void-linux/void-packages/pull/7524
xbps-create adds a file type string to the xentry for every file it
finds in `destdir`, files other than symlinks, regular files and
directories weren't handled and resulted in a segfault later when
when processing the xentry structures.
This commit adds checks for sockets and fifos and exits with an
appropriate error message or with a generic error message for every
other unhandled file.
Closes #66
2019-04-14 12:39:04 +02:00
25427fca7d
tests: xbps-create with fifo in destdir
2019-04-14 12:37:24 +02:00
5aabfe3ad9
fix indention
2019-04-14 12:37:24 +02:00
4e267de72d
tests: fix downgrade hold test
2019-04-14 12:08:49 +02:00
53e6f5c75f
tests: add downgrade hold test
2019-04-14 11:53:07 +02:00
d57a39ef4a
bin/xbps-install: don't overwrite action with downgrade if its on hold
...
Fixed #65
2019-04-14 11:53:07 +02:00
4d1f9832c1
lib/package_find_obsoletes: fix comment
2019-04-14 11:52:32 +02:00
2c69345acc
Don't process processed packages again in collect_rdeps
...
Otherwise we will get exponential time complexity
2019-04-14 11:25:41 +02:00
07ec982b07
lib/fetch/http.c: ignore headers after CONNECT response
2019-04-08 13:34:23 +02:00
c1a64ba86e
Revert "lib/initend.c: Fix user virtual packages"
...
This reverts commit bea146c724
.
2019-03-22 22:34:11 +01:00
601f0a2d09
bin/xbps-query: support $NO_COLOR
...
Closes : #273 [via git-merge-pr]
2019-03-22 21:47:14 +01:00
bea146c724
lib/initend.c: Fix user virtual packages
...
Dictionary was never initialized because of wrong condition check
Closes : #265 [via git-merge-pr]
2019-03-22 21:45:44 +01:00
c950441537
bin/xbps-install: ignore EBUSY errors
2019-03-22 21:43:52 +01:00
3ad6b7a523
bin/xbps-remove: ignore EBUSY errors
...
EBUSY occurs if xbps tries to remove a directory with unlink(2) that is
a mount point, this happens with `/boot` as example.
https: //github.com/voidlinux/void-packages/issues/7229#issuecomment-319392560
https: //github.com/voidlinux/void-packages/issues/8753
Closes : #259 [via git-merge-pr]
2019-03-22 21:41:43 +01:00
c430d8ceb6
xbps.d.5: fix referenced sections
...
Closes : #45 [via git-merge-pr]
2019-03-22 21:36:31 +01:00
75dc5c6b06
_xbps, _xbps-src: add ppc64 completion
...
Closes : #42 [via git-merge-pr]
2019-03-22 21:36:08 +01:00
a12f22de86
Use https instead of http where possible
2019-03-22 21:35:08 +01:00
f20032efa3
bin/xbps-checkvers: replace strncat with one snprintf
2019-03-22 19:14:08 +01:00
31737ff946
tests/xbps/libxbps/config: safer string handling
...
Closes : #61 [via git-merge-pr]
2019-03-22 19:14:08 +01:00
5aa1adca90
lib/initend.c: xbps_init(): safer string handling
...
Signed-off-by: Cameron Nemo <camerontnorman@gmail.com >
Closes : #58 [via git-merge-pr]
2019-03-22 19:14:08 +01:00
71b076908d
bin/xbps-install: remove duplicate from Makefile
2019-03-22 19:14:08 +01:00
d41cafbe52
tests: add test for shlib-provides with replaces
2019-03-22 19:14:08 +01:00
9139cc79bf
mk/prog.mk: rebuild static binaries if static libs change
2019-03-22 19:14:08 +01:00
bf5eba411b
travis: trim dependencies
2019-03-22 19:14:08 +01:00
6a5048b46d
travis: add voidlinux/voidlinux-musl to test matrix
2019-03-22 19:14:08 +01:00
0b1b1ecf05
travis: run void host in docker to compile/test
...
The current CI runs in ubuntu containers, which do not provide a
recent enough version of libarchive. This uses official Void
docker images to compile and run tests on the xbps repo.
Closes : #39 [via git-merge-pr]
2019-03-22 19:14:08 +01:00
d7c2e87d55
tests: make tests POSIX shell compatible
2019-03-22 19:14:08 +01:00
950945034b
zsh: add completion for new patch phase in xbps-src
2019-03-19 15:38:26 +01:00
09a276bace
README: update voidlinux URLs
2019-02-24 03:38:40 -05:00
b4eebafa6d
upgrade to openssl 1.1.x.
2019-01-24 14:57:50 -05:00
0f33859701
Fix namespace violation
2018-09-25 22:11:30 -04:00
ac5776b9f5
Merge pull request #19 from steinex/fix-manpages-github-url
...
manpages: change URL for bug reporting to new GitHub repo
2018-09-23 18:10:11 -04:00
f366d6cb11
manpages: change URL for bug reporting to new GitHub repo
2018-09-23 17:51:07 +02:00
e4702d9d3b
Merge pull request #6 from foxlet/fix-string-formatting
...
Fix string formatting of 64-bit unsigned integers
2018-07-30 20:28:09 +02:00
a5bfc59203
prepare release
2018-07-30 13:47:08 +02:00
21e28257d1
NEWS: update date
2018-07-30 13:43:44 +02:00
4c53f0b432
NEWS: fix punctuation
2018-07-30 13:42:28 +02:00
75f6a2ce1f
NEWS: new release date is 2018-07-27
2018-07-24 07:36:47 +02:00
f47f83602a
NEWS: fix style of last NEWS entry
2018-07-20 09:46:23 +02:00
0e8b01803f
NEWS: mention hashcheck changes in rindex.
2018-07-20 09:45:35 +02:00
9e01ebcbc7
NEWS: update and announce release date.
...
* mention >128 character path fix
* mention threading algorithm change
* mention rindex --hashcheck
2018-07-20 09:37:50 +02:00
ebca1758cc
xbps-rindex.1: document --hashcheck option
2018-07-20 09:37:50 +02:00
4eaf45a767
Fix string formatting of 64-bit unsigned integers
2018-07-17 20:50:48 -04:00
c992049eb5
xbps-create: fix formatting, set return value on path overflow
2018-07-07 12:23:01 +02:00
3ef932de2f
xbps-create: replace nftw by an implementation that traverses the directory tree in an alphabetic order.
2018-07-07 12:15:00 +02:00
3f251bea74
Revert "debug"
...
This reverts commit 29466b128b
.
2018-07-06 15:17:42 +02:00
aa21cb08fd
Revert "bin/xbps-create: process dictionary instead of linked list."
...
This reverts commit 25fa00ea46
.
2018-07-06 08:07:59 +02:00