From: <jk...@us...> - 2009-07-06 10:09:52
|
Revision: 408 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=408&view=rev Author: jkoshy Date: 2009-07-06 10:09:51 +0000 (Mon, 06 Jul 2009) Log Message: ----------- Allow ar(1) to be built with early versions of libarchive. Reviewed by: kaiwang27 Modified Paths: -------------- trunk/ar/acpyacc.y trunk/ar/ar.h trunk/ar/read.c trunk/ar/write.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2009-12-20 18:04:51
|
Revision: 603 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=603&view=rev Author: jkoshy Date: 2009-12-20 18:04:43 +0000 (Sun, 20 Dec 2009) Log Message: ----------- Port `ar(1)` to Ubuntu GNU/Linux. Notable changes: * In POSIX `basename(3)` is defined to take a `char *` argument; the code was adjusted to work in both POSIX and FreeBSD environments. * `getprogname(3)` does not exist on GLIBC systems; use `ELFTC_GETPROGNAME()` instead. * Use `snprintf(3)` instead of `strlcpy()`. * Use "_elftc.h" and `ELFTC_VCSID()` to abstract out the OS-specific ways a `.ident` section is defined during compilation. * There is no `<sys/endian.h>` header; use "_elftc.h" to bring in the equivalent `<endian.h>`. Reviewed by: kaiwang27 Ticket: #17 Modified Paths: -------------- trunk/ar/acplex.l trunk/ar/acpyacc.y trunk/ar/ar.c trunk/ar/ar.h trunk/ar/read.c trunk/ar/util.c trunk/ar/write.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2010-06-13 11:50:52
|
Revision: 995 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=995&view=rev Author: kaiwang27 Date: 2010-06-13 11:50:46 +0000 (Sun, 13 Jun 2010) Log Message: ----------- Merge r208189 for FreeBSD: Removed ar(1)'s support for compressed archives. This change removes ar(1)'s dependencies on compressor libraries -lz, -lbz2 and -llzma. Option -j and -z is now accepted but ignored. Compressed ar(1) archives are not useful without a ld(1) that can read them. Also, the current ar(1) compression scheme prevents random access of archive members and needs to be redesigned anyway. Modified Paths: -------------- trunk/ar/Makefile trunk/ar/acpyacc.y trunk/ar/ar.1 trunk/ar/ar.c trunk/ar/ar.h trunk/ar/read.c trunk/ar/write.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2010-06-14 15:52:14
|
Revision: 1000 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=1000&view=rev Author: jkoshy Date: 2010-06-14 15:52:07 +0000 (Mon, 14 Jun 2010) Log Message: ----------- Invoke lex(1) and yacc(1) using the portable rules added in changeset [999]. Reviewed by: kaiwang27 Modified Paths: -------------- trunk/ar/Makefile trunk/ar/acplex.l This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2010-06-15 02:05:44
|
Revision: 1002 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=1002&view=rev Author: jkoshy Date: 2010-06-15 02:05:38 +0000 (Tue, 15 Jun 2010) Log Message: ----------- Build ar(1) on NetBSD: * Add an explicit field in the `bsdar` structure referencing the desired output stream and have output routines use that instead of `stdout`. * Include `<unistd.h>` to bring in the prototype for `strmode(3)`. Reviewed & revised by: kaiwang27 Modified Paths: -------------- trunk/ar/acpyacc.y trunk/ar/ar.c trunk/ar/ar.h trunk/ar/read.c trunk/ar/util.c trunk/ar/write.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2010-10-10 11:43:41
|
Revision: 1212 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=1212&view=rev Author: kaiwang27 Date: 2010-10-10 11:43:35 +0000 (Sun, 10 Oct 2010) Log Message: ----------- Merged r213643 from FreeBSD: 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 identical across multiple build runs. Modified Paths: -------------- trunk/ar/ar.1 trunk/ar/ar.c trunk/ar/ar.h trunk/ar/write.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2010-11-28 07:27:45
|
Revision: 1287 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=1287&view=rev Author: jkoshy Date: 2010-11-28 07:27:39 +0000 (Sun, 28 Nov 2010) Log Message: ----------- * Document the ar(1) archive formats supported by our tools. * Include the file `ar.5` in the build. Ticket: #277 Modified Paths: -------------- trunk/ar/Makefile Added Paths: ----------- trunk/ar/ar.5 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2010-12-20 16:37:15
|
Revision: 1310 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=1310&view=rev Author: jkoshy Date: 2010-12-20 16:37:09 +0000 (Mon, 20 Dec 2010) Log Message: ----------- Add support for generating BSD style archives. Reviewed (and revised) by: kaiwang27 Ticket: #301 Modified Paths: -------------- trunk/ar/ar.1 trunk/ar/ar.c trunk/ar/ar.h trunk/ar/read.c trunk/ar/util.c trunk/ar/write.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2010-12-26 14:05:00
|
Revision: 1326 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=1326&view=rev Author: kaiwang27 Date: 2010-12-26 14:04:54 +0000 (Sun, 26 Dec 2010) Log Message: ----------- Merge r216014 from FreeBSD: Add option -D for ranlib(1). When -D is speicified, ranlib(1) will generate a deterministic archive symbol table (i.e. timestamp for the symbol table member header is set to 0). Modified Paths: -------------- trunk/ar/ar.1 trunk/ar/ar.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-08-25 12:37:17
|
Revision: 1793 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=1793&view=rev Author: jkoshy Date: 2011-08-25 12:37:07 +0000 (Thu, 25 Aug 2011) Log Message: ----------- Version identifier related changes to `ar` and `ranlib`: * Include the toolkit version identifier in the output of the `-V` option. * Fold the `ranlib_version()` helper function into `bsdar_version()` and use `ELFTC_GETPROGNAME()` to determine the current program name. * Update the `ar.1` manual page to reflect the revised meaning of the `-V` option. Reviewed by: kaiwang27 Ticket: #36 Modified Paths: -------------- trunk/ar/Makefile trunk/ar/ar.1 trunk/ar/ar.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-10-23 13:46:53
|
Revision: 2036 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=2036&view=rev Author: jkoshy Date: 2011-10-23 13:46:47 +0000 (Sun, 23 Oct 2011) Log Message: ----------- Add `$Id$` keywords. Ticket: #348 Modified Paths: -------------- trunk/ar/ar.1 trunk/ar/ar.5 trunk/ar/ar.c trunk/ar/ar.h trunk/ar/benchmark/acp.sh trunk/ar/read.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-10-31 03:23:10
|
Revision: 2094 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=2094&view=rev Author: jkoshy Date: 2011-10-31 03:23:04 +0000 (Mon, 31 Oct 2011) Log Message: ----------- Add an explicit test for the case when an archive is added to itself. Reviewed by: kaiwang27 Ticket: #353 Modified Paths: -------------- trunk/ar/ar.h trunk/ar/write.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-11-27 13:25:43
|
Revision: 2229 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=2229&view=rev Author: jkoshy Date: 2011-11-27 13:25:37 +0000 (Sun, 27 Nov 2011) Log Message: ----------- Code cleanups for '''ar''': * Remove a level of indirection in command handling. * Add assertions. * Simplify option handling code. Reviewed by: kaiwang27 Ticket: #367 Modified Paths: -------------- trunk/ar/acpyacc.y trunk/ar/ar.c trunk/ar/ar.h trunk/ar/read.c trunk/ar/write.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-11-27 16:00:12
|
Revision: 2230 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=2230&view=rev Author: jkoshy Date: 2011-11-27 16:00:06 +0000 (Sun, 27 Nov 2011) Log Message: ----------- Style fixes for '''ar''': improve the comments in the code. Ticket: #367 Modified Paths: -------------- trunk/ar/acpyacc.y trunk/ar/ar.c trunk/ar/write.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-12-29 06:26:46
|
Revision: 2367 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=2367&view=rev Author: jkoshy Date: 2011-12-29 06:26:39 +0000 (Thu, 29 Dec 2011) Log Message: ----------- Rework '''ar''' to use `elf_open()` and `elf_openmemory()` to read in objects, instead of `mmap(2)`. Reviewed by: kaiwang27 (earlier patch) Ticket: #366 Modified Paths: -------------- trunk/ar/ar.c trunk/ar/ar.h trunk/ar/write.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2012-04-24 02:33:47
|
Revision: 2496 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=2496&view=rev Author: jkoshy Date: 2012-04-24 02:33:40 +0000 (Tue, 24 Apr 2012) Log Message: ----------- Fix a file descriptor exhaustion bug. * Close file descriptors early, using `elf_cntl(...,ELF_C_FDREAD)` to ensure that the descriptors can be closed safely. * Remove code fragments made redundant by this change. Reviewed by: kaiwang27 Ticket: #388 Modified Paths: -------------- trunk/ar/ar.h trunk/ar/write.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <em...@us...> - 2015-07-27 17:11:39
|
Revision: 3230 http://sourceforge.net/p/elftoolchain/code/3230 Author: emaste Date: 2015-07-27 17:11:38 +0000 (Mon, 27 Jul 2015) Log Message: ----------- ar: add -U (unique) option to disable -D (deterministic) mode Ticket: #500 Obtained from: FreeBSD r285844 Review link: https://reviews.freebsd.org/D3175 Revision Links: -------------- http://sourceforge.net/p/elftoolchain/code/285844 Modified Paths: -------------- trunk/ar/ar.1 trunk/ar/ar.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |