summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lisp/cl-rsm-rsa/ChangeLog9
-rw-r--r--dev-lisp/cl-rsm-rsa/cl-rsm-rsa-1.3.20040328.ebuild18
-rw-r--r--dev-lisp/cl-rsm-rsa/files/1.3.20040328-defconstant-gentoo.patch38
3 files changed, 56 insertions, 9 deletions
diff --git a/dev-lisp/cl-rsm-rsa/ChangeLog b/dev-lisp/cl-rsm-rsa/ChangeLog
index 9f2d0058935b..072860bfc776 100644
--- a/dev-lisp/cl-rsm-rsa/ChangeLog
+++ b/dev-lisp/cl-rsm-rsa/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lisp/cl-rsm-rsa
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-rsm-rsa/ChangeLog,v 1.2 2004/06/24 23:53:58 agriffis Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-rsm-rsa/ChangeLog,v 1.3 2005/02/05 21:48:47 mkennedy Exp $
+
+ 05 Feb 2005; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/1.3.20040328-defconstant-gentoo.patch,
+ cl-rsm-rsa-1.3.20040328.ebuild:
+ Include DEFCONSTANT fix.
*cl-rsm-rsa-1.3.20040328 (13 May 2004)
diff --git a/dev-lisp/cl-rsm-rsa/cl-rsm-rsa-1.3.20040328.ebuild b/dev-lisp/cl-rsm-rsa/cl-rsm-rsa-1.3.20040328.ebuild
index fbe9d3a69549..cd35f2ce4164 100644
--- a/dev-lisp/cl-rsm-rsa/cl-rsm-rsa-1.3.20040328.ebuild
+++ b/dev-lisp/cl-rsm-rsa/cl-rsm-rsa-1.3.20040328.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-rsm-rsa/cl-rsm-rsa-1.3.20040328.ebuild,v 1.2 2004/06/24 23:53:58 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-rsm-rsa/cl-rsm-rsa-1.3.20040328.ebuild,v 1.3 2005/02/05 21:48:47 mkennedy Exp $
-inherit common-lisp
+inherit common-lisp eutils
MY_PV=${PV:0:3}
CVS_PV=${PV:4:4}.${PV:8:2}.${PV:10}
@@ -14,15 +14,19 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
-DEPEND="dev-lisp/common-lisp-controller
- virtual/commonlisp
- dev-lisp/cl-rsm-mod
- dev-lisp/cl-rsm-string"
+DEPEND="dev-lisp/cl-rsm-mod
+ dev-lisp/cl-rsm-string
+ dev-lisp/cl-plus"
CLPACKAGE=rsm-rsa
S=${WORKDIR}/cl-rsm-rsa-${MY_PV}+cvs.${CVS_PV}
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-defconstant-gentoo.patch || die
+}
+
src_install() {
common-lisp-install *.lisp *.asd
common-lisp-system-symlink
diff --git a/dev-lisp/cl-rsm-rsa/files/1.3.20040328-defconstant-gentoo.patch b/dev-lisp/cl-rsm-rsa/files/1.3.20040328-defconstant-gentoo.patch
new file mode 100644
index 000000000000..3b333d6a9209
--- /dev/null
+++ b/dev-lisp/cl-rsm-rsa/files/1.3.20040328-defconstant-gentoo.patch
@@ -0,0 +1,38 @@
+diff -ur cl-rsm-rsa-1.3+cvs.2004.03.28.orig/rsa.lisp cl-rsm-rsa-1.3+cvs.2004.03.28/rsa.lisp
+--- cl-rsm-rsa-1.3+cvs.2004.03.28.orig/rsa.lisp 2005-02-05 15:14:10.000000000 -0600
++++ cl-rsm-rsa-1.3+cvs.2004.03.28/rsa.lisp 2005-02-05 15:41:27.736181281 -0600
+@@ -1,4 +1,4 @@
+-;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
++;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
+ ;;;; *************************************************************************
+ ;;;; FILE IDENTIFICATION
+ ;;;;
+@@ -22,13 +22,13 @@
+ (defconstant +alphabet-size+ 97
+ "The number of characters of the alphabet.")
+
+-(defconstant +digits+ "0123456789"
++(cl+:defconst +digits+ "0123456789"
+ "All the digits.")
+
+-(defconstant +pos-digits+ "123456789"
++(cl+:defconst +pos-digits+ "123456789"
+ "All digits except 0.")
+
+-(defconstant +odd-digits+ "13579"
++(cl+:defconst +odd-digits+ "13579"
+ "All odd digits.")
+
+ (defvar *name-key-hash* (make-hash-table :test #'equal)
+diff -ur cl-rsm-rsa-1.3+cvs.2004.03.28.orig/rsm-rsa.asd cl-rsm-rsa-1.3+cvs.2004.03.28/rsm-rsa.asd
+--- cl-rsm-rsa-1.3+cvs.2004.03.28.orig/rsm-rsa.asd 2005-02-05 15:14:10.000000000 -0600
++++ cl-rsm-rsa-1.3+cvs.2004.03.28/rsm-rsa.asd 2005-02-05 15:40:40.042354164 -0600
+@@ -25,7 +25,7 @@
+ :licence "BSD-style"
+ :description "RSA encryption utilities."
+
+- :depends-on (rsm-mod)
++ :depends-on (rsm-mod cl-plus)
+
+ :components
+ ((:file "package")