marcel
c2132f894f
Add build option MK_ED_CRYPTO to control whether ed(1) is to have the
...
ability to encrypt/decrypt files. Embedded systems can typically have
OpenSSL, but not for ed(1) to use it.
Obtained from: Juniper Networks, Inc.
2012-05-19 17:55:49 +00:00
uqs
f72efb7f74
ed(1): make WARNS=6 clean
...
Although argc and argv are never read after the longjmp is complete,
gcc is not clever enough to see that and needlessly warns about it.
So add volatile to silence the compiler.
Approved by: ed (the co-mentor, not ed(1))
2010-03-04 16:08:01 +00:00
marius
38cb2e14c1
Move WARNS as ed(1) also is only WARNS = 2 clean in the !DES case.
...
This fixes its compilation if MK_OPENSSL == no and also obsoletes
release/Makefile rev. 1.192. The latter isn't reverted though as
support for the fixit floppy and the rest of the boot floppies is
scheduled to be deorbited anyway.
Discussed with: kensmith
2007-12-09 00:14:27 +00:00
kensmith
ebb27bf310
Don't include encryption features of ed(1) when building for the
...
"rescue media" bundled with releases.
Suggested by: ru
Approved by: re (hrs)
2007-07-02 14:00:25 +00:00
ru
388e590f95
Reimplementation of world/kernel build options. For details, see:
...
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)
2006-03-17 18:54:44 +00:00
ru
f4c44b761b
NOCRYPT -> NO_CRYPT
2004-12-21 10:16:04 +00:00
cperciva
e629b37603
Join the 21st century: Cryptography is no longer an optional component
...
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
2004-08-06 07:27:08 +00:00
markm
376c7c030b
Don't check for the existance of src/crypto/ for building items that
...
may contain crypto. The days of ITAR paranoia are over, and the simple
macro tests that remain are sufficient.
2003-07-24 18:30:25 +00:00
ru
14e655afc3
This code isn't WARNS=6 clean in the standard (crypto) case
...
due to bugs in OpenSSL headers. I was testing in the wrong
environmement: standalone build without crypto/ sources.
2003-07-20 12:26:24 +00:00
ru
8ad48d0b81
Make this code WARNS=6 clean again (after GCC 3.1.1 import).
...
Submitted by: Marius Strobl <marius@alchemy.franken.de>
2003-07-20 10:24:09 +00:00
ru
46e7e66ef3
Unbreak NOCRYPT buildworld.
...
Reviewed by: markm
2003-06-29 10:03:35 +00:00
markm
aafc494847
Get this area compiling with the highest WARNS= that it works with.
...
Obsolete WFORMAT= junk also removed where possible.
OK'ed by: obrien
Tested on: sparc64, alpha, i386
2003-06-13 07:04:02 +00:00
markm
c9989cede1
Fix for the NO_OPENSSL case.
...
Reported by: Marius Strobl <marius@alchemy.franken.de>
2003-06-08 08:24:07 +00:00
markm
fb546bbcc0
Modernise. Use libcrypto for DES instead of libcipher.
2003-06-02 19:06:28 +00:00
des
e5d2d778eb
Retire the useless NOSECURE knob.
...
Approved by: re (scottl)
2003-05-19 15:52:01 +00:00
ru
f0ecccca2c
-lcipher is an installable library.
2001-12-06 10:50:23 +00:00
obrien
099f8ecbe9
Default to WARNS=2. Binary builds that cannot handle this must explicitly
...
set WARNS=0.
Reviewed by: mike
2001-12-04 01:57:47 +00:00
mike
eced21209c
o Correctly define rcsid.
...
o Add consts where appropriate.
o Rename some variables that were shadowing global declarations.
o Remove register storage-classes.
o Make errmsg a const, so we can just set error messages instead
of using sprintf/strcpy.
o Set WARNS=2
Reviewed by: bde, des
2001-08-06 22:01:31 +00:00
markm
f104341c5c
Change DISTRIBUTION name to match reality.
2000-02-29 11:39:24 +00:00
peter
66312e4a8d
$Id$ -> $FreeBSD$
1999-08-27 23:15:48 +00:00
bde
db9e91b2d3
Fixed existence test for secure sources (don't test for secure objects).
...
Fixed some formatting.
1998-03-06 16:05:18 +00:00
peter
83b3c2c161
Revert $FreeBSD$ to $Id$
1997-02-22 14:13:04 +00:00
jkh
808a36ef65
Make the long-awaited change from $Id$ to $FreeBSD$
...
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.
1997-01-14 07:20:47 +00:00
ache
cefb9133fd
Wrong library was picked by ed
1995-10-22 20:14:13 +00:00
markm
6620dab5e1
Correctly build the secure ed(1) only if secure/ exists.
...
Pointed out by: bde
1995-10-03 15:44:50 +00:00
markm
9beecc7061
Use the same make technique as passwd and xntpd for the secure ed(1). This
...
will allow the secure/bin/ed directory to be cleaned out and the bin/Makefile
to be cleaned up.
1995-10-01 14:17:29 +00:00
jkh
09b19ee9f7
src/bin/ed will never build DES encumbered ed again. That is the job
...
for secure/bin/ed ...
1994-12-18 15:15:10 +00:00
phk
351aa878aa
Don't check existence of -lcrypt to decide if DES is employed,
...
instead check that "NOCRYPT" isn't defined.
1994-10-29 10:13:34 +00:00
dg
8722740e7f
Added $Id$
1994-09-24 02:59:15 +00:00
alm
be89471c9d
use umask 077 for buffer file
1994-03-23 04:36:59 +00:00
alm
26c84d7dc7
Fixed range address bug: 1,2, == 2,2 not 2,.
...
Overhauled the name space, reworked some modules and removed the
obsolescent Addison-Wesley copyright.
1994-02-01 00:36:28 +00:00
alm
df01e6297c
added (unsiged) cast to avoid int overflow
...
removed REGEX directive
1993-08-09 21:34:11 +00:00
conklin
11eb94f52d
Remove -I${.CURDIR}, as we now use system's regex.h
1993-08-02 16:43:54 +00:00
conklin
9db585a2cc
Use system's posix compliant regex library (GNU regex for now).
1993-08-02 16:40:59 +00:00
nate
170ec22c9a
Libcrypt upgrade
1993-07-20 22:57:03 +00:00
alm
8eb89f7025
POSIX ed version 0.6 by Andrew Moore (alm@netcom.com).
1993-06-18 13:00:14 +00:00