[arch-commits] Commit in tcsh/repos/community-x86_64 (8 files)

George Rawlinson grawlinson at gemini.archlinux.org
Fri Aug 12 20:24:59 UTC 2022


    Date: Friday, August 12, 2022 @ 20:24:59
  Author: grawlinson
Revision: 1265797

archrelease: copy trunk to community-x86_64

Added:
  tcsh/repos/community-x86_64/PKGBUILD
    (from rev 1265796, tcsh/trunk/PKGBUILD)
  tcsh/repos/community-x86_64/csh.cshrc
    (from rev 1265796, tcsh/trunk/csh.cshrc)
  tcsh/repos/community-x86_64/csh.login
    (from rev 1265796, tcsh/trunk/csh.login)
  tcsh/repos/community-x86_64/tcsh.install
    (from rev 1265796, tcsh/trunk/tcsh.install)
Deleted:
  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.install

--------------+
 PKGBUILD     |  124 ++++++++++++++++++------------------
 csh.cshrc    |  192 ++++++++++++++++++++++++++++-----------------------------
 csh.login    |  142 +++++++++++++++++++++---------------------
 tcsh.install |   42 ++++++------
 4 files changed, 250 insertions(+), 250 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-12 20:23:55 UTC (rev 1265796)
+++ PKGBUILD	2022-08-12 20:24:59 UTC (rev 1265797)
@@ -1,62 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Eric Belanger <eric at archlinux.org>
-# Contributor: Judd Vinet <jvinet at zeroflux.org>
-
-pkgname=tcsh
-pkgver=6.24.00
-pkgrel=2
-pkgdesc='Enhanced version of the Berkeley C shell'
-arch=('x86_64')
-url='https://www.tcsh.org/'
-license=('BSD')
-depends=('ncurses' 'libxcrypt')
-makedepends=('git')
-backup=('etc/csh.cshrc'
-        'etc/csh.login')
-install='tcsh.install'
-_commit='9710f1315e2a927dcce7c005e903622659caa4ae'
-source=(
-  "$pkgname::git+https://github.com/tcsh-org/tcsh.git#commit=$_commit"
-  'csh.cshrc'
-  'csh.login'
-)
-sha512sums=('SKIP'
-            '0710c014b7b42ba8c69beb20ec2b8da44c9318013e83e8a38b2c94da1b11beb50a62cc9d82b7db1b3ee79bb0acf5f2a199e2ee2d745d541ea787e3c6a0069844'
-            '97f9f3e376517bd47aee67b48456b4892e0cb2c6f9c3e4b49d7b75cc23f52e69b06f024fbca1e72442d443720753b93fd9714160e551eab54d3de3757268d2d7')
-b2sums=('SKIP'
-        '016e65a672aba6d9b7283d63435a8ebd01818d56f11fb3c1203b1fd51fb1a67760c8f53b22be409319b3db18b0f81df09103de673579a5a5e1b6e07109069f94'
-        'da0fa27875507d646e869c5a8cdfecb793cd848c38e626704cdf5adb8ec2eef7fd98e3bab6eceea7d99fda25093364c48a8c44417575574a5ad0753b87cef2e3')
-
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed -e 's/^TCSH//' -e 's/_/./g'
-}
-
-build() {
-  cd "$pkgname"
-
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --bindir=/usr/bin
-
-  make
-}
-
-package() {
-  cd "$pkgname"
-
-  make DESTDIR="$pkgdir" mandir=/usr/share/man install install.man
-
-  # shell configuration
-  install -vDm644 -t "$pkgdir/etc" ../csh.{cshrc,login}
-
-  # symlinks for tcsh -> csh
-  ln -s tcsh "$pkgdir/usr/bin/csh"
-  ln -s tcsh.1 "$pkgdir/usr/share/man/man1/csh.1"
-
-  # license
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" Copyright
-}

Copied: tcsh/repos/community-x86_64/PKGBUILD (from rev 1265796, tcsh/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-12 20:24:59 UTC (rev 1265797)
@@ -0,0 +1,62 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
+
+pkgname=tcsh
+pkgver=6.24.01
+pkgrel=1
+pkgdesc='Enhanced version of the Berkeley C shell'
+arch=('x86_64')
+url='https://www.tcsh.org/'
+license=('BSD')
+depends=('ncurses' 'libxcrypt')
+makedepends=('git')
+backup=('etc/csh.cshrc'
+        'etc/csh.login')
+install='tcsh.install'
+_commit='29704a774460fec5fa541b9f3b34e6377220a2ac'
+source=(
+  "$pkgname::git+https://github.com/tcsh-org/tcsh.git#commit=$_commit"
+  'csh.cshrc'
+  'csh.login'
+)
+sha512sums=('SKIP'
+            '0710c014b7b42ba8c69beb20ec2b8da44c9318013e83e8a38b2c94da1b11beb50a62cc9d82b7db1b3ee79bb0acf5f2a199e2ee2d745d541ea787e3c6a0069844'
+            '97f9f3e376517bd47aee67b48456b4892e0cb2c6f9c3e4b49d7b75cc23f52e69b06f024fbca1e72442d443720753b93fd9714160e551eab54d3de3757268d2d7')
+b2sums=('SKIP'
+        '016e65a672aba6d9b7283d63435a8ebd01818d56f11fb3c1203b1fd51fb1a67760c8f53b22be409319b3db18b0f81df09103de673579a5a5e1b6e07109069f94'
+        'da0fa27875507d646e869c5a8cdfecb793cd848c38e626704cdf5adb8ec2eef7fd98e3bab6eceea7d99fda25093364c48a8c44417575574a5ad0753b87cef2e3')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed -e 's/^TCSH//' -e 's/_/./g'
+}
+
+build() {
+  cd "$pkgname"
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --bindir=/usr/bin
+
+  make
+}
+
+package() {
+  cd "$pkgname"
+
+  make DESTDIR="$pkgdir" mandir=/usr/share/man install install.man
+
+  # shell configuration
+  install -vDm644 -t "$pkgdir/etc" ../csh.{cshrc,login}
+
+  # symlinks for tcsh -> csh
+  ln -s tcsh "$pkgdir/usr/bin/csh"
+  ln -s tcsh.1 "$pkgdir/usr/share/man/man1/csh.1"
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" Copyright
+}

Deleted: csh.cshrc
===================================================================
--- csh.cshrc	2022-08-12 20:23:55 UTC (rev 1265796)
+++ csh.cshrc	2022-08-12 20:24:59 UTC (rev 1265797)
@@ -1,96 +0,0 @@
-#############################################################################
-##
-## Gentoo's csh.cshrc
-##
-## Based on the TCSH package (http://tcshrc.sourceforge.net)
-## 
-## .tcshrc		2Sep2001, Simos Xenitellis (simos at hellug.gr)
-##
-## 2003-01-13  --  Alain Penders (alain at gentoo.org)
-##     Renamed to /etc/csh.cshrc, basic cleanup work.
-##
-## 2003-01-24  --  Alain Penders (alain at 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 1265796, tcsh/trunk/csh.cshrc)
===================================================================
--- csh.cshrc	                        (rev 0)
+++ csh.cshrc	2022-08-12 20:24:59 UTC (rev 1265797)
@@ -0,0 +1,96 @@
+#############################################################################
+##
+## Gentoo's csh.cshrc
+##
+## Based on the TCSH package (http://tcshrc.sourceforge.net)
+## 
+## .tcshrc		2Sep2001, Simos Xenitellis (simos at hellug.gr)
+##
+## 2003-01-13  --  Alain Penders (alain at gentoo.org)
+##     Renamed to /etc/csh.cshrc, basic cleanup work.
+##
+## 2003-01-24  --  Alain Penders (alain at 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: csh.login
===================================================================
--- csh.login	2022-08-12 20:23:55 UTC (rev 1265796)
+++ csh.login	2022-08-12 20:24:59 UTC (rev 1265797)
@@ -1,71 +0,0 @@
-#############################################################################
-##
-## Gentoo's csh.login
-##
-## 2003-01-13  -- Alain Penders (alain at 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 1265796, tcsh/trunk/csh.login)
===================================================================
--- csh.login	                        (rev 0)
+++ csh.login	2022-08-12 20:24:59 UTC (rev 1265797)
@@ -0,0 +1,71 @@
+#############################################################################
+##
+## Gentoo's csh.login
+##
+## 2003-01-13  -- Alain Penders (alain at 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: tcsh.install
===================================================================
--- tcsh.install	2022-08-12 20:23:55 UTC (rev 1265796)
+++ tcsh.install	2022-08-12 20:24:59 UTC (rev 1265797)
@@ -1,21 +0,0 @@
-post_install() {
-  # tcsh
-  grep -Fqx /bin/tcsh /etc/shells || echo /bin/tcsh >>/etc/shells
-  grep -Fqx /usr/bin/tcsh /etc/shells || echo /usr/bin/tcsh >>/etc/shells
-
-  # csh
-  grep -Fqx /bin/csh /etc/shells || echo /bin/csh >>/etc/shells
-  grep -Fqx /usr/bin/csh /etc/shells || echo /usr/bin/csh >>/etc/shells
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  # tcsh
-  sed -i -r '/^(\/usr)?\/bin\/tcsh$/d' etc/shells
-
-  # csh
-  sed -i -r '/^(\/usr)?\/bin\/csh$/d' etc/shells
-}

Copied: tcsh/repos/community-x86_64/tcsh.install (from rev 1265796, tcsh/trunk/tcsh.install)
===================================================================
--- tcsh.install	                        (rev 0)
+++ tcsh.install	2022-08-12 20:24:59 UTC (rev 1265797)
@@ -0,0 +1,21 @@
+post_install() {
+  # tcsh
+  grep -Fqx /bin/tcsh /etc/shells || echo /bin/tcsh >>/etc/shells
+  grep -Fqx /usr/bin/tcsh /etc/shells || echo /usr/bin/tcsh >>/etc/shells
+
+  # csh
+  grep -Fqx /bin/csh /etc/shells || echo /bin/csh >>/etc/shells
+  grep -Fqx /usr/bin/csh /etc/shells || echo /usr/bin/csh >>/etc/shells
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  # tcsh
+  sed -i -r '/^(\/usr)?\/bin\/tcsh$/d' etc/shells
+
+  # csh
+  sed -i -r '/^(\/usr)?\/bin\/csh$/d' etc/shells
+}



More information about the arch-commits mailing list