From f7aace0f7fb73efd01d4f5a02f962a7952c6c1fb Mon Sep 17 00:00:00 2001 From: Jason Cooper Date: Sun, 21 Oct 2012 21:35:06 -0400 Subject: app-text/tree: build on ~x64-macos Signed-off-by: Jason Cooper --- app-text/tree/ChangeLog | 332 ++++++++++++++++++++++++++++++++ app-text/tree/Manifest | 6 + app-text/tree/files/tree-Makefile.patch | 11 ++ app-text/tree/files/tree.bashcomp | 35 ++++ app-text/tree/metadata.xml | 8 + app-text/tree/tree-1.6.0-r2.ebuild | 39 ++++ 6 files changed, 431 insertions(+) create mode 100644 app-text/tree/ChangeLog create mode 100644 app-text/tree/Manifest create mode 100644 app-text/tree/files/tree-Makefile.patch create mode 100644 app-text/tree/files/tree.bashcomp create mode 100644 app-text/tree/metadata.xml create mode 100644 app-text/tree/tree-1.6.0-r2.ebuild diff --git a/app-text/tree/ChangeLog b/app-text/tree/ChangeLog new file mode 100644 index 0000000..737c349 --- /dev/null +++ b/app-text/tree/ChangeLog @@ -0,0 +1,332 @@ +# ChangeLog for app-text/tree +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/tree/ChangeLog,v 1.103 2012/08/20 01:40:20 ottxor Exp $ + + 20 Aug 2012; Christoph Junghans tree-1.6.0-r1.ebuild: + added prefix keywords + + 19 Aug 2012; Raúl Porcel tree-1.6.0-r1.ebuild: + alpha/m68k/s390/sh/sparc stable wrt #424469 + + 19 Jul 2012; Markus Meier tree-1.6.0-r1.ebuild: + arm stable, bug #424469 + + 10 Jul 2012; Brent Baude tree-1.6.0-r1.ebuild: + Marking tree-1.6.0-r1 ppc64 for bug 424469 + + 08 Jul 2012; Akinori Hattori tree-1.6.0-r1.ebuild: + ia64 stable wrt bug #424469 + + 04 Jul 2012; Jeroen Roovers tree-1.6.0-r1.ebuild: + Stable for HPPA (bug #424469). + + 03 Jul 2012; Brent Baude tree-1.6.0-r1.ebuild: + Marking tree-1.6.0-r1 ppc for bug 424469 + + 03 Jul 2012; Agostino Sarubbo tree-1.6.0-r1.ebuild: + Stable for amd64, wrt bug #424469 + + 02 Jul 2012; Jeff Horelick tree-1.6.0-r1.ebuild: + marked x86 per bug 424469 + +*tree-1.6.0-r1 (27 May 2012) + + 27 May 2012; Michael Sterrett -tree-1.5.3.ebuild, + +tree-1.6.0-r1.ebuild, files/tree.bashcomp: + patch bash-completion support to handle files with whitespace (bug #417715) + with patch from poletti.marco@gmail.com; rev bump to push out + + 29 Dec 2011; Mark Loeser tree-1.6.0.ebuild: + Stable for ppc/ppc64; bug #380175 + + 18 Dec 2011; Michael Sterrett tree-1.6.0.ebuild: + make bash completion file naming consistent (bug #395101) + + 07 Dec 2011; Mike Frysinger tree-1.6.0.ebuild: + Respect env CPPFLAGS settings. + + 17 Nov 2011; Michael Sterrett tree-1.6.0.ebuild: + use bash-completion-r1 + + 17 Nov 2011; Michael Sterrett tree-1.6.0.ebuild: + EAPI=4; fix lfs support (bug #390849) + + 17 Oct 2011; Jeroen Roovers tree-1.6.0.ebuild: + Stable for HPPA (bug #380175). + + 25 Sep 2011; Raúl Porcel tree-1.6.0.ebuild: + alpha/ia64/m68k/s390/sh/sparc stable wrt #380175 + + 28 Aug 2011; Markus Meier tree-1.6.0.ebuild: + arm stable, bug #380175 + + 24 Aug 2011; Markus Meier tree-1.6.0.ebuild: + x86 stable, bug #380175 + + 22 Aug 2011; Tony Vroon tree-1.6.0.ebuild: + Marked stable on AMD64 based on arch testing by Ian "idella4" Delaney in bug + #380175. + +*tree-1.6.0 (21 Jul 2011) + + 21 Jul 2011; Michael Sterrett tree-1.5.3.ebuild, + +tree-1.6.0.ebuild: + version bump (bug #375861) + + 06 Jan 2011; Justin Lecher tree-1.5.3.ebuild: + Some Clean up + + 15 Mar 2010; Brent Baude tree-1.5.3.ebuild: + stable ppc64, bug 306665 + + 13 Mar 2010; Raúl Porcel tree-1.5.3.ebuild: + alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #306665 + + 08 Mar 2010; Pacho Ramos tree-1.5.3.ebuild: + amd64 stable, bug 306665 + + 04 Mar 2010; Jeroen Roovers tree-1.5.3.ebuild: + Stable for HPPA (bug #306665). + + 28 Feb 2010; nixnut tree-1.5.3.ebuild: + ppc stable #306665 + + 25 Feb 2010; Tiago Cunha tree-1.5.3.ebuild: + stable sparc, bug 306665 + + 25 Feb 2010; Pawel Hajdan jr tree-1.5.3.ebuild: + x86 stable, bug #306665 + +*tree-1.5.3 (01 Jan 2010) + + 01 Jan 2010; Michael Sterrett +tree-1.5.3.ebuild: + version bump + + 24 Mar 2009; Brent Baude tree-1.5.2.2.ebuild: + stable ppc64, bug 262873 + + 22 Mar 2009; Raúl Porcel tree-1.5.2.2.ebuild: + arm/ia64/m68k/s390/sh/sparc stable wrt #262873 + + 20 Mar 2009; Markus Meier tree-1.5.2.2.ebuild: + amd64/x86 stable, bug #262873 + + 20 Mar 2009; Jeroen Roovers tree-1.5.2.2.ebuild: + Stable for HPPA (bug #262873). + + 18 Mar 2009; Tobias Klausmann tree-1.5.2.2.ebuild: + Stable on alpha, bug #262873 + + 18 Mar 2009; Brent Baude tree-1.5.2.2.ebuild: + stable ppc, bug 262873 + +*tree-1.5.2.2 (17 Feb 2009) + + 17 Feb 2009; Michael Sterrett +tree-1.5.2.2.ebuild: + version bump with fix for bug #253712 as well + + 26 Nov 2008; Brent Baude tree-1.5.2.1.ebuild: + stable ppc64, bug 247293 + + 19 Nov 2008; Raúl Porcel tree-1.5.2.1.ebuild: + alpha/arm/ia64/x86 stable wrt #247293 + + 18 Nov 2008; Tobias Scherbaum tree-1.5.2.1.ebuild: + ppc stable, bug #247293 + + 18 Nov 2008; Jeroen Roovers tree-1.5.2.1.ebuild: + Stable for HPPA (bug #247293). + + 18 Nov 2008; Ferris McCormick tree-1.5.2.1.ebuild: + Sparc stable --- Bug #247293 --- works fine. + + 18 Nov 2008; tree-1.5.2.1.ebuild: + Stable on amd64; Bug 247293 + + 18 Nov 2008; Mike Frysinger tree-1.5.2.1.ebuild: + Use append-lfs-flags and convert LINUX to __linux__. + +*tree-1.5.2.1 (16 Sep 2008) + + 16 Sep 2008; Michael Sterrett +tree-1.5.2.1.ebuild: + version bump + + 02 Sep 2008; Jeroen Roovers tree-1.5.2.ebuild: + Stable for HPPA (bug #236243). + + 31 Aug 2008; Raúl Porcel tree-1.5.2.ebuild: + alpha/ia64/sparc stable wrt #236243 + + 31 Aug 2008; Brent Baude tree-1.5.2.ebuild: + stable ppc64, bug 236243 + + 31 Aug 2008; Brent Baude tree-1.5.2.ebuild: + stable ppc, bug 236243 + + 31 Aug 2008; Markus Meier tree-1.5.2.ebuild: + amd64/x86 stable, bug #236243 + +*tree-1.5.2 (22 Jun 2008) + + 22 Jun 2008; Michael Sterrett +tree-1.5.2.ebuild: + version bump + + 17 Jan 2008; Joshua Kinard tree-1.5.1.1.ebuild: + Stable on mips, per #201249. + + 05 Dec 2007; Christoph Mende tree-1.5.1.1.ebuild: + Stable on amd64 wrt bug #201249 + + 05 Dec 2007; Raúl Porcel tree-1.5.1.1.ebuild: + alpha/ia64 stable wrt #201249 + + 05 Dec 2007; Christian Faulhammer tree-1.5.1.1.ebuild: + stable x86, bug 201249 + + 05 Dec 2007; Jeroen Roovers tree-1.5.1.1.ebuild: + Stable for SPARC (bug #201249, thanks to Tiago Cunha). + + 04 Dec 2007; Jeroen Roovers tree-1.5.1.1.ebuild: + Stable for HPPA (bug #201249). + + 04 Dec 2007; Markus Rothe tree-1.5.1.1.ebuild: + Stable on ppc64; bug #201249 + + 04 Dec 2007; nixnut tree-1.5.1.1.ebuild: + Stable on ppc wrt bug 201249 + + 20 Jul 2007; Michael Sterrett tree-1.5.1.1.ebuild: + fix CFLAGS for bug #186021 + +*tree-1.5.1.1 (04 Jul 2007) + + 04 Jul 2007; Michael Sterrett +tree-1.5.1.1.ebuild: + version bump (bug #184148) + + 01 Jul 2007; Tobias Scherbaum tree-1.5.1.ebuild: + hppa stable, bug #183371 + + 28 Jun 2007; Joshua Kinard tree-1.5.1.ebuild: + Stable on mips, per #183371. + + 27 Jun 2007; Raúl Porcel tree-1.5.1.ebuild: + alpha stable wrt #183371 + + 27 Jun 2007; Lars Weiler tree-1.5.1.ebuild: + Stable on ppc; bug #183371. + + 27 Jun 2007; Christoph Mende tree-1.5.1.ebuild: + Stable on amd64 wrt bug 183371 + + 27 Jun 2007; Markus Rothe tree-1.5.1.ebuild: + Stable on ppc64; bug #183371 + + 21 Jun 2007; Gustavo Zacarias tree-1.5.1.ebuild: + Stable on sparc + + 09 Jun 2007; Michael Sterrett tree-1.5.1.ebuild: + stable for x86 + + 18 Mar 2007; Michael Sterrett tree-1.5.1.ebuild: + fix man page install (bug #171319) + +*tree-1.5.1 (18 Mar 2007) + + 18 Mar 2007; Michael Sterrett +tree-1.5.1.ebuild: + version bump + + 21 Feb 2007; Piotr Jaroszyński ChangeLog: + Transition to Manifest2. + + 30 Aug 2005; Aaron Walker +files/tree.bashcomp, + tree-1.5.0.ebuild: + Added bash-completion. + + 09 Aug 2005; Aaron Walker tree-1.5.0.ebuild: + Stable on mips. + + 15 Mar 2005; Michael Sterrett -tree-1.4.ebuild, + tree-1.5.0.ebuild: + clean old ebuild; tidy + + 05 Feb 2005; Michael Hanselmann tree-1.5.0.ebuild: + Stable on ppc. + + 20 Dec 2004; Dylan Carlson tree-1.5.0.ebuild: + Stable on amd64. + + 10 Nov 2004; Gustavo Zacarias tree-1.5.0.ebuild: + Stable on sparc + + 08 Nov 2004; Michael Sterrett tree-1.5.0.ebuild: + stable on x86 + + 02 Nov 2004; Markus Rothe tree-1.5.0.ebuild: + Stable on ppc64 + + 03 Nov 2004; Aron Griffis tree-1.5.0.ebuild: + stable on alpha and ia64 + + 28 Oct 2004; Joseph Jezak tree-1.4.ebuild: + Marked ppc stable to fix compile issues + + 18 Oct 2004; Michael Sterrett tree-1.5.0.ebuild: + use toolchain-funcs eclass instead of gcc eclass + + 18 Oct 2004; Tom Gall tree-1.5.0.ebuild: + added ~ppc64, bug #64534 + +*tree-1.5.0 (12 Sep 2004) + + 12 Sep 2004; Michael Sterrett +tree-1.5.0.ebuild: + version bump (bug #63844) + + 01 Jul 2004; Jeremy Huddleston tree-1.3.ebuild, + tree-1.4.ebuild: + virtual/glibc -> virtual/libc + + 28 Jun 2004; Ciaran McCreesh tree-1.4.ebuild: + Added ~mips + + 27 Apr 2004; Michael Sterrett tree-1.4.ebuild: + compile fix for gcc 3.4 (bug #49210); error check; tidy + + 12 Mar 2004; Michael Sterrett metadata.xml, + tree-1.3.ebuild, tree-1.4.ebuild: + add metadata file; tidy + + 18 Jun 2003; tree-1.4.ebuild: + replace hard-coded CFLAGS + + 12 Jun 2003; msterret tree-1.4.ebuild: + Mark stable on x86 + + 12 Jun 2003; Aron Griffis tree-1.4.ebuild: + Mark stable on alpha + +*tree-1.4 (11 Jun 2003) + + 11 Jun 2003; msterret tree-1.4.ebuild: + version bump + + 11 Jun 2003; msterret tree-1.3.ebuild: + tidy; actually install all the docs + + 06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords + +*tree-1.3 (1 Feb 2002) + + 17 Apr 2003; Aron Griffis tree-1.3.ebuild: + Mark stable on alpha + + 27 Jul 2002; Calum Selkirk tree-1.3.ebuild : + + Added KEYWORDS="x86 ppc" SLOT RDEPEND LICENCE (repoman'd) + + 1 Feb 2002; G.Bevin 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/app-text/tree/Manifest b/app-text/tree/Manifest new file mode 100644 index 0000000..89356cf --- /dev/null +++ b/app-text/tree/Manifest @@ -0,0 +1,6 @@ +AUX tree-Makefile.patch 271 SHA256 4706afff434b23fc1c8687035a23a721fbded3ca5adaf823d980f65be2f12a57 SHA512 c00b6ca98a7b384f47f7ce7a427c9b3442264cc3c43ae40e021dd8827660c5f542d4c08f889457774993f7d752a456b798b7ff0293292868bb27358f6f52d12e WHIRLPOOL fa29100c896f6162c9b528e943d29ddf4e08ca9da9f21c7a1ffa8e4731a055b4a0636d9cdb6800ef17652d5580adc487a86b0bbddca561034cfa88166915be62 +AUX tree.bashcomp 958 SHA256 38a958c745e76fef4265f22f33504efe356a2b17405abeb22519f94321d4749c SHA512 7d1848cd8aed3d048a63a46334deeb22e7cfd538d24c330cb4623eaaf865fda7b10876f0e798f30ad77bacbd2fc02d7f103a36e16235ca5a077a876ae18daf45 WHIRLPOOL 67a1e3c583a79f398aaa31b3b3a202d569554f7833263012d0a6518e9854e01c03bd478ddc463ae10f582dbd44379eaf8e58b84c53061d716e0df154ab5d31d7 +DIST tree-1.6.0.tgz 42706 SHA256 4dc470a74880338b01da41701d8db90d0fb178877e526d385931a007d68d7591 SHA512 2a72de62b14f194dd4902901facbf44551d6fa6a5f00bb5461ee2c99de277744d8c8032d931513a9f339bfbd98f86bf20acb64b8ea684a1e90544a242272010f WHIRLPOOL df02831a356f361fea0e0c028fdd421bf89ac1388c75451ca720b0ad1a2bf796e06689086d13dd5ac92e1309ca334243a7ea4d1a522ad199936096a85d3e9227 +EBUILD tree-1.6.0-r2.ebuild 1048 SHA256 9f4dea62d9ddd48642e3454f5d5c93aab50345cce480a252a0c99cc2dbca5f77 SHA512 97129643c600fd9f5cbd81ccdde33d91f52b5d531f87865765f15798ff4cfd337d0f2e440337174bcceed5a2192e8e59fdfad9fb47e360ca14dbf67dac48f4ba WHIRLPOOL cf9842a9cff2d91851f2187d7c6949ea9425d297f7bf0076e4135fe7ec68042ff871eeed8bb3679570dadc1a266022541feff1ad830b4123a886f7f60b43f4b8 +MISC ChangeLog 11020 SHA256 b4dd947e3435ddfb07eea14207a048cbe0dd2356420370b6f0cbf824c6957a85 SHA512 f65882d5a2321a544cd7b025dd6f20c179abb05b8a69c650e991184dd260ae5b0fb461079d6f23ce5ffa298fc830a40b8474f8bebca2cf0cef58d1fc0d8ddb3f WHIRLPOOL 1e8ed40563ce9806a0ee30d7d47f7b9cc58f80298a4f95ef0e210fadf518f8cc29738dc99e96526a03531fc52a1dc2cf80934414adfcc6ad630b8f5a54f11a0a +MISC metadata.xml 232 SHA256 88b28be91c72e93cf8e45a5b40c78505f69b1fe29e71ac45847155314f9e7c53 SHA512 3cd8bc04eaf4b57fadb63ee8e1ea09bb577cadc653f6505cdee063f4fa642ae5123cf51308f48188ee1885c8bbef9d180d5a9870f3a50f8874b377da581075e3 WHIRLPOOL a69b794787e4bd2fa804eeb1f2f3227513ffb7bb81b9cca5873ecf0c63d5db54a97b4c0f8f7a78715ab778248ceb934f009171ec75a992cefc0ad321bf02eb56 diff --git a/app-text/tree/files/tree-Makefile.patch b/app-text/tree/files/tree-Makefile.patch new file mode 100644 index 0000000..a3fce51 --- /dev/null +++ b/app-text/tree/files/tree-Makefile.patch @@ -0,0 +1,11 @@ +--- Makefile.orig 2012-09-29 12:34:12.000000000 -0400 ++++ Makefile 2012-09-29 12:34:40.000000000 -0400 +@@ -56,7 +56,7 @@ + #CC=cc + #CFLAGS=-O2 -Wall -fomit-frame-pointer -no-cpp-precomp + #LDFLAGS= +-#OBJS+=strverscmp.o ++OBJS+=strverscmp.o + + # Uncomment for HP/UX: + #CC=cc diff --git a/app-text/tree/files/tree.bashcomp b/app-text/tree/files/tree.bashcomp new file mode 100644 index 0000000..5c81b10 --- /dev/null +++ b/app-text/tree/files/tree.bashcomp @@ -0,0 +1,35 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/tree/files/tree.bashcomp,v 1.2 2012/05/27 23:17:52 mr_bones_ Exp $ + +# bash command-line completion for tree +# Author: Aaron Walker + +_tree() { + local cur prev opts + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + opts="-a -d -l -f -i -q -N -p -u -g -s -D -F -r -t -x -L -A + -S -n -C -P -I -H -T -R -o --inodes --device --noreport --nolinks + --dirsfirst --charset --help" + + if [[ ${cur} == -* ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + + case "${prev}" in + -L|-P|-I|-H|-T|--charset|--help) + ;; + -o) + _filedir + ;; + *) + _filedir -d + ;; + esac +} +complete -o filenames -F _tree tree + +# vim: set ft=sh tw=80 sw=4 et : diff --git a/app-text/tree/metadata.xml b/app-text/tree/metadata.xml new file mode 100644 index 0000000..2c7916a --- /dev/null +++ b/app-text/tree/metadata.xml @@ -0,0 +1,8 @@ + + + + +mr_bones_@gentoo.org +Michael Sterrett + + diff --git a/app-text/tree/tree-1.6.0-r2.ebuild b/app-text/tree/tree-1.6.0-r2.ebuild new file mode 100644 index 0000000..de4e738 --- /dev/null +++ b/app-text/tree/tree-1.6.0-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/tree/tree-1.6.0-r1.ebuild,v 1.11 2012/08/20 01:40:20 ottxor Exp $ + +EAPI=4 +inherit toolchain-funcs flag-o-matic bash-completion-r1 + +DESCRIPTION="Lists directories recursively, and produces an indented listing of files." +HOMEPAGE="http://mama.indstate.edu/users/ice/tree/" +SRC_URI="ftp://mama.indstate.edu/linux/tree/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64-linux ~x86-linux ~x64-macos" +IUSE="" + +src_prepare() { + sed -i \ + -e 's:LINUX:__linux__:' tree.c \ + || die "sed failed" + mv doc/tree.1.fr doc/tree.fr.1 +} + +src_compile() { + [[ "${CHOST}" == *-darwin* ]] && epatch "${FILESDIR}"/tree-Makefile.patch + append-lfs-flags + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS} ${CPPFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + XOBJS="$(use elibc_uclibc && echo strverscmp.o)" +} + +src_install() { + dobin tree + doman doc/tree*.1 + dodoc CHANGES README* + newbashcomp "${FILESDIR}"/${PN}.bashcomp ${PN} +} -- cgit v1.2.3-65-gdbad