Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/ufed/
Date: Sat, 28 Sep 2019 06:46:37
Message-Id: 1569653175.f78f27d77dee16bd72df0c03b3a2904ea6180bff.juippis@gentoo
1 commit: f78f27d77dee16bd72df0c03b3a2904ea6180bff
2 Author: Sven Eden <yamakuzure <AT> gmx <DOT> net>
3 AuthorDate: Fri Sep 27 07:16:27 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 28 06:46:15 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f78f27d7
7
8 app-portage/ufed: Bump to 0.95 to fix #695262
9
10 ufed-curses-checklist.c:ufed_getline() is limited to LINE_MAX, which is 2048
11 bytes. Unfortunately local USE flags can blast this limit, as ufed.pl also
12 transmit an alternative description with stripped keywords.
13
14 This release lets ufed.pl calculate whether a description has to be shorted,
15 and does so if needed.
16
17 Closes: https://bugs.gentoo.org/695262
18 Package-Manager: Portage-2.3.76, Repoman-2.3.17
19 Signed-off-by: Sven Eden <yamakuzure <AT> gmx.net>
20 Closes: https://github.com/gentoo/gentoo/pull/13053
21 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
22
23 app-portage/ufed/Manifest | 1 +
24 app-portage/ufed/ufed-0.95.ebuild | 37 +++++++++++++++++++++++++++++++++++++
25 2 files changed, 38 insertions(+)
26
27 diff --git a/app-portage/ufed/Manifest b/app-portage/ufed/Manifest
28 index 216111f0504..22b2c6eeea6 100644
29 --- a/app-portage/ufed/Manifest
30 +++ b/app-portage/ufed/Manifest
31 @@ -1 +1,2 @@
32 DIST ufed-0.94.tar.bz2 48566 BLAKE2B db58624005c637c7133a298c17b60cae3cf54c1b1d2ba3337693e1f6c330a5305986e92b6c1b25a5ebc94b1f8934cb5a35db94eccb596f2eb15619dfb2ce4977 SHA512 a40e55db8afc99b5e16b080d93867ef8c832a7318af7a50edb582bfea99bcc6a467b4bf12b75a9d3943e8a008a0222ed73daa52a8e7dae57d73bece4ac084d24
33 +DIST ufed-0.95.tar.bz2 48956 BLAKE2B b2bd9210b314814fe9bd1e84ea4ce9de8f3285e5133c989d72284f775c1ed246b0fb641952d4babdf9252cd4b8689afab6b4023099f6c81c81358ab2cbbd9d28 SHA512 010273fc4ff13822ba42f6497a8865c0d29c1d0118b62fd7e2bab66390818fcfb09390fbac671ef612d8e71609fc920b951a11dd42ac79e846d9469a374d2629
34
35 diff --git a/app-portage/ufed/ufed-0.95.ebuild b/app-portage/ufed/ufed-0.95.ebuild
36 new file mode 100644
37 index 00000000000..6d31fae26b7
38 --- /dev/null
39 +++ b/app-portage/ufed/ufed-0.95.ebuild
40 @@ -0,0 +1,37 @@
41 +# Copyright 1999-2019 Gentoo Authors
42 +# Distributed under the terms of the GNU General Public License v2
43 +
44 +EAPI=7
45 +
46 +if [[ ${PV} == *9999 ]]; then
47 + inherit git-r3
48 + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/ufed.git"
49 +else
50 + SRC_URI="https://gitweb.gentoo.org/proj/ufed.git/snapshot/${P}.tar.bz2"
51 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
52 +fi
53 +
54 +inherit autotools out-of-source
55 +
56 +DESCRIPTION="Gentoo Linux USE flags editor"
57 +HOMEPAGE="https://wiki.gentoo.org/wiki/Ufed"
58 +
59 +LICENSE="GPL-2"
60 +SLOT="0"
61 +IUSE=""
62 +
63 +RDEPEND="
64 + dev-lang/perl
65 + sys-libs/ncurses:0="
66 +DEPEND="${RDEPEND}"
67 +BDEPEND="virtual/pkgconfig"
68 +
69 +src_prepare() {
70 + default
71 + # Change the version number to reflect the ebuild version
72 + local REPLACEMENT_VERSION_STR="${PVR}"
73 + [[ ${PV} == *9999 ]] && REPLACEMENT_VERSION_STR+="-${EGIT_VERSION}"
74 + sed -i "s:,\[git\],:,\[${REPLACEMENT_VERSION_STR}\],:" configure.ac || die
75 +
76 + eautoreconf
77 +}