aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ar/ar.1
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* ar: accept but ignore 'T' optionEd Maste2022-01-031-3/+2
| | | | | | | | | | | | | | | | | | | In previous versions of BSD ar -T was an alias for -f -- use only the first 15 characters of archive member names. In GNU ar and LLVM ar -T creates a thin archive. The -f / old BSD ar -T functionality is not particularly useful, and ignoring -T still results in a usable and compatible (but not thin) archive. An exp-run found a few ports invoking ar -T but they all expect thin archives. In addition, -T will be used to specify thin archives after a migration to LLVM-ar. PR: 260523 [exp-run] Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33553
* ar: deprecate -T optionEd Maste2021-12-291-5/+9
| | | | | | | | | | | | | | | | | | Other ar implementations (GNU, LLVM) use -T to mean thin archive rather than use only the first fifteen characters of the archive member name. We support both -T and -f for this, with -f documented as an alias of -T. An exp-run showed that the ports invoking `ar -T` expect thin archives, not truncated names. Switch -f to be the documented flag for this behaviour, and emit a warning when -T is used. The warning will be changed to an error in the future (in main), once ports no longer use -T. PR: 260523 [exp-run] MFC after: 1 week Sponsored by: The FreeBSD Foundation
* ar: enable reproducible output by default when invoked as 'ar -s'Ed Maste2016-06-161-2/+7
| | | | | | | | | | | | | | | | ar output is already deterministic by default for ar -q and ar -r, and when invoked as ranlib. Make ar -s equivalent to ranlib and enable deterministic output by default in that case too. PR: 210330 Reviewed by: bdrewery Approved by: re (gjb) MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6871 Notes: svn path=/head/; revision=301974
* ar: enable deterministic mode by defaultEd Maste2015-07-291-0/+1
| | | | | | | | | | | | | | | Ar cannot handle UIDs with more than 6 digits, and storing the mtime, uid, gid and mode provides little to negative value anyhow for ar's uses. Turn on deterministic (-D) mode by default; it can be disabled by the user with -U. PR: 196929 Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3190 Notes: svn path=/head/; revision=286010
* ar: add -U (unique) option to disable -D (deterministic) modeEd Maste2015-07-241-1/+22
| | | | | | | | | | | | | | | | This is required in order for us to support deterministic mode by default. If multiple -D or -U options are specified on the command line, the final one takes precedence. GNU ar also uses -U for this. An equivalent change will be applied to ELF Tool Chain's version of ar. PR: 196929 MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3175 Notes: svn path=/head/; revision=285844
* use .Mt to mark up email addresses consistently (part3)Baptiste Daroussin2014-06-231-1/+1
| | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de> Notes: svn path=/head/; revision=267773
* Whitespace cleanup:Glen Barber2011-12-231-3/+3
| | | | | | | | | | | | ar/ar.1: - Remove trailing whitespace Reported by: igor MFC after: 1 week X-MFC-With: r228823 Notes: svn path=/head/; revision=228824
* Formatting fixes:Glen Barber2011-12-231-2/+2
| | | | | | | | | | | | | | | | | | | hexdump/od.1: - Enclose tabbed content in quotes [1] ar/ar.1: - Enclose tabbed content in quotes [1] rctl/rctl.8: - Enclose tabbed content in quotes [1] - Start a sentence on a newline [2] Reported by: manlint [1], igor [2] MFC after: 1 week X-MFC-after: 9.0-RELEASE Notes: svn path=/head/; revision=228823
* Document the syntax accepted by the `-M` option.Kai Wang2010-12-261-0/+129
| | | | | | | Obtained from: elftoolchain Notes: svn path=/head/; revision=216719
* Improve the description of the `-q` option.Kai Wang2010-12-261-13/+5
| | | | | | | Obtained from: elftoolchain Notes: svn path=/head/; revision=216717
* * Add mention of the `-f`, `-q`, `-S`, and `-V` options in the synopsisKai Wang2010-12-261-31/+75
| | | | | | | | | | | | | | section. * Document the `-l`, `-M` and `-S` options. * Improve the text describing the behavior of the `-r` option. * Start a section on standard compliance. * Indicate in the synopsis that the `-S` and `-s` options are mutually exclusive. Obtained from: elftoolchain Notes: svn path=/head/; revision=216716
* Add option -D for ranlib(1). When -D is speicified, ranlib(1) will generateKai Wang2010-11-281-0/+1
| | | | | | | | | | a deterministic archive symbol table (i.e. timestamp for the symbol table member header is set to 0). Submitted by: Erik Cederstrand Notes: svn path=/head/; revision=216014
* Add -D (deterministic) option to ar.Tim Kientzle2010-10-091-0/+11
| | | | | | | | | | | | 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. Submitted by: Erik Cederstrand Reviewed by: Kai Wang Notes: svn path=/head/; revision=213643
* Fix a couple of typos.Ulrich Spörlein2010-07-301-1/+1
| | | | | | | | | PR: docs/148891 Submitted by: olgeni MFC after: 1 week Notes: svn path=/head/; revision=210641
* Removed ar(1)'s support for compressed archives. This change removesKai Wang2010-05-171-5/+3
| | | | | | | | | | | | | | | | | ar(1)'s dependencies on compressor libraries -lz, -lbz2 and -llzma and fixes building HEAD on some versions of FreeBSD[78]. 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. Submitted by: kientzle (original patch) Reviewed by: delphij Discussed on: -current mailing list Notes: svn path=/head/; revision=208189
* mdoc: order prologue macros consistently by Dd/Dt/OsUlrich Spörlein2010-04-141-1/+1
| | | | | | | | | | | Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors) Notes: svn path=/head/; revision=206622
* GNU ar did NOT implment option -q as a synonym of -r as the manualKai Wang2008-03-111-2/+2
| | | | | | | | | | | | | | | | | | | | page stated, thus BSD ar(1) option -q, which was implemented based on the GNU ar manual page, turns out to be incompatible with GNU ar -q. This change will make BSD ar(1) -q a *REAL* GNU ar -q: 1. It will update symbol table. (same as unfixed version) 2. It will NOT compare new members spcified in the command line args with existing members, instead, append them directly. Reported by: Johannes 5 Joemann <joemann@beefree.free.de> Reported by: Timothy Bourke <timbob@bigpond.com> Tested by: Johannes 5 Joemann <joemann@beefree.free.de> Reviewed by: jkoshy Approved by: jkoshy (mentor) Notes: svn path=/head/; revision=177064
* Fix typo.Christian Brueffer2008-02-231-1/+1
| | | | Notes: svn path=/head/; revision=176477
* Fix essential bugs and warnings.Ruslan Ermilov2008-02-221-5/+4
| | | | Notes: svn path=/head/; revision=176459
* Import ar(1) front-end. (aka 'BSD' ar)Kai Wang2008-02-211-0/+407
| | | | | | | | | | | | | | | | | | | | | Reviewed by: jkoshy Approved by: jkoshy (mentor) Tested by: erwin (ports build test on pointyhat) Sponsored by: Google Summer of Code 2007 Reviewed by (earlier version): Jaakko Heinonen <jh[AT]saunalahti.fi> Tested by (earlier version): Steve Kargl <sgk[AT]troutmask.apl.washington.edu> Tested by (earlier version): Martin Voros <martin_voros[AT]yahoo.com> Tested by (earlier version): swell.k[AT]gmail.com Tested by (earlier version): joel Tested by (earlier version): Alexey Shuvaev <shuvaev[AT]physik.uni-wuerzburg.de> Tested by (earlier version): Arjan van Leeuwen <avleeuwen[AT]gmail.com> Thanks to gabor@ for building ports for it. Thanks to erwin@ and kris@ for scheduling the ports build test on pointyhat. And thanks to many others for their feedback. Notes: svn path=/head/; revision=176434
* Finish the deorbital burn of the i386-only a.out toolchain.David E. O'Brien2003-06-271-318/+0
| | | | Notes: svn path=/head/; revision=116903
* Add .Pp before enumerating optionsPhilippe Charnier2002-04-191-0/+1
| | | | Notes: svn path=/head/; revision=95078
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-151-4/+2
| | | | Notes: svn path=/head/; revision=81687
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.Ruslan Ermilov2001-02-131-9/+9
| | | | Notes: svn path=/head/; revision=72432
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-3/+3
| | | | Notes: svn path=/head/; revision=71895
* Prepare for mdoc(7)NG.Ruslan Ermilov2001-01-161-1/+1
| | | | Notes: svn path=/head/; revision=71102
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-191-4/+4
| | | | Notes: svn path=/head/; revision=70197
* mdoc(7) police: added missing .Os call.Ruslan Ermilov2000-12-141-0/+1
| | | | Notes: svn path=/head/; revision=70022
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-20/+20
| | | | Notes: svn path=/head/; revision=68963
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Convert man page to mdoc format. Cosmetic in usage string.Philippe Charnier1997-06-231-116/+170
| | | | Notes: svn path=/head/; revision=26834
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=23012
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* [HISTORY] command appeared in Version 1 AT&T UNIXWolfram Schneider1996-08-291-0/+7
| | | | | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41 Notes: svn path=/head/; revision=17891
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+257
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590