diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-shells/scsh | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-shells/scsh')
-rw-r--r-- | app-shells/scsh/Manifest | 1 | ||||
-rw-r--r-- | app-shells/scsh/files/0.6.6-Makefile.in-doc-dir-gentoo.patch | 93 | ||||
-rw-r--r-- | app-shells/scsh/files/0.6.7-Makefile.in-LDFLAGS.patch | 11 | ||||
-rw-r--r-- | app-shells/scsh/files/0.6.7-Makefile.in-doc-dir-gentoo.patch | 93 | ||||
-rw-r--r-- | app-shells/scsh/files/0.6.7-Missing-includes.patch | 22 | ||||
-rw-r--r-- | app-shells/scsh/metadata.xml | 26 | ||||
-rw-r--r-- | app-shells/scsh/scsh-0.6.7-r1.ebuild | 44 | ||||
-rw-r--r-- | app-shells/scsh/scsh-0.6.7.ebuild | 42 |
8 files changed, 332 insertions, 0 deletions
diff --git a/app-shells/scsh/Manifest b/app-shells/scsh/Manifest new file mode 100644 index 00000000000..49647b5ee76 --- /dev/null +++ b/app-shells/scsh/Manifest @@ -0,0 +1 @@ +DIST scsh-0.6.7.tar.gz 4367439 SHA256 c4a9f7df2a0bb7a7aa3dafc918aa9e9a566d4ad33a55f0192889de172d1ddb7f SHA512 d769b3d70afe813a3d25ef1b77d8dbc549b379ca41b0748cd90791408a36b33ed3ce08937bfd925bab411785aa671761d79bbf2edd9caf0c3ea6c44d90f4b6ea WHIRLPOOL f3d990385b1635d44104f275909803cd08795dd309c183826437be0ab796ca13afca874a6c716d5248facb64d4daae088bd5e558b2da5c6c70432069dc034381 diff --git a/app-shells/scsh/files/0.6.6-Makefile.in-doc-dir-gentoo.patch b/app-shells/scsh/files/0.6.6-Makefile.in-doc-dir-gentoo.patch new file mode 100644 index 00000000000..28f0f17c014 --- /dev/null +++ b/app-shells/scsh/files/0.6.6-Makefile.in-doc-dir-gentoo.patch @@ -0,0 +1,93 @@ +--- Makefile.in.orig 2004-09-24 01:43:55.743685848 +0200 ++++ Makefile.in 2004-09-24 01:43:55.745685544 +0200 +@@ -33,7 +33,7 @@ + host = @host@ + ### End of `configure' section### + +-htmldir = $(libdir)/scsh/doc/scsh-manual/html ++htmldir = /usr/share/doc/scsh-0.6.6/scsh-manual/html + + # HP 9000 series, if you don't have gcc + # CC = cc +@@ -358,38 +358,38 @@ + done + + inst-doc: +- for f in $(srcdir)/doc/*.txt $(srcdir)/doc/*.ps; do \ +- $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/; \ ++ for f in $(srcdir)/doc/*.txt $(srcdir)/doc/*.ps; do \ ++ $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.6/; \ + done && \ + for f in $(srcdir)/doc/src/*.tex \ + $(srcdir)/doc/src/*.dvi \ + $(srcdir)/doc/src/*.ps; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/s48-manual/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.6/s48-manual/;\ + done && \ + for f in $(srcdir)/doc/src/manual/*.html; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/s48-manual/html/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.6/s48-manual/html/;\ + done && \ + for f in $(srcdir)/doc/scsh-manual/*.tex \ + $(srcdir)/doc/scsh-manual/*.sty \ + $(srcdir)/doc/scsh-manual/*.dvi \ + $(srcdir)/doc/scsh-manual/*.ps \ + $(srcdir)/doc/scsh-manual/*.pdf; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-manual/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.6/scsh-manual/;\ + done && \ + for f in $(srcdir)/doc/scsh-manual/html/*.html \ + $(srcdir)/doc/scsh-manual/html/*.gif \ + $(srcdir)/doc/scsh-manual/html/*.css; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(htmldir)/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)$(htmldir)/; \ + done && \ + for f in $(srcdir)/doc/scsh-paper/*.tex \ + $(srcdir)/doc/scsh-paper/*.sty \ + $(srcdir)/doc/scsh-paper/*.dvi \ + $(srcdir)/doc/scsh-paper/*.ps; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-paper/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.6/scsh-paper/; \ + done && \ + for f in $(srcdir)/doc/scsh-paper/html/*.html \ + $(srcdir)/doc/scsh-paper/html/*.css; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-paper/html; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.6/scsh-paper/html/;\ + done + + +@@ -412,19 +412,21 @@ + chmod +x $@ + + dirs: +- for dir in $(libdir) $(bindir) $(incdir) $(LIB) $(mandir) $(htmldir); do\ +- { mkdir -p $(DESTDIR)$$dir && [ -w $(DESTDIR)$$dir ]; } || { \ +- echo "$(DESTDIR)$$dir not a writable directory" >&2; \ +- exit 1; \ +- } \ +- done && \ +- for dir in \ +- rts env big opt misc link srfi scsh doc/scsh-manual \ +- doc/s48-manual/html doc/scsh-paper/html cig; do \ +- { mkdir -p $(DESTDIR)$(LIB)/$$dir && [ -w $(DESTDIR)$(LIB)/$$dir ]; } || { \ +- echo "$(DESTDIR)$(LIB)/$$dir not a writable directory" >&2; \ +- exit 1; \ +- }; \ ++ for dir in $(libdir) $(bindir) $(incdir) $(LIB) $(mandir) $(htmldir); \ ++ do \ ++ { mkdir -p $(DESTDIR)$$dir && [ -w $(DESTDIR)$$dir ]; } \ ++ || { echo "$(DESTDIR)$$dir not a writable directory" >&2; exit 1; }; \ ++ done && \ ++ for dir in rts env big opt misc link srfi scsh; \ ++ do \ ++ { mkdir -p $(DESTDIR)$(LIB)/$$dir && [ -w $(DESTDIR)$(LIB)/$$dir ];} \ ++ || { echo "$(DESTDIR)$(LIB)/$$dir not a writable directory" >&2; exit 1;};\ ++ done && \ ++ for dir in \ ++ scsh-manual/html s48-manual/html scsh-paper/html cig; do \ ++ { mkdir -p $(DESTDIR)/usr/share/doc/scsh-0.6.6/$$dir; } \ ++ || { echo "mkdir -p $(DESTDIR)/usr/share/doc/scsh-0.6.6/$$dir failed" >&2;\ ++ exit 1;}; \ + done + + configure: configure.in diff --git a/app-shells/scsh/files/0.6.7-Makefile.in-LDFLAGS.patch b/app-shells/scsh/files/0.6.7-Makefile.in-LDFLAGS.patch new file mode 100644 index 00000000000..b1c6480885d --- /dev/null +++ b/app-shells/scsh/files/0.6.7-Makefile.in-LDFLAGS.patch @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2010-08-11 16:55:09.246939884 +0200 ++++ Makefile.in 2010-08-11 16:55:31.309819842 +0200 +@@ -853,7 +853,7 @@ + cig/libcig.c: cig/libcig.scm + + scsh/scsh: scsh/scsh-tramp.c +- $(CC) -o $@ $(CPPFLAGS) $(CFLAGS) \ ++ $(CC) -o $@ $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) \ + -DVM=\"$(LIB)/$(VM)\" \ + -DIMAGE=\"$(LIB)/scsh.image\" \ + $(srcdir)/scsh/scsh-tramp.c diff --git a/app-shells/scsh/files/0.6.7-Makefile.in-doc-dir-gentoo.patch b/app-shells/scsh/files/0.6.7-Makefile.in-doc-dir-gentoo.patch new file mode 100644 index 00000000000..6ec949bb115 --- /dev/null +++ b/app-shells/scsh/files/0.6.7-Makefile.in-doc-dir-gentoo.patch @@ -0,0 +1,93 @@ +--- Makefile.in.orig 2004-09-24 01:43:55.743685848 +0200 ++++ Makefile.in 2004-09-24 01:43:55.745685544 +0200 +@@ -33,7 +33,7 @@ + host = @host@ + ### End of `configure' section### + +-htmldir = $(libdir)/scsh/doc/scsh-manual/html ++htmldir = /usr/share/doc/scsh-0.6.7/scsh-manual/html + + # HP 9000 series, if you don't have gcc + # CC = cc +@@ -358,38 +358,38 @@ + done + + inst-doc: +- for f in $(srcdir)/doc/*.txt $(srcdir)/doc/*.ps; do \ +- $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/; \ ++ for f in $(srcdir)/doc/*.txt $(srcdir)/doc/*.ps; do \ ++ $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/; \ + done && \ + for f in $(srcdir)/doc/src/*.tex \ + $(srcdir)/doc/src/*.dvi \ + $(srcdir)/doc/src/*.ps; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/s48-manual/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/s48-manual/;\ + done && \ + for f in $(srcdir)/doc/src/manual/*.html; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/s48-manual/html/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/s48-manual/html/;\ + done && \ + for f in $(srcdir)/doc/scsh-manual/*.tex \ + $(srcdir)/doc/scsh-manual/*.sty \ + $(srcdir)/doc/scsh-manual/*.dvi \ + $(srcdir)/doc/scsh-manual/*.ps \ + $(srcdir)/doc/scsh-manual/*.pdf; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-manual/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-manual/;\ + done && \ + for f in $(srcdir)/doc/scsh-manual/html/*.html \ + $(srcdir)/doc/scsh-manual/html/*.gif \ + $(srcdir)/doc/scsh-manual/html/*.css; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(htmldir)/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)$(htmldir)/; \ + done && \ + for f in $(srcdir)/doc/scsh-paper/*.tex \ + $(srcdir)/doc/scsh-paper/*.sty \ + $(srcdir)/doc/scsh-paper/*.dvi \ + $(srcdir)/doc/scsh-paper/*.ps; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-paper/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-paper/; \ + done && \ + for f in $(srcdir)/doc/scsh-paper/html/*.html \ + $(srcdir)/doc/scsh-paper/html/*.css; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-paper/html; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-paper/html/;\ + done + + +@@ -412,19 +412,21 @@ + chmod +x $@ + + dirs: +- for dir in $(libdir) $(bindir) $(incdir) $(LIB) $(mandir) $(htmldir); do\ +- { mkdir -p $(DESTDIR)$$dir && [ -w $(DESTDIR)$$dir ]; } || { \ +- echo "$(DESTDIR)$$dir not a writable directory" >&2; \ +- exit 1; \ +- } \ +- done && \ +- for dir in \ +- rts env big opt misc link srfi scsh doc/scsh-manual \ +- doc/s48-manual/html doc/scsh-paper/html cig; do \ +- { mkdir -p $(DESTDIR)$(LIB)/$$dir && [ -w $(DESTDIR)$(LIB)/$$dir ]; } || { \ +- echo "$(DESTDIR)$(LIB)/$$dir not a writable directory" >&2; \ +- exit 1; \ +- }; \ ++ for dir in $(libdir) $(bindir) $(incdir) $(LIB) $(mandir) $(htmldir); \ ++ do \ ++ { mkdir -p $(DESTDIR)$$dir && [ -w $(DESTDIR)$$dir ]; } \ ++ || { echo "$(DESTDIR)$$dir not a writable directory" >&2; exit 1; }; \ ++ done && \ ++ for dir in rts env big opt misc link srfi scsh; \ ++ do \ ++ { mkdir -p $(DESTDIR)$(LIB)/$$dir && [ -w $(DESTDIR)$(LIB)/$$dir ];} \ ++ || { echo "$(DESTDIR)$(LIB)/$$dir not a writable directory" >&2; exit 1;};\ ++ done && \ ++ for dir in \ ++ scsh-manual/html s48-manual/html scsh-paper/html cig; do \ ++ { mkdir -p $(DESTDIR)/usr/share/doc/scsh-0.6.7/$$dir; } \ ++ || { echo "mkdir -p $(DESTDIR)/usr/share/doc/scsh-0.6.7/$$dir failed" >&2;\ ++ exit 1;}; \ + done + + configure: configure.in diff --git a/app-shells/scsh/files/0.6.7-Missing-includes.patch b/app-shells/scsh/files/0.6.7-Missing-includes.patch new file mode 100644 index 00000000000..33bb5529d25 --- /dev/null +++ b/app-shells/scsh/files/0.6.7-Missing-includes.patch @@ -0,0 +1,22 @@ +diff -r 3dd93fcbca44 c/unix/dynamo.c +--- a/c/unix/dynamo.c Wed Aug 11 17:02:46 2010 +0200 ++++ b/c/unix/dynamo.c Wed Aug 11 17:04:34 2010 +0200 +@@ -5,6 +5,7 @@ + + #include <stdlib.h> + #include <unistd.h> ++#include <string.h> + #include "sysdep.h" + #include "scheme48.h" + +diff -r 3dd93fcbca44 c/unix/socket.c +--- a/c/unix/socket.c Wed Aug 11 17:02:46 2010 +0200 ++++ b/c/unix/socket.c Wed Aug 11 17:04:34 2010 +0200 +@@ -8,6 +8,7 @@ + #include <sys/types.h> + #include <sys/socket.h> + #include <sys/param.h> ++#include <malloc.h> + #include <errno.h> + #include <fcntl.h> + #include <netdb.h> diff --git a/app-shells/scsh/metadata.xml b/app-shells/scsh/metadata.xml new file mode 100644 index 00000000000..6b82e4519c9 --- /dev/null +++ b/app-shells/scsh/metadata.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>scheme</herd> +<longdescription> +Scsh has two main components: a process notation for running programs +and setting up pipelines and redirections, and a complete syscall +library for low-level access to the operating system, i.e. to POSIX, +the least common denominator of more or less all Unices, plus widely +supported extensions such as symbolic links and BSD sockets. + +Moreover, scsh provides an awk facility for pattern-directed +computation over streams of records, a rich facility for matching +regular-expression patterns in strings, event-based interrupt +handling, user-level threads, a futuristic module system, and an +interactive environment. + +Scsh comes with extensive documentation describing these and other +features. +</longdescription> +<!-- +<use> + <flag name='scsh'>Use a non-FHS directory layout</flag> +</use> +--> +</pkgmetadata> diff --git a/app-shells/scsh/scsh-0.6.7-r1.ebuild b/app-shells/scsh/scsh-0.6.7-r1.ebuild new file mode 100644 index 00000000000..8c9ae2d811f --- /dev/null +++ b/app-shells/scsh/scsh-0.6.7-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit eutils multilib + +MY_PV="${PV%*.*}" + +DESCRIPTION="Unix shell embedded in Scheme" +HOMEPAGE="http://www.scsh.net/" +SRC_URI="ftp://ftp.scsh.net/pub/scsh/${MY_PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="!dev-scheme/scheme48" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${PV}-Makefile.in-doc-dir-gentoo.patch" + epatch "${FILESDIR}/${PV}-Makefile.in-LDFLAGS.patch" + epatch "${FILESDIR}/${PV}-Missing-includes.patch" +} + +src_configure() { + use amd64 && multilib_toolchain_setup x86 + SCSH_LIB_DIRS="/usr/$(get_libdir)/${PN}" + econf \ + --libdir=/usr/$(get_libdir) \ + --includedir=/usr/include \ + --with-lib-dirs-list=${SCSH_LIB_DIRS} +} + +src_install() { + emake -j1 DESTDIR="${D}" install || die "make install failed." + + local ENVD="${T}/50scsh" + echo "SCSH_LIB_DIRS=\"${SCSH_LIB_DIRS}\"" > "${ENVD}" + doenvd "${ENVD}" +} diff --git a/app-shells/scsh/scsh-0.6.7.ebuild b/app-shells/scsh/scsh-0.6.7.ebuild new file mode 100644 index 00000000000..a15f5ff282a --- /dev/null +++ b/app-shells/scsh/scsh-0.6.7.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit eutils multilib + +MY_PV="${PV%*.*}" + +DESCRIPTION="Unix shell embedded in Scheme" +HOMEPAGE="http://www.scsh.net/" +SRC_URI="ftp://ftp.scsh.net/pub/scsh/${MY_PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ppc sparc x86" +IUSE="" + +DEPEND="!dev-scheme/scheme48" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${PV}-Makefile.in-doc-dir-gentoo.patch" +} + +src_configure() { + use amd64 && multilib_toolchain_setup x86 + SCSH_LIB_DIRS="/usr/$(get_libdir)/${PN}" + econf \ + --libdir=/usr/$(get_libdir) \ + --includedir=/usr/include \ + --with-lib-dirs-list=${SCSH_LIB_DIRS} +} + +src_install() { + emake -j1 DESTDIR="${D}" install || die "make install failed." + + local ENVD="${T}/50scsh" + echo "SCSH_LIB_DIRS=\"${SCSH_LIB_DIRS}\"" > "${ENVD}" + doenvd "${ENVD}" +} |