pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/libgcrypt Add support for idea option. From B...
details: https://anonhg.NetBSD.org/pkgsrc/rev/20513c65abec
branches: trunk
changeset: 532713:20513c65abec
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Aug 29 23:11:37 2007 +0000
description:
Add support for idea option. From Blair Sadewitz in private mail, with
some cleanup.
diffstat:
security/libgcrypt/Makefile | 4 +++-
security/libgcrypt/distinfo | 5 ++++-
security/libgcrypt/options.mk | 28 ++++++++++++++++++++++++++++
3 files changed, 35 insertions(+), 2 deletions(-)
diffs (63 lines):
diff -r 07163583eb02 -r 20513c65abec security/libgcrypt/Makefile
--- a/security/libgcrypt/Makefile Wed Aug 29 23:08:22 2007 +0000
+++ b/security/libgcrypt/Makefile Wed Aug 29 23:11:37 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2007/04/28 17:46:21 tnn Exp $
+# $NetBSD: Makefile,v 1.39 2007/08/29 23:11:37 wiz Exp $
DISTNAME= libgcrypt-1.2.4
CATEGORIES= security
@@ -29,6 +29,8 @@
CONFIGURE_ARGS+= --disable-asm
.endif
+.include "options.mk"
+
.include "../../security/libgpg-error/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 07163583eb02 -r 20513c65abec security/libgcrypt/distinfo
--- a/security/libgcrypt/distinfo Wed Aug 29 23:08:22 2007 +0000
+++ b/security/libgcrypt/distinfo Wed Aug 29 23:11:37 2007 +0000
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.20 2007/02/03 00:08:51 wiz Exp $
+$NetBSD: distinfo,v 1.21 2007/08/29 23:11:38 wiz Exp $
+SHA1 (libgcrypt-1.2.4-idea.diff.bz2) = 092458ed8ed3e5fd2230c25b384f05ba99db6d1e
+RMD160 (libgcrypt-1.2.4-idea.diff.bz2) = 199cfb4224b6cebc940f4cfb876deb700e9dc044
+Size (libgcrypt-1.2.4-idea.diff.bz2) = 2924 bytes
SHA1 (libgcrypt-1.2.4.tar.gz) = d279e7a4464cccf0cc4e29c374a1e8325fc65b9a
RMD160 (libgcrypt-1.2.4.tar.gz) = 6a5ba284efe48c6963e21d8558a69096aea03d84
Size (libgcrypt-1.2.4.tar.gz) = 1013625 bytes
diff -r 07163583eb02 -r 20513c65abec security/libgcrypt/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libgcrypt/options.mk Wed Aug 29 23:11:37 2007 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: options.mk,v 1.1 2007/08/29 23:11:38 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.libgcrypt
+PKG_SUPPORTED_OPTIONS= idea
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Midea)
+# use of IDEA as crypto function
+LICENSE= idea-license
+RESTRICTED= Commercial distribution is claimed to require a license.
+NO_SRC_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_CDROM= ${RESTRICTED}
+
+PATCH_SITES= http://www.kfwebs.com/
+PATCHFILES= libgcrypt-1.2.4-idea.diff.bz2
+PATCH_DIST_STRIP= -p1
+
+SUBST_CLASSES+= idea
+SUBST_STAGE.idea= post-patch
+SUBST_FILES.idea= cipher/idea.c
+SUBST_SED.idea= -e 's,^.*SIZEOF_UNSIGNED_LONG.*$$,,'
+
+USE_TOOLS+= automake
+
+pre-configure:
+ cd ${WRKSRC} && autoreconf -i -v
+.endif
Home |
Main Index |
Thread Index |
Old Index