Am Montag, den 19.05.2014, 19:02 +0200 schrieb Bernhard R. Link: > * peter green <plugw...@p10link.net> [140519 12:57]: > > Please consider supporting generation of xz index files, xz is much faster > > to decompress than bz2. > > If you feel adventurous you can try the code at > http://anonscm.debian.org/gitweb/?p=mirrorer/reprepro.git;a=shortlog;h=refs/heads/master
The code from the git repository works quite nicely, but I found one smaller issue. exportdescription crashes due to xz missing in the compression_names list. A fix is attached. -- Benjamin Drung System Developer ProfitBricks GmbH - The IaaS-Company Greifswalder Str. 207 D - 10405 Berlin Mail: benjamin.dr...@profitbricks.com Fax: +49 30 577 008 598 URL: http://www.profitbricks.com Sitz der Gesellschaft: Berlin. Registergericht: Amtsgericht Charlottenburg, HRB 125506 B. Geschäftsführer: Andreas Gauger, Achim Weiss.
>From 6b2388ce068b3d2088d34b96b640d72aeeae3b31 Mon Sep 17 00:00:00 2001 From: Benjamin Drung <benjamin.dr...@profitbricks.com> Date: Mon, 23 Jun 2014 18:46:46 +0200 Subject: [PATCH] Fix crash in exportdescription() due to missing xz --- exports.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/exports.c b/exports.c index 9dd6812..31e7327 100644 --- a/exports.c +++ b/exports.c @@ -47,6 +47,9 @@ static const char *exportdescription(const struct exportmode *mode, char *buffer #ifdef HAVE_LIBBZ2 ,"bzip2ed" #endif +#ifdef HAVE_LIBLZMA + ,"xz" +#endif }; bool needcomma = false, needellipsis = false; -- 1.9.1