Re: svn commit: r213643 - head/usr.bin/ar

2010-10-15 Thread Erik Cederstrand
Den 15/10/2010 kl. 02.42 skrev Bruce Evans: > > install(1) mainly compares bytes. Thus it can consider changed metadata > in inodes (mainly timestamps) to be irrelevant. This cannot handle metadata > (like timestamps) within the file. strip(1) and objcopy(1) will clobber > external timestamps,

Re: svn commit: r213643 - head/usr.bin/ar

2010-10-14 Thread Bruce Evans
On Thu, 14 Oct 2010, Erik Cederstrand wrote: Den 13/10/2010 kl. 05.55 skrev Bruce Evans: I also don't like distributions that stamp every file with their release build time (or maybe a little later, with a single release time). How would do you prevent clobbering metadata outside of archives?

Re: svn commit: r213643 - head/usr.bin/ar

2010-10-14 Thread Benjamin Kaduk
On Thu, 14 Oct 2010, Erik Cederstrand wrote: Den 13/10/2010 kl. 05.55 skrev Bruce Evans: [Erik wrote, but the attribution was stripped] I'm a real beginner here. As I read the manuals (GNU ar and BSD ar), the only flags that really control archive contents on archive creation is 'q' and 'r

Re: svn commit: r213643 - head/usr.bin/ar

2010-10-14 Thread Erik Cederstrand
Den 13/10/2010 kl. 05.55 skrev Bruce Evans: > I also don't like distributions that stamp every file with their release > build time (or maybe a little later, with a single release time). How would > do you prevent clobbering metadata outside of archives? What I do is install > with -C -p (and a

Re: svn commit: r213643 - head/usr.bin/ar

2010-10-12 Thread Bruce Evans
On Sun, 10 Oct 2010, Erik Cederstrand wrote: Den 10/10/2010 kl. 00.11 skrev Bruce Evans: On Sat, 9 Oct 2010, Erik Cederstrand wrote: Thanks! Has anyone looked at the feasibility of setting AR?=ar -D in sys.mk? I will probably try this when I get my scratch box up again. I hope not. The

Re: svn commit: r213643 - head/usr.bin/ar

2010-10-10 Thread Erik Cederstrand
Den 10/10/2010 kl. 00.11 skrev Bruce Evans: > On Sat, 9 Oct 2010, Erik Cederstrand wrote: >>> >>> Thanks! Has anyone looked at the feasibility of setting AR?=ar -D in >>> sys.mk? I will probably try this when I get my scratch box up again. > > I hope not. The default behaviour should not be

Re: svn commit: r213643 - head/usr.bin/ar

2010-10-09 Thread Bruce Evans
On Sat, 9 Oct 2010, Erik Cederstrand wrote: Den 09/10/2010 kl. 07.43 skrev Ben Kaduk: On Sat, Oct 9, 2010 at 1:31 AM, Tim Kientzle wrote: Log: Add -D (deterministic) option to ar. When set, it forces all timestamps and owners to zero and modes to 0644. Useful for producing libraries that

Re: svn commit: r213643 - head/usr.bin/ar

2010-10-09 Thread Erik Cederstrand
Den 09/10/2010 kl. 07.43 skrev Ben Kaduk: > On Sat, Oct 9, 2010 at 1:31 AM, Tim Kientzle wrote: >> Author: kientzle >> Date: Sat Oct 9 05:31:08 2010 >> New Revision: 213643 >> URL: http://svn.freebsd.org/changeset/base/213643 >> >> Log: >> Add -D (deterministic) option to ar. >> When set, it

Re: svn commit: r213643 - head/usr.bin/ar

2010-10-08 Thread Ben Kaduk
On Sat, Oct 9, 2010 at 1:31 AM, Tim Kientzle wrote: > Author: kientzle > Date: Sat Oct  9 05:31:08 2010 > New Revision: 213643 > URL: http://svn.freebsd.org/changeset/base/213643 > > Log: >  Add -D (deterministic) option to ar. >  When set, it forces all timestamps and owners to zero and >  modes

svn commit: r213643 - head/usr.bin/ar

2010-10-08 Thread Tim Kientzle
Author: kientzle Date: Sat Oct 9 05:31:08 2010 New Revision: 213643 URL: http://svn.freebsd.org/changeset/base/213643 Log: Add -D (deterministic) option to ar. When set, it forces all timestamps and owners to zero and modes to 0644. Useful for producing libraries that are bitwise identic