summaryrefslogtreecommitdiffstats
path: root/lib/libmd/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Remove the RFC 1319 MD2 Message-Digest Algorithm routines from libmd.obrien2012-04-281-24/+5
| | | | | | | | | | 1. The licensing terms for the MD2 routines from RFC is not under a BSD-like license. Instead it is only granted for non-commercial Internet Privacy-Enhanced Mail. 2. MD2 is quite deprecated as it is no longer considered a cryptographically strong algorithm. Discussed with: so (cperciva), core
* Add SHA512 (Actually, this is Colin Percival's code for SHA256, withmarkm2011-04-091-46/+83
| | | | | | | | | | relevant constants changed). While I'm here clean up the tests and Makefile. PR: misc/124164 Submitted by: KIMURA Yasuhiro < yasu utahime org > MFC after: 1 month
* Fix some leftover binaries and shared libraries in the system that stilldim2011-02-151-2/+5
| | | | | | | | | | | | | | | have an executable stack, due to linking in hand-assembled .S or .s files, that have no .GNU-stack sections: RWX --- --- /lib/libcrypto.so.6 RWX --- --- /lib/libmd.so.5 RWX --- --- /lib/libz.so.6 RWX --- --- /lib/libzpool.so.2 RWX --- --- /usr/lib/liblzma.so.5 These were found using scanelf, from the sysutils/pax-utils port. Reviewed by: kib
* Build lib/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | | | | | | Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
* Make the "test" target test the compiled version, instead of thephk2008-12-021-7/+7
| | | | installed version of the md library.
* In light of the recent 2^69 operation collision-finding attack on SHA1,cperciva2005-03-091-5/+29
| | | | | | | | add support for SHA256. Tested on: i386, sparc64 Tested using: NIST test vectors, built-in tests X-MFC-after: 5.4-RELEASE
* Backed out rev.1.6 and subsequent copying of it (bogus addition ofbde2004-02-261-6/+6
| | | | | | | | | | | | | -static to CFLAGS). It just turned rev.1.5 into an obfuscated no-op. As explained in the log for rev.1.5, testing should be done in the host environment but there is a problem in cross-compilation environments. As not explained in the log for rev.1.6, there was apparently a practical problem with cross-compiling (makeworld should have set -static in LDFLAGS but apparently didn't). Cross-compilation was especially complicated because the relevant programs are test programs that were run at beforeinstall time -- dynamic libraries might or might not exist depending on the build options. The complications became moot in rev.1.8 when beforeinstall was renamed "test".
* style.Makefile(5)obrien2003-08-181-1/+1
|
* Stage 3 of dynamic root support. Make all the libraries needed to rungordon2003-08-171-0/+1
| | | | | | binaries in /bin and /sbin installed in /lib. Only the versioned files reside in /lib, the .so symlink continues to live /usr/lib so the toolchain doesn't need to be modified.
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-171-2/+0
| | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
* Don't build manuals at inappropriate time.ru2002-04-101-13/+5
| | | | Collapse generation of md[245].3 manpages.
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* Add a new entrypoint to the hashes in libmd:phk2001-03-171-5/+11
| | | | | | | | | char * FooFileChunk(const char *filename, char *buf, off_t offset, off_t length) Which only hashes part of a file. Implement FooFile() in terms of this function. Submitted by: roam
* Replace beforeinstall target with new variables used by .mk system.rgrimes2000-01-141-6/+2
| | | | Reviewed by: marcel, and make world
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* add more MLINKSache1999-03-021-1/+8
|
* Don't even attempt to build the assembly-language versions of RIPEMD160wollman1999-03-011-1/+3
| | | | | | and SHA-1 when OBJFORMAT is not ELF. Add a warning to the man page about how SHA-1 uses bswapl, which will trap on 80386es (and the kernel should, but doesn't currently, emulate).
* Add Eric Young's RIPEMD160 implementation as well, in case SHA-1wollman1999-02-261-5/+35
| | | | should prove weak. Also fix a few problems with the SHA-1 build.
* Fix bug in MDx test suite.wollman1999-02-261-9/+62
| | | | Add Eric Young's SHA-[01] implementations.
* Build libmd shared for a.out too. Required for some PAM modules.jdp1998-11-121-4/+1
|
* $@ -> ${.TARGET}imp1998-09-111-34/+34
|
* BINFORMAT -> OBJFORMAT ready for E-day.jb1998-08-301-2/+2
|
* Don't use the beforedepend target. It was a no-op here except forbde1998-03-191-3/+1
| | | | helping bsd.dep.mk break `make -jN depend'.
* If not building a.out, still build a pic version of libmd. This allowspeter1997-09-051-1/+3
| | | | | | | | things like libskey.so to be dynamically self contained. Things like md5(1) where speed is critical should still link with libmd.a, but for things like login, where it's a once-off call if skey is used, it's not worth the hassle.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* cmp -s || install -c ==> install -C, use a .for looppeter1996-08-301-10/+5
|
* Don't install mdX.3, it's the template used to build the other pages.phk1996-02-091-2/+2
|
* Bill was a little to fast here...phk1996-02-091-3/+1
|
* Add some missing MLINKS, correct some cross references, correct somempp1996-02-091-6/+2
| | | | file locations and some minor formatting/style problems.
* Added some missing MLINKS for section 3 man pages.mpp1996-02-091-0/+2
| | | | | | | Also corrected a few minor formatting errors, file location and cross references in some of the section 3 man pages. This shuts up a lot of the output from "manck" for section 3.
* Back out that last change; we don't build this shared.dg1995-09-061-2/+0
|
* Bumped shared lib rev to 2.1.dg1995-09-061-0/+2
|
* Change `install' to `${INSTALL}' so that default install flags can bebde1995-08-061-3/+3
| | | | | | | specified in the top level Makefiles. Previously I missed dozens of Makefiles that skip the install after using `cmp -s' to decide that the install isn't necessary.
* Change this to do what it should have done from the start.phk1995-07-121-7/+11
| | | | | Add argument for buffer for output. Fix manuals.
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* Eliminate a bogus tab.jkh1995-01-241-1/+1
|
* Clean up beforeinstallpst1994-11-011-6/+3
|
* Added beforeinstall rule to install .h files. We might need some .mkphk1994-09-191-0/+14
| | | | support for this kind of thing. Look at src/Makefile target "includes".
* libmd no longer built as shared-lib, only static.phk1994-09-181-2/+3
| | | | Renamed the beforeinstall to test.
* Build *.3 and *.ref at build time, not at install time.bde1994-09-081-1/+3
|
* Make mddriver static.jkh1994-09-041-3/+3
| | | | Submitted by: jkh
* Use ${LDFLAGS} instead of static for compiling binaries. Neither isbde1994-08-281-8/+8
| | | | | | | sufficient for cross compiling but it's best to test with the flags normally used. Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.
* Added ${.CURDIRb to vuilding of man pages so it works with objpaul1994-08-251-3/+3
| | | | Submitted by: Paul Richards
* Boy, was *this* ever bollixed!jkh1994-08-081-17/+17
| | | | | | | | | | | | | | 1. Copyright files looked for in the wrong place 2. cmp was looking in wrong place for test data. 3. Driver for test not linked static, thus dynamic resolution of library not working. 4. Man page installation not consistent with source. Reviewed by: Submitted by: jkh
* Make obj directory work right. md?hl.c should probably bewollman1994-08-041-0/+3
| | | | deleted, but I'll leave that up to PHK.
* Reviewed by: phkphk1994-07-241-0/+79
Imported libmd. This library contains MD2, MD4 and MD5. These three boggers pop up all over the place all of the time, so I decided we needed a library with them. In general they are used for security checks, so if you use them you want to link them static.
OpenPOWER on IntegriCloud