aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/gbde
Commit message (Collapse)AuthorAgeFilesLines
* gbde(8) - simplify randomisation with arc4random_bufConrad Meyer2019-02-111-12/+1
| | | | | | | | Submitted by: David CARLIER <devnexen AT gmail.com> Differential Revision: https://reviews.freebsd.org/D18678 Notes: svn path=/head/; revision=343991
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* sbin: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper2017-03-041-4/+4
| | | | | | | | | | This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314656
* gbde first appeared in FreeBSD 5.0Sevan Janiyan2016-10-021-1/+4
| | | | | | | | | | PR: 212478 Approved by: brc (mentor) MFC after: 4 days Differential Revision: https://reviews.freebsd.org/D8105 Notes: svn path=/head/; revision=306604
* MFHGlen Barber2016-03-021-2/+0
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296318
| * DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-02-241-2/+0
| | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=295989
* | Explicitly add more files to the 'runtime' package.Glen Barber2016-02-091-0/+1
|/ | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295450
* Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.cAllan Jude2015-12-272-2/+2
| | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=292782
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+25
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-271-2/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge from head@274682Simon J. Gerraty2014-11-192-7/+20
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * \ Merge head from 7/28Simon J. Gerraty2014-08-191-2/+2
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | | Merge headSimon J. Gerraty2014-04-281-0/+1
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * \ \ \ Merge head@256284Simon J. Gerraty2013-10-131-8/+8
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=256424
| * | | | | Updated dependenciesSimon J. Gerraty2013-10-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=256419
| * | | | | Merge from headSimon J. Gerraty2013-09-051-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * | | | | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | | | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | | Convert sbin/ to LIBADDBaptiste Daroussin2014-11-251-2/+1
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275030
* | | | | | Report the 1-based key numbers rather than the 0-based ones to be consistent.Poul-Henning Kamp2014-11-092-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix documentation for destroy command. Not sure how the wrong explanation happened. Spotted by: mwlucas Notes: svn path=/head/; revision=274314
* | | | | | Correct the destroy example. The -n argument is not needed (and is notJohn Baldwin2014-08-271-2/+2
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | valid). Reported by: mwlucas Reviewed by: phk MFC after: 1 week Notes: svn path=/head/; revision=270722
* | | | | use .Mt to mark up email addresses consistently (part1)Baptiste Daroussin2014-06-201-2/+2
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267667
* | | | Add a missing break in option parsing.Christian Brueffer2014-04-151-0/+1
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | CID: 1011452 Found with: Coverity Prevent(tm) MFC after: 1 week Notes: svn path=/head/; revision=264489
* | | Sweep man pages replacing ad -> ada.Sergey Kandaurov2013-10-011-8/+8
| |/ |/| | | | | | | | | | | | | | | Approved by: re (blackend) MFC after: 1 week X-MFC note: stable/9 only Notes: svn path=/head/; revision=255977
* | Add the Clang specific -Wmissing-variable-declarations to WARNS=6.Ed Schouten2013-04-191-0/+1
|/ | | | | | | | | | | | | | | | 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@ Notes: svn path=/head/; revision=249657
* Use NO_WCAST_ALIGN for sbin/gbde, this is more appropriate to fix theDimitry Andric2011-12-171-5/+3
| | | | | | | | | alignment warnings than using WARNS=3, and it also works for clang. MFC after: 1 week Notes: svn path=/head/; revision=228610
* MFtbemd:Warner Losh2010-08-231-1/+1
| | | | | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform. Notes: svn path=/head/; revision=211725
* Remove dead variable assignmentsUlrich Spörlein2010-06-111-1/+1
| | | | | | | | Found by: clang static analyzer Verified by: md5(1) Notes: svn path=/head/; revision=209052
* Bump WARNS where possible.Ulrich Spörlein2010-02-151-3/+1
| | | | | | | | Checked by: make universe Approved by: ed (co-mentor) Notes: svn path=/head/; revision=203916
* Remove temporary files when there are no longer needed.Pawel Jakub Dawidek2007-04-061-0/+2
| | | | Notes: svn path=/head/; revision=168420
* Markup fixes.Ruslan Ermilov2006-09-181-1/+1
| | | | Notes: svn path=/head/; revision=162395
* Teach gbde(8) to use a key file in addition to a passphrase. ThisColin Percival2006-02-082-25/+85
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=155453
* gbde(8) is also rejndael user.Hajimu UMEMOTO2005-03-111-1/+1
| | | | | | | Reported by: phk Notes: svn path=/head/; revision=143431
* - Fixed description of the "destroy" command options.Ruslan Ermilov2005-02-122-28/+45
| | | | | | | | - Document the "nuke" command. - Mention which commands correspond to which functions. Notes: svn path=/head/; revision=141769
* - Sort options.Pawel Jakub Dawidek2005-02-031-8/+9
| | | | | | | - Put 'break' into separate line. Notes: svn path=/head/; revision=141216
* Fix whitespace.Pawel Jakub Dawidek2005-02-031-6/+5
| | | | Notes: svn path=/head/; revision=141214
* - Remove bogus O_CREAT flag. We really don't want to create a file here.Pawel Jakub Dawidek2005-02-031-7/+7
| | | | | | | | | | | | | PR: bin/67793 Submitted by: Amir Shalem <amir@boom.org.il> - Sync usage with manual page. Approved by: phk MFC after: 1 week Notes: svn path=/head/; revision=141198
* Fix a type bug which sometimes wrote unusable lock sectors on the disk.Poul-Henning Kamp2004-09-101-2/+2
| | | | Notes: svn path=/head/; revision=135035
* Allow to setup GBDE on providers which contain '/' in their names,Pawel Jakub Dawidek2004-09-061-2/+0
| | | | | | | | | e.g. mirror/<name>, stripe/<name>. Approved by: phk Notes: svn path=/head/; revision=134841
* o Fix semantics of comparison function for qsort(3). According to qsort(3)Maxim Sobolev2004-06-251-2/+6
| | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=131101
* Fix typoChristian Brueffer2004-05-231-1/+1
| | | | | | | Submitted by: edwin Notes: svn path=/head/; revision=129603
* Assorted markup, grammar, and spelling fixes.Ruslan Ermilov2004-05-171-3/+5
| | | | Notes: svn path=/head/; revision=129327
* Fix the last and most important bit of the test case to test the samePoul-Henning Kamp2004-02-071-2/+8
| | | | | | | | | binary as the rest of it. Add MD5 check that the md(4) device gets set up correctly. Notes: svn path=/head/; revision=125578
* Don't create a template file if we're not going to let the user edit it.Dag-Erling Smørgrav2004-02-051-19/+28
| | | | Notes: svn path=/head/; revision=125477
* Fixed some non-critical memory leaks and one temporary file leakPawel Jakub Dawidek2004-02-051-1/+6
| | | | | | | | | (theoretical). Approved by: phk, scottl (mentor) Notes: svn path=/head/; revision=125473