Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 599438 Details for
Bug 841741
ksh build change request: shared libshell, not static; plus how-to spec attached
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
SPEC file
ksh93.spec (text/plain), 2.77 KB, created by
Kenneth Salerno
on 2012-07-20 18:51:38 UTC
(
hide
)
Description:
SPEC file
Filename:
MIME Type:
Creator:
Kenneth Salerno
Created:
2012-07-20 18:51:38 UTC
Size:
2.77 KB
patch
obsolete
>Name: ksh93 >Version: 20120628 >Release: 5%{?dist} >Summary: AT&T KornShell > >Group: System Shells >License: Eclipse Public License V1.0 >URL: http://www.research.att.com/sw/download >Source0: INIT.2012-06-28.tgz >Source1: ast-ksh.2012-06-28.tgz >patch0: ast-ksh-kpsalerno-shlibs-20120719.patch > > >%description >Ksh is a command and programming language that executes commands read from >a terminal or a file. > > >%prep >%setup -q -c >%setup -q -T -D -a 1 > > >%patch0 -p1 > > >%build >export CCFLAGS="-fPIC -O2 -fomit-frame-pointer -pipe" >./bin/package make > >echo '$CC -L. -fPIC -shared -o lib${module}.so \ > -Wl,--whole-archive ${old_libs} \ > -Wl,--no-whole-archive ${dependency_libs}' >genexportlib.sh >chmod 755 genexportlib.sh > ># generating libast-ast (dep: libnsl)... >cd arch/linux.*/src/cmd/ksh93 >export CC=gcc \ > module=ast-ast \ > old_libs=../../lib/libast/libast.a \ > dependency_libs="-lnsl" >../../../../../genexportlib.sh > ># generating libast-dll (dep: libast-ast)... >export CC=gcc \ > module=ast-dll \ > old_libs=../../lib/libdll/libdll.a \ > dependency_libs="-last-ast" >../../../../../genexportlib.sh > ># generating libast-coshell (dep: libast-ast)... >export CC=gcc \ > module=ast-coshell \ > old_libs=../../lib/libcoshell/libcoshell.a \ > dependency_libs="-last-ast" >../../../../../genexportlib.sh > ># generating libast-cmd (dep: libast-ast)... >export CC=gcc \ > module=ast-cmd \ > old_libs=../../lib/libcmd/libcmd.a \ > dependency_libs=" -last-ast" >../../../../../genexportlib.sh > ># generating libast-shell (dep: libast-ast, libast-dll, ># libast-coshell, libast-cmd)... >export CC=gcc \ > module=ast-shell \ > old_libs=libshell.a \ > dependency_libs="-last-ast -last-dll -last-coshell -last-cmd" >../../../../../genexportlib.sh > ># linking ksh (pmain.o) with libast-shell and libast-ast... >LD_LIBRARY_PATH=. gcc -L. -o ksh -lm -ldl -last-shell -last-ast pmain.o >strip ksh >strip libast-*.so > > >%install >mkdir -p $RPM_BUILD_ROOT/usr/lib64 >mkdir -p $RPM_BUILD_ROOT/usr/bin >mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1 >cd arch/linux.*/src/cmd/ksh93 >cp libast-*.so $RPM_BUILD_ROOT/usr/lib64/ >cp ksh $RPM_BUILD_ROOT/usr/bin/ >ln -s ksh $RPM_BUILD_ROOT/usr/bin/rksh >cp ../../../man/man1/sh.1 $RPM_BUILD_ROOT/usr/share/man/man1/ksh.1 > > >%files >%doc /usr/share/man/man1/ksh.1.gz >/usr/bin/ksh >/usr/bin/rksh >/usr/lib64/libast-*.so > > >%changelog >* Fri Jul 20 2012 Kenneth Salerno <kennethsalerno@yahoo.com> 20120628-5 >- man page is gzipped >* Fri Jul 20 2012 Kenneth Salerno <kennethsalerno@yahoo.com> 20120628-4 >- removed test exit 1 artifact taken from original shell script >* Fri Jul 20 2012 Kenneth Salerno <kennethsalerno@yahoo.com> 20120628-3 >- mixed up RPM_BUILD_ROOT and DESTDIR >* Fri Jul 20 2012 Kenneth Salerno <kennethsalerno@yahoo.com> 20120628-2 >- fixed final link of ksh and install >* Thu Jul 19 2012 Kenneth Salerno <kennethsalerno@yahoo.com> 20120628-1 >- initial
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 841741
:
599310
|
599311
| 599438