summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2012-10-23 19:03:13 +0200
committerMartin Väth <martin@mvath.de>2015-10-11 10:48:29 +0200
commitccc452ba7ea06c7b12087a5697cada7e08ed2d8a (patch)
treea3f391d040bd391488756e0a4142c1c7031cd572
parentBump kernel (diff)
downloadmv-ccc452ba7ea06c7b12087a5697cada7e08ed2d8a.tar.gz
mv-ccc452ba7ea06c7b12087a5697cada7e08ed2d8a.tar.bz2
mv-ccc452ba7ea06c7b12087a5697cada7e08ed2d8a.zip
Bump less. Update checksums
-rw-r--r--profiles/use.local.desc1
-rw-r--r--sys-apps/less/ChangeLog5
-rw-r--r--sys-apps/less/Manifest2
-rw-r--r--sys-apps/less/files/lesspipe.sh6
-rw-r--r--sys-apps/less/less-452.ebuild (renamed from sys-apps/less/less-451.ebuild)15
-rw-r--r--sys-apps/less/metadata.xml1
6 files changed, 22 insertions, 8 deletions
diff --git a/profiles/use.local.desc b/profiles/use.local.desc
index 01d33935..95dd212f 100644
--- a/profiles/use.local.desc
+++ b/profiles/use.local.desc
@@ -47,6 +47,7 @@ media-video/video-mv:title - Support for statusline changes (requires app-shells
net-misc/sshstart:keychain - Pull in keychain as dependency. Not required, but recommended for smoother operation.
sys-apps/less:less-select - Add the less-select feature (additional options and a binary helper).
sys-apps/less:original-gentoo - Use the gentoo default for the LESS variable.
+sys-apps/less:source - Install sources for keybindings (only useful with less-select).
sys-apps/starter:title - Support for statusline changes (requires app-shells/runtitle)
sys-fs/aufs:all-patches - Apply all patches - also those which do not start with aufs
sys-fs/aufs:kernel-patch - Apply the aufs kernel patches instead of just copying them
diff --git a/sys-apps/less/ChangeLog b/sys-apps/less/ChangeLog
index 9ac15b3b..a31000b5 100644
--- a/sys-apps/less/ChangeLog
+++ b/sys-apps/less/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*less-452.ebuild (23 Oct 2012)
+
+ 23 Jul 2012; Martin Väth <martin@mvath.de>
+ Bump less version. Add USE=sources
+
*less-451.ebuild (23 Jul 2012)
21 Sep 2012; Martin Väth <martin@mvath.de>
diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest
index fce697f9..19c5af1d 100644
--- a/sys-apps/less/Manifest
+++ b/sys-apps/less/Manifest
@@ -1,3 +1,3 @@
DIST code2color 199875 SHA256 ce63f148293a81b0fe5e072f33285f9bf4f1d832f64b23a2220519674a47091d SHA512 d9cf24434bf105a138ee82652867aedb83dfe6bfea14d20337f97cf9d37ff9f370a4a7dd58bc7eb69de0f3b944d47c7d7e075f50098b0966e753f42b1b35c22f WHIRLPOOL cdb748e04663a6a109310da454ff5a245e6562ec8cdae03a35ca93095e40511707662c4743dcd922049838cac646d930e6b2d2878f26c328916bb3c9c60c5e8c
-DIST less-451.tar.gz 310144 SHA256 9fe8287c647afeafb4149c5dedaeacfd20971ed7c26c7553794bb750536b5f57 SHA512 6a9a0853e802306c9f6695e8a71f2bcfd38479c80a4f814852fd012caf4823f448d9f203ca52bc356f31aa368bf96e773938ee2be5ff20804dce3ee1a28bf42d WHIRLPOOL 4fe6ed7e814bcef467175b978827a9009094f4a5395ee746c74bb13f38830bf19aa4e54da60b80b68d61a92525f383749eb0c019e4eddf6b89d87d9df05bf43a
+DIST less-452.tar.gz 310592 SHA256 bde4cd1f3cc157de365fce5e40cdcb72ac95fefec1ac52935370fc73f8b4ed1c SHA512 0b8524bac9692cc28f6bc2a020af89ba6fa2cb142c25682ecb97f9856858f0eaf35e58cd12a17c9d2a42f68aa9b31653e9de6a3007f4df45cc65f050c4ebbc82 WHIRLPOOL df2902a76d24a672b510f284db40a7a2c603f9b7e5c6c3dbf8a35ba6ac6258bf5e9ec84e310076cb4568289d08e37cd4501d572ee8b32fb33d967b039cbcc938
DIST less-select-2.2.tar.gz 25047 SHA256 b9a35194fd6c188a9aedc6835b233f0e8078df0e309e39067c893b8b1f73141f SHA512 5ce36fa4e404ae626f9c96ffcf58b9188e0f12c6db0321d3f0ed8fe47593951d072e1da53b874e80fc39041ae8aa85d06d646215d7ad63c611cb096ff5ca9136 WHIRLPOOL ec5341dbb4292f3e776e32ba996ef2efe2aa89438d4f0907efecdcf234d27b2b0e149d43ebd6dee089365c20f2a0796497e5cceebf3f25b846c14e8f0d9e762e
diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh
index c27ff058..8e6ba081 100644
--- a/sys-apps/less/files/lesspipe.sh
+++ b/sys-apps/less/files/lesspipe.sh
@@ -125,8 +125,8 @@ lesspipe() {
*.zoo) zoo -list "$1" || unzoo -l "$1" ;;
*.7z|*.exe) 7z l -- "$1" || 7za l -- "$1" || 7zr l -- "$1" ;;
*.a) ar tv "$1" ;;
- *.elf) readelf -a -- "$1" ;;
- *.so) readelf -h -d -s -- "$1" ;;
+ *.elf) readelf -a -W -- "$1" ;;
+ *.so) readelf -h -d -s -W -- "$1" ;;
*.mo|*.gmo) msgunfmt -- "$1" ;;
*.rar|.r[0-9][0-9]) unrar l -- "$1" ;;
@@ -233,7 +233,7 @@ if [[ -z $1 ]] ; then
elif [[ $1 == "-V" || $1 == "--version" ]] ; then
Id="cvsid"
cat <<-EOF
- $Id: lesspipe.sh,v 1.47 2011/12/07 20:29:25 vapier Exp $
+ $Id: lesspipe.sh,v 1.48 2012/09/04 19:13:58 vapier Exp $
Copyright 2001-2010 Gentoo Foundation
Mike Frysinger <vapier@gentoo.org>
(with plenty of ideas stolen from other projects/distros)
diff --git a/sys-apps/less/less-451.ebuild b/sys-apps/less/less-452.ebuild
index a1afe7b5..e4fec4a3 100644
--- a/sys-apps/less/less-451.ebuild
+++ b/sys-apps/less/less-452.ebuild
@@ -19,13 +19,19 @@ SRC_URI="http://www.greenwoodsoftware.com/less/${P}.tar.gz
LICENSE="|| ( GPL-3 BSD-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="+less-select pcre original-gentoo unicode"
+IUSE="+less-select pcre original-gentoo source unicode"
DEPEND=">=app-misc/editor-wrapper-3
>=sys-libs/ncurses-5.2
pcre? ( dev-libs/libpcre )"
RDEPEND="${DEPEND}"
+pkg_setup() {
+ if use source && ! use less-select
+ then ewarn 'ignoring USE=source without USE=less-select'
+ fi
+}
+
src_unpack() {
unpack ${P}.tar.gz
cp "${DISTDIR}"/code2color "${S}"/
@@ -83,10 +89,11 @@ src_install() {
then newdoc "${SELECTDIR}"/README README.less-select
dobin "${SELECTDIR}/bin/"*
insinto /etc/less
- # The first is required for less-select, the others are optional
doins select-key.bin normal-key.bin
- newins "${SELECTDIR}/keys/less-select-key.src" select-key.src
- newins "${SELECTDIR}/keys/less-normal-key.src" normal-key.src
+ if use source
+ then newins "${SELECTDIR}/keys/less-select-key.src" select-key.src
+ newins "${SELECTDIR}/keys/less-normal-key.src" normal-key.src
+ fi
fi
}
diff --git a/sys-apps/less/metadata.xml b/sys-apps/less/metadata.xml
index 89718bf4..7fc2a638 100644
--- a/sys-apps/less/metadata.xml
+++ b/sys-apps/less/metadata.xml
@@ -18,5 +18,6 @@
<use>
<flag name="original-gentoo">Use the gentoo default for the LESS variable.</flag>
<flag name="less-select">Add the less-select feature (additional options and a binary helper).</flag>
+ <flag name="source">Install sources for keybindings (only useful with less-select).</flag>
</use>
</pkgmetadata>