diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2003-06-07 19:48:14 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2003-06-07 19:48:14 +0000 |
commit | 6465c745d7a0e32b056988260651875fc5e07673 (patch) | |
tree | 86ca756fb24817f101ae534d8632d0914e187a08 /dev-lisp | |
parent | initial import (diff) | |
download | gentoo-2-6465c745d7a0e32b056988260651875fc5e07673.tar.gz gentoo-2-6465c745d7a0e32b056988260651875fc5e07673.tar.bz2 gentoo-2-6465c745d7a0e32b056988260651875fc5e07673.zip |
initial import
Diffstat (limited to 'dev-lisp')
-rw-r--r-- | dev-lisp/cl-defsystem3/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lisp/cl-defsystem3/Manifest | 4 | ||||
-rw-r--r-- | dev-lisp/cl-defsystem3/cl-defsystem3-3.3i.ebuild | 34 | ||||
-rw-r--r-- | dev-lisp/cl-defsystem3/files/digest-cl-defsystem3-3.3i | 1 | ||||
-rw-r--r-- | dev-lisp/common-lisp-controller/Manifest | 4 | ||||
-rw-r--r-- | dev-lisp/common-lisp-controller/common-lisp-controller-3.64.ebuild | 116 |
6 files changed, 163 insertions, 4 deletions
diff --git a/dev-lisp/cl-defsystem3/ChangeLog b/dev-lisp/cl-defsystem3/ChangeLog new file mode 100644 index 000000000000..482000eb5f0d --- /dev/null +++ b/dev-lisp/cl-defsystem3/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-lisp/cl-defsystem3 +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-defsystem3/ChangeLog,v 1.1 2003/06/07 19:45:44 mkennedy Exp $ + +*cl-defsystem3-3.3i (07 Jul 2003) + + 07 Jul 2003; Matthew Kennedy <mkennedy@gentoo.org> : + initial import diff --git a/dev-lisp/cl-defsystem3/Manifest b/dev-lisp/cl-defsystem3/Manifest index ba68b256d30d..80cbc03da738 100644 --- a/dev-lisp/cl-defsystem3/Manifest +++ b/dev-lisp/cl-defsystem3/Manifest @@ -1,3 +1,3 @@ -MD5 60c30f54e9162c260418ea15c289fb8e ChangeLog 238 -MD5 ab78988f75478fc6699eb5f7b09250d3 cl-defsystem3-3.3i.ebuild 817 +MD5 9d28fb1a8025eef05efb2e5c3eeda421 ChangeLog 335 +MD5 243d0710fcd8098bdf21e95cb1868bb5 cl-defsystem3-3.3i.ebuild 930 MD5 53c613bb49037b519c71049e0655df9c files/digest-cl-defsystem3-3.3i 84 diff --git a/dev-lisp/cl-defsystem3/cl-defsystem3-3.3i.ebuild b/dev-lisp/cl-defsystem3/cl-defsystem3-3.3i.ebuild new file mode 100644 index 000000000000..8751374228a4 --- /dev/null +++ b/dev-lisp/cl-defsystem3/cl-defsystem3-3.3i.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-defsystem3/cl-defsystem3-3.3i.ebuild,v 1.1 2003/06/07 19:45:44 mkennedy Exp $ + +DESCRIPTION="Another System Definition Facility for Common Lisp" +HOMEPAGE="http://packages.debian.org/unstable/devel/cl-defsystem3.html" +SRC_URI="http://ftp.debian.org/debian/pool/main/c/cl-defsystem3/${PN}_${PV}+cvs.2003.04.30.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="" + +S=${WORKDIR}/${P}+cvs.2003.04.30 + +src_unpack() { + unpack ${A} + mv ${S}/docs/defsystem.text ${S}/docs/defsystem.txt +} + +src_install() { + insinto /usr/share/common-lisp/source/defsystem + doins defsystem.lisp + + dodoc ChangeLog README docs/defsystem.txt + dohtml docs/defsystem.html +} + +pkg_postinst() { + if [ -x /usr/sbin/clc-reregister-all-impl ]; then + /usr/sbin/clc-reregister-all-impl + fi +} + diff --git a/dev-lisp/cl-defsystem3/files/digest-cl-defsystem3-3.3i b/dev-lisp/cl-defsystem3/files/digest-cl-defsystem3-3.3i new file mode 100644 index 000000000000..2768d70f2864 --- /dev/null +++ b/dev-lisp/cl-defsystem3/files/digest-cl-defsystem3-3.3i @@ -0,0 +1 @@ +MD5 94939b3ccf0a2faefd1d77d178c617ba cl-defsystem3_3.3i+cvs.2003.04.30.tar.gz 69359 diff --git a/dev-lisp/common-lisp-controller/Manifest b/dev-lisp/common-lisp-controller/Manifest index 6551164ed204..c8230925e2a9 100644 --- a/dev-lisp/common-lisp-controller/Manifest +++ b/dev-lisp/common-lisp-controller/Manifest @@ -1,3 +1,3 @@ -MD5 9b36f3676ffea87fecf77f38c987169f ChangeLog 257 -MD5 aca282446a0f0ff5e11cee930c9dbe42 common-lisp-controller-3.64.ebuild 3461 +MD5 34d39b12bc2be72dd02c94204e67d605 ChangeLog 363 +MD5 5136eb65165c1bb92ba73751af7d9765 common-lisp-controller-3.64.ebuild 3592 MD5 531ca5d802bb5b70c234532655bbfa91 files/digest-common-lisp-controller-3.64 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 new file mode 100644 index 000000000000..674008ab7223 --- /dev/null +++ b/dev-lisp/common-lisp-controller/common-lisp-controller-3.64.ebuild @@ -0,0 +1,116 @@ +# 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.1 2003/06/07 19:48:10 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" +IUSE="" +DEPEND="netkit-base + dev-lisp/cl-defsystem + dev-lisp/cl-asdf" + +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 + + einfo ">>> Setting permissions for cl-builder" + for compiler in /usr/lib/common-lisp/bin/*.sh + do + if [ -f "$compiler" -a -r "$compiler}" ] ; then + i=${compiler##*/} + i=${i%.sh} + 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_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 +} + + +### from debian's postinst script: + +# abort-upgrade|abort-remove|abort-deconfigure) +# update-inetd --remove "8990@localhost\tstream\ttcp\tnowait\troot\t/usr/sbin/clc-build-daemon" +# for compiler in /usr/lib/common-lisp/bin/*.sh ; do +# if [ -f "$compiler" -a -r "$compiler" ] ; then +# i=${compiler##*/} +# i=${i%.sh} +# if [ -x "$compiler" ] ; then +# echo Deinstalling for ${i##*/} +# echo Removing Common Lisp Controller for $i +# bash "$compiler" remove-clc || true +# echo +# echo Done rebuilding +# fi +# fi +# done +# ;; |