rpms/ksh/F-9 dotkshrc, NONE, 1.1 kshrc.rhs, NONE, 1.1 ksh.spec, 1.37, 1.38
Michal Hlavinka
mhlavink at fedoraproject.org
Tue Oct 21 17:03:17 UTC 2008
- Previous message: rpms/kernel/F-9 patch-2.6.26.7-rc1.bz2.sign, NONE, 1.1 .cvsignore, 1.828, 1.829 TODO, 1.3, 1.4 kernel.spec, 1.807, 1.808 linux-2.6-upstream-reverts.patch, 1.11, 1.12 sources, 1.789, 1.790 upstream, 1.708, 1.709 linux-2.6-dont-allow-splice-to-files-opened-with-o_append.patch, 1.1, NONE linux-2.6-libata-always-do-follow-up-SRST-if-requested.patch, 1.1, NONE linux-2.6-libata-fix-EH-action-overwriting-in-ata_eh_reset.patch, 1.1, NONE linux-2.6-libata-lba-28-48-off-by-one-in-ata.h.patch, 1.1, NONE linux-2.6-pci-check-mapped-ranges-on-sysfs-resource-files.patch, 1.1, NONE linux-2.6-pci-disable-aspm-on-pre-1.1-devices.patch, 1.1, NONE linux-2.6-pci-disable-aspm-per-acpi-fadt-setting.patch, 1.1, NONE linux-2.6-uvcvideo-dont-use-stack-based-buffers.patch, 1.1, NONE linux-2.6-uvcvideo-fix-another-buffer-overflow.patch, 1.1, NONE linux-2.6-uvcvideo-return-sensible-min-max-values.patch, 1.1, NONE linux-2.6-x86-Reserve-FIRST_DEVICE_VECTOR-in-used_vectors-bit.patch, 1.1, NONE linux-2.6-x86-avoid-dereferencing-beyond-stack-THREAD_SIZE.patch, 1.1, NONE linux-2.6-x86-early_ioremap-fix-fencepost-error.patch, 1.1, NONE linux-2.6-x86-improve-up-kernel-when-cpu-hotplug-and-smp.patch, 1.1, NONE
- Next message: rpms/system-config-printer/F-9 .cvsignore, 1.169, 1.170 sources, 1.176, 1.177 system-config-printer.spec, 1.194, 1.195
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mhlavink
Update of /cvs/extras/rpms/ksh/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv783
Modified Files:
ksh.spec
Added Files:
dotkshrc kshrc.rhs
Log Message:
fix #467025 - Ksh fails to initialise environment when login from graphic console
--- NEW FILE dotkshrc ---
# .kshrc
# Source global definitions
if [ -f /etc/kshrc ]; then
. /etc/kshrc
fi
# User specific aliases and functions
--- NEW FILE kshrc.rhs ---
#
# /etc/kshrc is sourced in interactive shells. It
# should contain commands to set up aliases, functions,
# options, key bindings, etc.
#
# Set prompts
#PROMPT='[%n@%m]%~%# ' # default prompt
#RPROMPT=' %~' # prompt for right side of screen
_src_etc_profile_d()
{
# from zshrc, with ksh fixes
if [[ ! -o login ]]; then # We're not a login shell
for i in /etc/profile.d/*.sh; do
if [ -r "$i" ]; then
. $i
fi
done
unset i
fi
}
_src_etc_profile_d
unset -f _src_etc_profile_d
Index: ksh.spec
===================================================================
RCS file: /cvs/extras/rpms/ksh/F-9/ksh.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- ksh.spec 11 Feb 2008 08:19:43 -0000 1.37
+++ ksh.spec 21 Oct 2008 17:02:47 -0000 1.38
@@ -8,10 +8,13 @@
Group: System Environment/Shells
License: Common Public License Version 1.0
Version: 20080202
-Release: 1%{?dist}
+Release: 2%{?dist}
Source0: http://www.research.att.com/~gsf/download/tgz/ast-ksh.%{releasedate}.tgz
Source1: http://www.research.att.com/~gsf/download/tgz/INIT.%{releasedate}.tgz
Source2: http://www.research.att.com/~gsf/download/tgz/ast-ksh-locale.%{releasedate}.tgz
+Source3: kshrc.rhs
+Source4: dotkshrc
+
#Patch0: ksh-20041225-gcc4.patch
Patch1: ksh-20070328-uname.patch
Patch2: ksh-20070328-useex.patch
@@ -66,6 +69,10 @@
$RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES/
done
ln -sf /bin/ksh $RPM_BUILD_ROOT/usr/bin/ksh
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/skel
+install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/skel/.kshrc
+install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/kshrc
+
%post
if [ ! -f /etc/shells ]; then
@@ -99,11 +106,16 @@
/usr//bin/ksh
%{_datadir}/locale/*/LC_MESSAGES/*
%{_mandir}/man1/*
+%config(noreplace) %{_sysconfdir}/skel/.kshrc
+%config(noreplace) %{_sysconfdir}/kshrc
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Oct 21 2008 Michal Hlavinka <mhlavink at redhat.com> 20080202-2
+- fix #467025 - Ksh fails to initialise environment when login from graphic console
+
* Mon Feb 11 2008 Tomas Smetana <tsmetana at redhat.com> 20080202-1
- new upstream version
- Previous message: rpms/kernel/F-9 patch-2.6.26.7-rc1.bz2.sign, NONE, 1.1 .cvsignore, 1.828, 1.829 TODO, 1.3, 1.4 kernel.spec, 1.807, 1.808 linux-2.6-upstream-reverts.patch, 1.11, 1.12 sources, 1.789, 1.790 upstream, 1.708, 1.709 linux-2.6-dont-allow-splice-to-files-opened-with-o_append.patch, 1.1, NONE linux-2.6-libata-always-do-follow-up-SRST-if-requested.patch, 1.1, NONE linux-2.6-libata-fix-EH-action-overwriting-in-ata_eh_reset.patch, 1.1, NONE linux-2.6-libata-lba-28-48-off-by-one-in-ata.h.patch, 1.1, NONE linux-2.6-pci-check-mapped-ranges-on-sysfs-resource-files.patch, 1.1, NONE linux-2.6-pci-disable-aspm-on-pre-1.1-devices.patch, 1.1, NONE linux-2.6-pci-disable-aspm-per-acpi-fadt-setting.patch, 1.1, NONE linux-2.6-uvcvideo-dont-use-stack-based-buffers.patch, 1.1, NONE linux-2.6-uvcvideo-fix-another-buffer-overflow.patch, 1.1, NONE linux-2.6-uvcvideo-return-sensible-min-max-values.patch, 1.1, NONE linux-2.6-x86-Reserve-FIRST_DEVICE_VECTOR-in-used_vectors-bit.patch, 1.1, NONE linux-2.6-x86-avoid-dereferencing-beyond-stack-THREAD_SIZE.patch, 1.1, NONE linux-2.6-x86-early_ioremap-fix-fencepost-error.patch, 1.1, NONE linux-2.6-x86-improve-up-kernel-when-cpu-hotplug-and-smp.patch, 1.1, NONE
- Next message: rpms/system-config-printer/F-9 .cvsignore, 1.169, 1.170 sources, 1.176, 1.177 system-config-printer.spec, 1.194, 1.195
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list