packages: lesspipe/lesspipe.sh, lesspipe/lesspipe.spec - rel. 1.52: added r...

gotar gotar at pld-linux.org
Sun Oct 16 23:44:50 CEST 2011


Author: gotar                        Date: Sun Oct 16 21:44:50 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel. 1.52: added rrd info, sorted archives with most common alternatives
  first and keeping *.tar.XYZ before *.XYZ

---- Files affected:
packages/lesspipe:
   lesspipe.sh (1.51 -> 1.52) , lesspipe.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: packages/lesspipe/lesspipe.sh
diff -u packages/lesspipe/lesspipe.sh:1.51 packages/lesspipe/lesspipe.sh:1.52
--- packages/lesspipe/lesspipe.sh:1.51	Fri Oct  7 12:23:43 2011
+++ packages/lesspipe/lesspipe.sh	Sun Oct 16 23:44:45 2011
@@ -87,26 +87,29 @@
 		initrd "$1" && return 0
 	;;
 
-	*.tar|*.ova) tar tvvf "$1" ;;
-	*.tar.lzma|*.tar.xz) tar tJvvf "$1" ;;
-	*.a) ar tvf "$1" ;;
-	*.tgz|*.tar.gz|*.tar.[Zz]) tar tzvvf "$1" ;;
-	*.tbz2|*.tar.bz2) bzip2 -dc -- "$1" | tar tvvf - ;;
-	*.cpio.gz) gzip -dc -- "$1" | cpio -itv ;;
-	*.[Zz]|*.gz) gzip -dc -- "$1" ;;
+	# archives
 	*.7z) 7z l "$1" ;;
+	*.a) ar tvf "$1" ;;
 	*.bz) bzip -dc -- "$1" ;;
+	*.tar.bz2|*.tbz2) bzip2 -dc -- "$1" | tar tvvf - ;;
 	*.bz2) bzip2 -dc -- "$1" ;;
+	*.cab|*.CAB) cabextract -l -- "$1" ;;
+	*.cpi|*.cpio) cpio -itv < "$1" ;;
+	*.cpio.gz) gzip -dc -- "$1" | cpio -itv ;;
+	*.deb) dpkg -c "$1" ;;
+	*.tar.gz|*.tar.[Zz]|*.tgz) tar tzvvf "$1" ;;
+	*.gz|*.[Zz]) gzip -dc -- "$1" ;;
+	*.tar.lzma|*.tar.xz) tar tJvvf "$1" ;;
 	*.lzma|*.xz) xz -dc -- "$1" || lzma -dc -- "$1" ;;
-	*.zip|*.jar|*.xpi|*.pk3|*.skz|*.gg|*.ipa) 7z l "$1" || unzip -l "$1" ;;
 	*.phar) phar info -f "$1"; phar list -f "$1" ;;
-	*.rpm) rpm -qpivl --changelog -- "$1" ;;
 	*.rar) unrar -p- vb -- "$1" ;;
-	*.cpi|*.cpio) cpio -itv < "$1" ;;
-	*.cab|*.CAB) cabextract -l -- "$1" ;;
-	*.deb) dpkg -c "$1" ;;
+	*.rpm) rpm -qpivl --changelog -- "$1" ;;
+	*.tar|*.ova) tar tvvf "$1" ;;
+	*.zip|*.jar|*.xpi|*.pk3|*.skz|*.gg|*.ipa) 7z l "$1" || unzip -l "$1" ;;
 	# .war could be Zip (limewire) or tar.gz file (konqueror web archives)
 	*.war) 7z l "$1" || unzip -l "$1" || tar tzvvf "$1" ;;
+	# other file types not handled via mailcap (no mimetype)
+	*.rrd) rrdtool info "$1" ;;
 	# SSL certs
 	*.csr) openssl req -noout -text -in "$1" ;;
 	*.crl) openssl crl -noout -text -in "$1" ;;

================================================================
Index: packages/lesspipe/lesspipe.spec
diff -u packages/lesspipe/lesspipe.spec:1.26 packages/lesspipe/lesspipe.spec:1.27
--- packages/lesspipe/lesspipe.spec:1.26	Sat Jul 23 21:09:51 2011
+++ packages/lesspipe/lesspipe.spec	Sun Oct 16 23:44:45 2011
@@ -6,7 +6,7 @@
 Summary:	Input preprocessor for less
 Summary(pl.UTF-8):	Preprocesor wejścia dla narzędzia less
 Name:		lesspipe
-Version:	1.49
+Version:	1.52
 Release:	1
 License:	GPL v2
 Group:		Applications/Text
@@ -75,6 +75,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2011/10/16 21:44:45  gotar
+- rel. 1.52: added rrd info, sorted archives with most common alternatives
+  first and keeping *.tar.XYZ before *.XYZ
+
 Revision 1.26  2011/07/23 19:09:51  areq
 - 1.49
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lesspipe/lesspipe.sh?r1=1.51&r2=1.52&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lesspipe/lesspipe.spec?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list