summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/cl-log4cl/ChangeLog11
-rw-r--r--dev-lisp/cl-log4cl/Manifest5
-rw-r--r--dev-lisp/cl-log4cl/cl-log4cl-20050421.ebuild36
-rw-r--r--dev-lisp/cl-log4cl/files/20050421-defconstant-gentoo.patch52
-rw-r--r--dev-lisp/cl-log4cl/files/digest-cl-log4cl-200504211
-rw-r--r--dev-lisp/cl-log4cl/metadata.xml5
6 files changed, 110 insertions, 0 deletions
diff --git a/dev-lisp/cl-log4cl/ChangeLog b/dev-lisp/cl-log4cl/ChangeLog
new file mode 100644
index 000000000000..bf3bdcbd4d2f
--- /dev/null
+++ b/dev-lisp/cl-log4cl/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-lisp/cl-log4cl
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-log4cl/ChangeLog,v 1.1 2005/04/21 22:06:11 mkennedy Exp $
+
+*cl-log4cl-20050421 (21 Apr 2005)
+
+ 21 Apr 2005; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/20050421-defconstant-gentoo.patch, +metadata.xml,
+ +cl-log4cl-20050421.ebuild:
+ Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org>
+
diff --git a/dev-lisp/cl-log4cl/Manifest b/dev-lisp/cl-log4cl/Manifest
new file mode 100644
index 000000000000..2da51ccf7c23
--- /dev/null
+++ b/dev-lisp/cl-log4cl/Manifest
@@ -0,0 +1,5 @@
+MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164
+MD5 4d4f0dfbd5306a602c9d39471c3d17ca cl-log4cl-20050421.ebuild 1077
+MD5 1f261c1f4d5d7d3dd92d578b96c6a6ae ChangeLog 465
+MD5 2df735ce4c34aa76425fe4d842c2cb92 files/digest-cl-log4cl-20050421 66
+MD5 c9f5fbbe88bcdedd4657ca934db9f58c files/20050421-defconstant-gentoo.patch 1810
diff --git a/dev-lisp/cl-log4cl/cl-log4cl-20050421.ebuild b/dev-lisp/cl-log4cl/cl-log4cl-20050421.ebuild
new file mode 100644
index 000000000000..73a98702434c
--- /dev/null
+++ b/dev-lisp/cl-log4cl/cl-log4cl-20050421.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-log4cl/cl-log4cl-20050421.ebuild,v 1.1 2005/04/21 22:06:11 mkennedy Exp $
+
+inherit common-lisp eutils
+
+DESCRIPTION="Log4cl is a log library for Common Lisp based on Log4J"
+HOMEPAGE="http://common-lisp.net/project/log4cl/index.html"
+SRC_URI="mirror://gentoo/log4cl-${PV}.tar.gz"
+LICENSE="LLGPL-2.1"
+SLOT="0"
+KEYWORDS="x86 ~amd64 ~ppc"
+IUSE=""
+DEPEND="dev-lisp/cl-plus"
+
+# Can use dev-lisp/cl-sql too, but this not a hard dependency we should look
+# after. Users should instead (asdf:oos 'asdf:load-op :log4cl) and then, if
+# necessary, (asdf:oos 'asdf:load-op :log4cl.db) etc. :log4cl.syslog requires
+# dev-lisp/cl-uffi.
+
+# TODO locate and add UNETWORK library for :log4cl.mail
+
+S=${WORKDIR}/log4cl
+
+CLPACKAGE=log4cl
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-defconstant-gentoo.patch || die
+}
+
+src_install() {
+ common-lisp-install log4cl.asd *.lisp
+ common-lisp-system-symlink
+ dodoc NEWS README log4cl.cfg
+}
diff --git a/dev-lisp/cl-log4cl/files/20050421-defconstant-gentoo.patch b/dev-lisp/cl-log4cl/files/20050421-defconstant-gentoo.patch
new file mode 100644
index 000000000000..1438369e7a6d
--- /dev/null
+++ b/dev-lisp/cl-log4cl/files/20050421-defconstant-gentoo.patch
@@ -0,0 +1,52 @@
+Files log4cl.orig/appender.fasl and log4cl/appender.fasl differ
+Common subdirectories: log4cl.orig/debian and log4cl/debian
+Files log4cl.orig/layout.fasl and log4cl/layout.fasl differ
+diff -u log4cl.orig/layout.lisp log4cl/layout.lisp
+--- log4cl.orig/layout.lisp 2004-03-01 12:35:38.000000000 -0600
++++ log4cl/layout.lisp 2005-04-20 21:48:29.000000000 -0500
+@@ -132,7 +132,7 @@
+ (line-number :initarg :line :initform nil)))
+
+
+-(defconstant +colors+
++(cl+:defconst +colors+
+ '(("debug" . "#339933")
+ ("info" . "#000000")
+ ("warning" . "#993300")
+Only in log4cl: layout.lisp~
+diff -u log4cl.orig/log4cl.asd log4cl/log4cl.asd
+--- log4cl.orig/log4cl.asd 2004-04-24 04:26:55.000000000 -0500
++++ log4cl/log4cl.asd 2005-04-21 18:01:38.000000000 -0500
+@@ -19,7 +19,7 @@
+
+
+ (defpackage #:log4cl-system
+- (:use #:cl
++ (:use #:cl
+ #:asdf))
+
+ (in-package #:log4cl-system)
+@@ -43,7 +43,8 @@
+ (:file "appender" :depends-on ("package" "tools"))
+ (:file "layout" :depends-on ("package" "tools"))
+ (:file "package-logger" :depends-on ("logger"))
+- (:file "tools" :depends-on ("package"))))
++ (:file "tools" :depends-on ("package")))
++ :depends-on (:cl-plus))
+
+ (defsystem :log4cl.syslog
+ :components ((:file "appender-syslog" :depends-on ("cl-syslog"))
+@@ -52,7 +53,7 @@
+
+ (defsystem :log4cl.db
+ :components ((:file "appender-db"))
+- :depends-on (:log4cl))
++ :depends-on (:log4cl :clsql))
+
+ (defsystem :log4cl.mail
+ :components ((:file "appender-mail"))
+Only in log4cl: log4cl.asd~
+Files log4cl.orig/logger.fasl and log4cl/logger.fasl differ
+Files log4cl.orig/package-logger.fasl and log4cl/package-logger.fasl differ
+Files log4cl.orig/package.fasl and log4cl/package.fasl differ
+Files log4cl.orig/tools.fasl and log4cl/tools.fasl differ
diff --git a/dev-lisp/cl-log4cl/files/digest-cl-log4cl-20050421 b/dev-lisp/cl-log4cl/files/digest-cl-log4cl-20050421
new file mode 100644
index 000000000000..3592731eb49e
--- /dev/null
+++ b/dev-lisp/cl-log4cl/files/digest-cl-log4cl-20050421
@@ -0,0 +1 @@
+MD5 1511ebdea3e601e9006aff8524fcfe85 log4cl-20050421.tar.gz 13600
diff --git a/dev-lisp/cl-log4cl/metadata.xml b/dev-lisp/cl-log4cl/metadata.xml
new file mode 100644
index 000000000000..f418045b09c8
--- /dev/null
+++ b/dev-lisp/cl-log4cl/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>