summaryrefslogtreecommitdiff
path: root/dev-lisp/common-lisp-controller
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-lisp/common-lisp-controller
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-lisp/common-lisp-controller')
-rw-r--r--dev-lisp/common-lisp-controller/Manifest10
-rw-r--r--dev-lisp/common-lisp-controller/common-lisp-controller-4.27.ebuild92
-rw-r--r--dev-lisp/common-lisp-controller/common-lisp-controller-5.13-r1.ebuild96
-rw-r--r--dev-lisp/common-lisp-controller/files/4.27/lisp-config.lisp3
-rw-r--r--dev-lisp/common-lisp-controller/files/5.13/lisp-config.lisp3
-rw-r--r--dev-lisp/common-lisp-controller/files/README.Gentoo27
-rw-r--r--dev-lisp/common-lisp-controller/metadata.xml14
7 files changed, 245 insertions, 0 deletions
diff --git a/dev-lisp/common-lisp-controller/Manifest b/dev-lisp/common-lisp-controller/Manifest
new file mode 100644
index 000000000000..ff9d68c94b25
--- /dev/null
+++ b/dev-lisp/common-lisp-controller/Manifest
@@ -0,0 +1,10 @@
+AUX 4.27/lisp-config.lisp 32 SHA256 11e20d2fb562054a919113705e682e86c4967b8e33aaaa78d4b6ef39ee4ab527 SHA512 a5847d7d2d8fc385dea530d212de9f87db5a87774be57aa2f9fa0e32a2b53c77dd069afca1baba5b94265a64fb1b53163ad51653175a39d2546cdc1ba666b883 WHIRLPOOL c04cb5d72a0c6c59b4348b0c1a6a35c359d61e83596f93ab5d3fc29b7ce6819643a1e7df65ee661767dffba61f14e971e6084d34a9640e7ef0e9fafe84ee421b
+AUX 5.13/lisp-config.lisp 32 SHA256 11e20d2fb562054a919113705e682e86c4967b8e33aaaa78d4b6ef39ee4ab527 SHA512 a5847d7d2d8fc385dea530d212de9f87db5a87774be57aa2f9fa0e32a2b53c77dd069afca1baba5b94265a64fb1b53163ad51653175a39d2546cdc1ba666b883 WHIRLPOOL c04cb5d72a0c6c59b4348b0c1a6a35c359d61e83596f93ab5d3fc29b7ce6819643a1e7df65ee661767dffba61f14e971e6084d34a9640e7ef0e9fafe84ee421b
+AUX README.Gentoo 989 SHA256 603a4f938f88be364775a5ae9b72dac3d291a5077038a69d29a64b0b2d08c802 SHA512 f3ba1358242e6308f1df25d0480c0524e0dda9b154c329fb897c7b03c39048800f8d4b4e5692a1aececc0508414bfa999cccae0066468d11fac9e8a6a1d7bfbe WHIRLPOOL d1562bfb23e1fc2de89329201dd3afa5436d1570bfad5d9f6df58c1b3bfc093217509e32a8de16507a362f1bb7391b73338ee274b42d9460f57dda5414ab5124
+DIST common-lisp-controller_4.27.tar.gz 27636 SHA256 e4576c018e136ae34dfaf163cd20c3fc000b4a7ac716a53bde6268700a515082 SHA512 afba310bf525fb40f98a6bd67747647d105080667a3ebef883e19ffc60186bdfc7b937c2efe7535e3daa08503d8079d69453264fe8124f1b9a4a55e6303fe1b3 WHIRLPOOL d30ec6261cadd4235bebbc9d87493cb7a8ffb76027f3913f07af2ee0a047881b253e6816ad1309ff407462d37e4b804ba5470cee1888339e10668b18d0a79204
+DIST common-lisp-controller_5.13.tar.gz 30846 SHA256 ec2e9c6fa566b2d5f18d2823e48e54834392ca8c76e677047f03d5d940e40249 SHA512 11a6e2b7a3ca6846c8b88ee3808ae4e01c269dce8eb4293e57bf061a6c74786fe8bdff0f11c3db5c8ac60e3ba7a1e74222f9ab1418da114b6ece2fa6f23464e2 WHIRLPOOL 2211168a7cf0198cec689caf3fd07dc2a1d536bbb1005287abae9e8d1e135754a38980aef220696e175805aa64a8d5dd8b8a874c7bd9b76029bac62cf175357e
+EBUILD common-lisp-controller-4.27.ebuild 2639 SHA256 62f2435514bf8481f91097463c9ad025cc243e88cc3917591bce80f3046c57fb SHA512 ed86fe9ae84f2c2b10d416826d95b40d009c9968a3b394b59e75b5e23df1d2316d8406de9fc3b5ba3da6fdc4ac35e34a59d587d32c69e8de1238fdbda105370b WHIRLPOOL cf0d0dbab39ef51cde6d2532a3e1c0297bb854883466ba8f0fdb0dc1a9f9d4e749ffa46301dd6cfdcf9cfa1efa62b0671aaffca47f861a59dea039a41f5de629
+EBUILD common-lisp-controller-5.13-r1.ebuild 2742 SHA256 13145b5bbacbef84c5944290b41ce1cccbd6eaa1b2c715eed071db56cc0e3394 SHA512 7eec94f1f8f286f6dd5fa22953f069cb841c11e52efd6a0454db72635d87d7ea2a8bc41cd93b0081db7b3a0147cf766f4421fc0e7436d479c7af02c17991df6e WHIRLPOOL ce821f71d511093d524d77bbda8a6e514af52cd77ee509709846b02447a6826d60fc226b1c1f6a75dd74ddcb10a849602efd8a073fd0744bcd00b53a91bbc9c3
+MISC ChangeLog 2642 SHA256 57f91935cf055868a1cbc5dcb01f699f49519b784f3e0450b8f3fdbd390e5dd8 SHA512 a86d68817b9fd2608caeda90fd8c8b6942d2d90b1c005873017730015ada711bf1fb84ba8ffebf78f28ff654589ef7d7a45db8ef7978b7cc6a8da7d4b061e549 WHIRLPOOL 1566176734083f3553fc99289c94bc1927ebacff5581ca997edb1f39a9957c7193593bc1b3a9d4b727a279a307d46142d74826bb18f4fcc3ce99800eed2239fb
+MISC ChangeLog-2015 7617 SHA256 63fe56ac2ac7f16df25c5896b091d8ea4d264c7af8a9d7024931a15f9d87f212 SHA512 e9de4369446176bfeea41d7fe8666b245d79da360da6d8643b2fb9c0edeca43a4c9ba311a006ee035b3cf56b42f5a7a256b33da20427253827d70eaebea5149f WHIRLPOOL e5a08db2826730ec48c1eaa7ec3ea39d2c0ee6632a7dc54275cae4e976dae5daca7eb32d0657e8ce9d6b8c5879a629873fc18b89b2ec4dbee5ff66da40a89fba
+MISC metadata.xml 608 SHA256 b531ad58eadf3259b8426361591d009a5b547cff0e24ef566603f8d04f2a5c4c SHA512 1bd22fdf164cb86fbb6ef0da125f30f5a6092f844bc4ae527451b1614d1ed5a1d8e018beabba50fb49ec30aace5172426246428477062a599963264d548f53a0 WHIRLPOOL 01750ec256d7e0fbec301b9d735fe04c51b0a6e9ff6f65cb0230bdd06da85b071bb70ff961c3ca4dfb486d78002dca75b4c1c8ebbed45d3e5e327b1abd75ec65
diff --git a/dev-lisp/common-lisp-controller/common-lisp-controller-4.27.ebuild b/dev-lisp/common-lisp-controller/common-lisp-controller-4.27.ebuild
new file mode 100644
index 000000000000..1a7c3508f040
--- /dev/null
+++ b/dev-lisp/common-lisp-controller/common-lisp-controller-4.27.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+DESCRIPTION="Common Lisp Controller"
+HOMEPAGE="http://packages.debian.org/unstable/devel/common-lisp-controller"
+SRC_URI="mirror://gentoo/common-lisp-controller_${PV}.tar.gz"
+
+LICENSE="LLGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ~mips ppc ppc64 sparc x86"
+IUSE=""
+
+DEPEND="|| ( >=sys-apps/coreutils-8.15 app-misc/realpath )
+ >=dev-lisp/asdf-1.84
+ dev-lang/perl"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}/man"
+ ln -s clc-{,un}register-user-package.1
+ for i in unregister-common-lisp-implementation {,un}register-common-lisp-source; do
+ ln -s register-common-lisp-implementation.8 ${i}.8
+ done
+}
+
+src_install() {
+ dobin clc-register-user-package
+ dobin clc-unregister-user-package
+ dosbin register-common-lisp-implementation
+ dosbin register-common-lisp-source
+ dosbin unregister-common-lisp-implementation
+ dosbin unregister-common-lisp-source
+ insinto /usr/share/common-lisp/source/common-lisp-controller
+ doins common-lisp-controller.lisp
+ doins post-sysdef-install.lisp
+ doman man/*.[18]
+ insinto /etc
+ doins "${FILESDIR}/${PV}/lisp-config.lisp"
+ dodoc "${FILESDIR}/README.Gentoo"
+ dodoc DESIGN.txt
+}
+
+pkg_postinst() {
+ test -d /var/cache/common-lisp-controller \
+ || mkdir /var/cache/common-lisp-controller
+ chmod 1777 /var/cache/common-lisp-controller
+
+ # This code from ${S}/debian/postinst
+
+ for compiler in /usr/lib/common-lisp/bin/*.sh
+ do
+ if [ -f "${compiler}" -a -r "${compiler}" -a -x "${compiler}" ] ; then
+ i=${compiler##*/}
+ i=${i%.sh}
+ einfo ">>> Recompiling Common Lisp Controller for $i"
+ bash "$compiler" install-clc || true
+ einfo ">>> Done rebuilding"
+ fi
+ done
+
+ # This code from ${S}/debian/preinst
+
+ # cleanup fasl files:
+ ( find /usr/share/common-lisp/source/defsystem \
+ /usr/share/common-lisp/source/asdf \
+ /usr/share/common-lisp/source/common-lisp-controller -type f -not -name "*.lisp" -print0 \
+ | xargs --null rm --force 2> /dev/null ) &>/dev/null
+
+ # remove old autobuild files:
+# find /etc/common-lisp -name autobuild -print0 \
+# | xargs -0 rm 2> /dev/null || true
+# find /etc/common-lisp -type d -depth -print0 \
+# | xargs rmdir 2> /dev/null || true
+
+ # remove old fals files:
+ test -d /usr/lib/common-lisp-controller \
+ && rmdir --ignore-fail-on-non-empty /usr/lib/common-lisp-controller
+ for compiler in /usr/lib/common-lisp/bin/*.sh ; do
+ if [ -f "$compiler" -a -r "$compiler" ] ; then
+ i=${compiler##*/}
+ i=${i%.sh}
+ if [ -d "/usr/lib/common-lisp/${i}" ] ; then
+ rm -rf "/usr/lib/common-lisp/${i}"
+ fi
+ fi
+ done
+}
diff --git a/dev-lisp/common-lisp-controller/common-lisp-controller-5.13-r1.ebuild b/dev-lisp/common-lisp-controller/common-lisp-controller-5.13-r1.ebuild
new file mode 100644
index 000000000000..450a227f9929
--- /dev/null
+++ b/dev-lisp/common-lisp-controller/common-lisp-controller-5.13-r1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="3"
+inherit eutils
+
+DESCRIPTION="Common Lisp Controller"
+HOMEPAGE="http://packages.debian.org/unstable/devel/common-lisp-controller"
+SRC_URI="mirror://gentoo/common-lisp-controller_${PV}.tar.gz"
+
+LICENSE="LLGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ~mips ppc ppc64 sparc x86"
+IUSE=""
+
+DEPEND="|| ( >=sys-apps/coreutils-8.15 app-misc/realpath )
+ >=dev-lisp/asdf-1.84
+ dev-lang/perl"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}/man"
+ ln -s clc-{,un}register-user-package.1
+ for i in unregister-common-lisp-implementation {,un}register-common-lisp-source; do
+ ln -s register-common-lisp-implementation.8 ${i}.8
+ done
+}
+
+src_install() {
+ dobin clc-register-user-package
+ dobin clc-unregister-user-package
+ dosbin register-common-lisp-implementation
+ dosbin register-common-lisp-source
+ dosbin unregister-common-lisp-implementation
+ dosbin unregister-common-lisp-source
+
+ dosbin clc-update-customized-images
+ keepdir /etc/common-lisp/images
+
+ insinto /usr/share/common-lisp/source/common-lisp-controller
+ doins common-lisp-controller.lisp post-sysdef-install.lisp
+ doman man/*.[138]
+ insinto /etc
+ doins "${FILESDIR}/${PV}/lisp-config.lisp"
+ dodoc "${FILESDIR}/README.Gentoo"
+ dodoc DESIGN.txt debian/changelog
+}
+
+pkg_postinst() {
+ test -d /var/cache/common-lisp-controller \
+ || mkdir /var/cache/common-lisp-controller
+ chmod 1777 /var/cache/common-lisp-controller
+
+ # This code from ${S}/debian/postinst
+
+ for compiler in /usr/lib/common-lisp/bin/*.sh
+ do
+ if [ -f "${compiler}" -a -r "${compiler}" -a -x "${compiler}" ] ; then
+ i=${compiler##*/}
+ i=${i%.sh}
+ einfo ">>> Recompiling Common Lisp Controller for $i"
+ bash "$compiler" install-clc || true
+ einfo ">>> Done rebuilding"
+ fi
+ done
+
+ # This code from ${S}/debian/preinst
+
+ # cleanup fasl files:
+ ( find /usr/share/common-lisp/source/defsystem \
+ /usr/share/common-lisp/source/asdf \
+ /usr/share/common-lisp/source/common-lisp-controller -type f -not -name "*.lisp" -print0 \
+ | xargs --null rm --force 2> /dev/null ) &>/dev/null
+
+ # remove old autobuild files:
+# find /etc/common-lisp -name autobuild -print0 \
+# | xargs -0 rm 2> /dev/null || true
+# find /etc/common-lisp -type d -depth -print0 \
+# | xargs rmdir 2> /dev/null || true
+
+ # remove old fals files:
+ test -d /usr/lib/common-lisp-controller \
+ && rmdir --ignore-fail-on-non-empty /usr/lib/common-lisp-controller
+ for compiler in /usr/lib/common-lisp/bin/*.sh ; do
+ if [ -f "$compiler" -a -r "$compiler" ] ; then
+ i=${compiler##*/}
+ i=${i%.sh}
+ if [ -d "/usr/lib/common-lisp/${i}" ] ; then
+ rm -rf "/usr/lib/common-lisp/${i}"
+ fi
+ fi
+ done
+}
diff --git a/dev-lisp/common-lisp-controller/files/4.27/lisp-config.lisp b/dev-lisp/common-lisp-controller/files/4.27/lisp-config.lisp
new file mode 100644
index 000000000000..a6d36ce22005
--- /dev/null
+++ b/dev-lisp/common-lisp-controller/files/4.27/lisp-config.lisp
@@ -0,0 +1,3 @@
+
+(in-package common-lisp-user)
+
diff --git a/dev-lisp/common-lisp-controller/files/5.13/lisp-config.lisp b/dev-lisp/common-lisp-controller/files/5.13/lisp-config.lisp
new file mode 100644
index 000000000000..a6d36ce22005
--- /dev/null
+++ b/dev-lisp/common-lisp-controller/files/5.13/lisp-config.lisp
@@ -0,0 +1,3 @@
+
+(in-package common-lisp-user)
+
diff --git a/dev-lisp/common-lisp-controller/files/README.Gentoo b/dev-lisp/common-lisp-controller/files/README.Gentoo
new file mode 100644
index 000000000000..adaa56315a4f
--- /dev/null
+++ b/dev-lisp/common-lisp-controller/files/README.Gentoo
@@ -0,0 +1,27 @@
+ -*-outline-*-
+
+* Common Lisp Controller 4.x and 5.x
+
+With version 4.x and 5.x of the Debian Common Lisp Controller, the
+design of the controller was simplified so that source was compiled
+into /var/cache/, per user, on demand (ie. when you evaluate (require
+:foo) at the REPL).
+
+* Common Lisp Controller 3.x
+
+** IMPORTANT
+
+The Common Lisp Controller (CLC) in Gentoo GNU/Linux is a modified
+version of the original CLC sources from the Debian Project. Do not
+send bug reports to the Debian Project -- always send bug reports to
+http://bugs.gentoo.org.
+
+** NOTES
+
+If you are used to the CLC in Debian, please note that the Gentoo CLC
+does not require an Internet super-server such as inetd or xinetd in
+order to function. The original CLC implementation's clc-send-command
+has been replaced with a shell script which implements the same
+interface, but bypasses clc-build-daemon entirely.
+
+-- Matthew Kennedy <mkennedy@gentoo.org>
diff --git a/dev-lisp/common-lisp-controller/metadata.xml b/dev-lisp/common-lisp-controller/metadata.xml
new file mode 100644
index 000000000000..9b129ff98209
--- /dev/null
+++ b/dev-lisp/common-lisp-controller/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>common-lisp@gentoo.org</email>
+ <name>Gentoo Common Lisp Project</name>
+</maintainer>
+<longdescription>
+The Common Lisp Controller was originally used in the Debian project. The Common
+Lisp Contoller lets you install and manage common lisp sources and compilers.
+It creates a user-specific cache of compiled objects. When a library or an
+implementation is upgraded all compiled objects in the cache are flushed.
+</longdescription>
+</pkgmetadata>