Date: Saturday, February 25, 2017 @ 15:31:25 Author: lfleischer Revision: 213779
archrelease: copy trunk to community-i686, community-x86_64 Added: tcsh/repos/community-i686/PKGBUILD (from rev 213778, tcsh/trunk/PKGBUILD) tcsh/repos/community-i686/csh.cshrc (from rev 213778, tcsh/trunk/csh.cshrc) tcsh/repos/community-i686/csh.login (from rev 213778, tcsh/trunk/csh.login) tcsh/repos/community-i686/tcsh.install (from rev 213778, tcsh/trunk/tcsh.install) tcsh/repos/community-x86_64/PKGBUILD (from rev 213778, tcsh/trunk/PKGBUILD) tcsh/repos/community-x86_64/csh.cshrc (from rev 213778, tcsh/trunk/csh.cshrc) tcsh/repos/community-x86_64/csh.login (from rev 213778, tcsh/trunk/csh.login) tcsh/repos/community-x86_64/tcsh.install (from rev 213778, tcsh/trunk/tcsh.install) Deleted: tcsh/repos/community-i686/0001-avoid-gcc-5-optimization-malloc-memset-calloc-Fridol.patch tcsh/repos/community-i686/0002-make-k-volatile-to-prevent-gcc-5-memset-optimization.patch tcsh/repos/community-i686/PKGBUILD tcsh/repos/community-i686/csh.cshrc tcsh/repos/community-i686/csh.login tcsh/repos/community-i686/tcsh-6.17.00-ls-colors-var.patch tcsh/repos/community-i686/tcsh.install tcsh/repos/community-x86_64/0001-avoid-gcc-5-optimization-malloc-memset-calloc-Fridol.patch tcsh/repos/community-x86_64/0002-make-k-volatile-to-prevent-gcc-5-memset-optimization.patch tcsh/repos/community-x86_64/PKGBUILD tcsh/repos/community-x86_64/csh.cshrc tcsh/repos/community-x86_64/csh.login tcsh/repos/community-x86_64/tcsh-6.17.00-ls-colors-var.patch tcsh/repos/community-x86_64/tcsh.install ----------------------------------------------------------------------------------+ /PKGBUILD | 80 ++++ /csh.cshrc | 192 ++++++++++ /csh.login | 142 +++++++ /tcsh.install | 26 + community-i686/0001-avoid-gcc-5-optimization-malloc-memset-calloc-Fridol.patch | 32 - community-i686/0002-make-k-volatile-to-prevent-gcc-5-memset-optimization.patch | 26 - community-i686/PKGBUILD | 50 -- community-i686/csh.cshrc | 96 ----- community-i686/csh.login | 71 --- community-i686/tcsh-6.17.00-ls-colors-var.patch | 13 community-i686/tcsh.install | 23 - community-x86_64/0001-avoid-gcc-5-optimization-malloc-memset-calloc-Fridol.patch | 32 - community-x86_64/0002-make-k-volatile-to-prevent-gcc-5-memset-optimization.patch | 26 - community-x86_64/PKGBUILD | 50 -- community-x86_64/csh.cshrc | 96 ----- community-x86_64/csh.login | 71 --- community-x86_64/tcsh-6.17.00-ls-colors-var.patch | 13 community-x86_64/tcsh.install | 23 - 18 files changed, 440 insertions(+), 622 deletions(-) Deleted: community-i686/0001-avoid-gcc-5-optimization-malloc-memset-calloc-Fridol.patch =================================================================== --- community-i686/0001-avoid-gcc-5-optimization-malloc-memset-calloc-Fridol.patch 2017-02-25 15:31:17 UTC (rev 213778) +++ community-i686/0001-avoid-gcc-5-optimization-malloc-memset-calloc-Fridol.patch 2017-02-25 15:31:25 UTC (rev 213779) @@ -1,32 +0,0 @@ -From 624d3aebb6e6afadb4f35e894d11b5ebe290cd87 Mon Sep 17 00:00:00 2001 -From: christos <christos> -Date: Thu, 28 May 2015 11:47:03 +0000 -Subject: [PATCH] avoid gcc-5 optimization malloc + memset = calloc (Fridolin - Pokorny) - ---- - tc.alloc.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/tc.alloc.c b/tc.alloc.c -index b9aec63..c1cb330 100644 ---- a/tc.alloc.c -+++ b/tc.alloc.c -@@ -348,10 +348,13 @@ calloc(size_t i, size_t j) - { - #ifndef lint - char *cp; -+ size_t k; - - i *= j; - cp = xmalloc(i); -- memset(cp, 0, i); -+ /* Stop gcc 5.x from optimizing malloc+memset = calloc */ -+ k = i; -+ memset(cp, 0, k); - - return ((memalign_t) cp); - #else --- -2.4.5 - Deleted: community-i686/0002-make-k-volatile-to-prevent-gcc-5-memset-optimization.patch =================================================================== --- community-i686/0002-make-k-volatile-to-prevent-gcc-5-memset-optimization.patch 2017-02-25 15:31:17 UTC (rev 213778) +++ community-i686/0002-make-k-volatile-to-prevent-gcc-5-memset-optimization.patch 2017-02-25 15:31:25 UTC (rev 213779) @@ -1,26 +0,0 @@ -From 05e7406049bd2686dee0ee8d819dcd38eb131f6f Mon Sep 17 00:00:00 2001 -From: christos <christos> -Date: Tue, 7 Jul 2015 12:24:54 +0000 -Subject: [PATCH] make k volatile to prevent gcc-5 memset() optimization - (Fridolin Pokorny) - ---- - tc.alloc.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tc.alloc.c b/tc.alloc.c -index c1cb330..f68a8c5 100644 ---- a/tc.alloc.c -+++ b/tc.alloc.c -@@ -348,7 +348,7 @@ calloc(size_t i, size_t j) - { - #ifndef lint - char *cp; -- size_t k; -+ volatile size_t k; - - i *= j; - cp = xmalloc(i); --- -2.4.5 - Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2017-02-25 15:31:17 UTC (rev 213778) +++ community-i686/PKGBUILD 2017-02-25 15:31:25 UTC (rev 213779) @@ -1,50 +0,0 @@ -# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> -# Contributor: Eric Belanger <e...@archlinux.org> -# Contributor: Judd Vinet <jvi...@zeroflux.org> - -pkgname=tcsh -pkgver=6.19.00 -pkgrel=3 -pkgdesc='Enhanced version of the Berkeley C shell.' -arch=('i686' 'x86_64') -url='http://www.tcsh.org/Welcome' -license=('BSD') -depends=('ncurses') -backup=('etc/csh.cshrc' - 'etc/csh.login') -install='tcsh.install' -source=("ftp://ftp.astron.com/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz" - '0001-avoid-gcc-5-optimization-malloc-memset-calloc-Fridol.patch' - '0002-make-k-volatile-to-prevent-gcc-5-memset-optimization.patch' - 'csh.cshrc' - 'csh.login') -md5sums=('f5f854833578647795bc906dd4bcb5d5' - '2a28679d1cc9db48720f69ea55e19cdb' - '8b63b83ae940706cce8db7ecda023441' - '7ca0fe6d1a1b9a0093f632499d4fb112' - '4869b9da87c79854e2cc97241f125853') - -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 -i ../0001-avoid-gcc-5-optimization-malloc-memset-calloc-Fridol.patch - patch -p1 -i ../0002-make-k-volatile-to-prevent-gcc-5-memset-optimization.patch -} - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - ./configure --prefix=/usr --sysconfdir=/etc --bindir=/usr/bin - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make DESTDIR="${pkgdir}" mandir=/usr/share/man install install.man - - install -Dm0644 "${srcdir}/csh.cshrc" "${pkgdir}/etc/csh.cshrc" - install -Dm0644 "${srcdir}/csh.login" "${pkgdir}/etc/csh.login" - install -Dm0644 Copyright "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - ln -s tcsh "${pkgdir}/usr/bin/csh" - ln -s tcsh.1 "${pkgdir}/usr/share/man/man1/csh.1" -} Copied: tcsh/repos/community-i686/PKGBUILD (from rev 213778, tcsh/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-02-25 15:31:25 UTC (rev 213779) @@ -0,0 +1,40 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Eric Belanger <e...@archlinux.org> +# Contributor: Judd Vinet <jvi...@zeroflux.org> + +pkgname=tcsh +pkgver=6.20.00 +pkgrel=1 +pkgdesc='Enhanced version of the Berkeley C shell.' +arch=('i686' 'x86_64') +url='http://www.tcsh.org/Welcome' +license=('BSD') +depends=('ncurses') +backup=('etc/csh.cshrc' + 'etc/csh.login') +install='tcsh.install' +source=("ftp://ftp.astron.com/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'csh.cshrc' + 'csh.login') +md5sums=('59d40ef40a68e790d95e182069431834' + '7ca0fe6d1a1b9a0093f632499d4fb112' + '4869b9da87c79854e2cc97241f125853') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr --sysconfdir=/etc --bindir=/usr/bin + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" mandir=/usr/share/man install install.man + + install -Dm0644 "${srcdir}/csh.cshrc" "${pkgdir}/etc/csh.cshrc" + install -Dm0644 "${srcdir}/csh.login" "${pkgdir}/etc/csh.login" + install -Dm0644 Copyright "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + ln -s tcsh "${pkgdir}/usr/bin/csh" + ln -s tcsh.1 "${pkgdir}/usr/share/man/man1/csh.1" +} Deleted: community-i686/csh.cshrc =================================================================== --- community-i686/csh.cshrc 2017-02-25 15:31:17 UTC (rev 213778) +++ community-i686/csh.cshrc 2017-02-25 15:31:25 UTC (rev 213779) @@ -1,96 +0,0 @@ -############################################################################# -## -## Gentoo's csh.cshrc -## -## Based on the TCSH package (http://tcshrc.sourceforge.net) -## -## .tcshrc 2Sep2001, Simos Xenitellis (si...@hellug.gr) -## -## 2003-01-13 -- Alain Penders (al...@gentoo.org) -## Renamed to /etc/csh.cshrc, basic cleanup work. -## -## 2003-01-24 -- Alain Penders (al...@gentoo.org) -## Improved config file handling. -## -onintr - -## - -## -## Load the environment defaults. -## -if ( -r /etc/csh.env ) then - source /etc/csh.env -endif - - -## -## Make sure our path includes the basic stuff for root and normal users. -## -if ($LOGNAME == "root") then - set -f path = ( $path /sbin ) - set -f path = ( $path /usr/sbin ) - set -f path = ( $path /usr/local/sbin ) -endif -set -f path = ( $path /bin ) -set -f path = ( $path /usr/bin ) -set -f path = ( $path /usr/local/bin ) -set -f path = ( $path /opt/bin ) - - -## -## Load our settings -- most are for interactive shells only, but not all. -## -if ( -e /etc/profile.d/tcsh-settings ) then - source /etc/profile.d/tcsh-settings -endif - - -## -## Source extensions installed by ebuilds -## -if ( -d /etc/profile.d ) then - set _tmp=${?nonomatch} - set nonomatch - foreach _s ( /etc/profile.d/*.csh ) - if ( -r $_s ) then - source $_s - endif - end - if ( ! ${_tmp} ) unset nonomatch - unset _tmp _s -endif - - -# Everything after this point is interactive shells only. -if ( $?prompt == 0 ) goto end - - -## -## Load our aliases -- for interactive shells only -## -if ( -e /etc/profile.d/tcsh-aliases ) then - source /etc/profile.d/tcsh-aliases -endif - - -## -## Load our key bindings -- for interactive shells only -## -if ( -e /etc/profile.d/tcsh-bindkey ) then - source /etc/profile.d/tcsh-bindkey -endif - - -## -## Load our command completions -- for interactive shells only -## -if ( -e /etc/profile.d/tcsh-complete ) then - source /etc/profile.d/tcsh-complete -endif - - -end: -## -onintr -## - Copied: tcsh/repos/community-i686/csh.cshrc (from rev 213778, tcsh/trunk/csh.cshrc) =================================================================== --- community-i686/csh.cshrc (rev 0) +++ community-i686/csh.cshrc 2017-02-25 15:31:25 UTC (rev 213779) @@ -0,0 +1,96 @@ +############################################################################# +## +## Gentoo's csh.cshrc +## +## Based on the TCSH package (http://tcshrc.sourceforge.net) +## +## .tcshrc 2Sep2001, Simos Xenitellis (si...@hellug.gr) +## +## 2003-01-13 -- Alain Penders (al...@gentoo.org) +## Renamed to /etc/csh.cshrc, basic cleanup work. +## +## 2003-01-24 -- Alain Penders (al...@gentoo.org) +## Improved config file handling. +## +onintr - +## + +## +## Load the environment defaults. +## +if ( -r /etc/csh.env ) then + source /etc/csh.env +endif + + +## +## Make sure our path includes the basic stuff for root and normal users. +## +if ($LOGNAME == "root") then + set -f path = ( $path /sbin ) + set -f path = ( $path /usr/sbin ) + set -f path = ( $path /usr/local/sbin ) +endif +set -f path = ( $path /bin ) +set -f path = ( $path /usr/bin ) +set -f path = ( $path /usr/local/bin ) +set -f path = ( $path /opt/bin ) + + +## +## Load our settings -- most are for interactive shells only, but not all. +## +if ( -e /etc/profile.d/tcsh-settings ) then + source /etc/profile.d/tcsh-settings +endif + + +## +## Source extensions installed by ebuilds +## +if ( -d /etc/profile.d ) then + set _tmp=${?nonomatch} + set nonomatch + foreach _s ( /etc/profile.d/*.csh ) + if ( -r $_s ) then + source $_s + endif + end + if ( ! ${_tmp} ) unset nonomatch + unset _tmp _s +endif + + +# Everything after this point is interactive shells only. +if ( $?prompt == 0 ) goto end + + +## +## Load our aliases -- for interactive shells only +## +if ( -e /etc/profile.d/tcsh-aliases ) then + source /etc/profile.d/tcsh-aliases +endif + + +## +## Load our key bindings -- for interactive shells only +## +if ( -e /etc/profile.d/tcsh-bindkey ) then + source /etc/profile.d/tcsh-bindkey +endif + + +## +## Load our command completions -- for interactive shells only +## +if ( -e /etc/profile.d/tcsh-complete ) then + source /etc/profile.d/tcsh-complete +endif + + +end: +## +onintr +## + Deleted: community-i686/csh.login =================================================================== --- community-i686/csh.login 2017-02-25 15:31:17 UTC (rev 213778) +++ community-i686/csh.login 2017-02-25 15:31:25 UTC (rev 213779) @@ -1,71 +0,0 @@ -############################################################################# -## -## Gentoo's csh.login -## -## 2003-01-13 -- Alain Penders (al...@gentoo.org) -## -## Initial version. Inspired by the Suse version. -## - - -## -## Default terminal initialization -## -if ( -o /dev/$tty && ${?prompt} ) then - # Console - if ( ! ${?TERM} ) setenv TERM linux - if ( "$TERM" == "unknown" ) setenv TERM linux - # No tset available on SlackWare - if ( -x "`which stty`" ) stty sane cr0 pass8 dec - if ( -x "`which tset`" ) tset -I -Q - unsetenv TERMCAP - settc km yes -endif - -## -## Default UMASK -## -umask 022 - -## -## Set our SHELL variable. -## -setenv SHELL /bin/tcsh - -## -## Setup a default MAIL variable -## -if ( -f /var/spool/mail/$USER ) then - setenv MAIL /var/spool/mail/$USER - set mail=$MAIL -endif - -## -## If we're root, report who's logging in and out. -## -if ( "$uid" == "0" ) then - set who=( "%n has %a %l from %M." ) - set watch=( any any ) -endif - -## -## Show the MOTD once the first time, and once after it has been changed. -## -## Note: if this is a SSH login, SSH will always show the MOTD, so we -## skip it. Create ~/.hushlogin is you don't want SSH to show it. -## -if (-f /etc/motd ) then - if ( ! $?SSH_CLIENT ) then - cmp -s /etc/motd ~/.hushmotd - if ($status) then - tee ~/.hushmotd < /etc/motd - echo "((( MOTD shown only once, unless it is changed )))" - endif - endif -endif - -## -## Send us home. -## -cd - Copied: tcsh/repos/community-i686/csh.login (from rev 213778, tcsh/trunk/csh.login) =================================================================== --- community-i686/csh.login (rev 0) +++ community-i686/csh.login 2017-02-25 15:31:25 UTC (rev 213779) @@ -0,0 +1,71 @@ +############################################################################# +## +## Gentoo's csh.login +## +## 2003-01-13 -- Alain Penders (al...@gentoo.org) +## +## Initial version. Inspired by the Suse version. +## + + +## +## Default terminal initialization +## +if ( -o /dev/$tty && ${?prompt} ) then + # Console + if ( ! ${?TERM} ) setenv TERM linux + if ( "$TERM" == "unknown" ) setenv TERM linux + # No tset available on SlackWare + if ( -x "`which stty`" ) stty sane cr0 pass8 dec + if ( -x "`which tset`" ) tset -I -Q + unsetenv TERMCAP + settc km yes +endif + +## +## Default UMASK +## +umask 022 + +## +## Set our SHELL variable. +## +setenv SHELL /bin/tcsh + +## +## Setup a default MAIL variable +## +if ( -f /var/spool/mail/$USER ) then + setenv MAIL /var/spool/mail/$USER + set mail=$MAIL +endif + +## +## If we're root, report who's logging in and out. +## +if ( "$uid" == "0" ) then + set who=( "%n has %a %l from %M." ) + set watch=( any any ) +endif + +## +## Show the MOTD once the first time, and once after it has been changed. +## +## Note: if this is a SSH login, SSH will always show the MOTD, so we +## skip it. Create ~/.hushlogin is you don't want SSH to show it. +## +if (-f /etc/motd ) then + if ( ! $?SSH_CLIENT ) then + cmp -s /etc/motd ~/.hushmotd + if ($status) then + tee ~/.hushmotd < /etc/motd + echo "((( MOTD shown only once, unless it is changed )))" + endif + endif +endif + +## +## Send us home. +## +cd + Deleted: community-i686/tcsh-6.17.00-ls-colors-var.patch =================================================================== --- community-i686/tcsh-6.17.00-ls-colors-var.patch 2017-02-25 15:31:17 UTC (rev 213778) +++ community-i686/tcsh-6.17.00-ls-colors-var.patch 2017-02-25 15:31:25 UTC (rev 213779) @@ -1,13 +0,0 @@ ---- tw.color.c.orig 2008-10-17 16:57:33.000000000 -0300 -+++ tw.color.c 2010-10-18 23:34:36.764372377 -0300 -@@ -86,6 +86,10 @@ - VAR(NOS, "ow", ""), /* Other writable dir (o+w) but not sticky */ - VAR(NOS, "st", ""), /* Sticky dir (+t) but not other writable */ - VAR(NOS, "rs", "0"), /* Reset to normal color */ -+ VAR(NOS, "hl", ""), /* Regular file with more than one link */ -+ VAR(NOS, "ca", ""), /* File with capability */ -+ VAR(NOS, "mh", ""), /* MULTIHARDLINK */ -+ VAR(NOS, "cl", ""), /* CLRTOEOL */ - }; - - enum FileType { Deleted: community-i686/tcsh.install =================================================================== --- community-i686/tcsh.install 2017-02-25 15:31:17 UTC (rev 213778) +++ community-i686/tcsh.install 2017-02-25 15:31:25 UTC (rev 213779) @@ -1,23 +0,0 @@ -post_install() { - if ! grep -q /bin/tcsh etc/shells; then - echo /bin/tcsh >> etc/shells - echo /bin/csh >> etc/shells - echo 'Added to /etc/shells.' - fi -} - -post_upgrade() { - if grep -q /usr/bin/tcsh etc/shells; then - sed -i 's|/usr/bin/tcsh|/bin/tcsh|' etc/shells - sed -i 's|/usr/bin/csh|/bin/csh|' etc/shells - echo 'Fixed path in /etc/shells.' - fi -} - -pre_remove() { - sed -i '\|/bin/tcsh|d' etc/shells - sed -i '\|/bin/csh|d' etc/shells - echo 'Removed from /etc/shells.' -} - -# vim:set ts=2 sw=2 et: Copied: tcsh/repos/community-i686/tcsh.install (from rev 213778, tcsh/trunk/tcsh.install) =================================================================== --- community-i686/tcsh.install (rev 0) +++ community-i686/tcsh.install 2017-02-25 15:31:25 UTC (rev 213779) @@ -0,0 +1,13 @@ +post_install() { + if ! grep -qe '^/bin/tcsh$' etc/shells; then + echo /bin/tcsh >>etc/shells + echo /bin/csh >>etc/shells + echo 'Added tcsh and csh to /etc/shells.' + fi +} + +pre_remove() { + sed -i -r '/^(\/usr)?\/bin\/tcsh$/d' /etc/shells + sed -i -r '/^(\/usr)?\/bin\/csh$/d' /etc/shells + echo 'Removed tcsh and csh from /etc/shells.' +} Deleted: community-x86_64/0001-avoid-gcc-5-optimization-malloc-memset-calloc-Fridol.patch =================================================================== --- community-x86_64/0001-avoid-gcc-5-optimization-malloc-memset-calloc-Fridol.patch 2017-02-25 15:31:17 UTC (rev 213778) +++ community-x86_64/0001-avoid-gcc-5-optimization-malloc-memset-calloc-Fridol.patch 2017-02-25 15:31:25 UTC (rev 213779) @@ -1,32 +0,0 @@ -From 624d3aebb6e6afadb4f35e894d11b5ebe290cd87 Mon Sep 17 00:00:00 2001 -From: christos <christos> -Date: Thu, 28 May 2015 11:47:03 +0000 -Subject: [PATCH] avoid gcc-5 optimization malloc + memset = calloc (Fridolin - Pokorny) - ---- - tc.alloc.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/tc.alloc.c b/tc.alloc.c -index b9aec63..c1cb330 100644 ---- a/tc.alloc.c -+++ b/tc.alloc.c -@@ -348,10 +348,13 @@ calloc(size_t i, size_t j) - { - #ifndef lint - char *cp; -+ size_t k; - - i *= j; - cp = xmalloc(i); -- memset(cp, 0, i); -+ /* Stop gcc 5.x from optimizing malloc+memset = calloc */ -+ k = i; -+ memset(cp, 0, k); - - return ((memalign_t) cp); - #else --- -2.4.5 - Deleted: community-x86_64/0002-make-k-volatile-to-prevent-gcc-5-memset-optimization.patch =================================================================== --- community-x86_64/0002-make-k-volatile-to-prevent-gcc-5-memset-optimization.patch 2017-02-25 15:31:17 UTC (rev 213778) +++ community-x86_64/0002-make-k-volatile-to-prevent-gcc-5-memset-optimization.patch 2017-02-25 15:31:25 UTC (rev 213779) @@ -1,26 +0,0 @@ -From 05e7406049bd2686dee0ee8d819dcd38eb131f6f Mon Sep 17 00:00:00 2001 -From: christos <christos> -Date: Tue, 7 Jul 2015 12:24:54 +0000 -Subject: [PATCH] make k volatile to prevent gcc-5 memset() optimization - (Fridolin Pokorny) - ---- - tc.alloc.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tc.alloc.c b/tc.alloc.c -index c1cb330..f68a8c5 100644 ---- a/tc.alloc.c -+++ b/tc.alloc.c -@@ -348,7 +348,7 @@ calloc(size_t i, size_t j) - { - #ifndef lint - char *cp; -- size_t k; -+ volatile size_t k; - - i *= j; - cp = xmalloc(i); --- -2.4.5 - Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2017-02-25 15:31:17 UTC (rev 213778) +++ community-x86_64/PKGBUILD 2017-02-25 15:31:25 UTC (rev 213779) @@ -1,50 +0,0 @@ -# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> -# Contributor: Eric Belanger <e...@archlinux.org> -# Contributor: Judd Vinet <jvi...@zeroflux.org> - -pkgname=tcsh -pkgver=6.19.00 -pkgrel=3 -pkgdesc='Enhanced version of the Berkeley C shell.' -arch=('i686' 'x86_64') -url='http://www.tcsh.org/Welcome' -license=('BSD') -depends=('ncurses') -backup=('etc/csh.cshrc' - 'etc/csh.login') -install='tcsh.install' -source=("ftp://ftp.astron.com/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz" - '0001-avoid-gcc-5-optimization-malloc-memset-calloc-Fridol.patch' - '0002-make-k-volatile-to-prevent-gcc-5-memset-optimization.patch' - 'csh.cshrc' - 'csh.login') -md5sums=('f5f854833578647795bc906dd4bcb5d5' - '2a28679d1cc9db48720f69ea55e19cdb' - '8b63b83ae940706cce8db7ecda023441' - '7ca0fe6d1a1b9a0093f632499d4fb112' - '4869b9da87c79854e2cc97241f125853') - -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 -i ../0001-avoid-gcc-5-optimization-malloc-memset-calloc-Fridol.patch - patch -p1 -i ../0002-make-k-volatile-to-prevent-gcc-5-memset-optimization.patch -} - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - ./configure --prefix=/usr --sysconfdir=/etc --bindir=/usr/bin - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make DESTDIR="${pkgdir}" mandir=/usr/share/man install install.man - - install -Dm0644 "${srcdir}/csh.cshrc" "${pkgdir}/etc/csh.cshrc" - install -Dm0644 "${srcdir}/csh.login" "${pkgdir}/etc/csh.login" - install -Dm0644 Copyright "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - ln -s tcsh "${pkgdir}/usr/bin/csh" - ln -s tcsh.1 "${pkgdir}/usr/share/man/man1/csh.1" -} Copied: tcsh/repos/community-x86_64/PKGBUILD (from rev 213778, tcsh/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2017-02-25 15:31:25 UTC (rev 213779) @@ -0,0 +1,40 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Eric Belanger <e...@archlinux.org> +# Contributor: Judd Vinet <jvi...@zeroflux.org> + +pkgname=tcsh +pkgver=6.20.00 +pkgrel=1 +pkgdesc='Enhanced version of the Berkeley C shell.' +arch=('i686' 'x86_64') +url='http://www.tcsh.org/Welcome' +license=('BSD') +depends=('ncurses') +backup=('etc/csh.cshrc' + 'etc/csh.login') +install='tcsh.install' +source=("ftp://ftp.astron.com/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'csh.cshrc' + 'csh.login') +md5sums=('59d40ef40a68e790d95e182069431834' + '7ca0fe6d1a1b9a0093f632499d4fb112' + '4869b9da87c79854e2cc97241f125853') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr --sysconfdir=/etc --bindir=/usr/bin + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" mandir=/usr/share/man install install.man + + install -Dm0644 "${srcdir}/csh.cshrc" "${pkgdir}/etc/csh.cshrc" + install -Dm0644 "${srcdir}/csh.login" "${pkgdir}/etc/csh.login" + install -Dm0644 Copyright "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + ln -s tcsh "${pkgdir}/usr/bin/csh" + ln -s tcsh.1 "${pkgdir}/usr/share/man/man1/csh.1" +} Deleted: community-x86_64/csh.cshrc =================================================================== --- community-x86_64/csh.cshrc 2017-02-25 15:31:17 UTC (rev 213778) +++ community-x86_64/csh.cshrc 2017-02-25 15:31:25 UTC (rev 213779) @@ -1,96 +0,0 @@ -############################################################################# -## -## Gentoo's csh.cshrc -## -## Based on the TCSH package (http://tcshrc.sourceforge.net) -## -## .tcshrc 2Sep2001, Simos Xenitellis (si...@hellug.gr) -## -## 2003-01-13 -- Alain Penders (al...@gentoo.org) -## Renamed to /etc/csh.cshrc, basic cleanup work. -## -## 2003-01-24 -- Alain Penders (al...@gentoo.org) -## Improved config file handling. -## -onintr - -## - -## -## Load the environment defaults. -## -if ( -r /etc/csh.env ) then - source /etc/csh.env -endif - - -## -## Make sure our path includes the basic stuff for root and normal users. -## -if ($LOGNAME == "root") then - set -f path = ( $path /sbin ) - set -f path = ( $path /usr/sbin ) - set -f path = ( $path /usr/local/sbin ) -endif -set -f path = ( $path /bin ) -set -f path = ( $path /usr/bin ) -set -f path = ( $path /usr/local/bin ) -set -f path = ( $path /opt/bin ) - - -## -## Load our settings -- most are for interactive shells only, but not all. -## -if ( -e /etc/profile.d/tcsh-settings ) then - source /etc/profile.d/tcsh-settings -endif - - -## -## Source extensions installed by ebuilds -## -if ( -d /etc/profile.d ) then - set _tmp=${?nonomatch} - set nonomatch - foreach _s ( /etc/profile.d/*.csh ) - if ( -r $_s ) then - source $_s - endif - end - if ( ! ${_tmp} ) unset nonomatch - unset _tmp _s -endif - - -# Everything after this point is interactive shells only. -if ( $?prompt == 0 ) goto end - - -## -## Load our aliases -- for interactive shells only -## -if ( -e /etc/profile.d/tcsh-aliases ) then - source /etc/profile.d/tcsh-aliases -endif - - -## -## Load our key bindings -- for interactive shells only -## -if ( -e /etc/profile.d/tcsh-bindkey ) then - source /etc/profile.d/tcsh-bindkey -endif - - -## -## Load our command completions -- for interactive shells only -## -if ( -e /etc/profile.d/tcsh-complete ) then - source /etc/profile.d/tcsh-complete -endif - - -end: -## -onintr -## - Copied: tcsh/repos/community-x86_64/csh.cshrc (from rev 213778, tcsh/trunk/csh.cshrc) =================================================================== --- community-x86_64/csh.cshrc (rev 0) +++ community-x86_64/csh.cshrc 2017-02-25 15:31:25 UTC (rev 213779) @@ -0,0 +1,96 @@ +############################################################################# +## +## Gentoo's csh.cshrc +## +## Based on the TCSH package (http://tcshrc.sourceforge.net) +## +## .tcshrc 2Sep2001, Simos Xenitellis (si...@hellug.gr) +## +## 2003-01-13 -- Alain Penders (al...@gentoo.org) +## Renamed to /etc/csh.cshrc, basic cleanup work. +## +## 2003-01-24 -- Alain Penders (al...@gentoo.org) +## Improved config file handling. +## +onintr - +## + +## +## Load the environment defaults. +## +if ( -r /etc/csh.env ) then + source /etc/csh.env +endif + + +## +## Make sure our path includes the basic stuff for root and normal users. +## +if ($LOGNAME == "root") then + set -f path = ( $path /sbin ) + set -f path = ( $path /usr/sbin ) + set -f path = ( $path /usr/local/sbin ) +endif +set -f path = ( $path /bin ) +set -f path = ( $path /usr/bin ) +set -f path = ( $path /usr/local/bin ) +set -f path = ( $path /opt/bin ) + + +## +## Load our settings -- most are for interactive shells only, but not all. +## +if ( -e /etc/profile.d/tcsh-settings ) then + source /etc/profile.d/tcsh-settings +endif + + +## +## Source extensions installed by ebuilds +## +if ( -d /etc/profile.d ) then + set _tmp=${?nonomatch} + set nonomatch + foreach _s ( /etc/profile.d/*.csh ) + if ( -r $_s ) then + source $_s + endif + end + if ( ! ${_tmp} ) unset nonomatch + unset _tmp _s +endif + + +# Everything after this point is interactive shells only. +if ( $?prompt == 0 ) goto end + + +## +## Load our aliases -- for interactive shells only +## +if ( -e /etc/profile.d/tcsh-aliases ) then + source /etc/profile.d/tcsh-aliases +endif + + +## +## Load our key bindings -- for interactive shells only +## +if ( -e /etc/profile.d/tcsh-bindkey ) then + source /etc/profile.d/tcsh-bindkey +endif + + +## +## Load our command completions -- for interactive shells only +## +if ( -e /etc/profile.d/tcsh-complete ) then + source /etc/profile.d/tcsh-complete +endif + + +end: +## +onintr +## + Deleted: community-x86_64/csh.login =================================================================== --- community-x86_64/csh.login 2017-02-25 15:31:17 UTC (rev 213778) +++ community-x86_64/csh.login 2017-02-25 15:31:25 UTC (rev 213779) @@ -1,71 +0,0 @@ -############################################################################# -## -## Gentoo's csh.login -## -## 2003-01-13 -- Alain Penders (al...@gentoo.org) -## -## Initial version. Inspired by the Suse version. -## - - -## -## Default terminal initialization -## -if ( -o /dev/$tty && ${?prompt} ) then - # Console - if ( ! ${?TERM} ) setenv TERM linux - if ( "$TERM" == "unknown" ) setenv TERM linux - # No tset available on SlackWare - if ( -x "`which stty`" ) stty sane cr0 pass8 dec - if ( -x "`which tset`" ) tset -I -Q - unsetenv TERMCAP - settc km yes -endif - -## -## Default UMASK -## -umask 022 - -## -## Set our SHELL variable. -## -setenv SHELL /bin/tcsh - -## -## Setup a default MAIL variable -## -if ( -f /var/spool/mail/$USER ) then - setenv MAIL /var/spool/mail/$USER - set mail=$MAIL -endif - -## -## If we're root, report who's logging in and out. -## -if ( "$uid" == "0" ) then - set who=( "%n has %a %l from %M." ) - set watch=( any any ) -endif - -## -## Show the MOTD once the first time, and once after it has been changed. -## -## Note: if this is a SSH login, SSH will always show the MOTD, so we -## skip it. Create ~/.hushlogin is you don't want SSH to show it. -## -if (-f /etc/motd ) then - if ( ! $?SSH_CLIENT ) then - cmp -s /etc/motd ~/.hushmotd - if ($status) then - tee ~/.hushmotd < /etc/motd - echo "((( MOTD shown only once, unless it is changed )))" - endif - endif -endif - -## -## Send us home. -## -cd - Copied: tcsh/repos/community-x86_64/csh.login (from rev 213778, tcsh/trunk/csh.login) =================================================================== --- community-x86_64/csh.login (rev 0) +++ community-x86_64/csh.login 2017-02-25 15:31:25 UTC (rev 213779) @@ -0,0 +1,71 @@ +############################################################################# +## +## Gentoo's csh.login +## +## 2003-01-13 -- Alain Penders (al...@gentoo.org) +## +## Initial version. Inspired by the Suse version. +## + + +## +## Default terminal initialization +## +if ( -o /dev/$tty && ${?prompt} ) then + # Console + if ( ! ${?TERM} ) setenv TERM linux + if ( "$TERM" == "unknown" ) setenv TERM linux + # No tset available on SlackWare + if ( -x "`which stty`" ) stty sane cr0 pass8 dec + if ( -x "`which tset`" ) tset -I -Q + unsetenv TERMCAP + settc km yes +endif + +## +## Default UMASK +## +umask 022 + +## +## Set our SHELL variable. +## +setenv SHELL /bin/tcsh + +## +## Setup a default MAIL variable +## +if ( -f /var/spool/mail/$USER ) then + setenv MAIL /var/spool/mail/$USER + set mail=$MAIL +endif + +## +## If we're root, report who's logging in and out. +## +if ( "$uid" == "0" ) then + set who=( "%n has %a %l from %M." ) + set watch=( any any ) +endif + +## +## Show the MOTD once the first time, and once after it has been changed. +## +## Note: if this is a SSH login, SSH will always show the MOTD, so we +## skip it. Create ~/.hushlogin is you don't want SSH to show it. +## +if (-f /etc/motd ) then + if ( ! $?SSH_CLIENT ) then + cmp -s /etc/motd ~/.hushmotd + if ($status) then + tee ~/.hushmotd < /etc/motd + echo "((( MOTD shown only once, unless it is changed )))" + endif + endif +endif + +## +## Send us home. +## +cd + Deleted: community-x86_64/tcsh-6.17.00-ls-colors-var.patch =================================================================== --- community-x86_64/tcsh-6.17.00-ls-colors-var.patch 2017-02-25 15:31:17 UTC (rev 213778) +++ community-x86_64/tcsh-6.17.00-ls-colors-var.patch 2017-02-25 15:31:25 UTC (rev 213779) @@ -1,13 +0,0 @@ ---- tw.color.c.orig 2008-10-17 16:57:33.000000000 -0300 -+++ tw.color.c 2010-10-18 23:34:36.764372377 -0300 -@@ -86,6 +86,10 @@ - VAR(NOS, "ow", ""), /* Other writable dir (o+w) but not sticky */ - VAR(NOS, "st", ""), /* Sticky dir (+t) but not other writable */ - VAR(NOS, "rs", "0"), /* Reset to normal color */ -+ VAR(NOS, "hl", ""), /* Regular file with more than one link */ -+ VAR(NOS, "ca", ""), /* File with capability */ -+ VAR(NOS, "mh", ""), /* MULTIHARDLINK */ -+ VAR(NOS, "cl", ""), /* CLRTOEOL */ - }; - - enum FileType { Deleted: community-x86_64/tcsh.install =================================================================== --- community-x86_64/tcsh.install 2017-02-25 15:31:17 UTC (rev 213778) +++ community-x86_64/tcsh.install 2017-02-25 15:31:25 UTC (rev 213779) @@ -1,23 +0,0 @@ -post_install() { - if ! grep -q /bin/tcsh etc/shells; then - echo /bin/tcsh >> etc/shells - echo /bin/csh >> etc/shells - echo 'Added to /etc/shells.' - fi -} - -post_upgrade() { - if grep -q /usr/bin/tcsh etc/shells; then - sed -i 's|/usr/bin/tcsh|/bin/tcsh|' etc/shells - sed -i 's|/usr/bin/csh|/bin/csh|' etc/shells - echo 'Fixed path in /etc/shells.' - fi -} - -pre_remove() { - sed -i '\|/bin/tcsh|d' etc/shells - sed -i '\|/bin/csh|d' etc/shells - echo 'Removed from /etc/shells.' -} - -# vim:set ts=2 sw=2 et: Copied: tcsh/repos/community-x86_64/tcsh.install (from rev 213778, tcsh/trunk/tcsh.install) =================================================================== --- community-x86_64/tcsh.install (rev 0) +++ community-x86_64/tcsh.install 2017-02-25 15:31:25 UTC (rev 213779) @@ -0,0 +1,13 @@ +post_install() { + if ! grep -qe '^/bin/tcsh$' etc/shells; then + echo /bin/tcsh >>etc/shells + echo /bin/csh >>etc/shells + echo 'Added tcsh and csh to /etc/shells.' + fi +} + +pre_remove() { + sed -i -r '/^(\/usr)?\/bin\/tcsh$/d' /etc/shells + sed -i -r '/^(\/usr)?\/bin\/csh$/d' /etc/shells + echo 'Removed tcsh and csh from /etc/shells.' +}