[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Produce POSIX.1 compliant tarballs.

From: Ben Reser <ben_at_reser.org>
Date: 2004-03-10 06:10:53 CET

On Mon, Mar 08, 2004 at 04:47:22PM -0800, Ben Reser wrote:
> * Stop using GNU tar for creating the tar archives and start using GNU
> cpio. GNU cpio supports creating tar formats in the ustar format (i.e.
> POSIX.1 format). This gives a maximum filename of 255 characters.
> Which is more than twice as long as what we are using. Does not require
> changes to anything other than dist.sh. The following command can
> replace our usage of tar and produce a POSIX.1 compatable tar file:
> find subversion-1.0.0 -print | cpio -H ustar -o > subversion-1.0.0.tar
>
> I recommend using GNU cpio. I've tested the output with Solaris and GNU
> tar and it works perfectly. If everyone is okay with this I'll post a
> patch to effect this change.

As promised here is the patch. I've tested this. It produces tarballs
that work on Solaris 7.

[[[
Fix dist.sh to produce tarballs that can be read on platforms without
GNU tar.

Patch by Ben Reser <ben@reser.org>

* dist.sh
  Use cpio instead of tar to produce the tarballs.
]]]

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Wed Mar 10 06:11:24 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.