1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
6 VARIANTS= standard static
7 SDESC[standard]= GNU Bourne Again SHell
8 SDESC[static]= Static GNU Bourne Again SHell
9 HOMEPAGE= http://www.gnu.org/software/bash/bash.html
12 DOWNLOAD_GROUPS= main patches
14 SITES[patches]= GNU/bash/bash-5.2-patches
15 DISTFILE[1]= bash-5.2.tar.gz:main
16 DISTFILE[2]= bash52-001:patches
17 DISTFILE[3]= bash52-002:patches
18 DISTFILE[4]= bash52-003:patches
19 DISTFILE[5]= bash52-004:patches
20 DISTFILE[6]= bash52-005:patches
21 DISTFILE[7]= bash52-006:patches
22 DISTFILE[8]= bash52-007:patches
23 DISTFILE[9]= bash52-008:patches
24 DISTFILE[10]= bash52-009:patches
25 DISTFILE[11]= bash52-010:patches
26 DISTFILE[12]= bash52-011:patches
27 DISTFILE[13]= bash52-012:patches
30 SPKGS[standard]= complete
34 SPKGS[static]= primary
36 OPTIONS_AVAILABLE= STATIC NLS NOTSTD
37 OPTIONS_STANDARD= STATIC NLS
38 VOPTS[static]= STATIC=ON NLS=OFF NOTSTD=ON
41 USES= bison cpe solaris-funcs
45 LICENSE= GPLv3+:primary
46 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
47 LICENSE_FILE= GPLv3+:{{WRKSRC}}/COPYING
48 LICENSE_AWK= TERMS:"<config.h>"
49 LICENSE_SOURCE= TERMS:{{WRKSRC}}/version.c
54 SOL_FUNCTIONS= mkdtemp:lib/sh/tmpfile.c
57 CONFIGURE_ARGS= --enable-readline
59 --enable-process-substitution
62 --enable-extended-glob
63 --enable-dparen-arithmetic
64 --enable-directory-stack
68 --enable-brace-expansion
69 --enable-array-variables
72 INSTALL_REQ_TOOLCHAIN= yes
74 CPPFLAGS= -DDEFAULT_PATH_VALUE='\"{{STANDARD_PATH}}:{{LOCALBASE}}/sbin:{{LOCALBASE}}/bin\"'
75 -DSTANDARD_UTILS_PATH='\"{{STANDARD_PATH}}\"'
76 VAR_OPSYS[freebsd]= VAR1=-Wl,--export-dynamic
77 VAR_OPSYS[linux]= VAR1=-Wl,--export-dynamic
78 VAR_OPSYS[dragonfly]= VAR1=-Wl,--export-dynamic
80 [NOTSTD].DESCRIPTION= Non-standard designation
81 [NOTSTD].INFO_OFF= primary:bash
82 [NOTSTD].USES_OFF= makeinfo
84 [STATIC].BUILDRUN_DEPENDS_OFF= ncurses:primary:standard
85 [STATIC].BUILD_DEPENDS_ON= ncurses:primary:static
86 [STATIC].CFLAGS_ON= -fcommon
88 [NLS].CONFIGURE_ARGS_ON= --with-libiconv-prefix={{ICONV_PREFIX}}
89 [NLS].CONFIGURE_ENABLE_BOTH= nls
90 [NLS].USES_ON= gettext-runtime
94 # Ensure y.tab.c is regenerated
95 ${TOUCH} ${WRKSRC}/parse.y
96 ${RM} ${WRKSRC}/y.tab.c
97 ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/bash.1
99 post-install-NOTSTD-ON:
100 ${RM} -r ${STAGEDIR}${STD_DOCDIR}
102 post-install-STATIC-ON:
103 # These are not installed when --enable-static-link set
104 ${RM} -r ${STAGEDIR}${PREFIX}/include
105 ${RM} -r ${STAGEDIR}${PREFIX}/lib
108 ${LN} -sf bash ${STAGEDIR}${PREFIX}/bin/rbash
109 ${RM} ${STAGEDIR}${STD_DOCDIR}/CHANGES
112 ${FIND} ${WRKSRC} -name Makefile -print0 | ${XARGS} -0 \
113 ${REINPLACE_CMD} -e "s|^DESTDIR *=|& ${DESTDIR}|"
115 [FILE:310:descriptions/desc.primary]
116 This is GNU Bash. Bash is the GNU Project's Bourne Again SHell,
117 a complete implementation of the POSIX.2 shell spec, but also
118 with interactive command line editing, job control on architectures
119 that support it, csh-like features such as history substitution and
120 brace expansion, and a slew of other features.
124 a139c166df7ff4471c5e0733051642ee5556c1cc8a4a78f145583c5c81ab32fb 10950833 bash/bash-5.2.tar.gz
125 f42f2fee923bc2209f406a1892772121c467f44533bedfe00a176139da5d310a 1381 bash/bash52-001
126 45cc5e1b876550eee96f95bffb36c41b6cb7c07d33f671db5634405cd00fd7b8 1328 bash/bash52-002
127 6a090cdbd334306fceacd0e4a1b9e0b0678efdbbdedbd1f5842035990c8abaff 2157 bash/bash52-003
128 38827724bba908cf5721bd8d4e595d80f02c05c35f3dd7dbc4cd3c5678a42512 2016 bash/bash52-004
129 ece0eb544368b3b4359fb8464caa9d89c7a6743c8ed070be1c7d599c3675d357 1515 bash/bash52-005
130 d1e0566a257d149a0d99d450ce2885123f9995e9c01d0a5ef6df7044a72a468c 8790 bash/bash52-006
131 2500a3fc21cb08133f06648a017cebfa27f30ea19c8cbe8dfefdf16227cfd490 9072 bash/bash52-007
132 6b4bd92fd0099d1bab436b941875e99e0cb3c320997587182d6267af1844b1e8 1771 bash/bash52-008
133 f95a817882eaeb0cb78bce82859a86bbb297a308ced730ebe449cd504211d3cd 1316 bash/bash52-009
134 c7705e029f752507310ecd7270aef437e8043a9959e4d0c6065a82517996c1cd 2045 bash/bash52-010
135 831b5f25bf3e88625f3ab315043be7498907c551f86041fa3b914123d79eb6f4 1229 bash/bash52-011
136 2fb107ce1fb8e93f36997c8b0b2743fc1ca98a454c7cc5a3fcabec533f67d42c 9107 bash/bash52-012
139 [FILE:1240:manifests/plist.primary]
142 %%NOTSTD-OFF%%share/man/man1/
145 %%STATIC-OFF%%include/bash/
181 %%STATIC-OFF%%include/bash/builtins/
186 %%STATIC-OFF%%include/bash/include/
207 %%STATIC-OFF%%lib/bash/
247 %%STATIC-OFF%%lib/pkgconfig/bash.pc
251 [FILE:1427:manifests/plist.nls]
252 share/locale/af/LC_MESSAGES/bash.mo
253 share/locale/bg/LC_MESSAGES/bash.mo
254 share/locale/ca/LC_MESSAGES/bash.mo
255 share/locale/cs/LC_MESSAGES/bash.mo
256 share/locale/da/LC_MESSAGES/bash.mo
257 share/locale/de/LC_MESSAGES/bash.mo
258 share/locale/el/LC_MESSAGES/bash.mo
259 share/locale/en@boldquot/LC_MESSAGES/bash.mo
260 share/locale/en@quot/LC_MESSAGES/bash.mo
261 share/locale/eo/LC_MESSAGES/bash.mo
262 share/locale/es/LC_MESSAGES/bash.mo
263 share/locale/et/LC_MESSAGES/bash.mo
264 share/locale/fi/LC_MESSAGES/bash.mo
265 share/locale/fr/LC_MESSAGES/bash.mo
266 share/locale/ga/LC_MESSAGES/bash.mo
267 share/locale/gl/LC_MESSAGES/bash.mo
268 share/locale/hr/LC_MESSAGES/bash.mo
269 share/locale/hu/LC_MESSAGES/bash.mo
270 share/locale/id/LC_MESSAGES/bash.mo
271 share/locale/it/LC_MESSAGES/bash.mo
272 share/locale/ja/LC_MESSAGES/bash.mo
273 share/locale/ko/LC_MESSAGES/bash.mo
274 share/locale/lt/LC_MESSAGES/bash.mo
275 share/locale/nb/LC_MESSAGES/bash.mo
276 share/locale/nl/LC_MESSAGES/bash.mo
277 share/locale/pl/LC_MESSAGES/bash.mo
278 share/locale/pt/LC_MESSAGES/bash.mo
279 share/locale/pt_BR/LC_MESSAGES/bash.mo
280 share/locale/ro/LC_MESSAGES/bash.mo
281 share/locale/ru/LC_MESSAGES/bash.mo
282 share/locale/sk/LC_MESSAGES/bash.mo
283 share/locale/sl/LC_MESSAGES/bash.mo
284 share/locale/sr/LC_MESSAGES/bash.mo
285 share/locale/sv/LC_MESSAGES/bash.mo
286 share/locale/tr/LC_MESSAGES/bash.mo
287 share/locale/uk/LC_MESSAGES/bash.mo
288 share/locale/vi/LC_MESSAGES/bash.mo
289 share/locale/zh_CN/LC_MESSAGES/bash.mo
290 share/locale/zh_TW/LC_MESSAGES/bash.mo
293 [FILE:89:manifests/plist.docs]
306 [FILE:314:patches/patch-config-top.h]
307 --- config-top.h.orig 2021-11-05 13:11:12 UTC
312 /* Default primary and secondary prompt strings. */
313 -#define PPROMPT "\\s-\\v\\$ "
314 +#define PPROMPT "[\\u@\\h \\w]\\$ "
317 /* Undefine this if you don't want the ksh-compatible behavior of reprinting
320 [FILE:498:patches/patch-doc_bash.1]
321 --- doc/bash.1.orig 2022-09-19 15:36:55 UTC
323 @@ -2561,7 +2561,7 @@ The value of this parameter is expanded
326 below) and used as the primary prompt string. The default value is
327 -``\fB\es\-\ev\e$ \fP''.
328 +``\fB\eu\@\eh\e$ \fP''.
331 The value of this parameter is expanded as with
332 @@ -11661,7 +11661,7 @@ http://tiswww.case.edu/~chet/bash/POSIX
337 +.FN %%PREFIX%%/bin/bash
338 The \fBbash\fP executable
343 [FILE:944:patches/patch-doc_bashref.texi]
344 --- doc/bashref.texi.orig 2022-09-19 15:41:39 UTC
347 \input texinfo.tex @c -*- texinfo -*-
348 @c %**start of header
349 -@setfilename bashref.info
350 +@setfilename bash.info
351 @settitle Bash Reference Manual
353 @include version.texi
357 This text is a brief description of the features that are present in
358 -the Bash shell (version @value{VERSION}, @value{UPDATED}).
359 +the Bash shell (version @value{VERSION}, @value{UPDATED})
361 This is Edition @value{EDITION}, last updated @value{UPDATED},
362 of @cite{The GNU Bash Reference Manual},
363 @@ -6004,7 +6004,7 @@ A null directory name may appear as two
367 -The primary prompt string. The default value is @samp{\s-\v\$ }.
368 +The primary prompt string. The default value is @samp{[\u@@\h \w]\$ }.
369 @xref{Controlling the Prompt}, for the complete list of escape
370 sequences that are expanded before @env{PS1} is displayed.
374 [FILE:226:patches/patch-examples_loadables_fdflags.c]
375 --- examples/loadables/fdflags.c.orig 2022-07-26 14:16:57 UTC
376 +++ examples/loadables/fdflags.c
377 @@ -109,6 +109,8 @@ static const struct
380 { "cloexec", O_CLOEXEC },
388 [FILE:533:patches/patch-lib_readline_display.c]
389 --- lib/readline/display.c.orig 2022-04-05 14:47:31 UTC
390 +++ lib/readline/display.c
391 @@ -953,7 +953,10 @@ rl_redisplay (void)
392 the line breaks in the prompt string in expand_prompt, taking invisible
393 characters into account, and if lpos exceeds the screen width, we copy
394 the data in the loop below. */
396 lpos = prompt_physical_chars + modmark;
400 #if defined (HANDLE_MULTIBYTE)
401 memset (line_state_invisible->wrapped_line, 0, line_state_invisible->wbsize * sizeof (int));
404 [FILE:266:patches/patch-lib_termcap_ltcap.h]
405 --- lib/termcap/ltcap.h.orig 2009-01-04 19:32:36 UTC
406 +++ lib/termcap/ltcap.h
411 -#if !defined (__APPLE__)
412 # define __private_extern__
415 #ifndef MAX_TGETENT_BUFSIZ
416 # define MAX_TGETENT_BUFSIZ 2048
419 [FILE:656:patches/patch-support_shobj-conf]
420 --- support/shobj-conf.orig 2021-12-03 15:54:46 UTC
421 +++ support/shobj-conf
422 @@ -113,7 +113,7 @@ sunos5*-*gcc*|solaris2*-*gcc*)
423 SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)'
428 SHOBJ_CFLAGS='-K pic'
429 SHOBJ_LD=/usr/ccs/bin/ld
430 SHOBJ_LDFLAGS='-G -dy -z text -i -h $@'
431 @@ -123,7 +123,7 @@ sunos5*|solaris2*)
434 # All versions of Linux (including Gentoo/FreeBSD) or the semi-mythical GNU Hurd.
435 -linux*-*|gnu*-*|k*bsd*-gnu-*|midnightbsd*|freebsd*|dragonfly*)
436 +linux*-*|gnu*-*|k*bsd*-gnu-*|midnightbsd*|freebsd*|dragonfly*|solaris*)
439 SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'
442 [FILE:757:files/special.mk]
443 # On linux with glibc, we can't build a fully static bash because
444 # of absurd restrictions put on static linking with nss, dlopen, etc.
445 # So we build it dynamic but with libtinfo static. Leaving glibc-based
446 # libraries like libc, libm, pthread, etc, is okay.
448 .if ${OPSYS} == Linux
449 . if "${PLIST_SUB:MSTATIC-ON=*}" == "STATIC-ON="
450 CONFIGURE_ARGS:= ${CONFIGURE_ARGS:N--enable-static-link}
451 CONFIGURE_ENV+= ac_cv_func_dlopen=no
453 TINFOLIBS= ${LOCALBASE}/lib/libtinfo.a \
454 ${LOCALBASE}/lib/db5/libdb.a \
457 post-configure-opsys:
458 ${REINPLACE_CMD} -e 's|-ltinfo|${TINFOLIBS}|' ${WRKSRC}/Makefile
462 # we could have used LDFLAGS_OFF options helper, but it doesn't
465 .if ${VARIANT} != static
470 [FILE:2609:sunos/patch-configure]
471 --- configure.orig 2020-12-04 14:05:14 UTC
473 @@ -5009,14 +5009,18 @@ prefer_static=no
474 if test "$opt_static_link" = yes; then
477 + TINFO_LIBRARY=${prefix}/lib/libtinfo.a
478 # if we're using gcc, add `-static' to LDFLAGS, except on Solaris >= 2
479 if test -n "$GCC" || test "$ac_cv_c_compiler_gnu" = "yes"; then
482 - solaris2*|linux*) ;;
484 + solaris*) STATIC_LD= ;;
485 *) LDFLAGS="$LDFLAGS -static" ;; # XXX experimental
489 + TINFO_LIBRARY=-ltinfo
492 # set the appropriate make variables for building the "build tools"
493 @@ -5160,13 +5164,13 @@ $as_echo "$ac_cv_lib_termcap_tgetent" >&
494 if test "x$ac_cv_lib_termcap_tgetent" = xyes; then :
495 bash_cv_termcap_lib=libtermcap
497 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5
498 -$as_echo_n "checking for tgetent in -ltinfo... " >&6; }
499 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in ${TINFO_LIBRARY}" >&5
500 +$as_echo_n "checking for tgetent in ${TINFO_LIBRARY}... " >&6; }
501 if ${ac_cv_lib_tinfo_tgetent+:} false; then :
502 $as_echo_n "(cached) " >&6
504 ac_check_lib_save_LIBS=$LIBS
505 -LIBS="-ltinfo $LIBS"
506 +LIBS="${TINFO_LIBRARY} $LIBS"
507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
508 /* end confdefs.h. */
510 @@ -5345,7 +5349,7 @@ elif test $bash_cv_termcap_lib = libterm
511 TERMCAP_LIB=-ltermcap
513 elif test $bash_cv_termcap_lib = libtinfo; then
515 +TERMCAP_LIB=${TINFO_LIBRARY}
517 elif test $bash_cv_termcap_lib = libncurses; then
518 TERMCAP_LIB=-lncurses
519 @@ -20076,13 +20080,13 @@ $as_echo "$ac_cv_lib_termcap_tgetent" >&
520 if test "x$ac_cv_lib_termcap_tgetent" = xyes; then :
521 bash_cv_termcap_lib=libtermcap
523 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5
524 -$as_echo_n "checking for tgetent in -ltinfo... " >&6; }
525 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in ${TINFO_LIBRARY}" >&5
526 +$as_echo_n "checking for tgetent in ${TINFO_LIBRARY}... " >&6; }
527 if ${ac_cv_lib_tinfo_tgetent+:} false; then :
528 $as_echo_n "(cached) " >&6
530 ac_check_lib_save_LIBS=$LIBS
531 -LIBS="-ltinfo $LIBS"
532 +LIBS="${TINFO_LIBRARY} $LIBS"
533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
534 /* end confdefs.h. */
536 @@ -20261,7 +20265,7 @@ elif test $bash_cv_termcap_lib = libterm
537 TERMCAP_LIB=-ltermcap
539 elif test $bash_cv_termcap_lib = libtinfo; then
541 +TERMCAP_LIB=${TINFO_LIBRARY}
543 elif test $bash_cv_termcap_lib = libncurses; then
544 TERMCAP_LIB=-lncurses