diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2006-09-02 18:07:25 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2006-09-02 18:07:25 +0000 |
commit | 92ed13d05c67e1dcb328d01b036ad1695ef1ab47 (patch) | |
tree | e07c1ece6baaf281fd69ca0b2d77412831c21d7a /dev-lisp | |
parent | Stable on ia64. (diff) | |
download | gentoo-2-92ed13d05c67e1dcb328d01b036ad1695ef1ab47.tar.gz gentoo-2-92ed13d05c67e1dcb328d01b036ad1695ef1ab47.tar.bz2 gentoo-2-92ed13d05c67e1dcb328d01b036ad1695ef1ab47.zip |
Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org>.
(Portage version: 2.1.1_pre5-r3)
Diffstat (limited to 'dev-lisp')
-rw-r--r-- | dev-lisp/cl-plus-ssl/ChangeLog | 11 | ||||
-rw-r--r-- | dev-lisp/cl-plus-ssl/Manifest | 20 | ||||
-rw-r--r-- | dev-lisp/cl-plus-ssl/cl-plus-ssl-20051204.ebuild | 35 | ||||
-rw-r--r-- | dev-lisp/cl-plus-ssl/files/20051204-cffi-null-pointer-gentoo.patch | 54 | ||||
-rw-r--r-- | dev-lisp/cl-plus-ssl/files/digest-cl-plus-ssl-20051204 | 3 | ||||
-rw-r--r-- | dev-lisp/cl-plus-ssl/metadata.xml | 5 |
6 files changed, 128 insertions, 0 deletions
diff --git a/dev-lisp/cl-plus-ssl/ChangeLog b/dev-lisp/cl-plus-ssl/ChangeLog new file mode 100644 index 000000000000..241877b162b8 --- /dev/null +++ b/dev-lisp/cl-plus-ssl/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-lisp/cl-plus-ssl +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-plus-ssl/ChangeLog,v 1.1 2006/09/02 18:07:25 mkennedy Exp $ + +*cl-plus-ssl-20051204 (02 Sep 2006) + + 02 Sep 2006; Matthew Kennedy <mkennedy@gentoo.org> + +files/20051204-cffi-null-pointer-gentoo.patch, +metadata.xml, + +cl-plus-ssl-20051204.ebuild: + Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org>. + diff --git a/dev-lisp/cl-plus-ssl/Manifest b/dev-lisp/cl-plus-ssl/Manifest new file mode 100644 index 000000000000..84a12f55309b --- /dev/null +++ b/dev-lisp/cl-plus-ssl/Manifest @@ -0,0 +1,20 @@ +AUX 20051204-cffi-null-pointer-gentoo.patch 2380 RMD160 044603f0bda780d68595d1644cd48d88107a9811 SHA1 53dad1cc64ed57617741ec003cba3be8e2c78127 SHA256 c04e503d79972509813ae1a0a13369d3f851422ef64fee9be73a4ccd71b644aa +MD5 e3b9d7f3a07062c1262f888b92b4f9cc files/20051204-cffi-null-pointer-gentoo.patch 2380 +RMD160 044603f0bda780d68595d1644cd48d88107a9811 files/20051204-cffi-null-pointer-gentoo.patch 2380 +SHA256 c04e503d79972509813ae1a0a13369d3f851422ef64fee9be73a4ccd71b644aa files/20051204-cffi-null-pointer-gentoo.patch 2380 +DIST cl+ssl-2005-12-04.tar.gz 20459 RMD160 0521fd55b352450614048cdf4fb0ceb955eff81a SHA1 85b9c2f5f08ef1170c1f26f394560bc77d958fa4 SHA256 a1c2c39243e8f57163d42cf7e22e2d483287890a16b7fc461897fc0d97bf64de +EBUILD cl-plus-ssl-20051204.ebuild 1028 RMD160 f753d8a892c5f694db9e9e3ca5d507527a93a632 SHA1 e011e5d09c5e1c24c87f5b5f0ac918b87673f93d SHA256 cef31db9abfd76d941f39ab0dca00b8fa9452a560acd81079a9ab591770a5b9e +MD5 31f25030ae1cc699a04accc76055b7ad cl-plus-ssl-20051204.ebuild 1028 +RMD160 f753d8a892c5f694db9e9e3ca5d507527a93a632 cl-plus-ssl-20051204.ebuild 1028 +SHA256 cef31db9abfd76d941f39ab0dca00b8fa9452a560acd81079a9ab591770a5b9e cl-plus-ssl-20051204.ebuild 1028 +MISC ChangeLog 387 RMD160 22e8bea4f1ea208db38ebcb7a4bcb855e1736391 SHA1 9cc5ae1a5468ac6535cf2c69c25c5632c4f9c652 SHA256 c5e949e09e34600dc03001b5ccb40b986c5d97a358dcefddd6def23f1e6fe98c +MD5 d9c78cadba2b158646fb6ffb57001faa ChangeLog 387 +RMD160 22e8bea4f1ea208db38ebcb7a4bcb855e1736391 ChangeLog 387 +SHA256 c5e949e09e34600dc03001b5ccb40b986c5d97a358dcefddd6def23f1e6fe98c ChangeLog 387 +MISC metadata.xml 164 RMD160 5edb79931b874dc3a72128f0742b9d4c4eb3c8c1 SHA1 2f781e1fca36d790a027079805d56cf397e6a6f8 SHA256 f8efc9385015233c71f279f85bd0a327525b7136cf8714cc04449d8bea4ce22f +MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164 +RMD160 5edb79931b874dc3a72128f0742b9d4c4eb3c8c1 metadata.xml 164 +SHA256 f8efc9385015233c71f279f85bd0a327525b7136cf8714cc04449d8bea4ce22f metadata.xml 164 +MD5 b44f00e2e36a3f74000ad0d1abe0f24e files/digest-cl-plus-ssl-20051204 250 +RMD160 27cccd889e3351b22e422410113be1f09d700433 files/digest-cl-plus-ssl-20051204 250 +SHA256 b6c46c124e58e5661b0a54ec063daa6195494e30a5798ad85f846cb3ad9ba02f files/digest-cl-plus-ssl-20051204 250 diff --git a/dev-lisp/cl-plus-ssl/cl-plus-ssl-20051204.ebuild b/dev-lisp/cl-plus-ssl/cl-plus-ssl-20051204.ebuild new file mode 100644 index 000000000000..1f9dc3289424 --- /dev/null +++ b/dev-lisp/cl-plus-ssl/cl-plus-ssl-20051204.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-plus-ssl/cl-plus-ssl-20051204.ebuild,v 1.1 2006/09/02 18:07:25 mkennedy Exp $ + +inherit common-lisp eutils multilib + +MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" +DESCRIPTION="Common Lisp interface to libcurl, a multi-protocol file transfer library" +HOMEPAGE="http://sourceforge.net/projects/cl-curl/" +SRC_URI="http://common-lisp.net/project/cl-plus-ssl/download/cl+ssl-${MY_PV}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86 ~sparc ~amd64 ~ppc" +IUSE="" +DEPEND=">=dev-lisp/cl-cffi-0.9.1 + dev-lisp/cl-trivial-gray-streams + dev-lisp/cl-flexi-streams" + +CLPACKAGE=cl+ssl + +S=${WORKDIR}/cl+ssl-${MY_PV} + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/20051204-cffi-null-pointer-gentoo.patch || die + rm ${S}/Makefile + sed -i "s,/usr/lib,/usr/$(get_libdir),g" ${S}/cl+ssl.asd +} + +src_install() { + common-lisp-install *.{lisp,asd} + common-lisp-system-symlink + dodoc LICENSE + dohtml index.{css,html} +} diff --git a/dev-lisp/cl-plus-ssl/files/20051204-cffi-null-pointer-gentoo.patch b/dev-lisp/cl-plus-ssl/files/20051204-cffi-null-pointer-gentoo.patch new file mode 100644 index 000000000000..328e2658a858 --- /dev/null +++ b/dev-lisp/cl-plus-ssl/files/20051204-cffi-null-pointer-gentoo.patch @@ -0,0 +1,54 @@ +diff -ur cl+ssl-2005-12-04.orig/bio.lisp cl+ssl-2005-12-04/bio.lisp +--- cl+ssl-2005-12-04.orig/bio.lisp 2005-11-25 14:14:04.000000000 -0600 ++++ cl+ssl-2005-12-04/bio.lisp 2006-09-02 13:01:17.000000000 -0500 +@@ -52,11 +52,11 @@ + (setf (slot 'bwrite) (cffi:callback lisp-write)) + (setf (slot 'bread) (cffi:callback lisp-read)) + (setf (slot 'bputs) (cffi:callback lisp-puts)) +- (setf (slot 'bgets) (cffi:null-ptr)) ++ (setf (slot 'bgets) (cffi:null-pointer)) + (setf (slot 'ctrl) (cffi:callback lisp-ctrl)) + (setf (slot 'create) (cffi:callback lisp-create)) + (setf (slot 'destroy) (cffi:callback lisp-destroy)) +- (setf (slot 'callback-ctrl) (cffi:null-ptr))) ++ (setf (slot 'callback-ctrl) (cffi:null-pointer))) + m)) + + (defun bio-new-lisp () +@@ -89,7 +89,7 @@ + bio buf n + (let ((i 0)) + (handler-case +- (unless (or (cffi:null-ptr-p buf) (null n)) ++ (unless (or (cffi:null-pointer-p buf) (null n)) + (clear-retry-flags bio) + (when (or *blockp* (listen *socket*)) + (setf (cffi:mem-ref buf :unsigned-char i) (read-byte *socket*)) +@@ -121,13 +121,13 @@ + (cffi:defcallback lisp-create :int ((bio :pointer)) + (setf (cffi:foreign-slot-value bio 'bio 'init) 1) + (setf (cffi:foreign-slot-value bio 'bio 'num) 0) +- (setf (cffi:foreign-slot-value bio 'bio 'ptr) (cffi:null-ptr)) ++ (setf (cffi:foreign-slot-value bio 'bio 'ptr) (cffi:null-pointer)) + (setf (cffi:foreign-slot-value bio 'bio 'flags) 0) + 1) + + (cffi:defcallback lisp-destroy :int ((bio :pointer)) + (cond +- ((cffi:null-ptr-p bio) 0) ++ ((cffi:null-pointer-p bio) 0) + (t + (setf (cffi:foreign-slot-value bio 'bio 'init) 0) + (setf (cffi:foreign-slot-value bio 'bio 'flags) 0) +diff -ur cl+ssl-2005-12-04.orig/conditions.lisp cl+ssl-2005-12-04/conditions.lisp +--- cl+ssl-2005-12-04.orig/conditions.lisp 2005-11-09 16:10:44.000000000 -0600 ++++ cl+ssl-2005-12-04/conditions.lisp 2006-09-02 12:57:35.000000000 -0500 +@@ -185,7 +185,7 @@ + (loop + for error-code = (err-get-error) + until (zerop error-code) +- do (format stream "~a~%" (err-error-string error-code (cffi:null-ptr))))) ++ do (format stream "~a~%" (err-error-string error-code (cffi:null-pointer))))) + + (defun ssl-signal-error (handle syscall error-code original-error) + (let ((queue (with-output-to-string (s) (write-ssl-error-queue s)))) diff --git a/dev-lisp/cl-plus-ssl/files/digest-cl-plus-ssl-20051204 b/dev-lisp/cl-plus-ssl/files/digest-cl-plus-ssl-20051204 new file mode 100644 index 000000000000..5d674b0cd36e --- /dev/null +++ b/dev-lisp/cl-plus-ssl/files/digest-cl-plus-ssl-20051204 @@ -0,0 +1,3 @@ +MD5 ca4dfb7c37fcbff352efaf3069ae543b cl+ssl-2005-12-04.tar.gz 20459 +RMD160 0521fd55b352450614048cdf4fb0ceb955eff81a cl+ssl-2005-12-04.tar.gz 20459 +SHA256 a1c2c39243e8f57163d42cf7e22e2d483287890a16b7fc461897fc0d97bf64de cl+ssl-2005-12-04.tar.gz 20459 diff --git a/dev-lisp/cl-plus-ssl/metadata.xml b/dev-lisp/cl-plus-ssl/metadata.xml new file mode 100644 index 000000000000..f418045b09c8 --- /dev/null +++ b/dev-lisp/cl-plus-ssl/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>common-lisp</herd> +</pkgmetadata> |