History log of /freebsd-10.0-release/lib/libmd/Makefile
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 234746 28-Apr-2012 obrien

Remove the RFC 1319 MD2 Message-Digest Algorithm routines from libmd.

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


# 220496 09-Apr-2011 markm

Add SHA512 (Actually, this is Colin Percival's code for SHA256, with
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


# 218723 15-Feb-2011 dim

Fix some leftover binaries and shared libraries in the system that still
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


# 201381 02-Jan-2010 ed

Build lib/ with WARNS=6 by default.

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.


# 185568 02-Dec-2008 phk

Make the "test" target test the compiled version, instead of the
installed version of the md library.


# 143334 09-Mar-2005 cperciva

In light of the recent 2^69 operation collision-finding attack on SHA1,
add support for SHA256.

Tested on: i386, sparc64
Tested using: NIST test vectors, built-in tests
X-MFC-after: 5.4-RELEASE


# 126267 26-Feb-2004 bde

Backed out rev.1.6 and subsequent copying of it (bogus addition of
-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".


# 119071 18-Aug-2003 obrien

style.Makefile(5)


# 119017 17-Aug-2003 gordon

Stage 3 of dynamic root support. Make all the libraries needed to run
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.


# 103436 16-Sep-2002 peter

Initiate deorbit burn for the i386-only a.out related support. Moves are
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


# 94367 10-Apr-2002 ru

Don't build manuals at inappropriate time.
Collapse generation of md[245].3 manpages.


# 74870 27-Mar-2001 ru

MAN[1-9] -> MAN.


# 74385 17-Mar-2001 phk

Add a new entrypoint to the hashes in libmd:
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


# 55955 14-Jan-2000 rgrimes

Replace beforeinstall target with new variables used by .mk system.

Reviewed by: marcel, and make world


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 44437 02-Mar-1999 ache

add more MLINKS


# 44356 01-Mar-1999 wollman

Don't even attempt to build the assembly-language versions of RIPEMD160
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).


# 44301 26-Feb-1999 wollman

Add Eric Young's RIPEMD160 implementation as well, in case SHA-1
should prove weak. Also fix a few problems with the SHA-1 build.


# 44290 26-Feb-1999 wollman

Fix bug in MDx test suite.
Add Eric Young's SHA-[01] implementations.


# 41106 12-Nov-1998 jdp

Build libmd shared for a.out too. Required for some PAM modules.


# 39063 11-Sep-1998 imp

$@ -> ${.TARGET}


# 38632 29-Aug-1998 jb

BINFORMAT -> OBJFORMAT ready for E-day.


# 34685 19-Mar-1998 bde

Don't use the beforedepend target. It was a no-op here except for
helping bsd.dep.mk break `make -jN depend'.


# 29142 05-Sep-1997 peter

If not building a.out, still build a pic version of libmd. This allows
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.


# 22993 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

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.


# 17931 29-Aug-1996 peter

cmp -s || install -c ==> install -C, use a .for loop


# 14007 09-Feb-1996 phk

Don't install mdX.3, it's the template used to build the other pages.


# 14005 09-Feb-1996 phk

Bill was a little to fast here...


# 14003 09-Feb-1996 mpp

Add some missing MLINKS, correct some cross references, correct some
file locations and some minor formatting/style problems.


# 13987 08-Feb-1996 mpp

Added some missing MLINKS for section 3 man pages.
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.


# 10591 06-Sep-1995 dg

Back out that last change; we don't build this shared.


# 10590 06-Sep-1995 dg

Bumped shared lib rev to 2.1.


# 9970 06-Aug-1995 bde

Change `install' to `${INSTALL}' so that default install flags can be
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.


# 9488 12-Jul-1995 phk

Change this to do what it should have done from the start.
Add argument for buffer for output.
Fix manuals.


# 8870 30-May-1995 rgrimes

Remove trailing whitespace.


# 5820 23-Jan-1995 jkh

Eliminate a bogus tab.


# 4043 01-Nov-1994 pst

Clean up beforeinstall


# 2882 19-Sep-1994 phk

Added beforeinstall rule to install .h files. We might need some .mk
support for this kind of thing. Look at src/Makefile target "includes".


# 2848 18-Sep-1994 phk

libmd no longer built as shared-lib, only static.
Renamed the beforeinstall to test.


# 2577 08-Sep-1994 bde

Build *.3 and *.ref at build time, not at install time.


# 2487 04-Sep-1994 jkh

Make mddriver static.
Submitted by: jkh


# 2368 28-Aug-1994 bde

Use ${LDFLAGS} instead of static for compiling binaries. Neither is
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.


# 2274 25-Aug-1994 paul

Added ${.CURDIRb to vuilding of man pages so it works with obj

Submitted by: Paul Richards


# 1964 08-Aug-1994 jkh

Boy, was *this* ever bollixed!

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


# 1846 04-Aug-1994 wollman

Make obj directory work right. md?hl.c should probably be
deleted, but I'll leave that up to PHK.


# 1803 24-Jul-1994 phk

This commit was generated by cvs2svn to compensate for changes in r1802,
which included commits to RCS files with non-trunk default branches.


# 1802 24-Jul-1994 phk

Reviewed by: phk
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.