diff options
author | 2014-12-08 12:58:15 +0900 | |
---|---|---|
committer | 2014-12-08 12:58:15 +0900 | |
commit | 819da6abb15089043d8b8fa523ee21fd9968a373 (patch) | |
tree | f4789281aafdf0008f5bde72a1846cd029ae0f64 /sys-apps | |
parent | sys-libs/glibc: add vdso hack to glibc-2.19 (diff) | |
download | android-819da6abb15089043d8b8fa523ee21fd9968a373.tar.gz android-819da6abb15089043d8b8fa523ee21fd9968a373.tar.bz2 android-819da6abb15089043d8b8fa523ee21fd9968a373.zip |
sys-apps/most: bug #531958, /bin/cp or terminfo could be be found on Android
track to include the patches
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/most/ChangeLog | 178 | ||||
-rw-r--r-- | sys-apps/most/Manifest | 6 | ||||
-rw-r--r-- | sys-apps/most/files/most-5.0.0a-donot-hardcode-path.patch | 32 | ||||
-rw-r--r-- | sys-apps/most/files/most-5.0.0a-no-explicit-termcap.patch | 215 | ||||
-rw-r--r-- | sys-apps/most/metadata.xml | 5 | ||||
-rw-r--r-- | sys-apps/most/most-5.0.0a.ebuild | 35 |
6 files changed, 471 insertions, 0 deletions
diff --git a/sys-apps/most/ChangeLog b/sys-apps/most/ChangeLog new file mode 100644 index 0000000..a3e7ac3 --- /dev/null +++ b/sys-apps/most/ChangeLog @@ -0,0 +1,178 @@ +# ChangeLog for sys-apps/most +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/most/ChangeLog,v 1.47 2014/01/14 18:47:42 grobian Exp $ + + 14 Jan 2014; Fabian Groffen <grobian@gentoo.org> most-5.0.0a.ebuild: + Marked ~x64-macos + + 12 Apr 2011; Jonathan Callen <abcd@gentoo.org> most-5.0.0a.ebuild: + Add prefix support, bump EAPI to 4, add prefix keywords, cleanup + + 06 Jan 2011; Justin Lecher <jlec@gentoo.org> most-5.0.0a.ebuild: + Some Clean up + + 25 Sep 2008; Alexis Ballier <aballier@gentoo.org> most-5.0.0a.ebuild: + keyword ~x86-fbsd + + 29 May 2008; Samuli Suominen <drac@gentoo.org> most-5.0.0a.ebuild: + keyword ~arm + + 10 Mar 2008; Samuli Suominen <drac@gentoo.org> + -files/most-4.10.2-fix-goto-line.diff, -most-4.10.2-r1.ebuild, + most-5.0.0a.ebuild: + amd64 stable wrt #212788 + + 10 Mar 2008; Raúl Porcel <armin76@gentoo.org> most-5.0.0a.ebuild: + alpha/sparc stable wrt #212788 + + 09 Mar 2008; nixnut <nixnut@gentoo.org> most-5.0.0a.ebuild: + Stable on ppc wrt bug 212788 + + 09 Mar 2008; Markus Meier <maekke@gentoo.org> most-5.0.0a.ebuild: + x86 stable, bug #212788 + + 10 Feb 2008; Ryan Hill <dirtyepic@gentoo.org> most-5.0.0a.ebuild: + Rekeyword mips for bug #209507. + + 10 Feb 2008; Raúl Porcel <armin76@gentoo.org> most-5.0.0a.ebuild: + Re-add ~alpha + +*most-5.0.0a (10 Feb 2008) + + 10 Feb 2008; Samuli Suominen <drac@gentoo.org> +most-5.0.0a.ebuild: + Version bump for bugs 185563 and 199079, thanks to Jarnie Webb and Rafał + Mużyło for reporting. + + 09 Feb 2008; Samuli Suominen <drac@gentoo.org> most-4.10.2-r1.ebuild: + Fix most for slang 2.1.3. + + 26 Oct 2007; Diego Pettenò <flameeyes@gentoo.org> -most-4.9.5.ebuild: + Remove old version, closes bug #160173. + + 03 Jul 2007; Fabian Groffen <grobian@gentoo.org> most-4.9.5.ebuild, + most-4.10.2-r1.ebuild: + Dropped ppc-macos keyword, see you in prefix + + 30 Jun 2007; Raúl Porcel <armin76@gentoo.org> most-4.10.2-r1.ebuild: + alpha stable wrt #182435 + + 20 Jun 2007; Joseph Jezak <josejx@gentoo.org> most-4.10.2-r1.ebuild: + Marked ppc stable for bug #182435. + + 18 Jun 2007; Christoph Mende <angelos@gentoo.org> most-4.10.2-r1.ebuild: + Stable on amd64 wrt bug 182435 + + 11 May 2007; Joshua Kinard <kumba@gentoo.org> most-4.10.2-r1.ebuild: + Stable on mips. + + 17 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org> most-4.10.2-r1.ebuild: + Stable on sparc + + 21 Mar 2007; Raúl Porcel <armin76@gentoo.org> most-4.10.2-r1.ebuild: + x86 stable + + 04 Feb 2007; Ryan Hill <dirtyepic@gentoo.org> -most-4.9.2.ebuild, + -most-4.9.4.ebuild, most-4.9.5.ebuild, most-4.10.2-r1.ebuild: + Fix slang dependencies for bug #141947. Remove old versions. + + 16 Sep 2005; Aron Griffis <agriffis@gentoo.org> most-4.9.5.ebuild: + Mark 4.9.5 stable on alpha + + 19 Aug 2005; Luis Medinas <metalgod@gentoo.org> most-4.9.5.ebuild: + Marked Stable on AMD64. + + 18 Aug 2005; Aaron Walker <ka0ttic@gentoo.org> most-4.10.2-r1.ebuild: + Use tc-arch() instead of ${ARCH}. + + 17 Aug 2005; Aaron Walker <ka0ttic@gentoo.org> most-4.9.5.ebuild: + Stable on x86,sparc,mips. + +*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: + Moved to shell-tools herd; removed use of gnuconfig eclass (users should + enable 'autoconfig' instead); changed configure/make to use econf and emake. + + 05 Aug 2005; Fernando J. Pereda <ferdy@gentoo.org> most-4.9.5.ebuild, + most-4.10.2.ebuild: + marked ~alpha, wrt bug #97609. Fix header date on most-4.9.2.ebuild + + 28 Jul 2005; Aaron Walker <ka0ttic@gentoo.org> most-4.9.5.ebuild, + most-4.10.2.ebuild: + Run gnuconfig-update, otherwise the config.{sub,guess} will be too old to + recognize certain mips64 machines. + +*most-4.10.2 (22 Jul 2005) + + 22 Jul 2005; Aaron Walker <ka0ttic@gentoo.org> -most-4.10.1.ebuild, + +most-4.10.2.ebuild: + Version bump. + +*most-4.10.1 (28 Jun 2005) + + 28 Jun 2005; Aaron Walker <ka0ttic@gentoo.org> +most-4.10.1.ebuild: + Version bump. + + 31 Dec 2004; <gongloo@gentoo.org> most-4.9.5.ebuild: + Added ~ppc-macos. + + 06 Nov 2004; Lars Weiler <pylon@gentoo.org> most-4.9.5.ebuild: + Stable on ppc. + + 30 Jun 2004; Aron Griffis <agriffis@gentoo.org> most-4.9.2.ebuild, + most-4.9.4.ebuild: + sync IUSE (missing), trim trailing whitespace + + 28 Jun 2004; David Holm <dholm@gentoo.org> most-4.9.5.ebuild: + Added ppc support. + +*most-4.9.5 (28 Jun 2004) + + 28 Jun 2004; Ciaran McCreesh <ciaranm@gentoo.org> +most-4.9.5.ebuild: + Version bump. Changed the src_install around a bit to make things simpler for + arch people. Added in ~sparc ~mips to the supported arch list. + +*most-4.9.4 (06 Apr 2004) + + 06 Apr 2004; Jon Portnoy <avenj@gentoo.org> most-4.9.4.ebuild : + Version bump, bug #46314. + + 25 Feb 2004; Daniel Ahlberg <aliz@gentoo.org> most-4.9.2.ebuild: + Add binary depending on arch. Closing #38900. + +*most-4.9.2 (13 May 2002) + + 21 Jul 2002; Mark Guertin <gerk@gentoo.org>: + updated keywords (-ppc), this relies on x86 objects + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> most-4.9.2.ebuild : + Added LICENSE, KEYWORDS, SLOT. + + 13 May 2002; Donny Davies <woodchip@gentoo.org> : + + Update to latest. Close #2225. Thanks Wout ;) + +*most-4.9.0-r3 (12 May 2002) + + 12 May 2002; Wout Mertens <wmertens@gentoo.org> : + + actually copy the binary :) + +*most-4.9.0-r2 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/sys-apps/most/Manifest b/sys-apps/most/Manifest new file mode 100644 index 0000000..3b928fe --- /dev/null +++ b/sys-apps/most/Manifest @@ -0,0 +1,6 @@ +AUX most-5.0.0a-donot-hardcode-path.patch 926 SHA256 b6efe2f2e7b392bd41ea8fedfe60012720743b92e955cceafd074e09a0182985 SHA512 54ddc619ea462e32f0667ac571988ced76e2813c58997a683d974f189d578ae6e206edf676bdc40fc32afa9edbbc9994f9ec6d69b88ac4341be543bee0e6db30 WHIRLPOOL ada42cbcb7542f5d29aad663b94e63d0129bcaba3e5978b77032124b6cde457b81e65c03a816c02df1a4b215f403aa6c2940a7eb8218bd4ecb3430c47187c76b +AUX most-5.0.0a-no-explicit-termcap.patch 6129 SHA256 bb0a49c110aa0ba894139e44fdacb99b0502fe0ea83d539110fce2c58bcaec06 SHA512 bbd1f9b7a919c291e66f5a9278e20d68fed07b5fd1b506297e80ae8428ed251fe5a4614d7a713f7ae3c12390fcebf0285be38b6eea0d3685e6d907d5e54189b1 WHIRLPOOL 7bf58f54ac770cba1fa68082718960fac4f4ce27cdc6497df7cf22b96ede9f269b3e08d9026f2e5ce9209e6815cd72b0baca8ac16550dba411aad5c0d1f26dfc +DIST most-5.0.0a.tar.bz2 131130 SHA256 94cb5a2e71b6b9063116f4398a002a757e59cd1499f1019dde8874f408485aa9 SHA512 0c101777250a15ed9cbe0bfbaa17d0ac5ef973a7e0730d096bd931ba578dbcbd4f244305c99a50bc8fd8aa1937b621a97a6452b3821fee7d72f33a02da278e5d WHIRLPOOL 26beeeed2b46b06edb5dcfb8cf009070964e74e42e78a29068c343b5863764e4b8fa8e8457481523589f37f72171b3be4b603d071fba80ad756dd9c3cdbac374 +EBUILD most-5.0.0a.ebuild 979 SHA256 20581c8c3d5dd3961680ae765667836bb931b006d55214b296b114bc117c0773 SHA512 aaeb96bcc32018fd04b7ec3a39f89b6a8a9184c0dc1fdbc8401469d68003b8d502544cf25671531bff130d137798b4cff5f27407dd6576d681e0a89be1aa547a WHIRLPOOL 58873e642592f27fef8a3739f21cb354f619d12fa490bb3a3b07c7fedef6dace212e8e01e6df01aab8c75b1060d9adce831e39879b51edfb2f8a7f15982be7c1 +MISC ChangeLog 6141 SHA256 ee7a6e5b2b3a9928449082a9f0b51df7cf6bc2b14fc238b72bb88b5ea15f923b SHA512 8998e43d9292e5f167d4d1dbbee30cc600660b1ea6d4f4c74fa21bce1078bf5adc4e0667125c467a8160de986577642e4ecb0a3f151644050c79ec81b071d457 WHIRLPOOL 4f5bdd6502e6372ce3e794e1a7b25d92fe6934a1730826a55faac4f01a97d18e0cf85c5b04f48f59e09faeba2ea301955b411f01f046c3b1080a791b4ff32ec9 +MISC metadata.xml 164 SHA256 03080f40dc43565fd4bb7569351e0f607a4946a6108c15765ac42901ab16caf3 SHA512 62f5a94d0d14c10b174523390efd33328206f015380bf7cd2a0c1192a4f8c6733e5f5c6438ade4e3fd3d5f3823bd09edff0b9f2913b8d38e35f4318427931501 WHIRLPOOL 0420fcb91591746a9b4b002b61159be9d05fd082f9caad11643403e1895c6ca9bcd89381134a427c7d95c7d011ddaed4d8e05e42ab714f20a69553b4887e765b diff --git a/sys-apps/most/files/most-5.0.0a-donot-hardcode-path.patch b/sys-apps/most/files/most-5.0.0a-donot-hardcode-path.patch new file mode 100644 index 0000000..bdd1351 --- /dev/null +++ b/sys-apps/most/files/most-5.0.0a-donot-hardcode-path.patch @@ -0,0 +1,32 @@ +Author: Benda Xu <heroxbd@gentoo.org> +Date: 2014-12-08 + +cp or rm does not necessarily reside in /bin. If it does, /bin is +in $PATH by convention. In either case, hardcoding /bin/cp or /bin/rm +is not a good idea. + +Index: most-5.0.0a/src/Makefile.in +=================================================================== +--- most-5.0.0a.orig/src/Makefile.in ++++ most-5.0.0a/src/Makefile.in +@@ -61,7 +61,7 @@ $(OBJDIR): + -mkdir $(OBJDIR) + # + $(CONFIG_H) : $(SRCDIR)/sysconf.h +- /bin/cp $(SRCDIR)/sysconf.h $(CONFIG_H) ++ cp $(SRCDIR)/sysconf.h $(CONFIG_H) + # + slangversion: $(OBJDIR)/chkslang + $(OBJDIR)/chkslang $(EXEC) 20000 +@@ -75,9 +75,9 @@ $(SRCDIR)/version.h: $(SRCDIR)/../change + fi + # + clean: +- /bin/rm -f $(OBJDIR)/* *~ ++ rm -f $(OBJDIR)/* *~ + distclean: clean +- /bin/rm -rf $(OBJDIR) Makefile sysconf.h ++ rm -rf $(OBJDIR) Makefile sysconf.h + installdirs: + $(MKINSDIR) $(DEST_DOCDIR) + $(MKINSDIR) $(DEST_MANDIR)/man1 diff --git a/sys-apps/most/files/most-5.0.0a-no-explicit-termcap.patch b/sys-apps/most/files/most-5.0.0a-no-explicit-termcap.patch new file mode 100644 index 0000000..5046c69 --- /dev/null +++ b/sys-apps/most/files/most-5.0.0a-no-explicit-termcap.patch @@ -0,0 +1,215 @@ +Author: Benda Xu <heroxbd@gentoo.org> +Date: 2014-12-08 + +"most" completely replies on slang to access terminfo/termcap, by +SLtt_get_terminfo() and friends. + +Nothing should be considered by most but to find slang. Therefore it +should not link against libtermcap in any case. + + * configure.ac: remove JD_TERMCAP + * configure: regenerate with autoconf-2.61 + * src/Makefile.in: remove libtermcap linking + +Index: most-5.0.0a/autoconf/configure.ac +=================================================================== +--- most-5.0.0a.orig/autoconf/configure.ac ++++ most-5.0.0a/autoconf/configure.ac +@@ -62,7 +62,6 @@ getpgrp tcgetpgrp \ + ) + + JD_SET_OBJ_SRC_DIR +-JD_TERMCAP + JD_WITH_LIBRARY(slang) + JD_GCC_WARNINGS + JD_GET_MODULES(src/modules.lis) +Index: most-5.0.0a/configure +=================================================================== +--- most-5.0.0a.orig/configure ++++ most-5.0.0a/configure +@@ -700,8 +700,6 @@ X_EXTRA_LIBS + SRCDIR + OBJDIR + ELFDIR +-TERMCAP +-MISC_TERMINFO_DIRS + SLANG_LIB + SLANG_INC + PROGRAM_OFILES +@@ -9064,13 +9062,11 @@ _ACEOF + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include <sys/types.h> /* for off_t */ +- #include <stdio.h> ++#include <stdio.h> + int + main () + { +-int (*fp) (FILE *, off_t, int) = fseeko; +- return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); ++return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); + ; + return 0; + } +@@ -9110,13 +9106,11 @@ cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #define _LARGEFILE_SOURCE 1 +-#include <sys/types.h> /* for off_t */ +- #include <stdio.h> ++#include <stdio.h> + int + main () + { +-int (*fp) (FILE *, off_t, int) = fseeko; +- return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); ++return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); + ; + return 0; + } +@@ -9777,42 +9771,6 @@ OBJDIR=$SRCDIR/"$ARCH"objs + ELFDIR=$SRCDIR/elf"$ARCH"objs + + +-{ echo "$as_me:$LINENO: checking for Terminfo" >&5 +-echo $ECHO_N "checking for Terminfo... $ECHO_C" >&6; } +-MISC_TERMINFO_DIRS="$FINKPREFIX/share/terminfo" +-if test ! -d $MISC_TERMINFO_DIRS +-then +- MISC_TERMINFO_DIRS="" +-fi +- +-JD_Terminfo_Dirs="/usr/lib/terminfo \ +- /usr/share/terminfo \ +- /usr/share/lib/terminfo \ +- /usr/local/lib/terminfo \ +- $MISC_TERMINFO_DIRS" +- +-TERMCAP=-ltermcap +- +-for terminfo_dir in $JD_Terminfo_Dirs +-do +- if test -d $terminfo_dir +- then +- { echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6; } +- TERMCAP="" +- break +- fi +-done +-if test "$TERMCAP"; then +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +- cat >>confdefs.h <<\_ACEOF +-#define USE_TERMCAP 1 +-_ACEOF +- +-fi +- +- + if test "X$jd_prefix" = "X" + then + jd_prefix=$ac_default_prefix +@@ -10858,8 +10816,6 @@ X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim + SRCDIR!$SRCDIR$ac_delim + OBJDIR!$OBJDIR$ac_delim + ELFDIR!$ELFDIR$ac_delim +-TERMCAP!$TERMCAP$ac_delim +-MISC_TERMINFO_DIRS!$MISC_TERMINFO_DIRS$ac_delim + SLANG_LIB!$SLANG_LIB$ac_delim + SLANG_INC!$SLANG_INC$ac_delim + PROGRAM_OFILES!$PROGRAM_OFILES$ac_delim +@@ -10868,9 +10824,10 @@ PROGRAM_HFILES!$PROGRAM_HFILES$ac_delim + PROGRAM_OBJECTS!$PROGRAM_OBJECTS$ac_delim + PROGRAM_ELFOBJECTS!$PROGRAM_ELFOBJECTS$ac_delim + LIBOBJS!$LIBOBJS$ac_delim ++LTLIBOBJS!$LTLIBOBJS$ac_delim + _ACEOF + +- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then ++ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then + break + elif $ac_last_try; then + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +@@ -10906,50 +10863,6 @@ CEOF$ac_eof + _ACEOF + + +-ac_delim='%!_!# ' +-for ac_last_try in false false false false false :; do +- cat >conf$$subs.sed <<_ACEOF +-LTLIBOBJS!$LTLIBOBJS$ac_delim +-_ACEOF +- +- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 1; then +- break +- elif $ac_last_try; then +- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} +- { (exit 1); exit 1; }; } +- else +- ac_delim="$ac_delim!$ac_delim _$ac_delim!! " +- fi +-done +- +-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` +-if test -n "$ac_eof"; then +- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` +- ac_eof=`expr $ac_eof + 1` +-fi +- +-cat >>$CONFIG_STATUS <<_ACEOF +-cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof +-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end +-_ACEOF +-sed ' +-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g +-s/^/s,@/; s/!/@,|#_!!_#|/ +-:n +-t n +-s/'"$ac_delim"'$/,g/; t +-s/$/\\/; p +-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n +-' >>$CONFIG_STATUS <conf$$subs.sed +-rm -f conf$$subs.sed +-cat >>$CONFIG_STATUS <<_ACEOF +-:end +-s/|#_!!_#|//g +-CEOF$ac_eof +-_ACEOF +- +- + # VPATH may cause trouble with some makes, so we remove $(srcdir), + # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and + # trailing colons and then remove the whole line if VPATH becomes empty +@@ -11193,7 +11106,7 @@ s&@abs_builddir@&$ac_abs_builddir&;t t + s&@abs_top_builddir@&$ac_abs_top_builddir&;t t + s&@INSTALL@&$ac_INSTALL&;t t + $ac_datarootdir_hack +-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out ++" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed 's/|#_!!_#|//g' >$tmp/out + + test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && +Index: most-5.0.0a/src/Makefile.in +=================================================================== +--- most-5.0.0a.orig/src/Makefile.in ++++ most-5.0.0a/src/Makefile.in +@@ -3,7 +3,6 @@ CFLAGS = @CFLAGS@ @SLANG_DLL_CFLAGS@ + LDFLAGS = @LDFLAGS@ + SLANG_INC = @SLANG_INC@ + SLANG_LIB = @SLANG_LIB@ -lslang +-MISCLIBS = @TERMCAP@ + RPATH = @RPATH@ + + #----------------------------------------------------------------------------- +@@ -44,7 +43,7 @@ EXEC = most + CONFIG_H = config.h + INCS = $(SLANG_INC) + ALL_CFLAGS = $(CFLAGS) -Dunix $(INCS) +-EXECLIBS = $(RPATH) $(SLANG_LIB) $(MISCLIBS) -lm ++EXECLIBS = $(RPATH) $(SLANG_LIB) -lm + # + most_O_DEP = $(SRCDIR)/version.h + UPDATE_VERSION_SCRIPT = $(HOME)/bin/update_changes_version diff --git a/sys-apps/most/metadata.xml b/sys-apps/most/metadata.xml new file mode 100644 index 0000000..80ac69d --- /dev/null +++ b/sys-apps/most/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>shell-tools</herd> +</pkgmetadata> diff --git a/sys-apps/most/most-5.0.0a.ebuild b/sys-apps/most/most-5.0.0a.ebuild new file mode 100644 index 0000000..4177d51 --- /dev/null +++ b/sys-apps/most/most-5.0.0a.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/most/most-5.0.0a.ebuild,v 1.13 2014/01/14 18:47:42 grobian Exp $ + +EAPI=4 + +inherit eutils + +DESCRIPTION="Paging program that displays, one windowful at a time, the contents of a file" +HOMEPAGE="ftp://space.mit.edu/pub/davis/most" +SRC_URI="ftp://space.mit.edu/pub/davis/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~mips ppc sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="" + +RDEPEND=">=sys-libs/slang-2.1.3" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-5.0.0a-no-explicit-termcap.patch + epatch "${FILESDIR}"/${PN}-5.0.0a-donot-hardcode-path.patch + sed -i -e 's:$(INSTALL) -s:$(INSTALL):' src/Makefile.in || die +} + +src_configure() { + unset ARCH + econf +} + +src_install() { + emake DESTDIR="${D}" DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" \ + install +} |