On Fri, Oct 09, 2009 at 10:49:30AM -0700, Roland McGrath wrote:
> > Yes, there are no problem, at least for those who just build strace from
> > tarball.  But there are people who still list tarball contents before use.
> > Maybe it's some kind of a taste, but for me it would be a bit more fair if
> > each file timestamp in tarball would correspond to the last file change.
> 
> You still haven't said exactly what you are proposing.

I propose to build release tarballs from clean checked out source, and
to set file timestamps right after checkout, e.g.

git clone /path/to/strace.git &&
cd strace &&
git-set-file-times &&
autoreconf -i &&
./configure --enable-maintainer-mode &&
TAR_OPTIONS='--owner=0 --group=0 --numeric-owner --mode=go-w,go+rX' make 
distcheck

A few words about TAR_OPTIONS:
"--owner=0 --group=0 --numeric-owner" is used to avoid information
disclosure, and "--mode=go-w,go+rX" is advisable to avoid umask side
effects.

Maybe we could sacrifice portability and add this TAR_OPTIONS definition to
Makefile.am


-- 
ldv

Attachment: pgpaDHkfc8gqt.pgp
Description: PGP signature

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to