pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/ltm Initial import of ltm-0.30:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb3281bdc4e5
branches:  trunk
changeset: 478801:bb3281bdc4e5
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Jul 30 13:49:40 2004 +0000

description:
Initial import of ltm-0.30:

LibTomMath provides highly optimized and portable routines for a
vast majority of integer based number theoretic applications
(including public key cryptography). LibTomMath is not a cryptographic
toolkit itself but it can be used to write one [Used in LibTomCrypt
for RSA, DH and ECC public key routines].

diffstat:

 math/ltm/DESCR         |   5 +++++
 math/ltm/Makefile      |  26 ++++++++++++++++++++++++++
 math/ltm/PLIST         |   7 +++++++
 math/ltm/buildlink3.mk |  19 +++++++++++++++++++
 math/ltm/distinfo      |   4 ++++
 5 files changed, 61 insertions(+), 0 deletions(-)

diffs (81 lines):

diff -r 48e22a527611 -r bb3281bdc4e5 math/ltm/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/ltm/DESCR    Fri Jul 30 13:49:40 2004 +0000
@@ -0,0 +1,5 @@
+LibTomMath provides highly optimized and portable routines for a
+vast majority of integer based number theoretic applications
+(including public key cryptography). LibTomMath is not a cryptographic
+toolkit itself but it can be used to write one [Used in LibTomCrypt
+for RSA, DH and ECC public key routines].
diff -r 48e22a527611 -r bb3281bdc4e5 math/ltm/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/ltm/Makefile Fri Jul 30 13:49:40 2004 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/30 13:49:40 wiz Exp $
+#
+
+DISTNAME=              ltm-0.30
+CATEGORIES=            math
+MASTER_SITES=          http://math.libtomcrypt.org/files/
+EXTRACT_SUFX=          .zip
+
+MAINTAINER=            wiz%NetBSD.org@localhost
+HOMEPAGE=              http://math.libtomcrypt.org/
+COMMENT=               Number theoretic multiple-precision integer library
+
+WRKSRC=                        ${WRKDIR}/libtommath-0.30
+USE_BUILDLINK3=                yes
+MAKEFILE=              makefile
+ALL_TARGET=            default
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/tommath.h ${PREFIX}/include
+       ${INSTALL_LIB} ${WRKSRC}/libtommath.a ${PREFIX}/lib
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ltm
+       ${INSTALL_DATA} ${WRKSRC}/bn.pdf ${PREFIX}/share/doc/ltm
+       ${INSTALL_DATA} ${WRKSRC}/poster.pdf ${PREFIX}/share/doc/ltm
+       ${INSTALL_DATA} ${WRKSRC}/tommath.pdf ${PREFIX}/share/doc/ltm
+
+.include "../../mk/bsd.pkg.mk"
diff -r 48e22a527611 -r bb3281bdc4e5 math/ltm/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/ltm/PLIST    Fri Jul 30 13:49:40 2004 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/30 13:49:40 wiz Exp $
+include/tommath.h
+lib/libtommath.a
+share/doc/ltm/bn.pdf
+share/doc/ltm/poster.pdf
+share/doc/ltm/tommath.pdf
+@dirrm share/doc/ltm
diff -r 48e22a527611 -r bb3281bdc4e5 math/ltm/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/ltm/buildlink3.mk    Fri Jul 30 13:49:40 2004 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/07/30 13:49:40 wiz Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+LTM_BUILDLINK3_MK:=    ${LTM_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    ltm
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nltm}
+BUILDLINK_PACKAGES+=   ltm
+
+.if !empty(LTM_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.ltm+=        ltm>=0.30
+BUILDLINK_PKGSRCDIR.ltm?=      ../../math/ltm
+BUILDLINK_DEPMETHOD.ltm?=      build
+.endif # LTM_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 48e22a527611 -r bb3281bdc4e5 math/ltm/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/ltm/distinfo Fri Jul 30 13:49:40 2004 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/07/30 13:49:40 wiz Exp $
+
+SHA1 (ltm-0.30.zip) = 6bb2a67d7a103db2f260f73b8b36acde15d22b10
+Size (ltm-0.30.zip) = 2076036 bytes



Home | Main Index | Thread Index | Old Index