packages: mksh/mksh.spec, mksh/mksh-tty.patch (NEW) - provide /bin/ksh syml...
arekm
arekm at pld-linux.org
Thu Jul 7 22:21:14 CEST 2011
Author: arekm Date: Thu Jul 7 20:21:14 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- provide /bin/ksh symlink; make builder script working (from ksh devs)
---- Files affected:
packages/mksh:
mksh.spec (1.19 -> 1.20) , mksh-tty.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/mksh/mksh.spec
diff -u packages/mksh/mksh.spec:1.19 packages/mksh/mksh.spec:1.20
--- packages/mksh/mksh.spec:1.19 Thu Jul 7 18:47:15 2011
+++ packages/mksh/mksh.spec Thu Jul 7 22:21:09 2011
@@ -6,7 +6,7 @@
Summary(pl.UTF-8): Powłoka Korna z MirBSD
Name: mksh
Version: 40
-Release: 1
+Release: 1.1
License: BSD
Group: Applications/Shells
Source0: http://www.mirbsd.org/MirOS/dist/mir/mksh/%{name}-R%{version}.cpio.gz
@@ -15,6 +15,7 @@
Patch0: %{name}-mkshrc_support.patch
Patch1: %{name}-circumflex.patch
Patch2: %{name}-no_stop_alias.patch
+Patch3: %{name}-tty.patch
URL: https://www.mirbsd.org/mksh.htm
%if %{with tests}
BuildRequires: ed
@@ -83,6 +84,7 @@
%patch0 -p0
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
install -d out
@@ -117,6 +119,9 @@
install -D %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/mkshrc
ln -sf mksh $RPM_BUILD_ROOT%{_bindir}/sh
+# some pdksh scripts used that
+ln -sf mksh $RPM_BUILD_ROOT%{_bindir}/ksh
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -133,6 +138,7 @@
%doc dot.mkshrc
%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/mkshrc
%attr(755,root,root) %{_bindir}/mksh
+%attr(755,root,root) %{_bindir}/ksh
%attr(755,root,root) %{_bindir}/sh
%{_mandir}/man1/mksh.1*
%{_mandir}/man1/sh.1*
@@ -149,6 +155,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.20 2011/07/07 20:21:09 arekm
+- provide /bin/ksh symlink; make builder script working (from ksh devs)
+
Revision 1.19 2011/07/07 16:47:15 draenog
- remove default stop=kill -STOP alias; too generic
================================================================
Index: packages/mksh/mksh-tty.patch
diff -u /dev/null packages/mksh/mksh-tty.patch:1.1
--- /dev/null Thu Jul 7 22:21:14 2011
+++ packages/mksh/mksh-tty.patch Thu Jul 7 22:21:09 2011
@@ -0,0 +1,11 @@
+--- mksh-40/var.c~ 2011-07-07 21:48:19.000000000 +0200
++++ mksh-40/var.c 2011-07-07 22:08:36.466887894 +0200
+@@ -1442,7 +1442,7 @@
+ #ifdef TIOCGWINSZ
+ if (tty_fd < 0)
+ /* non-FTALKING, try to get an fd anyway */
+- tty_init(false, false);
++ tty_init(true, false);
+ #endif
+ x_cols = -1;
+ }
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mksh/mksh.spec?r1=1.19&r2=1.20&f=u
More information about the pld-cvs-commit
mailing list