summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lisp/cl-aserve')
-rw-r--r--dev-lisp/cl-aserve/ChangeLog11
-rw-r--r--dev-lisp/cl-aserve/cl-aserve-1.2.42.20060121.ebuild36
-rw-r--r--dev-lisp/cl-aserve/files/1.2.42.20060121-clisp-gentoo.patch34
-rw-r--r--dev-lisp/cl-aserve/files/digest-cl-aserve-1.2.42.200601213
4 files changed, 82 insertions, 2 deletions
diff --git a/dev-lisp/cl-aserve/ChangeLog b/dev-lisp/cl-aserve/ChangeLog
index d3ffda1cf7ff..87f9ba88dba8 100644
--- a/dev-lisp/cl-aserve/ChangeLog
+++ b/dev-lisp/cl-aserve/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lisp/cl-aserve
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-aserve/ChangeLog,v 1.20 2005/10/27 20:34:05 mkennedy Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-aserve/ChangeLog,v 1.21 2006/05/11 21:24:51 mkennedy Exp $
+
+*cl-aserve-1.2.42.20060121 (11 May 2006)
+
+ 11 May 2006; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/1.2.42.20060121-clisp-gentoo.patch,
+ +cl-aserve-1.2.42.20060121.ebuild:
+ New upstream version.
27 Oct 2005; Matthew Kennedy <mkennedy@gentoo.org>
+files/1.2.42.20050805-clisp-gentoo.patch,
diff --git a/dev-lisp/cl-aserve/cl-aserve-1.2.42.20060121.ebuild b/dev-lisp/cl-aserve/cl-aserve-1.2.42.20060121.ebuild
new file mode 100644
index 000000000000..0ee33576434c
--- /dev/null
+++ b/dev-lisp/cl-aserve/cl-aserve-1.2.42.20060121.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-aserve/cl-aserve-1.2.42.20060121.ebuild,v 1.1 2006/05/11 21:24:51 mkennedy Exp $
+
+inherit common-lisp eutils
+
+MY_PV=${PV:0:6}
+CVS_PV=${PV:7:4}.${PV:11:2}.${PV:13}
+
+DESCRIPTION="A portable version of AllegroServe which is a web application server for Common Lisp programs."
+HOMEPAGE="http://portableaserve.sourceforge.net/
+ http://packages.debian.org/unstable/web/cl-aserve.html"
+SRC_URI="http://ftp.debian.org/debian/pool/main/c/cl-portable-aserve/cl-portable-aserve_${MY_PV}+cvs.${CVS_PV}.orig.tar.gz"
+LICENSE="LLGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+DEPEND="=dev-lisp/cl-acl-compat-${PV}*
+ =dev-lisp/cl-htmlgen-${PV}*"
+
+CLPACKAGE=aserve
+
+S=${WORKDIR}/cl-portable-aserve-${MY_PV}+cvs.${CVS_PV}.orig
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}; epatch ${FILESDIR}/${PV}-clisp-gentoo.patch
+}
+
+src_install() {
+ common-lisp-install aserve/*.cl aserve/*.asd
+ common-lisp-system-symlink
+ dodoc ChangeLog README README.cmucl INSTALL.lisp logical-hostnames.lisp
+ docinto examples
+ dodoc contrib/*.lisp
+}
diff --git a/dev-lisp/cl-aserve/files/1.2.42.20060121-clisp-gentoo.patch b/dev-lisp/cl-aserve/files/1.2.42.20060121-clisp-gentoo.patch
new file mode 100644
index 000000000000..f1d3117425fb
--- /dev/null
+++ b/dev-lisp/cl-aserve/files/1.2.42.20060121-clisp-gentoo.patch
@@ -0,0 +1,34 @@
+diff -ur aserve.orig/main.cl aserve/main.cl
+--- aserve.orig/main.cl 2005-08-26 02:47:49.000000000 -0500
++++ aserve/main.cl 2005-09-05 14:21:05.000000000 -0500
+@@ -215,7 +215,7 @@
+ )
+
+ #+(and clisp unix)
+-(defun getpid () (unix:getpid))
++(defun getpid () (sys::process-id))
+
+ #+ (and sbcl unix)
+ (progn
+@@ -1519,8 +1519,12 @@
+ (if* error-obj
+ then (brief-logmess
+ (format nil "While reading http request~:_ from ~a:~:_ ~a"
++ #+clisp
++ (acl-compat.socket:ipaddr-to-dotted
++ (acl-compat.socket::remote-host sock))
++ #-clisp
+ (socket:ipaddr-to-dotted
+- (socket::remote-host sock))
++ (socket::remote-host sock))
+ error-obj)))
+
+ ; notify the client if it's still listening
+@@ -2777,6 +2781,7 @@
+ data ; list of buffers
+ create ; create new object for the buffer
+ init ; optional - used to init buffers taken off the free list
++ #-clisp
+ (lock (acl-compat.mp:make-process-lock))
+ )
+
diff --git a/dev-lisp/cl-aserve/files/digest-cl-aserve-1.2.42.20060121 b/dev-lisp/cl-aserve/files/digest-cl-aserve-1.2.42.20060121
new file mode 100644
index 000000000000..84e19eb4ecaa
--- /dev/null
+++ b/dev-lisp/cl-aserve/files/digest-cl-aserve-1.2.42.20060121
@@ -0,0 +1,3 @@
+MD5 c89122aa1a74e4290f05a8ab7ea7d189 cl-portable-aserve_1.2.42+cvs.2006.01.21.orig.tar.gz 789975
+RMD160 26a0f45084333250cbbbec72cc08955bd412cf4a cl-portable-aserve_1.2.42+cvs.2006.01.21.orig.tar.gz 789975
+SHA256 34dc0e5d8be6d5eb491cfa5d9f26a91fabb02d5807c81dffe717caee17c2c188 cl-portable-aserve_1.2.42+cvs.2006.01.21.orig.tar.gz 789975