* [libmnl PATCH] Makefile: Create LZMA-compressed dist-files
@ 2022-12-08 0:13 Phil Sutter
2022-12-08 20:29 ` Pablo Neira Ayuso
0 siblings, 1 reply; 3+ messages in thread
From: Phil Sutter @ 2022-12-08 0:13 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: netfilter-devel, Jan Engelhardt
Use a more modern alternative to bzip2.
Suggested-by: Jan Engelhardt <jengelh@inai.de>
Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index dcdd4245175e6..25916e2701385 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,7 @@ AC_CONFIG_AUX_DIR([build-aux])
AC_CANONICAL_HOST
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
-AM_INIT_AUTOMAKE([foreign tar-pax no-dist-gzip dist-bzip2 1.6 subdir-objects])
+AM_INIT_AUTOMAKE([foreign tar-pax no-dist-gzip dist-xz 1.6 subdir-objects])
dnl kernel style compile messages
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
--
2.38.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [libmnl PATCH] Makefile: Create LZMA-compressed dist-files
2022-12-08 0:13 [libmnl PATCH] Makefile: Create LZMA-compressed dist-files Phil Sutter
@ 2022-12-08 20:29 ` Pablo Neira Ayuso
2022-12-09 0:48 ` Phil Sutter
0 siblings, 1 reply; 3+ messages in thread
From: Pablo Neira Ayuso @ 2022-12-08 20:29 UTC (permalink / raw)
To: Phil Sutter; +Cc: netfilter-devel, Jan Engelhardt
Hi Phil
On Thu, Dec 08, 2022 at 01:13:39AM +0100, Phil Sutter wrote:
> Use a more modern alternative to bzip2.
I tested this one for libmnl specifically and it works fine with `make
distcheck`. I can quickly update the release script here to refer to
tar.xz instead of tar.bz2.
I have seen other projects offering both .tar.bz2 and .tar.xz, the
reason for this for me is unknown, I guess using .tar.xz should be
fine for everyone?
Please go ahead push out these patches, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [libmnl PATCH] Makefile: Create LZMA-compressed dist-files
2022-12-08 20:29 ` Pablo Neira Ayuso
@ 2022-12-09 0:48 ` Phil Sutter
0 siblings, 0 replies; 3+ messages in thread
From: Phil Sutter @ 2022-12-09 0:48 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: netfilter-devel, Jan Engelhardt
On Thu, Dec 08, 2022 at 09:29:11PM +0100, Pablo Neira Ayuso wrote:
> Hi Phil
>
> On Thu, Dec 08, 2022 at 01:13:39AM +0100, Phil Sutter wrote:
> > Use a more modern alternative to bzip2.
>
> I tested this one for libmnl specifically and it works fine with `make
> distcheck`. I can quickly update the release script here to refer to
> tar.xz instead of tar.bz2.
>
> I have seen other projects offering both .tar.bz2 and .tar.xz, the
> reason for this for me is unknown, I guess using .tar.xz should be
> fine for everyone?
Maybe cruft from a time when LZMA support in tar was new. Maybe also
people whining about failing distfile downloads.
Just for the record, one may easily configure automake to create
multiple archives with different compressions from the same 'make dist'
command.
> Please go ahead push out these patches, thanks.
Will do, thanks!
Cheers, Phil
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-12-09 0:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-08 0:13 [libmnl PATCH] Makefile: Create LZMA-compressed dist-files Phil Sutter
2022-12-08 20:29 ` Pablo Neira Ayuso
2022-12-09 0:48 ` Phil Sutter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).