aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/makewhatis
Commit message (Collapse)AuthorAgeFilesLines
* Remove the WITHOUT_MANDOCDB optionBaptiste Daroussin2017-03-116-1351/+0
| | | | | | | | mandoc database is activated since FreeBSD 11.0, let's remove the previous database format for FreeBSD 12.0 Notes: svn path=/head/; revision=315057
* Fix installation of makewhatis.local(1) since r283777.Bryan Drewery2016-02-181-5/+0
| | | | | | | | | | | The wrapper script has moved to libexec/makewhatis.local since it is not directlry related to the older makewhatis(1) utility that has been replaced by the usr.bin/mandoc version. Reported by: vangyzen Notes: svn path=/head/; revision=295733
* Use LIBEXECDIR for /usr/libexec.Bryan Drewery2015-11-261-1/+1
| | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291348
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-271-2/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync from headSimon J. Gerraty2012-11-041-1/+1
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+20
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | Convert to usr.bin/ to LIBADDBaptiste Daroussin2014-11-251-2/+1
| | | | | | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275042
* | | I had some unrelated (wrong) changes to makewhatis. Undo them.Eitan Adler2014-02-272-253/+202
| | | | | | | | | | | | Notes: svn path=/head/; revision=262540
* | | linprocfs: add support for /sys/kernel/random/uuidEitan Adler2014-02-272-202/+253
| |/ |/| | | | | | | | | | | | | | | PR: kern/186187 Submitted by: Fernando <fernando.apesteguia@gmail.com> MFC After: 2 weeks Notes: svn path=/head/; revision=262539
* | Currently the code uses gzFile * for a zlib file descriptor, whichXin LI2012-06-201-1/+1
|/ | | | | | | | | | | | | | | | | | | is not correct. The code works by accident because gzFile is currently defined as void *, and internally it would be casted from or to its real type. A newer version of zlib will instead define it as a pointer to a specific type pointer (namely, struct gzFile_s *). This therefore would cause stricter checks and compiler would catch this type mismatch. This change does not cause any changes to the resulting binary, as validated with md5(1). MFC after: 3 days Notes: svn path=/head/; revision=237348
* Modernize scandir(3) and alphasort(3) interfaces according to the IEEEKonstantin Belousov2010-01-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Std 1003.1-2008. Both Linux and Solaris conforms to the new definitions, so we better follow too (older glibc used old BSDish alphasort prototype and corresponding type of the comparision function for scandir). While there, change the definitions of the functions to ANSI C and fix several style issues nearby. Remove requirement for "sys/types.h" include for functions from manpage. POSIX also requires that alphasort(3) sorts as if strcoll(3) was used, but leave the strcmp(3) call in the function for now. Adapt in-tree callers of scandir(3) to new declaration. The fact that select_sections() from catman(1) could modify supplied struct dirent is a bug. PR: standards/142255 MFC after: 2 weeks Notes: svn path=/head/; revision=201512
* %.s expects an int as the length specifier, so cast properly.Xin LI2009-06-231-1/+2
| | | | Notes: svn path=/head/; revision=194798
* Teach makewhatis.c to treat .SS with the same severity as .SH.Edwin Groothuis2007-10-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | At least one port (net-mgmt/net-snmp) creates man-pages which are in the format: .SH NAME The Net-SNMP agent \- The snmp agent responds to SNMP queries from management stations. .PP .SS "Modules" At this moment, makewhatis determines the end of the .SH NAME section as where it finds .SH again, but there is none here, is it "terminated" by the .SS. PR: bin/116706 Submitted by: edwin@ Approved by: re (Ken Smith), grog (mentor) MFC after: 1 week Notes: svn path=/head/; revision=172752
* Prepare for MACHINE and hw.machine switching to "pc98" on FreeBSD/pc98.Ruslan Ermilov2005-12-052-4/+22
| | | | | | | Reviewed by: nyan Notes: svn path=/head/; revision=153115
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+2
| | | | Notes: svn path=/head/; revision=131491
* Removed trailing whitespace.Ruslan Ermilov2004-07-021-4/+4
| | | | Notes: svn path=/head/; revision=131472
* Install /usr/libexec/makewhatis.local and /usr/libexec/catman.local.Ruslan Ermilov2002-11-181-3/+8
| | | | | | | | | This has slipped through the cracks of The Great Perl Script Rewrite. Repocopied by: joe Notes: svn path=/head/; revision=107053
* ANSIify function definitions.David Malone2002-09-041-6/+4
| | | | | | | | | | | | Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5 Notes: svn path=/head/; revision=102944
* The .Nm utilityPhilippe Charnier2002-07-141-3/+5
| | | | Notes: svn path=/head/; revision=99970
* Remove a debug output statement.Robert Drehmel2002-07-071-4/+0
| | | | Notes: svn path=/head/; revision=99533
* - Fix the code in sbuf_need() to double the allocation size untilRobert Drehmel2002-07-071-9/+17
| | | | | | | | | | | | the new content size fits into the sbuf, instead of assuming that allocating twice the old size is enough. - Use memmove(3) rather than strcpy(3) to copy overlapping strings. PR: bin/39930 Notes: svn path=/head/; revision=99532
* Use size_t or ino_t instead of int, and remove a few warnings.Giorgos Keramidas2002-06-071-4/+4
| | | | | | | | | The makewhatis utility is now ok with WARNS=3. Reviewed by: bde Notes: svn path=/head/; revision=97976
* Unroff all forms of \f and \*, and the simplest form of \s.Ruslan Ermilov2002-05-221-8/+14
| | | | | | | | Submitted by: fenner, ru Reviewed by: ru, fenner Notes: svn path=/head/; revision=97102
* Style.Ruslan Ermilov2002-05-201-3/+2
| | | | Notes: svn path=/head/; revision=97002
* Fix markup.Ruslan Ermilov2002-05-181-11/+19
| | | | | | | | Give Wolfram a credit for writing the original version in Perl like in killall(1). Notes: svn path=/head/; revision=96863
* More whitespace fixes.Ruslan Ermilov2002-05-181-1/+3
| | | | Notes: svn path=/head/; revision=96861
* Fixed spacing.Ruslan Ermilov2002-05-181-0/+1
| | | | Notes: svn path=/head/; revision=96859
* Look into machine specific subdirs.Ruslan Ermilov2002-05-182-1/+13
| | | | Notes: svn path=/head/; revision=96858
* Add C rewrites of catman and makewhatis. These aren't quite asMark Murray2002-05-183-0/+1141
| | | | | | | | | | the submitter supplied them, as I did some WARNS=n fixups (mostly const-ification). Submitted by: John Rochester <john@jrochester.org> Notes: svn path=/head/; revision=96845
* mdoc(7) police: removed punctuation after the last SEE ALSO xref.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79557
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79528
* mdoc(7) police: removed history info from the .Os call.Ruslan Ermilov2000-12-141-1/+1
| | | | Notes: svn path=/head/; revision=70013
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-2/+2
| | | | Notes: svn path=/head/; revision=68938
* $Id$ -> $FreeBSD$Peter Wemm1999-08-272-2/+2
| | | | Notes: svn path=/head/; revision=50472
* Reflect the change from the /etc/weekly to /etc/periodic/weekly/*.Nik Clayton1999-07-302-12/+22
| | | | | | | | PR: docs/12734 Submitted by: Alexey M. Zelkin <phantom@scorpion.crimea.ua> Notes: svn path=/head/; revision=49297
* Fix a minor nit in the .Dd macro invocation so thatSteve Price1997-06-231-2/+2
| | | | | | | the revision date is displayed correctly. Notes: svn path=/head/; revision=26827
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-222-2/+2
| | | | Notes: svn path=/head/; revision=22996
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-142-2/+2
| | | | | | | | | | | 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
* Minor formatting fixes.Mike Pritchard1996-12-091-12/+5
| | | | | | | Submitted by: Sandro Sigala <sandro@cat.local.net> as part of PR # 2134. Notes: svn path=/head/; revision=20241
* sync copyright with /usr/share/examples/etc/bsd-style-copyrightWolfram Schneider1996-08-272-4/+49
| | | | Notes: svn path=/head/; revision=17849
* New option -append: teach makewhatis to only add records, insteadWolfram Schneider1996-05-222-1/+56
| | | | | | | | | | | of clobbering the entire database. sort options in alphabetic order. install manpage makewhatis.local.8 Notes: svn path=/head/; revision=15857
* Bugfix: nested *?+ in regexp at /usr/bin/makewhatis line 286Wolfram Schneider1996-05-121-0/+35
Submitted by: invalid opcode <coredump@nervosa.com> makewhatis.local - start makewhatis(1) only for file systems physically mounted on the system Running makewhatis from /etc/weekly for rw nfs-mounted /usr may kill your NFS server -- all clients start makewhatis at the same time! So use this wrapper instead calling makewhatis directly. Pointed out by: Bruce Notes: svn path=/head/; revision=15755