Enji Cooper
22289a8c3d
sbin: normalize paths using SRCTOP-relative paths or :H when possible
...
This simplifies make logic/output
MFC after: 1 month
Sponsored by: Dell EMC Isilon
2017-03-04 11:33:01 +00:00
Sevan Janiyan
25d3bf2d77
gbde first appeared in FreeBSD 5.0
...
PR: 212478
Approved by: brc (mentor)
MFC after: 4 days
Differential Revision: https://reviews.freebsd.org/D8105
2016-10-02 23:48:33 +00:00
Glen Barber
52259a98ad
MFH
...
Sponsored by: The FreeBSD Foundation
2016-03-02 16:14:46 +00:00
Bryan Drewery
bd18fd57db
DIRDEPS_BUILD: Regenerate without local dependencies.
...
These are no longer needed after the recent 'beforebuild: depend' changes
and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports
skipping 'make depend'.
Sponsored by: EMC / Isilon Storage Division
2016-02-24 17:20:11 +00:00
Glen Barber
406d87b1c3
Explicitly add more files to the 'runtime' package.
...
Sponsored by: The FreeBSD Foundation
2016-02-09 20:19:31 +00:00
Allan Jude
7a3f5d11fb
Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c
...
cperciva's libmd implementation is 5-30% faster
The same was done for SHA256 previously in r263218
cperciva's implementation was lacking SHA-384 which I implemented, validated against OpenSSL and the NIST documentation
Extend sbin/md5 to create sha384(1)
Chase dependancies on sys/crypto/sha2/sha2.{c,h} and replace them with sha512{c.c,.h}
Reviewed by: cperciva, des, delphij
Approved by: secteam, bapt (mentor)
MFC after: 2 weeks
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D3929
2015-12-27 17:33:59 +00:00
Simon J. Gerraty
ccfb965433
Add META_MODE support.
...
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
2015-06-13 19:20:56 +00:00
Simon J. Gerraty
44d314f704
dirdeps.mk now sets DEP_RELDIR
2015-06-08 23:35:17 +00:00
Simon J. Gerraty
98e0ffaefb
Merge sync of head
2015-05-27 01:19:58 +00:00
Baptiste Daroussin
13eb765f2d
Convert sbin/ to LIBADD
...
Reduce overlinking
2014-11-25 11:23:12 +00:00
Simon J. Gerraty
9268022b74
Merge from head@274682
2014-11-19 01:07:58 +00:00
Poul-Henning Kamp
89cbe4e288
Report the 1-based key numbers rather than the 0-based ones to be consistent.
...
Fix documentation for destroy command. Not sure how the wrong explanation
happened.
Spotted by: mwlucas
2014-11-09 15:53:29 +00:00
John Baldwin
3419bf0107
Correct the destroy example. The -n argument is not needed (and is not
...
valid).
Reported by: mwlucas
Reviewed by: phk
MFC after: 1 week
2014-08-27 17:44:59 +00:00
Simon J. Gerraty
ee7b0571c2
Merge head from 7/28
2014-08-19 06:50:54 +00:00
Baptiste Daroussin
bd0891ceb3
use .Mt to mark up email addresses consistently (part1)
...
PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>
2014-06-20 09:40:43 +00:00
Simon J. Gerraty
fae50821ae
Updated dependencies
2014-05-16 14:09:51 +00:00
Simon J. Gerraty
76b28ad6ab
Updated dependencies
2014-05-10 05:16:28 +00:00
Simon J. Gerraty
3b8f084595
Merge head
2014-04-28 07:50:45 +00:00
Christian Brueffer
c31159ae1b
Add a missing break in option parsing.
...
CID: 1011452
Found with: Coverity Prevent(tm)
MFC after: 1 week
2014-04-15 07:37:56 +00:00
Simon J. Gerraty
3caf0790a8
Merge head@256284
2013-10-13 02:35:19 +00:00
Simon J. Gerraty
34b33809b7
Updated dependencies
2013-10-13 00:24:00 +00:00
Sergey Kandaurov
05d98029e9
Sweep man pages replacing ad -> ada.
...
Approved by: re (blackend)
MFC after: 1 week
X-MFC note: stable/9 only
2013-10-01 18:41:53 +00:00
Simon J. Gerraty
d1d0158641
Merge from head
2013-09-05 20:18:59 +00:00
Ed Schouten
7e659f9491
Add the Clang specific -Wmissing-variable-declarations to WARNS=6.
...
This compiler flag enforces that that people either mark variables
static or use an external declarations for the variable, similar to how
-Wmissing-prototypes works for functions.
Due to the fact that Yacc/Lex generate code that cannot trivially be
changed to not warn because of this (lots of yy* variables), add a
NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this
specific compiler warning.
Announced on: toolchain@
2013-04-19 19:45:00 +00:00
Simon J. Gerraty
7cf3a1c6b2
Updated dependencies
2013-03-11 17:21:52 +00:00
Simon J. Gerraty
f5f7c05209
Updated dependencies
2013-02-16 01:23:54 +00:00
Marcel Moolenaar
7750ad47a9
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
...
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
Dimitry Andric
c0a8e7ad42
Use NO_WCAST_ALIGN for sbin/gbde, this is more appropriate to fix the
...
alignment warnings than using WARNS=3, and it also works for clang.
MFC after: 1 week
2011-12-17 00:14:40 +00:00
Warner Losh
25faff346c
MFtbemd:
...
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want
to test of all the CPUs of a given family conform.
2010-08-23 22:24:11 +00:00
Ulrich Spörlein
3ba5db25bb
Remove dead variable assignments
...
Found by: clang static analyzer
Verified by: md5(1)
2010-06-11 17:03:04 +00:00
Ulrich Spörlein
2b6974bf61
Bump WARNS where possible.
...
Checked by: make universe
Approved by: ed (co-mentor)
2010-02-15 14:07:40 +00:00
Pawel Jakub Dawidek
04fa63f05e
Remove temporary files when there are no longer needed.
2007-04-06 11:16:11 +00:00
Ruslan Ermilov
8266d47670
Markup fixes.
2006-09-18 11:55:10 +00:00
Colin Percival
6d118bffe7
Teach gbde(8) to use a key file in addition to a passphrase. This
...
makes it practical to use GBDE for "something you have plus something
you know" security together with a USB flash drive.
Reviewed by: phk
MFC after: 7 days
2006-02-08 06:52:15 +00:00
Hajimu UMEMOTO
ff079c93f7
gbde(8) is also rejndael user.
...
Reported by: phk
2005-03-11 22:07:04 +00:00
Ruslan Ermilov
31c3179731
- Fixed description of the "destroy" command options.
...
- Document the "nuke" command.
- Mention which commands correspond to which functions.
2005-02-12 21:47:05 +00:00
Pawel Jakub Dawidek
c652fd8574
- Sort options.
...
- Put 'break' into separate line.
2005-02-03 21:34:39 +00:00
Pawel Jakub Dawidek
44160c5299
Fix whitespace.
2005-02-03 21:25:35 +00:00
Pawel Jakub Dawidek
45b727476b
- Remove bogus O_CREAT flag. We really don't want to create a file here.
...
PR: bin/67793
Submitted by: Amir Shalem <amir@boom.org.il>
- Sync usage with manual page.
Approved by: phk
MFC after: 1 week
2005-02-03 13:12:17 +00:00
Poul-Henning Kamp
b7cc6a2200
Fix a type bug which sometimes wrote unusable lock sectors on the disk.
2004-09-10 12:16:54 +00:00
Pawel Jakub Dawidek
6eafaa600e
Allow to setup GBDE on providers which contain '/' in their names,
...
e.g. mirror/<name>, stripe/<name>.
Approved by: phk
2004-09-06 13:42:09 +00:00
Maxim Sobolev
6122c0cd5e
o Fix semantics of comparison function for qsort(3). According to qsort(3)
...
manpage:
The comparison function must return an integer less than, equal to, or
greater than zero if the first argument is considered to be respectively
less than, equal to, or greater than the second.
Therefore, simply returning "arg1 > arg2" is incorrect. Actually it works
but for the number of items to be sorted less than 7 due to special case
handling in qsort(3);
o add missing '\n' to one of usage() calls.
Approved by: phk
2004-06-25 13:04:49 +00:00
Christian Brueffer
9a6a20eeff
Fix typo
...
Submitted by: edwin
2004-05-23 08:40:52 +00:00
Ruslan Ermilov
d04b5dfe6c
Assorted markup, grammar, and spelling fixes.
2004-05-17 08:35:43 +00:00
Poul-Henning Kamp
97d2ca7830
Fix the last and most important bit of the test case to test the same
...
binary as the rest of it.
Add MD5 check that the md(4) device gets set up correctly.
2004-02-07 22:58:39 +00:00
Dag-Erling Smørgrav
fef1e56d1e
Don't create a template file if we're not going to let the user edit it.
2004-02-05 10:57:29 +00:00
Pawel Jakub Dawidek
0cd7b33bf3
Fixed some non-critical memory leaks and one temporary file leak
...
(theoretical).
Approved by: phk, scottl (mentor)
2004-02-05 08:39:38 +00:00
Dag-Erling Smørgrav
3678ea800f
Mechanical whitespace cleanup. Also, note that previous commit was
...
Sponsored by: Teleplan AS
2004-02-03 11:12:29 +00:00
Dag-Erling Smørgrav
efdda83ea8
Remove newline characters from error strings.
2004-02-03 11:10:34 +00:00
Poul-Henning Kamp
1510356035
Clarify that the encrypted device is called foo.bde and mention that
...
unmounting it before detaching GBDE is a good idea.
Insisted on by: Flemming Jacobsen <fj@batmule.dk>
Approveed by: re@
2003-11-27 20:54:51 +00:00