aboutsummaryrefslogtreecommitdiff
path: root/bin/ed/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* ed: convert test suite to ATF/kyuaBaptiste Daroussin2026-02-191-0/+3
| | | | MFC After: 1 week
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Drop ed(1) "crypto"Conrad Meyer2018-11-041-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You should not be using DES. You should not have been using DES for the past 30 years. The ed DES-CBC scheme lacked several desirable properties of a sealed document system, even ignoring DES itself. In particular, it did not provide the "integrity" cryptographic property (detection of tampering), and it treated ASCII passwords as 64-bit keys (instead of using a KDF like scrypt or PBKDF2). Some general approaches ed(1) users might consider to replace the removed DES mode: 1. Full disk encryption with something like AES-XTS. This is easy to conceptualize, design, and implement, and it provides confidentiality for data at rest. Like CBC, it lacks tampering protection. Examples include GELI, LUKS, FileVault2. 2. Encrypted overlay ("stackable") filesystems (EncFS, PEFS?, CryptoFS, others). 3. Native encryption at the filesystem layer. Ext4/F2FS, ZFS, APFS, and NTFS all have some flavor of this. 4. Storing your files unencrypted. It's not like DES was doing you much good. If you have DES-CBC scrambled files produced by ed(1) prior to this change, you may decrypt them with: openssl des-cbc -d -iv 0 -K <key in hex> -in <inputfile> -out <plaintext> Reviewed by: allanjude, bapt, emaste Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D17829 Notes: svn path=/head/; revision=340132
* Revert crap accidentally committedBaptiste Daroussin2017-01-281-1/+1
| | | | Notes: svn path=/head/; revision=312927
* Revert r312923 a better approach will be taken laterBaptiste Daroussin2017-01-281-1/+1
| | | | Notes: svn path=/head/; revision=312926
* Explicitly add unmarked bin/ binaries to the runtime package.Glen Barber2016-02-091-0/+1
| | | | | | | | | | | Note: tcsh(1) has a MK_TCSH=no test, so this should be a separate package, which requires pre-install/post-install scripts, to be added later. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295439
* Convert bin/ to LIBADD, reduce overlinking allow to build all components asBaptiste Daroussin2014-11-251-2/+1
| | | | | | | static Notes: svn path=/head/; revision=275028
* When building picobsd, define WITHOUT_OPENSSL and WITHOUT_KERBEROS andWarner Losh2014-06-061-3/+1
| | | | | | | | | | | | remove the now-redundant checks for RELEASE_CRUNCH. This originally was defined for building smaller sysinstall images, but was later also used by picobsd builds for a similar purpose. Now that we've moved away from sysinstall, picobsd is the only remaining consumer of this interface. Adding these two options reduces the RELEASE_CRUNCH special cases in the tree by half. Notes: svn path=/head/; revision=267147
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* Add build option MK_ED_CRYPTO to control whether ed(1) is to have theMarcel Moolenaar2012-05-191-3/+3
| | | | | | | | | | ability to encrypt/decrypt files. Embedded systems can typically have OpenSSL, but not for ed(1) to use it. Obtained from: Juniper Networks, Inc. Notes: svn path=/head/; revision=235654
* ed(1): make WARNS=6 cleanUlrich Spörlein2010-03-041-1/+0
| | | | | | | | | | | 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)) Notes: svn path=/head/; revision=204711
* Move WARNS as ed(1) also is only WARNS = 2 clean in the !DES case.Marius Strobl2007-12-091-1/+1
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=174469
* Don't include encryption features of ed(1) when building for theKen Smith2007-07-021-0/+2
| | | | | | | | | | "rescue media" bundled with releases. Suggested by: ru Approved by: re (hrs) Notes: svn path=/head/; revision=171154
* Reimplementation of world/kernel build options. For details, see:Ruslan Ermilov2006-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) Notes: svn path=/head/; revision=156813
* NOCRYPT -> NO_CRYPTRuslan Ermilov2004-12-211-1/+1
| | | | Notes: svn path=/head/; revision=139113
* Join the 21st century: Cryptography is no longer an optional componentColin Percival2004-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 Notes: svn path=/head/; revision=133196
* Don't check for the existance of src/crypto/ for building items thatMark Murray2003-07-241-1/+1
| | | | | | | | may contain crypto. The days of ITAR paranoia are over, and the simple macro tests that remain are sufficient. Notes: svn path=/head/; revision=117978
* This code isn't WARNS=6 clean in the standard (crypto) caseRuslan Ermilov2003-07-201-0/+1
| | | | | | | | due to bugs in OpenSSL headers. I was testing in the wrong environmement: standalone build without crypto/ sources. Notes: svn path=/head/; revision=117805
* Make this code WARNS=6 clean again (after GCC 3.1.1 import).Ruslan Ermilov2003-07-201-1/+0
| | | | | | | Submitted by: Marius Strobl <marius@alchemy.franken.de> Notes: svn path=/head/; revision=117803
* Unbreak NOCRYPT buildworld.Ruslan Ermilov2003-06-291-1/+1
| | | | | | | Reviewed by: markm Notes: svn path=/head/; revision=117023
* Get this area compiling with the highest WARNS= that it works with.Mark Murray2003-06-131-0/+1
| | | | | | | | | | Obsolete WFORMAT= junk also removed where possible. OK'ed by: obrien Tested on: sparc64, alpha, i386 Notes: svn path=/head/; revision=116282
* Fix for the NO_OPENSSL case.Mark Murray2003-06-081-1/+1
| | | | | | | Reported by: Marius Strobl <marius@alchemy.franken.de> Notes: svn path=/head/; revision=116015
* Modernise. Use libcrypto for DES instead of libcipher.Mark Murray2003-06-021-2/+2
| | | | Notes: svn path=/head/; revision=115717
* Retire the useless NOSECURE knob.Dag-Erling Smørgrav2003-05-191-1/+1
| | | | | | | Approved by: re (scottl) Notes: svn path=/head/; revision=115157
* -lcipher is an installable library.Ruslan Ermilov2001-12-061-2/+2
| | | | Notes: svn path=/head/; revision=87444
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyDavid E. O'Brien2001-12-041-1/+0
| | | | | | | | | set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87323
* o Correctly define rcsid.Mike Barcroft2001-08-061-0/+1
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=81220
* Change DISTRIBUTION name to match reality.Mark Murray2000-02-291-1/+1
| | | | Notes: svn path=/head/; revision=57622
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50471
* Fixed existence test for secure sources (don't test for secure objects).Bruce Evans1998-03-061-4/+4
| | | | | | | Fixed some formatting. Notes: svn path=/head/; revision=34135
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22988
* 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
* Wrong library was picked by edAndrey A. Chernov1995-10-221-3/+3
| | | | Notes: svn path=/head/; revision=11684
* Correctly build the secure ed(1) only if secure/ exists.Mark Murray1995-10-031-2/+2
| | | | | | | Pointed out by: bde Notes: svn path=/head/; revision=11149
* Use the same make technique as passwd and xntpd for the secure ed(1). ThisMark Murray1995-10-011-2/+9
| | | | | | | | will allow the secure/bin/ed directory to be cleaned out and the bin/Makefile to be cleaned up. Notes: svn path=/head/; revision=11106
* src/bin/ed will never build DES encumbered ed again. That is the jobJordan K. Hubbard1994-12-181-7/+1
| | | | | | | for secure/bin/ed ... Notes: svn path=/head/; revision=5155
* Don't check existence of -lcrypt to decide if DES is employed,Poul-Henning Kamp1994-10-291-2/+2
| | | | | | | instead check that "NOCRYPT" isn't defined. Notes: svn path=/head/; revision=3989
* Added $Id$David Greenman1994-09-241-0/+2
| | | | Notes: svn path=/head/; revision=3044
* use umask 077 for buffer fileAndrew Moore1994-03-231-1/+1
| | | | Notes: svn path=/head/; revision=1297
* Fixed range address bug: 1,2, == 2,2 not 2,.Andrew Moore1994-02-011-7/+3
| | | | | | | | Overhauled the name space, reworked some modules and removed the obsolescent Addison-Wesley copyright. Notes: svn path=/head/; revision=1057
* added (unsiged) cast to avoid int overflowAndrew Moore1993-08-091-1/+1
| | | | | | | removed REGEX directive Notes: svn path=/head/; revision=268
* Remove -I${.CURDIR}, as we now use system's regex.hJ.T. Conklin1993-08-021-1/+1
| | | | Notes: svn path=/head/; revision=229
* Use system's posix compliant regex library (GNU regex for now).J.T. Conklin1993-08-021-3/+5
| | | | Notes: svn path=/head/; revision=227
* Libcrypt upgradeNate Williams1993-07-201-1/+8
| | | | Notes: svn path=/head/; revision=171
* POSIX ed version 0.6 by Andrew Moore (alm@netcom.com).Andrew Moore1993-06-181-0/+7
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=16