Сравнение bash-4.1_p17 с bash-4.2_p53

/usr/portage/app-shells/bash/bash-4.2_p53.ebuild 2023-10-09 14:52:28.852368334 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
......
10 10
GENTOO_PATCH_VER="${PV}"
11 11

  
12 12
# Official patchlevel
13
# See ftp://ftp.cwru.edu/pub/bash/bash-4.1-patches/
13
# See ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/
14 14
PLEVEL="${PV##*_p}"
15 15
MY_PV="${PV/_p*}"
16 16
MY_PV="${MY_PV/_/-}"
......
50 50
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
51 51
DEPEND="${RDEPEND}
52 52
	static? ( ${LIB_DEPEND} )"
53
# We only need bison (yacc) when the .y files get patched (bash42-005)
54
BDEPEND="sys-devel/bison"
53 55

  
54 56
S="${WORKDIR}/${MY_P}"
55 57

  
56 58
PATCHES=(
57
	"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-4.1-fbsd-eaccess.patch #bug #303411
58

  
59
	"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-4.1-parallel-build.patch
60
	"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-4.2-dev-fd-buffer-overflow.patch #bug #431850
59
	"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-4.2-execute-job-control.patch # bug #383237
60
	"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-4.2-parallel-build.patch
61
	"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-4.2-no-readline.patch
62
	"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-4.2-read-retry.patch # bug #447810
63
	"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}-patches/${PN}-4.2-speed-up-read-N.patch
61 64
)
62 65

  
63 66
pkg_setup() {
......
86 89
	touch lib/{readline,termcap}/Makefile.in || die # for config.status
87 90
	sed -ri -e 's:\$[{(](RL|HIST)_LIBSRC[)}]/[[:alpha:]_-]*\.h::g' Makefile.in || die
88 91

  
89
	default
92
	# Avoid regenerating docs after patches #407985
93
	sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
94
	touch -r . doc/* || die
90 95

  
91
	sed -i '1i#define NEED_FPURGE_DECL' execute_cmd.c || die # needs fpurge() decl
96
	default
92 97
}
93 98

  
94 99
src_configure() {
100
	# Upstream only test with Bison and require GNUisms like YYEOF and
101
	# YYERRCODE. The former at least may be in POSIX soon:
102
	# https://www.austingroupbugs.net/view.php?id=1269.
103
	# configure warns on use of non-Bison but doesn't abort. The result
104
	# may misbehave at runtime.
105
	unset YACC
106

  
95 107
	local myconf=(
96 108
		--with-installed-readline=.
97 109

  
......
101 113
		# ncurses in one or two small places :(.
102 114
		--with-curses
103 115

  
104
		# bug #335896
105
		--without-lispdir
106

  
107 116
		$(use_with afs)
108 117
		$(use_enable net net-redirections)
109 118
		--disable-profiling
Спасибо!