summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriele Giorgetti <stroke@gentoo.org>2002-06-20 23:22:38 +0000
committerGabriele Giorgetti <stroke@gentoo.org>2002-06-20 23:22:38 +0000
commita505d5c708f97edd242c0b86edbc5352bda786fb (patch)
treedc96a5fc1aed5c5e4dac1966211aef3fe685225a /dev-libs/libmcrypt
parentNow we copy pam ftp file if we use pam (diff)
downloadgentoo-2-a505d5c708f97edd242c0b86edbc5352bda786fb.tar.gz
gentoo-2-a505d5c708f97edd242c0b86edbc5352bda786fb.tar.bz2
gentoo-2-a505d5c708f97edd242c0b86edbc5352bda786fb.zip
Applied patch submitted by Jon Nelson <jnelson@gentoo.org>. Fixes bug #3940
Diffstat (limited to 'dev-libs/libmcrypt')
-rw-r--r--dev-libs/libmcrypt/ChangeLog11
-rw-r--r--dev-libs/libmcrypt/files/digest-libmcrypt-2.5.1-r11
-rw-r--r--dev-libs/libmcrypt/libmcrypt-2.5.1-r1.ebuild37
3 files changed, 47 insertions, 2 deletions
diff --git a/dev-libs/libmcrypt/ChangeLog b/dev-libs/libmcrypt/ChangeLog
index bcbe0584ce59..60b71a821adb 100644
--- a/dev-libs/libmcrypt/ChangeLog
+++ b/dev-libs/libmcrypt/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/libmcrypt
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmcrypt/ChangeLog,v 1.4 2002/06/17 15:19:58 stroke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmcrypt/ChangeLog,v 1.5 2002/06/20 23:22:34 stroke Exp $
+
+*libmcrypt-2.5.1-r1 (21 Jun 2002)
+
+ 21 Jun 2002: Gabriele Giorgetti <stroke@gentoo.org> libmcrypt-2.5.1-r1.ebuild
+
+ Applied patch submitted by Jon Nelson <jnelson@gentoo.org>. Fixes bug #3940
+
*libmcrypt-2.5.1 (17 Jun 2002)
@@ -18,7 +25,7 @@
5 May 2002: Martin Schlemmer <azarah@gentoo.org> libmcrypt-2.4.19-r1.ebuild :
- Resolve bug #2276. Add $Header: /var/cvsroot/gentoo-x86/dev-libs/libmcrypt/ChangeLog,v 1.4 2002/06/17 15:19:58 stroke Exp $.
+ Resolve bug #2276. Add $Header: /var/cvsroot/gentoo-x86/dev-libs/libmcrypt/ChangeLog,v 1.5 2002/06/20 23:22:34 stroke Exp $.
*libmcrypt-2.4.19 (1 Feb 2002)
diff --git a/dev-libs/libmcrypt/files/digest-libmcrypt-2.5.1-r1 b/dev-libs/libmcrypt/files/digest-libmcrypt-2.5.1-r1
new file mode 100644
index 000000000000..4ed9f2f21337
--- /dev/null
+++ b/dev-libs/libmcrypt/files/digest-libmcrypt-2.5.1-r1
@@ -0,0 +1 @@
+MD5 b260193a725cd77c10f8e12c4a505eac libmcrypt-2.5.1.tar.gz 503588
diff --git a/dev-libs/libmcrypt/libmcrypt-2.5.1-r1.ebuild b/dev-libs/libmcrypt/libmcrypt-2.5.1-r1.ebuild
new file mode 100644
index 000000000000..75c4685e0049
--- /dev/null
+++ b/dev-libs/libmcrypt/libmcrypt-2.5.1-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmcrypt/libmcrypt-2.5.1-r1.ebuild,v 1.1 2002/06/20 23:22:37 stroke Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="libmcrypt is a library that provides uniform interface to access several encryption algorithms."
+SRC_URI="ftp://mcrypt.hellug.gr/pub/mcrypt/libmcrypt/${P}.tar.gz"
+HOMEPAGE="http://mcrypt.hellug.gr/"
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+ # Do not compile with -mcpu=k6/5 because of a k6/5 varible
+ # in modules/algorithms/gosh.c
+ CFLAGS="${CFLAGS/mcpu=k/march=k}"
+
+ # Doesn't work with --host bug #3517
+ # econf --host=${CHOST} \
+ export WANT_AUTOMAKE_1_6=1
+ autoreconf --force --install --symlink || die
+ econf --disable-posix-threads || die
+
+ # PHP manual states to disable posix threads, no further explanation given, but i'll
+ # stick with it :) (Source: http://www.php.net/manual/en/ref.mcrypt.php)
+
+ emake || die
+}
+
+src_install () {
+
+ dodir /usr/{bin,include,lib}
+
+ einstall || die
+
+ dodoc AUTHORS COPYING INSTALL KNOW-BUGS NEWS README THANKS TODO doc/README.* doc/example.c
+}