diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2003-10-13 07:05:46 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2003-10-13 07:05:46 +0000 |
commit | a9b21fb18af9776860fb156c79596ce72f96f6af (patch) | |
tree | 4f6b527d7e411d5639dbbde40934e8edd3f19901 /dev-lisp/common-lisp-controller | |
parent | *** empty log message *** (diff) | |
download | historical-a9b21fb18af9776860fb156c79596ce72f96f6af.tar.gz historical-a9b21fb18af9776860fb156c79596ce72f96f6af.tar.bz2 historical-a9b21fb18af9776860fb156c79596ce72f96f6af.zip |
*** empty log message ***
Diffstat (limited to 'dev-lisp/common-lisp-controller')
5 files changed, 133 insertions, 11 deletions
diff --git a/dev-lisp/common-lisp-controller/Manifest b/dev-lisp/common-lisp-controller/Manifest index d158ce66089f..f7c8944f8458 100644 --- a/dev-lisp/common-lisp-controller/Manifest +++ b/dev-lisp/common-lisp-controller/Manifest @@ -1,6 +1,6 @@ -MD5 91f3fead7e756643597fdf7b11332e1b ChangeLog 568 -MD5 ef945f8c9bd1d52131cedd09e970394b common-lisp-controller-3.64.ebuild 3607 -MD5 d0d644c1ba267fe71b6fe5d800a7271e common-lisp-controller-3.76.ebuild 3623 -MD5 ef945f8c9bd1d52131cedd09e970394b common-lisp-controller-3.76.ebuild~ 3607 +MD5 9ce932920902f2edd3c256f277f982ee ChangeLog 808 +MD5 cb62d3c8a7d70151afccaa57bc208877 common-lisp-controller-3.64.ebuild 3597 +MD5 c759536015bcca55f2f281d2f9c95ed2 common-lisp-controller-3.76.ebuild 3581 +MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164 MD5 531ca5d802bb5b70c234532655bbfa91 files/digest-common-lisp-controller-3.64 80 MD5 e5d6d4f73e65082fae7961087dc7f681 files/digest-common-lisp-controller-3.76 80 diff --git a/dev-lisp/common-lisp-controller/common-lisp-controller-3.64.ebuild b/dev-lisp/common-lisp-controller/common-lisp-controller-3.64.ebuild index 00c7743420b1..789e097e4b79 100644 --- a/dev-lisp/common-lisp-controller/common-lisp-controller-3.64.ebuild +++ b/dev-lisp/common-lisp-controller/common-lisp-controller-3.64.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/common-lisp-controller/common-lisp-controller-3.64.ebuild,v 1.6 2003/09/22 02:38:20 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/common-lisp-controller/common-lisp-controller-3.64.ebuild,v 1.7 2003/10/13 07:03:52 mkennedy Exp $ DESCRIPTION="Common Lisp Controller" HOMEPAGE="http://packages.debian.org/unstable/devel/common-lisp-controller.html" @@ -54,12 +54,8 @@ src_install() { dodir /etc cat >${D}/etc/lisp-config.lisp <<EOF (in-package :common-lisp-user) -#+(or cmu scl) -(setf system:*short-site-name* "Unknown" - system:*long-site-name* "Unknown") -#+sbcl -(setf sb-sys:*short-site-name* "Unknown" - sb-sys:*long-site-name* "Unknown") +#+(or cmu scl) (setf system:*short-site-name* "Unknown" system:*long-site-name* "Unknown") +#+sbcl (setf sb-sys:*short-site-name* "Unknown" sb-sys:*long-site-name* "Unknown") EOF } diff --git a/dev-lisp/common-lisp-controller/common-lisp-controller-3.76.ebuild b/dev-lisp/common-lisp-controller/common-lisp-controller-3.76.ebuild new file mode 100644 index 000000000000..a8083e75c273 --- /dev/null +++ b/dev-lisp/common-lisp-controller/common-lisp-controller-3.76.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/common-lisp-controller/common-lisp-controller-3.76.ebuild,v 1.1 2003/10/13 07:03:52 mkennedy Exp $ + +DESCRIPTION="Common Lisp Controller" +HOMEPAGE="http://packages.debian.org/unstable/devel/common-lisp-controller.html" +SRC_URI="http://ftp.debian.org/debian/pool/main/c/common-lisp-controller/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ~sparc" + +DEPEND="netkit-base + dev-lisp/cl-defsystem3 + dev-lisp/cl-asdf + net-mail/mailx + app-admin/realpath + virtual/logger" + +S=${WORKDIR}/${PN} + +src_compile() { + make || die +} + +src_install() { + dobin clc-autobuild* \ + clc-register-user-package \ + clc-send-command \ + clc-unregister-user-package + + dosbin clc-build-daemon \ + clc-reregister-all-impl \ + register-common-lisp-source \ + register-common-lisp-implementation \ + unregister-common-lisp-source \ + unregister-common-lisp-implementation + + exeinto /usr/lib/common-lisp-controller + doexe debug-daemon-problems.sh + + dodir /usr/share/common-lisp/source/common-lisp-controller + insinto /usr/share/common-lisp/source/common-lisp-controller + doins common-lisp-controller.lisp \ + post-sysdef-install.lisp \ + pre-sysdef-install.lisp + + dodir /usr/lib/common-lisp + dodir /usr/lib/common-lisp/bin + + dodir /etc/common-lisp + touch ${D}/etc/common-lisp/autobuild # autobuild by default + + dodoc *.txt README.* + doman man/*.1 man/*.8 man/old/*.1 man/old/*.8 + + einfo ">>> Creating /etc/lisp-config.lisp" + dodir /etc + cat >${D}/etc/lisp-config.lisp <<EOF +(in-package :common-lisp-user) +#+(or cmu scl) (setf system:*short-site-name* "Unknown" system:*long-site-name* "Unknown") +#+sbcl (setf sb-sys:*short-site-name* "Unknown" sb-sys:*long-site-name* "Unknown") +EOF +} + +pkg_postinst() { + einfo ">>> Creating cl-builder user and group if necessary" + getent group cl-builder >/dev/null || \ + groupadd cl-builder + getent passwd cl-builder >/dev/null || \ + useradd -g cl-builder -s /bin/false cl-builder + + for compiler in /usr/lib/common-lisp/bin/*.sh + do + if [ -f "$compiler" -a -r "$compiler}" ] ; then + i=${compiler##*/} + i=${i%.sh} + echo Reinstalling for $i + echo Recompiling Common Lisp Controller for $i + if [ -x "$compiler"] ; then + bash "$compiler" install-clc || true + fi + echo Done rebuilding + einfo ">>> Setting permissions for cl-builder" + chown -R cl-builder.cl-builder /usr/lib/common-lisp/${i} >/dev/null || true + fi + done + + einfo ">>> You must execute:" + einfo ">>> ebuild /var/db/pkg/dev-lisp/${PF}/${PF}.ebuild config" + einfo ">>> to add the common-lisp-controller builder to /etc/inetd.conf" +} + +pkg_prerm() { + for compiler in /usr/lib/common-lisp/bin/*.sh + do + if [ -f "$compiler" -a -r "$compiler}" ] ; then + i=${compiler##*/} + i=${i%.sh} + echo Deinstalling for ${i##*/} + echo Removing Common Lisp Controller for $i + if [ -x "$compiler"] ; then + bash "$compiler" remove-clc || true + fi + echo Done rebuilding + fi + done +} + +pkg_config() { + local inetd_line=`echo -e "8990\tstream\ttcp\tnowait.400\troot\t/usr/sbin/clc-build-daemon\tclc-build-daemon"` + einfo ">>> Checking for an existing inetd.conf entry" + if [ -f /etc/inetd.conf ] && grep "$inetd_line" /etc/inetd.conf >/dev/null ; then + einfo ">>> Found existing entry. Nothing to do." + else + einfo "Appending common-lisp-controller builder to /etc/inetd.conf" + echo "$inetd_line" >>/etc/inetd.conf || die "Cannot append to inetd.conf" + einfo "Restart /etc/init.d/inetd to apply changes." + fi +} diff --git a/dev-lisp/common-lisp-controller/files/digest-common-lisp-controller-3.76 b/dev-lisp/common-lisp-controller/files/digest-common-lisp-controller-3.76 new file mode 100644 index 000000000000..b7f4bd60c969 --- /dev/null +++ b/dev-lisp/common-lisp-controller/files/digest-common-lisp-controller-3.76 @@ -0,0 +1 @@ +MD5 9e2498694527902f9c42364a7c27721c common-lisp-controller_3.76.tar.gz 1229601 diff --git a/dev-lisp/common-lisp-controller/metadata.xml b/dev-lisp/common-lisp-controller/metadata.xml new file mode 100644 index 000000000000..f418045b09c8 --- /dev/null +++ b/dev-lisp/common-lisp-controller/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> |