- new upstream version

- fix invalid write in uname function
This commit is contained in:
Karsten Hopp 2007-02-21 12:36:12 +00:00
parent e275b3a456
commit 0f16643a45
3 changed files with 29 additions and 26 deletions

View File

@ -1,3 +1,3 @@
ast-ksh.2006-02-14.tgz ast-base-locale.2007-01-11.tgz
ast-base-locale.2006-02-14.tgz ast-ksh.2007-01-11.tgz
INIT.2006-02-14.tgz INIT.2007-01-11.tar

View File

@ -1,5 +1,5 @@
#ExclusiveArch: x86_64 #ExclusiveArch: x86_64
%define releasedate 2006-02-14 %define releasedate 2007-01-11
#ExcludeArch: ia64 #ExcludeArch: ia64
Name: ksh Name: ksh
@ -7,24 +7,25 @@ Summary: The Original ATT Korn Shell
URL: http://www.kornshell.com/ URL: http://www.kornshell.com/
Group: Applications/Shells Group: Applications/Shells
License: Common Public License Version 1.0 License: Common Public License Version 1.0
Version: 20060214 Version: 20070111
Release: 1.1 Release: 1
#Source0: http://www.research.att.com/~gsf/download/tgz/ast-ksh.%{releasedate}.linux.i386.tgz
Source0: http://www.research.att.com/~gsf/download/tgz/ast-ksh.%{releasedate}.tgz 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 Source1: http://www.research.att.com/~gsf/download/tgz/INIT.%{releasedate}.tar
Source2: http://www.research.att.com/~gsf/download/tgz/ast-base-locale.%{releasedate}.tgz Source2: http://www.research.att.com/~gsf/download/tgz/ast-base-locale.%{releasedate}.tgz
Patch0: ksh-2004-02-29-ppc64.patch Patch0: ksh-20041225-gcc4.patch
Patch1: ksh-20041225-gcc4.patch Patch1: ksh-20070111-uname.patch
Patch2: ksh-20050202-path.patch Patch2: ksh-20070111-useex.patch
Patch3: ksh-20050202-uname.patch # for debugging only:
Patch4: ksh-20060124-syntax.patch #Patch100: ksh-20060124-iffedebug.patch
Patch5: ksh-20060124-iffedebug.patch
# build information # build information
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: ksh93 Provides: ksh93
Obsoletes: ksh93 Obsoletes: ksh93
Conflicts: pdksh Conflicts: pdksh
PreReq: grep, coreutils Requires(post): grep, coreutils
Requires(preun): grep, coreutils
%description %description
KSH-93 is the most recent version of the KornShell by David Korn of KSH-93 is the most recent version of the KornShell by David Korn of
@ -36,19 +37,17 @@ with "sh" (the Bourne Shell).
%setup -q -c %setup -q -c
%setup -q -T -D -a 1 %setup -q -T -D -a 1
%setup -q -T -D -a 2 %setup -q -T -D -a 2
#%patch0 -p1 -b .ppc64 %patch0 -p1 -b .gcc4
%patch1 -p1 -b .gcc4 %patch1 -p1 -b .uname
#patch2 -p1 -b .path %patch2 -p1 -b .use_ex
%patch3 -p1 -b .uname #patch100 -p1 -b .iffedebug
%patch4 -p1 -b .syntax
#%patch5 -p1 -b .iffedebug
%build %build
./bin/package "read" ||: ./bin/package "read" ||:
# Use this for debugging: # Use this for debugging:
#export CCFLAGS="-O0 -ggdb" #export CCFLAGS="-O0 -ggdb"
#./bin/package DEBUG "make" #./bin/package DEBUG "make"
./bin/package "make" ./bin/package "make" %{?_smp_mflags}
cp lib/package/LICENSES/ast LICENSE cp lib/package/LICENSES/ast LICENSE
%install %install
@ -89,7 +88,7 @@ else
fi fi
%files %files
%defattr(-, root, root) %defattr(-, root, root,-)
%doc README LICENSE %doc README LICENSE
/bin/* /bin/*
/usr//bin/ksh /usr//bin/ksh
@ -100,6 +99,10 @@ fi
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Wed Feb 21 2007 Karsten Hopp <karsten@redhat.com> 20070111-1
- new upstream version
- fix invalid write in uname function
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 20060214-1.1 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 20060214-1.1
- rebuild - rebuild

View File

@ -1,3 +1,3 @@
76a13bdb10a35b5ff67208cf9042a8bf ast-ksh.2006-02-14.tgz 727f240f8e56b555aa884de4a032519d ast-base-locale.2007-01-11.tgz
f16ea2de409871633c797d4e4f401177 ast-base-locale.2006-02-14.tgz a24a0b8d8dc81600d624e3c0f2159e38 ast-ksh.2007-01-11.tgz
375ede1f75db451f645a140ec41b9216 INIT.2006-02-14.tgz 4cf6a21b17748b4f586235fa289586c6 INIT.2007-01-11.tar