summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/less/ChangeLog7
-rw-r--r--sys-apps/less/Manifest2
-rw-r--r--sys-apps/less/files/code2color-0.2.patch4
-rw-r--r--sys-apps/less/files/lesspipe.sh14
-rw-r--r--sys-apps/less/less-459.ebuild (renamed from sys-apps/less/less-458.ebuild)0
5 files changed, 17 insertions, 10 deletions
diff --git a/sys-apps/less/ChangeLog b/sys-apps/less/ChangeLog
index 986a54f3..2c391485 100644
--- a/sys-apps/less/ChangeLog
+++ b/sys-apps/less/ChangeLog
@@ -2,7 +2,12 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
-*less-458.ebuild (05 Apr 2012)
+*less-459.ebuild (28 May 2013)
+
+ 28 May 2013; Martin Väth <martin@mvath.de>:
+ Bump less version.
+
+*less-458.ebuild (05 Apr 2013)
05 Apr 2013; Martin Väth <martin@mvath.de>:
Bump less version.
diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest
index 4e183373..ffb92f5e 100644
--- a/sys-apps/less/Manifest
+++ b/sys-apps/less/Manifest
@@ -1,3 +1,3 @@
DIST code2color-0.2 200711 SHA256 2365c9009b1cc3c30430b88775ec402164df105fd12364871d05dcaed20be954 SHA512 c0ab9f411d5a106c81334343e3c4a63b67d27b95e2d128145e3ac1ee46cd6c228c61796cf96e51826e69b3e465e7bdaa81b1a48cad934c23b310f2ea2ebd8e75 WHIRLPOOL d0207e84a5849c554b1dfc5882ab46d8afc411c7d26e912235ec05565880e6ed0db8449133502234a01ae8f59feae211486b6a523e37859d8404f72fff9b8f93
-DIST less-458.tar.gz 311224 SHA256 e536c7819ede54b3d487f0ffc4c14b3620bed83734d92a81e89f62346db0fcac SHA512 09f4cbd9b7f7969b80dc630d7ec74634ccc19b714b6eef2d9547a1455816ea0d5891cd23f31bd204f41bc4f6c21c721eb35340a259ac20027a444ff549a6f065 WHIRLPOOL b3cdbd5df5d6b36ef40a1b9f6d2a0d9021e544616201fff4ae8cd7dd8b6875f6aae01f08223169e42275ec2c6dcd2d4aa0d47a251b482b9a9913294e471aebe3
+DIST less-459.tar.gz 311303 SHA256 dde57d16489a433605ede1ef35775a1d3beda1d621cd4b2b321874f9deaf7f11 SHA512 37ed81365db193b832cb09e5689e3355f66308ad9aa75d73713011a61893bd9249a2c73e685428ddc22304672b6f38554d4590b4bbb3cebd6a04fcfd7a42447d WHIRLPOOL ab249911378987cb401d6644b1000174f0acc4457dfe5955db71385e3abe6b2696c4c321e5de9722376fb98513023efbef9cd015578998f29873e8b85ae7a938
DIST less-select-2.2.tar.gz 25047 SHA256 b9a35194fd6c188a9aedc6835b233f0e8078df0e309e39067c893b8b1f73141f SHA512 5ce36fa4e404ae626f9c96ffcf58b9188e0f12c6db0321d3f0ed8fe47593951d072e1da53b874e80fc39041ae8aa85d06d646215d7ad63c611cb096ff5ca9136 WHIRLPOOL ec5341dbb4292f3e776e32ba996ef2efe2aa89438d4f0907efecdcf234d27b2b0e149d43ebd6dee089365c20f2a0796497e5cceebf3f25b846c14e8f0d9e762e
diff --git a/sys-apps/less/files/code2color-0.2.patch b/sys-apps/less/files/code2color-0.2.patch
index ffce21cb..f8a78250 100644
--- a/sys-apps/less/files/code2color-0.2.patch
+++ b/sys-apps/less/files/code2color-0.2.patch
@@ -1,5 +1,5 @@
---- 1/code2color
-+++ 1/code2color
+--- code2color
++++ code2color
@@ -163,11 +163,11 @@
# building up the database
# newer entries overwrite old ones
diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh
index 0d46c9d4..e5c8e65d 100644
--- a/sys-apps/less/files/lesspipe.sh
+++ b/sys-apps/less/files/lesspipe.sh
@@ -15,6 +15,7 @@ guesscompress() {
*.bz2|*.bz) echo "bunzip2 -c" ;;
*.lz) echo "lzip -dc" ;;
*.lzma) echo "unlzma -c" ;;
+ *.lzo) echo "lzop -dc" ;;
*.xz) echo "xzdec" ;;
*) echo "cat" ;;
esac
@@ -46,7 +47,7 @@ lesspipe() {
local match=$2
[[ -z ${match} ]] && match=$1
- local DECOMPRESSOR=$(guesscompress "$match")
+ local DECOMPRESSOR=$(guesscompress "${match}")
# User filters
if [[ -x ~/.lessfilter ]] ; then
@@ -58,13 +59,14 @@ lesspipe() {
[[ ${match} == *.${ignore} ]] && exit 0
done
- case "$match" in
+ case "${match}" in
### Doc files ###
*.[0-9n]|*.man|\
*.[0-9n].bz2|*.man.bz2|\
*.[0-9n].gz|*.man.gz|\
*.[0-9n].lzma|*.man.lzma|\
+ *.[0-9n].xz|*.man.xz|\
*.[0-9][a-z].gz|*.[0-9][a-z].gz)
local out=$(${DECOMPRESSOR} -- "$1" | file -)
case ${out} in
@@ -149,10 +151,10 @@ lesspipe() {
*.squashfs) unsquashfs -s "$1" && unsquashfs -ll "$1" ;;
### Media ###
- *.bmp|*.gif|*.jpeg|*.jpg|*.ico|*.pcd|*.pcx|*.png|*.ppm|*.tga|*.tiff|*.tif)
+ *.bmp|*.gif|*.jpeg|*.jpg|*.ico|*.pcd|*.pcx|*.png|*.ppm|*.tga|*.tiff|*.tif|*.webp)
identify "$1" || file -L -- "$1"
;;
- *.avi|*.mpeg|*.mpg|*.mov|*.qt|*.wmv|*.asf|*.rm|*.ram)
+ *.asf|*.avi|*.mov|*.mp4|*.mpeg|*.mpg|*.qt|*.ram|*.rm|*.webm|*.wmv)
midentify "$1" || file -L -- "$1"
;;
*.mp3) mp3info "$1" || id3info "$1" ;;
@@ -233,8 +235,8 @@ if [[ -z $1 ]] ; then
elif [[ $1 == "-V" || $1 == "--version" ]] ; then
Id="cvsid"
cat <<-EOF
- $Id: lesspipe.sh,v 1.50 2013/01/30 07:08:38 vapier Exp $
- Copyright 2001-2010 Gentoo Foundation
+ $Id: lesspipe.sh,v 1.52 2013/04/29 18:37:49 vapier Exp $
+ Copyright 2001-2013 Gentoo Foundation
Mike Frysinger <vapier@gentoo.org>
(with plenty of ideas stolen from other projects/distros)
diff --git a/sys-apps/less/less-458.ebuild b/sys-apps/less/less-459.ebuild
index 5c0bdd9f..5c0bdd9f 100644
--- a/sys-apps/less/less-458.ebuild
+++ b/sys-apps/less/less-459.ebuild