Juan RP
0788cd1f42
xbps-{create,rindex}: use zstd by default.
...
Closes #35
2020-02-22 09:27:46 +01:00
Juan RP
850ba2d416
Revert the repodata signature stuff.
2020-01-06 14:56:01 +01:00
Juan RP
2884fc3ab7
Revert "Don't assume repodata is signed when has index-meta.plist"
...
This reverts commit 4e3d4d2287
.
2020-01-06 14:45:57 +01:00
Juan RP
68113a8fc0
Revert "Sign index-meta"
...
This reverts commit 381b7b7600
.
2020-01-06 14:44:22 +01:00
Juan RP
b4fdc39e67
Revert "Sign repodata"
...
This reverts commit 04194f44c8
.
2020-01-06 14:31:40 +01:00
Piotr Wójcik
4e3d4d2287
Don't assume repodata is signed when has index-meta.plist
2019-11-02 11:53:14 +01:00
Piotr Wójcik
381b7b7600
Sign index-meta
2019-11-02 11:53:14 +01:00
Piotr Wójcik
b4e93a95bf
Turn off repodata signing
2019-11-02 11:53:14 +01:00
Piotr Wójcik
04194f44c8
Sign repodata
2019-11-02 11:53:14 +01:00
Duncan Overbruck
7b4a925302
bin/xbps-rindex: better error handling for writing repodata archives
...
This fixes issues when writes fail (as example if the disk is full),
where xbps would create empty repodata or stagedata archives.
2019-10-25 23:36:44 +02:00
Juan RP
286193515c
xbps-rindex/repoflush.c: pass correct filename to unlink().
2019-06-18 18:49:29 +02:00
Juan RP
8018f53e0a
xbps-rindex/repoflush.c: stop abusing assert().
...
assert() must not change the program behaviour.
Make sure fchmod() and rename() succeed properly and
fail gracefully otherwise.
2019-06-18 18:49:29 +02:00
Juan RP
b6a13945e0
xbps: restore default repodata compression format (gzip/zlib).
...
Any compression format from that list is supported without
additional changes: gzip, bzip2, lz4, xz, zstd.
This is for repository data and binary packages.
Close #122
2019-06-18 18:37:19 +02:00
Juan RP
6c1759862e
xbps-rindex: added --compression option and set zstd by default.
...
Multiple compression formats are now supported for repodata,
none, gzip, bzip2, xz, lz4 and zstd.
2019-06-17 07:24:05 +02:00
Enno Boland
4d1ee3b01d
xbps-rindex: check for consistent shlibs
...
When adding packages to the index, xbps-rindex will check if the
consistency of shlibs is broken by a package. If so, rindex will create
a stage file and commit the packages there. Once the consistency is restored,
rindex -a will commit the stage area back to the public repo and delete the
stage file.
2016-03-21 08:31:18 +01:00
Michael Gehring
618e504d30
actually use HAVE_FDATASYNC
2016-02-08 15:09:43 +01:00
Juan RP
36026451ce
Fix some insecure temporary files reported by Coverity.
2015-07-26 09:02:04 +02:00
Juan RP
3afb9d709d
Get rid of repodata index-files; the archive is now 8x smaller.
...
See the NEWS file for more information.
2014-11-13 17:09:43 +01:00
Juan RP
dee7852af8
xbps-rindex: fix -a/--add mode repodata archive permissions.
...
The repodata archive wasn't group writable, resulting in a new archive
created from scratch if the fd wasn't writable.
repodata archives are now created with 0664 mode, this way its main group
also can write to it.
2014-09-15 12:15:42 +02:00
Juan RP
f3b0b19258
xbps-rindex: remove -c --clean mode and adapt to the new libxbps API.
...
- Removed -c --clean mode. It's not too useful and adds a considerable
amount of gratuitous code. It takes almost the same time than
adding all pkgs from scratch.
- When creating the repository data always add the meta plist at the
2nd position in the archive, to optimize its access.
- Misc improvements.
2013-10-07 10:23:14 +02:00
Juan RP
8d5c48b861
Added support for the long awaited feature: RSA signed repositories.
2013-10-05 11:38:04 +02:00
Juan RP
24ff0472dd
Use fs blksize from stat(2)ed file when reading archives.
2013-08-29 14:30:14 +02:00
Juan RP
1999fbd771
Relax libarchive version requirement to 2.8.0.
2013-08-16 10:26:36 +02:00
Juan RP
84d14286a8
More libarchive-2.x compat.
2013-08-15 11:55:20 +02:00
Juan RP
6d87bf04d0
Revert "xbps-rindex: [add] add index-files.plist the first in the repo archive."
...
This reverts commit e76874f513
.
This slows down some ops that were much faster before; will use another approach.
2013-07-04 11:05:42 +02:00
Juan RP
e76874f513
xbps-rindex: [add] add index-files.plist the first in the repo archive.
...
By having index.plist the 2nd entry in archive there are more chances
to skip identical bytes in the archive via rsync.
2013-07-04 03:33:42 +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
99be698979
Use a single file to store repository data.
...
This is just the starting point to extend repositories with PGP signatures.
2013-06-10 10:28:39 +02:00