summaryrefslogtreecommitdiffstats
path: root/usr.sbin/crunch
Commit message (Collapse)AuthorAgeFilesLines
* Retire kernfs (userland part).des2000-12-281-1/+4
|
* Clean up the source directory finding code, and in the process fix ajoe2000-12-241-16/+24
| | | | problem that occurs when a program's source isn't found.
* Use one of the TMPDIR env variable or _PATH_TMP instead of hardcodingjoe2000-12-171-1/+3
| | | | | | /tmp. Submitted by: jedgar
* Avoid potential problems with the existance of a shadow obj directoryjoe2000-12-171-1/+1
| | | | confusing the 'make -f tmpfile' in the tmpfile, by creating it in /tmp.
* Clarify an ambiguous 'else' introduced by a recent commit.joe2000-12-171-2/+2
|
* o check strdup() return valuesjoe2000-12-171-23/+30
| | | | | | | | | | o strcpy() -> strlcpy() o sprintf() -> snprintf() o mktemp() -> mkstemp() o use err() instead of errx() in out_of_memory() function since errno will probably be set Submitted by: jedgar
* Hopefully the last patch in a series to try and teach crunchgen tojoe2000-12-171-38/+62
| | | | | handle MAKEOBJDIRPREFIX better, in conjunction with the -o and -p flags.
* mdoc(7) police: fixed errors from the previous revision, keepru2000-12-011-17/+21
| | | | the synopsis in a nice form, and a few more cosmetic changes.
* Make crunchgen aware of obj directories. Formerly it hadluigi2000-11-302-31/+59
| | | | | | | | | /usr/obj hardwired in the code, now you can override it with a command line option or MAKEOBJDIRPREFIX env. variable. The above is useful to build picobsd-specific objects in some other place than /usr/obj While at it, fix documentation and change a few sprintf -> snprintf.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-202-4/+4
|
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-171-1/+1
|
* mdoc(7)ify.ru2000-11-161-114/+181
|
* Add and document a new configuration command: buildopts.joe2000-11-152-3/+28
| | | | | This allows global make options to be specified within the crunch configuration file.
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-102-29/+19
|
* Define a new special type: buildopts.joe2000-11-102-2/+30
| | | | | | | | | | | | This allows build flags to be specified for a particular program from within the crunch.conf file, eg: prog ppp special ppp buildopts -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM This adds '-DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM' to make targets related to ppp when determining which object files to build and when calculating dependencies and building the targets.
* Since the 'when built' phrase is talking about the 'source file' westeve2000-11-091-1/+1
| | | | should be using the word 'creates' instead.
* Cause prog_make targets to include a ``make obj'' rule if the -o flagjoe2000-11-032-6/+13
| | | | | is given to crunchgen. [ This fixes the previous commit which silently added ``make obj'' ]
* A missing feature of crunchgen was the ability to supply make options onjoe2000-11-031-3/+7
| | | | | | | | | | | | | | | | | | a per program basis. This has now been added in the following way: * Harness the make header file that's specified with the -h argument: - Allow the user to define $(OPTS) to specify make arguments that should be added to every program target. - Allow the user to define $(prog_OPTS) to specify make arguments that should just be added to the build of 'prog'. * Make sure that $(OPTS) and $(prog_OPTS) are defined when looking through each program's make file to determine which object files to crunch. * When building the crunchgen makefile add $(OPTS) and $(prog_OPTS) to the depend and build rules for $(prog_OBJS).
* Add the description of some hard-learnt restrictions and a workaround.grog2000-08-281-1/+22
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Add a few features to crunchgen to simplify the use of existingluigi2000-02-052-9/+60
| | | | | | | | | | | | | | | | | | | | | makefiles (for use with picobsd among other things). See the manpage for details, but: * -h makefile-include-name can be used to specify a file to include in the makefiles generated by crunchgen . This is a good place to specify make variables such as RELEASE_CRUNCH, NOTHIS, NOTHAT and the like. * special progname objvar variable_name in the crunch config file declares a different variable than OBJS to be used to get the list of objects. * crunchgen now looks first for Makefile.<progname> in the current directory to override the makefile in <progname> source dir. This in many cases avoids the need to patch the original makefile if the above two features are still not enough. Approved-By: jordan
* $Id$ -> $FreeBSD$peter1999-08-284-4/+4
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-122-0/+2
| | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Temporary use different stubs for the ECOFF case; I'm trying to get thisjkh1998-10-021-1/+1
| | | | to build on the alpha, first off.
* Update the man page to match the rest of crunchide.jhay1998-09-161-4/+18
|
* Teach crunch about an elf/a.out world.jkh1998-09-146-140/+795
| | | | Submitted by: jhay
* Assume ELF-style symbol names now.jkh1998-09-141-1/+1
| | | | Submitted by: jhay
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-232-6/+6
|
* Use /bin/pwd instead of a potentially shell builtin that doessos1998-01-221-3/+1
| | | | | | not return the "real" path. This makes it possible to have the .o files put in the /usr/obj hierachy instead of in the /usr/src one.
* Remove the necessity of -ldes and -lalias etc from release/Makefile.brian1998-01-171-1/+8
| | | | | | | | | | When building a release, RELEASE_CRUNCH is defined for a `make' of the objects required by the crunch of each program. The object list is still obtained in the same way, so you must make sure that all objects are built (empty if necessary) by this make. ppp/Makefile provides an example. Reviewed by: jkh
* Add a new special called `keep' to the list of special options. Itjoerg1997-10-053-4/+33
| | | | | | | provides for a means to specify an argument for crunchide's -k option. (This is required by ntpdate.) Submitted by: peter@rhiannon.clari.net.au (Peter Hawkins)
* Use err(3).charnier1997-09-154-74/+53
|
* spelling corrections.wosch1997-09-131-2/+2
| | | | | PR: docs/4450 Submitted by: josh@quick.net
* fix misspellingjmg1997-08-301-1/+1
| | | | | | Submitted-by: Josh Gilliam Closes PR:4423
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-1/+1
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-222-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* Initialize memory obtained by malloc().joerg1996-11-161-2/+8
| | | | Detected by: phkmalloc -AJ
* Enhance crunchgens understanding of our new /usr/obj/`pwd` strategy.phk1996-08-041-6/+15
|
* Make crunchgen match the new obj/ convention.phk1996-07-151-1/+1
|
* Removed -g from CFLAGS.bde1996-06-231-1/+1
|
* This commit was generated by cvs2svn to compensate for changes in r13122,peter1995-12-301-107/+0
| | | | which included commits to RCS files with non-trunk default branches.
* Remove trailing whitespace.rgrimes1995-05-303-31/+31
|
* Added a crunched_here(char *path) function so crunched programs can find outphk1995-05-211-0/+15
| | | | who they share bed and breakfast with.
* Need /usr/src/sbin/i386 in srcdirs to get fdisk.rgrimes1995-03-101-1/+2
|
* Add a '-l' option, which lists the argv[0]'s we will respond to. This willphk1995-02-252-3/+16
| | | | simplify the src/release Makefile quite a bit.
* Fix:jkh1994-12-311-0/+1
| | | | | | | | | | | | | >Number: 86 >Category: misc >Synopsis: fixit.conf missing srcdir >Confidential: no >Severity: non-critical >Priority: low >Responsible: core (FreeBSD core team) From John Capo. Submitted by: jcapo
* Add the automatically generated crunched_skel.c file to the CLEANFILES.ats1994-11-281-0/+1
|
* From: Michael Reifenberger <root@rz-wb.fh-sw.de>jkh1994-10-261-4/+7
| | | | | | | | | | Could you please commit this patch to usr.sbin/crunch/examples ? This should make fixit.conf compilable again. VI needs some hacks. [Note: I'm not sure how relevant this example is anymore, but then it's only an example] Submitted by: mr
* -lcompat removed from libsache1994-10-041-2/+2
|
OpenPOWER on IntegriCloud