summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2019-09-27 09:16:27 +0200
committerJoonas Niilola <juippis@gentoo.org>2019-09-28 09:46:15 +0300
commitf78f27d77dee16bd72df0c03b3a2904ea6180bff (patch)
tree1402a650b3f420bad3a37efe004e330d7fad5450 /app-portage
parentnet-mail/vpopmail: use acct-user/vpopmail (diff)
downloadgentoo-f78f27d77dee16bd72df0c03b3a2904ea6180bff.tar.gz
gentoo-f78f27d77dee16bd72df0c03b3a2904ea6180bff.tar.bz2
gentoo-f78f27d77dee16bd72df0c03b3a2904ea6180bff.zip
app-portage/ufed: Bump to 0.95 to fix #695262
ufed-curses-checklist.c:ufed_getline() is limited to LINE_MAX, which is 2048 bytes. Unfortunately local USE flags can blast this limit, as ufed.pl also transmit an alternative description with stripped keywords. This release lets ufed.pl calculate whether a description has to be shorted, and does so if needed. Closes: https://bugs.gentoo.org/695262 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Sven Eden <yamakuzure@gmx.net> Closes: https://github.com/gentoo/gentoo/pull/13053 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/ufed/Manifest1
-rw-r--r--app-portage/ufed/ufed-0.95.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/app-portage/ufed/Manifest b/app-portage/ufed/Manifest
index 216111f05041..22b2c6eeea6b 100644
--- a/app-portage/ufed/Manifest
+++ b/app-portage/ufed/Manifest
@@ -1 +1,2 @@
DIST ufed-0.94.tar.bz2 48566 BLAKE2B db58624005c637c7133a298c17b60cae3cf54c1b1d2ba3337693e1f6c330a5305986e92b6c1b25a5ebc94b1f8934cb5a35db94eccb596f2eb15619dfb2ce4977 SHA512 a40e55db8afc99b5e16b080d93867ef8c832a7318af7a50edb582bfea99bcc6a467b4bf12b75a9d3943e8a008a0222ed73daa52a8e7dae57d73bece4ac084d24
+DIST ufed-0.95.tar.bz2 48956 BLAKE2B b2bd9210b314814fe9bd1e84ea4ce9de8f3285e5133c989d72284f775c1ed246b0fb641952d4babdf9252cd4b8689afab6b4023099f6c81c81358ab2cbbd9d28 SHA512 010273fc4ff13822ba42f6497a8865c0d29c1d0118b62fd7e2bab66390818fcfb09390fbac671ef612d8e71609fc920b951a11dd42ac79e846d9469a374d2629
diff --git a/app-portage/ufed/ufed-0.95.ebuild b/app-portage/ufed/ufed-0.95.ebuild
new file mode 100644
index 000000000000..6d31fae26b7c
--- /dev/null
+++ b/app-portage/ufed/ufed-0.95.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/ufed.git"
+else
+ SRC_URI="https://gitweb.gentoo.org/proj/ufed.git/snapshot/${P}.tar.bz2"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+fi
+
+inherit autotools out-of-source
+
+DESCRIPTION="Gentoo Linux USE flags editor"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Ufed"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ dev-lang/perl
+ sys-libs/ncurses:0="
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+ # Change the version number to reflect the ebuild version
+ local REPLACEMENT_VERSION_STR="${PVR}"
+ [[ ${PV} == *9999 ]] && REPLACEMENT_VERSION_STR+="-${EGIT_VERSION}"
+ sed -i "s:,\[git\],:,\[${REPLACEMENT_VERSION_STR}\],:" configure.ac || die
+
+ eautoreconf
+}