summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-03-05 09:07:23 +0000
committerwiz <wiz@pkgsrc.org>2003-03-05 09:07:23 +0000
commit1ac924873a4c87cd469f5c577c3b0f6f9a7f4f2c (patch)
tree086d46a8a24e88e66706e0f3a07c76b07ea1bae4 /security
parentcf90fb1866836ceb1c376561403081b117351323 (diff)
downloadpkgsrc-1ac924873a4c87cd469f5c577c3b0f6f9a7f4f2c.tar.gz
Use the libmcrypt package instead of the obsolete libmcrypt22 one.
Bump PKGREVISION.
Diffstat (limited to 'security')
-rw-r--r--security/php4-mcrypt/Makefile8
-rw-r--r--security/php4-mcrypt/distinfo3
-rw-r--r--security/php4-mcrypt/patches/patch-aa13
3 files changed, 19 insertions, 5 deletions
diff --git a/security/php4-mcrypt/Makefile b/security/php4-mcrypt/Makefile
index 0c0c186e8c7..3ba6ab45b23 100644
--- a/security/php4-mcrypt/Makefile
+++ b/security/php4-mcrypt/Makefile
@@ -1,17 +1,17 @@
-# $NetBSD: Makefile,v 1.8 2002/11/05 07:33:19 martti Exp $
+# $NetBSD: Makefile,v 1.9 2003/03/05 09:07:23 wiz Exp $
MODNAME= mcrypt
CATEGORIES+= security
-PKGREVISION= # empty
+PKGREVISION= 1
COMMENT= PHP4 extension for the mcrypt crypto algorithms library
USE_BUILDLINK2= YES
.include "../../www/php4/Makefile.module"
-MCRYPT_DIR= ${BUILDLINK_PREFIX.libmcrypt22}
+MCRYPT_DIR= ${BUILDLINK_PREFIX.libmcrypt}
CONFIGURE_ARGS+= --with-${MODNAME}=shared,${MCRYPT_DIR}
CONFIGURE_ENV+= MCRYPT_DIR="${MCRYPT_DIR}"
-.include "../../security/libmcrypt22/buildlink2.mk"
+.include "../../security/libmcrypt/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/php4-mcrypt/distinfo b/security/php4-mcrypt/distinfo
index eb01a9e41fc..3a01b5faffc 100644
--- a/security/php4-mcrypt/distinfo
+++ b/security/php4-mcrypt/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.5 2002/10/14 06:21:16 martti Exp $
+$NetBSD: distinfo,v 1.6 2003/03/05 09:07:23 wiz Exp $
SHA1 (php-4.2.3.tar.gz) = 3e57e8c056bd2f173bba8705293cdfa15aeb93bc
Size (php-4.2.3.tar.gz) = 3413829 bytes
+SHA1 (patch-aa) = 1aae3f30992fa85342e5939184e963a0c377024a
diff --git a/security/php4-mcrypt/patches/patch-aa b/security/php4-mcrypt/patches/patch-aa
new file mode 100644
index 00000000000..740f67d1980
--- /dev/null
+++ b/security/php4-mcrypt/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2003/03/05 09:07:24 wiz Exp $
+
+--- config.m4.orig Fri Jan 4 15:13:53 2002
++++ config.m4
+@@ -31,7 +31,7 @@ if test "$PHP_MCRYPT" != "no"; then
+ ],[
+ PHP_CHECK_LIBRARY(mcrypt, init_mcrypt,
+ [
+- AC_DEFINE(HAVE_LIBMCRYPT22,1,[ ])
++ AC_DEFINE(HAVE_LIBMCRYPT24,1,[ ])
+ ],[
+ AC_MSG_ERROR([Sorry, I was not able to diagnose which libmcrypt version you have installed.])
+ ],[