1 |
commit: 77aa52c0900d7519814f3b53c5a59fb9ad1dbae1 |
2 |
Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 3 18:45:08 2014 +0000 |
4 |
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 3 18:45:08 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=77aa52c0 |
7 |
|
8 |
version bump |
9 |
|
10 |
Package-Manager: portage-2.2.8-r2 |
11 |
|
12 |
--- |
13 |
app-shells/mpibash/ChangeLog | 7 ++++ |
14 |
.../mpibash/files/bash-4.3-term-cleanup.patch | 47 ++++++++++++++++++++++ |
15 |
...sh-4.3_p24.ebuild => mpibash-4.3_p30-r1.ebuild} | 45 +++++++++++---------- |
16 |
3 files changed, 78 insertions(+), 21 deletions(-) |
17 |
|
18 |
diff --git a/app-shells/mpibash/ChangeLog b/app-shells/mpibash/ChangeLog |
19 |
index d8edb92..441e0df 100644 |
20 |
--- a/app-shells/mpibash/ChangeLog |
21 |
+++ b/app-shells/mpibash/ChangeLog |
22 |
@@ -2,6 +2,13 @@ |
23 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
24 |
# $Header: $ |
25 |
|
26 |
+*mpibash-4.3_p30-r1 (03 Dec 2014) |
27 |
+ |
28 |
+ 03 Dec 2014; Christoph Junghans <ottxor@g.o> |
29 |
+ +files/bash-4.3-term-cleanup.patch, +mpibash-4.3_p30-r1.ebuild, |
30 |
+ -mpibash-4.3_p24.ebuild: |
31 |
+ version bump |
32 |
+ |
33 |
01 Nov 2014; Justin Lecher <jlec@g.o> mpibash-4.3_p24.ebuild, |
34 |
metadata.xml: |
35 |
Bump to EAPI=5 |
36 |
|
37 |
diff --git a/app-shells/mpibash/files/bash-4.3-term-cleanup.patch b/app-shells/mpibash/files/bash-4.3-term-cleanup.patch |
38 |
new file mode 100644 |
39 |
index 0000000..be7a5de |
40 |
--- /dev/null |
41 |
+++ b/app-shells/mpibash/files/bash-4.3-term-cleanup.patch |
42 |
@@ -0,0 +1,47 @@ |
43 |
+http://lists.gnu.org/archive/html/bug-bash/2014-09/msg00031.html |
44 |
+ |
45 |
+*** ../bash-4.3-patched/bashline.c 2014-05-14 09:22:39.000000000 -0400 |
46 |
+--- bashline.c 2014-09-08 11:28:56.000000000 -0400 |
47 |
+*************** |
48 |
+*** 203,206 **** |
49 |
+--- 203,207 ---- |
50 |
+ extern int array_needs_making; |
51 |
+ extern int posixly_correct, no_symbolic_links; |
52 |
++ extern int sigalrm_seen; |
53 |
+ extern char *current_prompt_string, *ps1_prompt; |
54 |
+ extern STRING_INT_ALIST word_token_alist[]; |
55 |
+*************** |
56 |
+*** 4209,4214 **** |
57 |
+ /* If we're going to longjmp to top_level, make sure we clean up readline. |
58 |
+ check_signals will call QUIT, which will eventually longjmp to top_level, |
59 |
+! calling run_interrupt_trap along the way. */ |
60 |
+! if (interrupt_state) |
61 |
+ rl_cleanup_after_signal (); |
62 |
+ bashline_reset_event_hook (); |
63 |
+--- 4262,4268 ---- |
64 |
+ /* If we're going to longjmp to top_level, make sure we clean up readline. |
65 |
+ check_signals will call QUIT, which will eventually longjmp to top_level, |
66 |
+! calling run_interrupt_trap along the way. The check for sigalrm_seen is |
67 |
+! to clean up the read builtin's state. */ |
68 |
+! if (terminating_signal || interrupt_state || sigalrm_seen) |
69 |
+ rl_cleanup_after_signal (); |
70 |
+ bashline_reset_event_hook (); |
71 |
+*** ../bash-4.3-patched/sig.c 2014-01-10 15:06:06.000000000 -0500 |
72 |
+--- sig.c 2014-09-08 11:26:33.000000000 -0400 |
73 |
+*************** |
74 |
+*** 533,538 **** |
75 |
+ /* Set the event hook so readline will call it after the signal handlers |
76 |
+ finish executing, so if this interrupted character input we can get |
77 |
+! quick response. */ |
78 |
+! if (interactive_shell && interactive && no_line_editing == 0) |
79 |
+ bashline_set_event_hook (); |
80 |
+ #endif |
81 |
+--- 533,540 ---- |
82 |
+ /* Set the event hook so readline will call it after the signal handlers |
83 |
+ finish executing, so if this interrupted character input we can get |
84 |
+! quick response. If readline is active or has modified the terminal we |
85 |
+! need to set this no matter what the signal is, though the check for |
86 |
+! RL_STATE_TERMPREPPED is possibly redundant. */ |
87 |
+! if (RL_ISSTATE (RL_STATE_SIGHANDLER) || RL_ISSTATE (RL_STATE_TERMPREPPED)) |
88 |
+ bashline_set_event_hook (); |
89 |
+ #endif |
90 |
|
91 |
diff --git a/app-shells/mpibash/mpibash-4.3_p24.ebuild b/app-shells/mpibash/mpibash-4.3_p30-r1.ebuild |
92 |
similarity index 87% |
93 |
rename from app-shells/mpibash/mpibash-4.3_p24.ebuild |
94 |
rename to app-shells/mpibash/mpibash-4.3_p30-r1.ebuild |
95 |
index f6e8cc4..692f998 100644 |
96 |
--- a/app-shells/mpibash/mpibash-4.3_p24.ebuild |
97 |
+++ b/app-shells/mpibash/mpibash-4.3_p30-r1.ebuild |
98 |
@@ -1,6 +1,6 @@ |
99 |
# Copyright 1999-2014 Gentoo Foundation |
100 |
# Distributed under the terms of the GNU General Public License v2 |
101 |
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.3_p24.ebuild,v 1.1 2014/08/24 17:53:01 polynomial-c Exp $ |
102 |
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.3_p30-r1.ebuild,v 1.1 2014/11/09 20:41:28 mgorny Exp $ |
103 |
|
104 |
EAPI=5 |
105 |
|
106 |
@@ -38,17 +38,17 @@ SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)" |
107 |
|
108 |
LICENSE="GPL-3" |
109 |
SLOT="0" |
110 |
-KEYWORDS="" |
111 |
-#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
112 |
+KEYWORDS="~amd64" |
113 |
IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline vanilla" |
114 |
|
115 |
-DEPEND=" |
116 |
- sys-libs/ncurses |
117 |
+DEPEND=">=sys-libs/ncurses-5.2-r2 |
118 |
readline? ( >=sys-libs/readline-${READLINE_VER} ) |
119 |
nls? ( virtual/libintl )" |
120 |
RDEPEND="${DEPEND} |
121 |
virtual/mpi |
122 |
- sys-cluster/libcircle" |
123 |
+ sys-cluster/libcircle |
124 |
+ !<sys-apps/portage-2.1.6.7_p1 |
125 |
+ !<sys-apps/paludis-0.26.0_alpha5" |
126 |
# we only need yacc when the .y files get patched (bash42-005) |
127 |
DEPEND+=" virtual/yacc" |
128 |
|
129 |
@@ -76,7 +76,7 @@ src_prepare() { |
130 |
|
131 |
# Clean out local libs so we know we use system ones w/releases. |
132 |
if [[ ${PV} != *_rc* ]] ; then |
133 |
- rm -rf lib/{readline,termcap}/* || die |
134 |
+ rm -rf lib/{readline,termcap}/* |
135 |
touch lib/{readline,termcap}/Makefile.in # for config.status |
136 |
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die |
137 |
fi |
138 |
@@ -85,11 +85,11 @@ src_prepare() { |
139 |
sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die |
140 |
touch -r . doc/* |
141 |
|
142 |
- epatch \ |
143 |
- "${FILESDIR}"/${PN#mpi}-4.3-compat-lvl.patch \ |
144 |
- "${FILESDIR}"/${PN#mpi}-4.3-parse-time-keyword.patch \ |
145 |
- "${FILESDIR}"/${PN#mpi}-4.3-append-process-segfault.patch \ |
146 |
- "${FILESDIR}"/${PN}-4.3.patch |
147 |
+ epatch "${FILESDIR}"/${PN#mpi}-4.3-compat-lvl.patch |
148 |
+ epatch "${FILESDIR}"/${PN#mpi}-4.3-parse-time-keyword.patch |
149 |
+ epatch "${FILESDIR}"/${PN#mpi}-4.3-append-process-segfault.patch |
150 |
+ epatch "${FILESDIR}"/${PN#mpi}-4.3-term-cleanup.patch |
151 |
+ epatch "${FILESDIR}"/${PN}-4.3.patch |
152 |
|
153 |
epatch_user |
154 |
|
155 |
@@ -141,8 +141,7 @@ src_configure() { |
156 |
else |
157 |
# Disable the plugins logic by hand since bash doesn't |
158 |
# provide a way of doing it. |
159 |
- export \ |
160 |
- ac_cv_func_dl{close,open,sym}=no \ |
161 |
+ export ac_cv_func_dl{close,open,sym}=no \ |
162 |
ac_cv_lib_dl_dlopen=no ac_cv_header_dlfcn_h=no |
163 |
sed -i \ |
164 |
-e '/LOCAL_LDFLAGS=/s:-rdynamic::' \ |
165 |
@@ -166,9 +165,11 @@ src_configure() { |
166 |
} |
167 |
|
168 |
src_compile() { |
169 |
- default |
170 |
+ emake |
171 |
|
172 |
- use plugins && emake -C examples/loadables all others |
173 |
+ if use plugins ; then |
174 |
+ emake -C examples/loadables all others |
175 |
+ fi |
176 |
} |
177 |
|
178 |
src_install() { |
179 |
@@ -186,7 +187,9 @@ src_install() { |
180 |
dosym bash /bin/rbash |
181 |
|
182 |
insinto /etc/bash |
183 |
- doins "${FILESDIR}"/{bashrc,bash_logout} |
184 |
+ doins "${FILESDIR}"/bash_logout |
185 |
+ newins "${FILESDIR}"/bashrc-r1 bashrc |
186 |
+ keepdir /etc/bash/bashrc.d |
187 |
insinto /etc/skel |
188 |
for f in bash{_logout,_profile,rc} ; do |
189 |
newins "${FILESDIR}"/dot-${f} .${f} |
190 |
@@ -215,7 +218,7 @@ src_install() { |
191 |
fi |
192 |
|
193 |
if use examples ; then |
194 |
- for d in examples/{functions,misc,scripts,scripts.noah,scripts.v2} ; do |
195 |
+ for d in examples/{functions,misc,scripts,startup-files} ; do |
196 |
exeinto /usr/share/doc/${PF}/${d} |
197 |
insinto /usr/share/doc/${PF}/${d} |
198 |
for f in ${d}/* ; do |
199 |
@@ -245,8 +248,8 @@ pkg_preinst() { |
200 |
# missing even temporarily causes a fatal error with paludis. |
201 |
local target=$(readlink "${EROOT}"/bin/sh) |
202 |
local tmp=$(emktemp "${EROOT}"/bin) |
203 |
- ln -sf "${target}" "${tmp}" || die |
204 |
- mv -f "${tmp}" "${EROOT}"/bin/sh || die |
205 |
+ ln -sf "${target}" "${tmp}" |
206 |
+ mv -f "${tmp}" "${EROOT}"/bin/sh |
207 |
fi |
208 |
} |
209 |
|
210 |
@@ -254,6 +257,6 @@ pkg_postinst() { |
211 |
return 0 |
212 |
# If /bin/sh does not exist, provide it |
213 |
if [[ ! -e ${EROOT}/bin/sh ]] ; then |
214 |
- ln -sf bash "${EROOT}"/bin/sh || die |
215 |
+ ln -sf bash "${EROOT}"/bin/sh |
216 |
fi |
217 |
} |