packages: rc-scripts/rc-scripts.spec, rc-scripts/rc-scripts-lc.patch (NEW) ...

arekm arekm at pld-linux.org
Thu Jul 16 19:09:14 CEST 2009


Author: arekm                        Date: Thu Jul 16 17:09:14 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2; fix COLUMNS/LINES on some terminals (like ipmi sol)

---- Files affected:
packages/rc-scripts:
   rc-scripts.spec (1.304 -> 1.305) , rc-scripts-lc.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/rc-scripts/rc-scripts.spec
diff -u packages/rc-scripts/rc-scripts.spec:1.304 packages/rc-scripts/rc-scripts.spec:1.305
--- packages/rc-scripts/rc-scripts.spec:1.304	Wed Jul  1 06:40:05 2009
+++ packages/rc-scripts/rc-scripts.spec	Thu Jul 16 19:09:09 2009
@@ -10,12 +10,13 @@
 Summary(tr.UTF-8):	inittab ve /etc/rc.d dosyaları
 Name:		rc-scripts
 Version:	0.4.2.3
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Base
 Source0:	ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz
 # Source0-md5:	609b673eefa6c29906cc15b7a6b90a9c
 Patch0:		dropcaps.patch
+Patch1:		%{name}-lc.patch
 URL:		http://svn.pld-linux.org/cgi-bin/viewsvn/rc-scripts/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -105,6 +106,7 @@
 %prep
 %setup -q
 %patch0 -p0
+%patch1 -p0
 
 %build
 %{__aclocal}
@@ -344,6 +346,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.305  2009/07/16 17:09:09  arekm
+- rel 2; fix COLUMNS/LINES on some terminals (like ipmi sol)
+
 Revision 1.304  2009/07/01 04:40:05  glen
 - 0.4.2.3
 

================================================================
Index: packages/rc-scripts/rc-scripts-lc.patch
diff -u /dev/null packages/rc-scripts/rc-scripts-lc.patch:1.1
--- /dev/null	Thu Jul 16 19:09:14 2009
+++ packages/rc-scripts/rc-scripts-lc.patch	Thu Jul 16 19:09:09 2009
@@ -0,0 +1,14 @@
+Index: rc.d/init.d/functions
+===================================================================
+--- rc.d/init.d/functions	(wersja 10418)
++++ rc.d/init.d/functions	(kopia robocza)
+@@ -25,7 +25,8 @@
+ 	_setterm
+ 	unset _setterm
+ fi
+-[ -z "$COLUMNS" ] && COLUMNS=80
++[ -z "$LINES" -o "$LINES" -le 0 ] && COLUMNS=40
++[ -z "$COLUMNS" -o "$COLUMNS" -le 0 ] && COLUMNS=80
+ export LINES COLUMNS
+ INIT_COL=$((COLUMNS - 13))
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rc-scripts/rc-scripts.spec?r1=1.304&r2=1.305&f=u



More information about the pld-cvs-commit mailing list