summaryrefslogtreecommitdiffstats
path: root/usr.bin/newkey
Commit message (Collapse)AuthorAgeFilesLines
* MFC r305077:dim2016-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squelch clang 3.9.0 warnings about BASE (which is 32768) being converted to -32768 when it is used as an argument to mp_itom(), in both libtelnet and newkey. This code has been wrong since r26238 (!), so after almost 20 years it is rather useless to try to correct it. MFC r305086: Fix warnings in telnet about invalid constant conversions, e.g.: contrib/telnet/telnet/commands.c:2914:13: error: implicit conversion from 'int' to 'char' changes value from 137 to -119 [-Werror,-Wconstant-conversion] *lsrp++ = IPOPT_SSRR; ~ ^~~~~~~~~~ /usr/include/netinet/ip.h:152:21: note: expanded from macro 'IPOPT_SSRR' #define IPOPT_SSRR 137 /* strict source route */ ^~~ contrib/telnet/telnet/commands.c:2916:13: error: implicit conversion from 'int' to 'char' changes value from 131 to -125 [-Werror,-Wconstant-conversion] *lsrp++ = IPOPT_LSRR; ~ ^~~~~~~~~~ /usr/include/netinet/ip.h:148:21: note: expanded from macro 'IPOPT_LSRR' #define IPOPT_LSRR 131 /* loose source route */ ^~~ Use unsigned char buffers instead.
* Add META_MODE support.sjg2015-06-131-0/+23
|\ | | | | | | | | | | | | | | | | | | | | 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
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-2/+1
| |\ | |/ |/|
| * Updated dependenciessjg2014-05-161-0/+1
| |
| * Merge from headsjg2014-05-081-1/+1
| |\
| * | Updated dependenciessjg2013-03-111-0/+1
| | |
| * | Updated dependenciessjg2013-02-161-2/+0
| | |
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+24
| | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | Convert to usr.bin/ to LIBADDbapt2014-11-251-2/+1
| |/ |/| | | | | Reduce overlinking
* | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
|/ | | | from the latter.
* mdoc cleanupuqs2010-06-021-4/+4
| | | | | | | Garbage collect unused sections, macros and arguments. Fix prologue and remove empty lines. Found by: mdocml
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-2/+0
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Revert most part of 200420 as requested, as more review and polish isdelphij2009-12-131-0/+1
| | | | needed.
* Remove unneeded header includes from usr.bin/ except contributed code.delphij2009-12-111-1/+0
| | | | Tested with: make universe
* Fix compilation of newkey(8) with WITHOUT_NIS=yes.ed2009-02-282-9/+5
| | | | | | | | Increasing WARNS seems to have broken compilation of this utility. Instead of lowering WARNS, just fix to code to compile properly. Submitted by: <bf2006a yahoo com> Tested by: bms
* Rename all symbols in libmp(3) to mp_*, just like Solaris.ed2009-02-262-20/+22
| | | | | | | | | | | | The function pow() in libmp(3) clashes with pow(3) in libm. We could rename this single function, but we can just take the same approach as the Solaris folks did, which is to prefix all function names with mp_. libmp(3) isn't really popular nowadays. I suspect not a single application in ports depends on it. There's still a chance, so I've increased the SHLIB_MAJOR and __FreeBSD_version. Reviewed by: deischen, rdivacky
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-1/+3
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* Sync program's usage() with manpage's SYNOPSIS.ru2005-05-211-2/+2
|
* Avoid usage of implicit int.stefanf2005-02-071-1/+2
|
* Include <stdlib.h> for exit().stefanf2005-02-071-0/+1
|
* Add a prototype for localupdate().stefanf2005-02-071-0/+1
|
* Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.bz2004-11-131-0/+2
| | | | | | | | | | | If turned on no NIS support and related programs will be built. Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il> PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks
* Join the 21st century: Cryptography is no longer an optional componentcperciva2004-08-061-1/+0
| | | | | | | | | | of releases. The -DNOCRYPT build option still exists for anyone who really wants to build non-cryptographic binaries, but the "crypto" release distribution is now part of "base", and anyone installing from a release will get cryptographic binaries. Approved by: re (scottl), markm Discussed on: freebsd-current, in late April 2004
* Put chkey(1), newkey(8), and keyserv(8) into the crypto distribution.ru2004-01-181-0/+1
|
* The .Nm utilitycharnier2002-07-141-4/+6
|
* ANSIfy, VCS inclusions and some very minor style.markm2002-04-283-55/+36
|
* Minor reorder for style.markm2002-04-281-1/+1
|
* remove __Pimp2002-03-224-11/+11
|
* Remove leaf node WARNS?=2 (that mainly I added). This shouldmarkm2002-02-081-1/+0
| | | | help the GCC3 transition and CURRENT in general.
* Turn on WARNS=2. this compiles cleanly.markm2001-12-021-0/+1
|
* Style. Use __P() macro (Yuk!).markm2001-12-021-5/+5
|
* WARNS=2 fixup.markm2001-12-025-34/+81
| | | | Turn on YP (NIS) while I'm about it.
* Fixed bitrot in DPADD in previous commit.bde2001-07-301-7/+5
| | | | Fixed some style bugs (mainly disorder).
* Enable the new libmp in the build, and disable libgmp and itsdd2001-07-291-1/+1
| | | | henchmen.
* Remove whitespace at EOL.dd2001-07-151-6/+6
|
* Fix the type of the NULL arg to execl()brian2001-07-091-1/+1
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* MAN[1-9] -> MAN.ru2001-03-271-2/+1
|
* Switch from using rand() or random() to a stronger, more appropriate PRNGkris2001-03-051-10/+1
| | | | | | (random() or arc4random()) Reviewed by: bde
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* $Id$ -> $FreeBSD$peter1999-08-285-5/+5
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | 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
* Calls one or more of malloc(), warn(), err(), syslog(), execlp() ordes1998-10-131-5/+1
| | | | | | | | | | | execvp() in the child branch of a vfork(). Changed to use fork() instead. Some of these (mv, find, apply, xargs) might benefit greatly from being rewritten to use vfork() properly. PR: Loosely related to bin/8252 Approved by: jkh and bde
* Replace incomplete malloc prototype with #include <stdlib.h>jb1998-02-201-2/+2
| | | | to get the proper one.
* Fixed DPADD.bde1997-12-161-2/+3
|
* Add usage(), use err(3).charnier1997-07-294-72/+76
| | | | Rewrote man page in mdoc format.
* This commit was generated by cvs2svn to compensate for changes in r26238,wpaul1997-05-285-0/+796
which included commits to RCS files with non-trunk default branches.
OpenPOWER on IntegriCloud