packages: mailx/mailx.spec, mailx/mailx-pager.patch (NEW) - use less as def...

baggins baggins at pld-linux.org
Wed Apr 14 13:17:31 CEST 2010


Author: baggins                      Date: Wed Apr 14 11:17:31 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use less as default pager

---- Files affected:
packages/mailx:
   mailx.spec (1.53 -> 1.54) , mailx-pager.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/mailx/mailx.spec
diff -u packages/mailx/mailx.spec:1.53 packages/mailx/mailx.spec:1.54
--- packages/mailx/mailx.spec:1.53	Wed Apr 14 13:15:48 2010
+++ packages/mailx/mailx.spec	Wed Apr 14 13:17:25 2010
@@ -13,6 +13,7 @@
 Patch2:		%{name}-openssl-nss.patch
 Patch3:		%{name}-openssl.patch
 Patch4:		%{name}-ipv6.patch
+Patch5:		%{name}-pager.patch
 URL:		http://heirloom.sourceforge.net/mailx.html
 BuildRequires:	heimdal-devel
 BuildRequires:	openssl-devel >= 0.9.7d
@@ -42,6 +43,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 %{__make} \
@@ -98,6 +100,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.54  2010/04/14 11:17:25  baggins
+- use less as default pager
+
 Revision 1.53  2010/04/14 11:15:48  baggins
 - fix building with openssl 1.0.0
 - prefer openssl over NSS

================================================================
Index: packages/mailx/mailx-pager.patch
diff -u /dev/null packages/mailx/mailx-pager.patch:1.1
--- /dev/null	Wed Apr 14 13:17:31 2010
+++ packages/mailx/mailx-pager.patch	Wed Apr 14 13:17:25 2010
@@ -0,0 +1,12 @@
+diff -Nrbu mailx-12.3/cmd1.c mailx-12.3-OK/cmd1.c
+--- mailx-12.3/cmd1.c	2007-06-16 16:48:39.000000000 +0400
++++ mailx-12.3-OK/cmd1.c	2008-06-26 19:57:38.000000000 +0400
+@@ -78,7 +78,7 @@
+ 
+ 	cp = value("PAGER");
+ 	if (cp == NULL || *cp == '\0')
+-		cp = value("bsdcompat") ? "more" : "pg";
++		cp = value("bsdcompat") ? "more" : "less";
+ 	return cp;
+ }
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mailx/mailx.spec?r1=1.53&r2=1.54&f=u



More information about the pld-cvs-commit mailing list