Gentoo Archives: gentoo-commits

From: Jonas Stein <jstein@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/tree/
Date: Sat, 30 Jul 2022 19:37:07
Message-Id: 1659209816.e3f0ee9f07dccc63fe4658b295cdc044f71d55e9.jstein@gentoo
1 commit: e3f0ee9f07dccc63fe4658b295cdc044f71d55e9
2 Author: Jonas Stein <jstein <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 30 19:36:24 2022 +0000
4 Commit: Jonas Stein <jstein <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 30 19:36:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3f0ee9f
7
8 app-text/tree: bump to 2.0.2
9
10 Version bump to 2.0.2 fixes HTML output.
11
12 Package-Manager: Portage-3.0.30, Repoman-3.0.3
13 Signed-off-by: Jonas Stein <jstein <AT> gentoo.org>
14
15 app-text/tree/Manifest | 1 +
16 app-text/tree/tree-2.0.2.ebuild | 41 +++++++++++++++++++++++++++++++++++++++++
17 2 files changed, 42 insertions(+)
18
19 diff --git a/app-text/tree/Manifest b/app-text/tree/Manifest
20 index c24567515554..320423be412c 100644
21 --- a/app-text/tree/Manifest
22 +++ b/app-text/tree/Manifest
23 @@ -1,2 +1,3 @@
24 DIST tree-1.8.0.tgz 50286 BLAKE2B 51a27500b89a46add6e792d446b465696d2b34339bbd06f03baff9ce589131b5d82c414849f891dbb79a3f3cfb23b89336e783ad23b84c1fb5415a13fb9488cd SHA512 3f657a6278ec5eab2fccab39dfd69bf9376811189a368b5e3213dc900b90a4e7a4961fc58eb80ad2efd5b40d2fbd0146ec59f30fe0bba576f93519214f240695
25 DIST tree-2.0.1.tgz 57213 BLAKE2B 977f3bd606881f92f7e39fb167205b468f77408a2fa3ff14c20eeab0e6f194115d2d41a3919751c9c9d103ae185dc231710a464f0c57ea244e8a410782503d6f SHA512 11a45136d62ee7b4acdb599025ddddc250f3b95c46c94cea132bdc226357561bbae3ed874a99e554d2e01a93eaac639fb89d8a2539964ce788540ac3537f0e4c
26 +DIST tree-2.0.2.tgz 57960 BLAKE2B 3038b4a0f904ba4854ab40d52448fd0859380346d1a355c16fa97dfcae7b650ba4406e970555c79b5c5d5dca31677f5ae2b83cab0178e5580d342956167ba80b SHA512 5b9612ada9e3b1414d06daf5d7589f18480f232ba6ea29a004ceb7ff5b46c57610766bdb2babe9c20047dfea39cb233a6d92a60fcf2c38beccbebc94fb1eb20f
27
28 diff --git a/app-text/tree/tree-2.0.2.ebuild b/app-text/tree/tree-2.0.2.ebuild
29 new file mode 100644
30 index 000000000000..4c7a39b7f496
31 --- /dev/null
32 +++ b/app-text/tree/tree-2.0.2.ebuild
33 @@ -0,0 +1,41 @@
34 +# Copyright 1999-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +inherit toolchain-funcs flag-o-matic bash-completion-r1
39 +
40 +DESCRIPTION="Lists directories recursively, and produces an indented listing of files"
41 +HOMEPAGE="http://mama.indstate.edu/users/ice/tree/"
42 +SRC_URI="ftp://mama.indstate.edu/linux/tree/${P}.tgz"
43 +
44 +LICENSE="GPL-2"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
47 +IUSE=""
48 +
49 +RDEPEND=""
50 +DEPEND=""
51 +
52 +src_prepare() {
53 + sed -i -e 's:LINUX:__linux__:' tree.c || die
54 + if use !elibc_glibc ; then
55 + # 433972, also previously done only for elibc_uclibc
56 + sed -i -e '/^OBJS=/s/$/ strverscmp.o/' Makefile || die
57 + fi
58 + default
59 +}
60 +
61 +src_compile() {
62 + append-lfs-flags
63 + emake \
64 + CC="$(tc-getCC)" \
65 + CFLAGS="${CFLAGS} ${CPPFLAGS}" \
66 + LDFLAGS="${LDFLAGS}"
67 +}
68 +
69 +src_install() {
70 + dobin tree
71 + doman doc/tree*.1
72 + einstalldocs
73 + newbashcomp "${FILESDIR}"/${PN}.bashcomp ${PN}
74 +}