summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-08-14 11:25:03 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-08-14 11:25:03 +0000
commit9776f3f7b1b59d694ef775ce46280edad10d94aa (patch)
tree2e85dea9b3b8bdb88f481c956ec3b796355f4d0e /sys-apps/most
parentFixed dependencies for USE=noauthcram, see bug 83415. (diff)
downloadgentoo-2-9776f3f7b1b59d694ef775ce46280edad10d94aa.tar.gz
gentoo-2-9776f3f7b1b59d694ef775ce46280edad10d94aa.tar.bz2
gentoo-2-9776f3f7b1b59d694ef775ce46280edad10d94aa.zip
Revision bump; added patch to fix the 'g' (goto line) command. Also removed src_compile() completely since the MOST_SYSINIT defaults to what we were using previously (/etc/most.conf). Also updated the dodoc list to include the sample most.rc.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-apps/most')
-rw-r--r--sys-apps/most/ChangeLog12
-rw-r--r--sys-apps/most/Manifest11
-rw-r--r--sys-apps/most/files/digest-most-4.10.2-r1 (renamed from sys-apps/most/files/digest-most-4.10.2)0
-rw-r--r--sys-apps/most/files/most-4.10.2-fix-goto-line.diff12
-rw-r--r--sys-apps/most/most-4.10.2-r1.ebuild (renamed from sys-apps/most/most-4.10.2.ebuild)24
5 files changed, 46 insertions, 13 deletions
diff --git a/sys-apps/most/ChangeLog b/sys-apps/most/ChangeLog
index 958d756addac..9b9a5a90c3ba 100644
--- a/sys-apps/most/ChangeLog
+++ b/sys-apps/most/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for sys-apps/most
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/most/ChangeLog,v 1.19 2005/08/13 03:38:25 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/most/ChangeLog,v 1.20 2005/08/14 11:25:03 ka0ttic Exp $
+
+*most-4.10.2-r1 (14 Aug 2005)
+
+ 14 Aug 2005; Aaron Walker <ka0ttic@gentoo.org>
+ +files/most-4.10.2-fix-goto-line.diff, -most-4.10.2.ebuild,
+ +most-4.10.2-r1.ebuild:
+ Revision bump; added patch to fix the 'g' (goto line) command. Also removed
+ src_compile() completely since the MOST_SYSINIT defaults to what we were
+ using previously (/etc/most.conf). Also updated the dodoc list to include
+ the sample most.rc.
13 Aug 2005; Joshua Kinard <kumba@gentoo.org> metadata.xml,
most-4.10.2.ebuild:
diff --git a/sys-apps/most/Manifest b/sys-apps/most/Manifest
index b1cc5f4ff1a4..64128c278030 100644
--- a/sys-apps/most/Manifest
+++ b/sys-apps/most/Manifest
@@ -1,10 +1,11 @@
-MD5 e68ae64e677ea941e092759fdc8dc9a0 ChangeLog 2834
-MD5 e2d614fd87eac1a4402def83a459af86 metadata.xml 164
+MD5 3e74aa2449c0ed32ba8d53f04c3fa831 most-4.9.5.ebuild 1527
MD5 8e44bf156727af67aeeaa8344dc8f278 most-4.9.2.ebuild 935
+MD5 69e85d82dd6da1f8f3762d9fd7f956bf most-4.10.2-r1.ebuild 1504
+MD5 4266e5c2b789e4e808003456e57b43a0 ChangeLog 3254
+MD5 e2d614fd87eac1a4402def83a459af86 metadata.xml 164
MD5 1f3b29668972289ae7d1434746126f96 most-4.9.4.ebuild 936
-MD5 3e74aa2449c0ed32ba8d53f04c3fa831 most-4.9.5.ebuild 1527
-MD5 878a8c0268703936011ec711b6f8df28 most-4.10.2.ebuild 1395
MD5 a23dcc37cb7e0fb3d5fde35a36d9f270 files/digest-most-4.9.2 61
MD5 fca955f15889eb7ffb4639dd1484ccfa files/digest-most-4.9.4 62
MD5 f50722839e33523b309eda86c46e465d files/digest-most-4.9.5 62
-MD5 92687eb187b1e9a13f22c1d593123f14 files/digest-most-4.10.2 63
+MD5 472794b01f4d3b05bb43788c16776853 files/most-4.10.2-fix-goto-line.diff 529
+MD5 92687eb187b1e9a13f22c1d593123f14 files/digest-most-4.10.2-r1 63
diff --git a/sys-apps/most/files/digest-most-4.10.2 b/sys-apps/most/files/digest-most-4.10.2-r1
index a45c3ae04430..a45c3ae04430 100644
--- a/sys-apps/most/files/digest-most-4.10.2
+++ b/sys-apps/most/files/digest-most-4.10.2-r1
diff --git a/sys-apps/most/files/most-4.10.2-fix-goto-line.diff b/sys-apps/most/files/most-4.10.2-fix-goto-line.diff
new file mode 100644
index 000000000000..3b9272c491b6
--- /dev/null
+++ b/sys-apps/most/files/most-4.10.2-fix-goto-line.diff
@@ -0,0 +1,12 @@
+diff --exclude='*~' --exclude='.*' -I '$Id:' -urN most-4.10.2.orig/src/keym.c most-4.10.2/src/keym.c
+--- most-4.10.2.orig/src/keym.c 2005-08-13 23:11:23.000000000 -0400
++++ most-4.10.2/src/keym.c 2005-08-13 23:37:11.000000000 -0400
+@@ -199,7 +199,7 @@
+ {
+ Most_Mini_Buf[0] = 0;
+
+- if (!most_read_from_minibuffer(prompt, (char *) Most_Mini_Buf, MOST_MINI_BUF_LEN))
++ if (most_read_from_minibuffer(prompt, (char *) Most_Mini_Buf, MOST_MINI_BUF_LEN))
+ return -1;
+
+ if (1 != sscanf((char *) Most_Mini_Buf, "%d", n))
diff --git a/sys-apps/most/most-4.10.2.ebuild b/sys-apps/most/most-4.10.2-r1.ebuild
index 7c9fa4fa255b..569fd7a061f7 100644
--- a/sys-apps/most/most-4.10.2.ebuild
+++ b/sys-apps/most/most-4.10.2-r1.ebuild
@@ -1,13 +1,15 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/most/most-4.10.2.ebuild,v 1.4 2005/08/13 03:38:25 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/most/most-4.10.2-r1.ebuild,v 1.1 2005/08/14 11:25:03 ka0ttic Exp $
+inherit eutils
DESCRIPTION="An extremely excellent text file reader"
HOMEPAGE="http://freshmeat.net/projects/most/"
-SLOT="0"
-LICENSE="GPL-2"
SRC_URI="ftp://space.mit.edu/pub/davis/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
IUSE=""
# Note to arch maintainers: you'll need to add to src_install() for your
@@ -18,9 +20,10 @@ KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc-macos ~sparc ~x86"
DEPEND=">=sys-libs/slang-1.4.2
>=sys-libs/ncurses-5.2-r2"
-src_compile() {
- econf || die "econf failed!"
- emake SYS_INITFILE="/etc/most.conf" || die "emake failed!"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-fix-goto-line.diff
}
src_install() {
@@ -54,5 +57,12 @@ src_install() {
dodoc COPYING COPYRIGHT README changes.txt
docinto txt
- dodoc default.rc lesskeys.rc most-fun.txt
+ dodoc most.rc lesskeys.rc most-fun.txt
+}
+
+pkg_postinst() {
+ echo
+ einfo "See /usr/share/doc/${PF}/txt/most.rc.gz"
+ einfo "for an example /etc/most.conf."
+ echo
}