summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2003-09-17 11:16:20 +0000
committerTavis Ormandy <taviso@gentoo.org>2003-09-17 11:16:20 +0000
commit7ed4ad0317bbc4a2fb6bd66e539c6d693e8896cd (patch)
tree66e549c5469ffd49a045f4e075e09038b3b79b90 /app-shells/csh
parentadded apm useflag to mask (diff)
downloadhistorical-7ed4ad0317bbc4a2fb6bd66e539c6d693e8896cd.tar.gz
historical-7ed4ad0317bbc4a2fb6bd66e539c6d693e8896cd.tar.bz2
historical-7ed4ad0317bbc4a2fb6bd66e539c6d693e8896cd.zip
cleaning up
Diffstat (limited to 'app-shells/csh')
-rw-r--r--app-shells/csh/ChangeLog6
-rw-r--r--app-shells/csh/Manifest14
-rw-r--r--app-shells/csh/csh-1.29-r1.ebuild139
-rw-r--r--app-shells/csh/csh-1.29.ebuild119
-rw-r--r--app-shells/csh/files/digest-csh-1.293
-rw-r--r--app-shells/csh/files/digest-csh-1.29-r13
6 files changed, 10 insertions, 274 deletions
diff --git a/app-shells/csh/ChangeLog b/app-shells/csh/ChangeLog
index 0fc68814698d..a05d9216d3bd 100644
--- a/app-shells/csh/ChangeLog
+++ b/app-shells/csh/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-shells/csh
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/csh/ChangeLog,v 1.10 2003/09/05 18:30:42 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/csh/ChangeLog,v 1.11 2003/09/17 11:16:15 taviso Exp $
+
+ 17 Sep 2003; Tavis Ormandy <taviso@gentoo.org> csh-1.29-r1.ebuild,
+ csh-1.29.ebuild:
+ cleaning up
05 Sep 2003; Tavis Ormandy <taviso@gentoo.org> csh-1.29-r2.ebuild:
stable on x86 and alpha.
diff --git a/app-shells/csh/Manifest b/app-shells/csh/Manifest
index e8350534f42a..891b165fd903 100644
--- a/app-shells/csh/Manifest
+++ b/app-shells/csh/Manifest
@@ -1,13 +1,9 @@
-MD5 3019bbce2833e8d5a8fd63babed04252 ChangeLog 2127
-MD5 c8862976a0b170f264c5ad49eea885f3 csh-1.29.ebuild 3796
-MD5 a4db08fd328f9b461fd2db64f8dd401c csh-1.29-r1.ebuild 4044
-MD5 ce0694a6af9197d929533e9d0dfcb706 metadata.xml 706
MD5 5ecf5bef3e3cad1ca1311c11fe6fe8a0 csh-1.29-r2.ebuild 4314
-MD5 49ee962115384f8a0acedfcf225fd27a files/digest-csh-1.29 148
-MD5 213922a7d6fdee0a89e9a349653be22d files/linux-vs-bsd.diff 7483
+MD5 69e5c647ce981f20c55f0cb91994b5e7 ChangeLog 2230
+MD5 ce0694a6af9197d929533e9d0dfcb706 metadata.xml 706
MD5 49c0a95e6881eb7e2932d149f62f0de2 files/mksignames.c 10722
-MD5 70a304fe872eabbec7c515095af358fc files/digest-csh-1.29-r1 162
-MD5 56092454f21f9d462f4514aadf4c78cd files/dot.cshrc 1549
-MD5 2365e5e2ca11496be2169a6944a38994 files/dot.login 224
+MD5 213922a7d6fdee0a89e9a349653be22d files/linux-vs-bsd.diff 7483
MD5 8eb726131df145785642164034fb5a74 files/digest-csh-1.29-r2 60
MD5 9a4c41baf0e48fb12e83a51b0b15f297 files/retype-input.diff 2352
+MD5 56092454f21f9d462f4514aadf4c78cd files/dot.cshrc 1549
+MD5 2365e5e2ca11496be2169a6944a38994 files/dot.login 224
diff --git a/app-shells/csh/csh-1.29-r1.ebuild b/app-shells/csh/csh-1.29-r1.ebuild
deleted file mode 100644
index 040f6305ea7c..000000000000
--- a/app-shells/csh/csh-1.29-r1.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/csh/csh-1.29-r1.ebuild,v 1.7 2003/09/06 22:23:39 msterret Exp $
-
-inherit flag-o-matic eutils ccc
-
-DESCRIPTION="Classic UNIX shell with C like syntax"
-HOMEPAGE="http://www.netbsd.org/"
-SRC_URI="http://cvs.gentoo.org/~taviso/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="x86 alpha"
-IUSE="static doc"
-
-DEPEND="virtual/glibc
- sys-devel/pmake
- >=sys-apps/sed-4
- doc? ( sys-apps/groff )"
-RDEPEND="virtual/glibc"
-
-S=${WORKDIR}/src/bin/csh
-
-src_compile() {
- # hide some BSDisms, mostly my work, got some hints from the
- # debian project (they use an older OpenBSD csh, though).
- cd ${S}; epatch ${FILESDIR}/linux-vs-bsd.diff || die "patching failed."
-
- # copy some required files over, from NetBSD
-
- cd ${S}; cp ${WORKDIR}/printf.c \
- ${WORKDIR}/vis.h \
- ${WORKDIR}/vis.c \
- ${FILESDIR}/dot.login \
- ${FILESDIR}/dot.cshrc \
- ${S}
-
- # this parses the output of the bash builtin `kill`
- # and creates an array of signal names for csh.
-
- einfo "Making a list of signal names..."
-
- local cnt=0
-
- printf "/* automatically generated during %s build */\n\n" ${PF} > ${S}/signames.h
- printf "const char *const sys_signame[NSIG + 3] = {\n" >> ${S}/signames.h
- printf "\t\"EXIT\",\t\n" >> ${S}/signames.h
-
- let cnt++
-
- for i in `kill -l`
- do
- let $((cnt++))%2 && continue
- einfo " Adding ${i}..."
- printf "\t\"%s\",\n" ${i} >> ${S}/signames.h
- done
-
- printf "\t\"DEBUG\",\n\t\"ERR\",\n\t(char *)0x0\n};\n\n" >> ${S}/signames.h
-
- einfo "Adding flags required for succesful compilation..."
- # this should be easier than maintaining a patch.
- for i in {-Dlint,-w,-D__dead="",-D__LIBC12_SOURCE__,-DNODEV="-1",-DTTYHOG=1024,-DMAXPATHLEN=4096,-D_GNU_SOURCE,-D_DIAGASSERT="assert"}
- do
- append-flags ${i}
- done
-
- einfo "Making some final tweaks..."
- sed -i 's#sys/tty.h#linux/tty.h#g' ${S}/file.c
- sed -i 's!\(#include "proc.h"\)!\1\n#include "signames.h"\n!g' ${S}/proc.c
- sed -i 's#\(strpct.c time.c\)#\1 vis.c#g' ${S}/Makefile
- sed -i 's!#include "namespace.h"!!g' ${S}/vis.c
- sed -i 's#/usr/games/fortune#/usr/bin/fortune#g' ${S}/dot.login
-
- # maybe they dont warn on BSD, but _damn_.
- export NOGCCERROR=1
-
- # if csh is a users preferred shell, they may want
- # a static binary to help on the event of fs emergency.
- use static && append-ldflags -static
-
- # pmake is a portage binary as well, so specify full path.
- # if yours isnt in /usr/bin, you can set PMAKE_PATH.
- einfo "Starting build..."
- ${PMAKE_PATH:-/usr/bin/}pmake || die "compile failed."
-
- echo
- size csh
- echo
-
- # make the c shell guide
- use doc && {
- einfo "Making documentation..."
- cd ${S}/USD.doc
- ${PMAKE_PATH:-/usr/bin/}pmake
- }
- cd ${S}
-
- einfo "Making empty configuration files.."
- printf "#\n# System-wide .cshrc file for csh(1).\n\n" > csh.cshrc
- printf "#\n# System-wide .login file for csh(1).\n\n" > csh.login
- printf "if ( -f /etc/csh.env ) source /etc/csh.env\n" >> csh.login
- printf "#\n# System-wide .logout file for csh(1).\n\n" > csh.logout
-}
-
-src_install() {
- exeinto /bin
- doexe csh
-
- doman csh.1
-
- use doc && dodoc USD.doc/paper.ps
- dodoc dot.cshrc dot.login
-
- insinto /etc
- doins csh.cshrc csh.login csh.logout
-}
-
-pkg_postinst() {
- echo
- use doc >/dev/null && {
- einfo "An Introduction to the C shell by William Joy, a "
- einfo "postscript document included with this shell has"
- einfo "been installed in /usr/share/doc/${PF}, if you are new"
- einfo "to the C shell, you may find it interesting."
- } || {
- einfo "You didnt have the \`doc\` use flag set, the"
- einfo "postscript document \"An Introduction to the C"
- einfo "shell by William Joy\" was not installed."
- }
- echo
- einfo "Example login scripts have been installed in /usr/share/doc/${PF}."
- einfo "You can install a simple dot.cshrc like this:"
- einfo
- einfo " % zcat /usr/share/doc/${PF}/dot.cshrc > ~/.cshrc"
- einfo " % zcat /usr/share/doc/${PF}/dot.login > ~/.login"
- einfo
- einfo "And then edit to your liking."
- echo
-}
diff --git a/app-shells/csh/csh-1.29.ebuild b/app-shells/csh/csh-1.29.ebuild
deleted file mode 100644
index 5de5d343b7f8..000000000000
--- a/app-shells/csh/csh-1.29.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/csh/csh-1.29.ebuild,v 1.6 2003/09/06 22:23:39 msterret Exp $
-
-inherit cvs flag-o-matic eutils ccc
-
-ECVS_SERVER="anoncvs.netbsd.org:/cvsroot"
-ECVS_MODULE="src/bin/csh"
-ECVS_USER="anoncvs"
-ECVS_PASS="anoncvs"
-ECVS_BRANCH="netbsd-1-6"
-
-DESCRIPTION="Classic UNIX shell with C like syntax"
-HOMEPAGE="http://www.netbsd.org/"
-SRC_URI="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/usr.bin/printf/printf.c
- ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/include/vis.h
- ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/lib/libc/gen/vis.c"
-
-RESTRICT="nomirror"
-
-# theres basically a choice of fetching the individual files via
-# ftp, and using nomirror to stop spamming the mirrors, or fetch
-# a tarball of the whole lot and waste bandwidth.
-#
-# the other option is to check it out of cvs, using tags to make
-# sure we get a consistent version.
-#
-# i decided to go with cvs.
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="x86 ~alpha"
-IUSE="static doc"
-
-DEPEND="virtual/glibc
- sys-devel/pmake
- >=sys-apps/sed-4
- doc? ( sys-apps/groff )"
-RDEPEND="virtual/glibc"
-
-S=${WORKDIR}/${ECVS_MODULE}
-
-src_compile() {
- # hide some BSDisms, mostly my work, got some hints from the
- # debian project (they use an older OpenBSD csh, though).
- cd ${S}; epatch ${FILESDIR}/linux-vs-bsd.diff || die "patching failed."
-
- # copy some required files over, two from NetBSD
- # and one provided with the bash shell.
-
- # The file `mksignames.c` and the product of its execution
- # is the only reason this ebuild is dual license, without
- # this code (eg make your own array) this shell will be
- # 100% BSD. i borrowed it from bash-2.05b, btw.
-
- cd ${S}; cp ${DISTDIR}/printf.c \
- ${DISTDIR}/vis.h \
- ${FILESDIR}/mksignames.c \
- ${DISTDIR}/vis.c \
- ${S}
- # this utility spits out an array of signal names.
-
- einfo "Making a list of signal names..."
- ${CC:-gcc} ${CFLAGS} ${LDFLAGS} -o ${T}/mksignames ${S}/mksignames.c
- ${T}/mksignames > ${S}/signames.h || die "couldnt get a list of signals."
-
- einfo "Adding flags required for succesful compilation..."
- # this should be easier than maintaining a patch.
- for i in {-Dlint,-w,-D__dead="",-D__LIBC12_SOURCE__,-DNODEV="-1",-DTTYHOG=1024,-DMAXPATHLEN=4096,-D_GNU_SOURCE,-D_DIAGASSERT="assert"}
- do
- append-flags ${i}
- done
-
- einfo "Making some final tweaks..."
- sed -i 's#sys/tty.h#linux/tty.h#g' ${S}/file.c
- sed -i 's!\(#include "proc.h"\)!\1\n#include "signames.h"\n!g' ${S}/proc.c
- sed -i 's#\(strpct.c time.c\)#\1 vis.c#g' ${S}/Makefile
- sed -i 's!#include "namespace.h"!!g' ${S}/vis.c
-
- # maybe they dont warn on BSD, but _damn_.
- export NOGCCERROR=1
-
- # if csh is a users preferred shell, they may want
- # a static binary to help on the event of fs emergency.
- use static && append-ldflags -static
-
- # pmake is a portage binary as well, so specify full path.
- # if yours isnt in /usr/bin, you can set PMAKE_PATH.
- einfo "Starting build..."
- ${PMAKE_PATH:-/usr/bin/}pmake || die "compile failed."
-
- # make the c shell guide
- use doc && {
- einfo "Making documentation..."
- cd ${S}/USD.doc
- ${PMAKE_PATH:-/usr/bin/}pmake
- }
- cd ${S}
-}
-
-src_install() {
- exeinto /bin
- doexe csh
- doman csh.1
- use doc && dodoc USD.doc/paper.ps
-}
-
-pkg_postinst() {
- use doc >/dev/null && {
- einfo "An Introduction to the C shell by William Joy, a "
- einfo "postscript document included with this shell has"
- einfo "been installed in /usr/share/docs/${P}, if you are new"
- einfo "to the C shell, you may find it interesting."
- } || {
- einfo "You didnt have the \`doc\` use flag set, the"
- einfo "postscript document \"An Introduction to the C"
- einfo "shell by William Joy\" was not installed."
- }
-}
diff --git a/app-shells/csh/files/digest-csh-1.29 b/app-shells/csh/files/digest-csh-1.29
deleted file mode 100644
index 71a8e7c61076..000000000000
--- a/app-shells/csh/files/digest-csh-1.29
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 d0c13a13ddd3348f2690ebce3ca31197 printf.c 10839
-MD5 1407b2e7112b8fafe35fdf4b922bb6b9 vis.h 3706
-MD5 6d4159b84708bbbc90cf0a6518ef2beb vis.c 9542
diff --git a/app-shells/csh/files/digest-csh-1.29-r1 b/app-shells/csh/files/digest-csh-1.29-r1
deleted file mode 100644
index c57f7df2d659..000000000000
--- a/app-shells/csh/files/digest-csh-1.29-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 9637b9572e66e992305dfed9909098e2 csh-1.29.tar.gz 179592
-MD5 7d9f25e1da5a927803c1a62d005ed502 dot.cshrc 582
-MD5 7951306dd2db4dbe54e4303094cf6c81 dot.login 271