File libmcrypt-2.5.8.diff of Package libmcrypt
Index: doc/mcrypt.3
===================================================================
--- doc/mcrypt.3.orig
+++ doc/mcrypt.3
@@ -501,7 +501,14 @@ with dynamic module loading support. Thi
internally in libltdl. Except for the dynamic module loading libmcrypt is
thread safe.
+.B const char *mcrypt_check_version(const char *min_version);
+
+Check that the the version of the library is at minimum the requested one
+and return the version string; return NULL if the condition is not
+satisfied. If a NULL is passed to this function, no check is done,
+but the version string is simply returned.
.LP
+.SH EXAMPLES
Some example programs follow here. Compile as "cc prog.c -lmcrypt", or
"cc prog.c -lmcrypt -lltdl" depending on your installation.
Libltdl is used for opening dynamic libraries (modules).
Index: configure.in
===================================================================
--- configure.in.orig
+++ configure.in
@@ -80,7 +80,7 @@ opt_enable_ltdl=$enableval)
AC_MSG_RESULT($opt_enable_ltdl)
MCRYPT_MODE_MODULES="cbc cfb ctr ecb ncfb nofb ofb stream"
-MCRYPT_ALGORITHM_MODULES="threeway cast-128 gost rijndael-128 safer-sk64 twofish \
+MCRYPT_ALGORITHM_MODULES="idea mars rc6 skipjack threeway cast-128 gost rijndael-128 safer-sk64 twofish \
arcfour cast-256 loki97 rijndael-192 saferplus wake \
blowfish-compat des rijndael-256 serpent xtea \
blowfish enigma rc2 safer-sk128 tripledes"