# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= bash VERSION= 5.2.p26 KEYWORDS= shells VARIANTS= standard static SDESC[standard]= GNU Bourne Again SHell SDESC[static]= Static GNU Bourne Again SHell HOMEPAGE= http://www.gnu.org/software/bash/bash.html CONTACT= nobody DOWNLOAD_GROUPS= main patches SITES[main]= GNU/bash SITES[patches]= GNU/bash/bash-5.2-patches DISTFILE[1]= bash-5.2.tar.gz:main DISTFILE[2]= bash52-001:patches DISTFILE[3]= bash52-002:patches DISTFILE[4]= bash52-003:patches DISTFILE[5]= bash52-004:patches DISTFILE[6]= bash52-005:patches DISTFILE[7]= bash52-006:patches DISTFILE[8]= bash52-007:patches DISTFILE[9]= bash52-008:patches DISTFILE[10]= bash52-009:patches DISTFILE[11]= bash52-010:patches DISTFILE[12]= bash52-011:patches DISTFILE[13]= bash52-012:patches DISTFILE[14]= bash52-013:patches DISTFILE[15]= bash52-014:patches DISTFILE[16]= bash52-015:patches DISTFILE[17]= bash52-016:patches DISTFILE[18]= bash52-017:patches DISTFILE[19]= bash52-018:patches DISTFILE[20]= bash52-019:patches DISTFILE[21]= bash52-020:patches DISTFILE[22]= bash52-021:patches DISTFILE[23]= bash52-022:patches DISTFILE[24]= bash52-023:patches DISTFILE[25]= bash52-024:patches DISTFILE[26]= bash52-025:patches DISTFILE[27]= bash52-026:patches DIST_SUBDIR= bash DF_INDEX= 1 SPKGS[standard]= complete primary nls docs SPKGS[static]= primary OPTIONS_AVAILABLE= STATIC NLS NOTSTD OPTIONS_STANDARD= STATIC NLS VOPTS[static]= STATIC=ON NLS=OFF NOTSTD=ON OPT_ON[all]= NLS BUILD_DEPENDS= ncurses:dev:standard RUN_DEPENDS= ncurses:terminfo:standard USES= bison cpe solaris-funcs DISTNAME= bash-5.2 LICENSE= GPLv3+:primary LICENSE_TERMS= primary:{{WRKDIR}}/TERMS LICENSE_FILE= GPLv3+:{{WRKSRC}}/COPYING LICENSE_AWK= TERMS:"" LICENSE_SOURCE= TERMS:{{WRKSRC}}/version.c LICENSE_SCHEME= solo CPE_VENDOR= gnu INFO_SUBDIR= . SOL_FUNCTIONS= mkdtemp:lib/sh/tmpfile.c MUST_CONFIGURE= gnu CONFIGURE_ARGS= --enable-readline --enable-progcomp --enable-process-substitution --enable-history --enable-help-builtin --enable-extended-glob --enable-dparen-arithmetic --enable-directory-stack --enable-debugger --enable-cond-regexp --enable-alias --enable-brace-expansion --enable-array-variables --without-bash-malloc INSTALL_REQ_TOOLCHAIN= yes CPPFLAGS= -DDEFAULT_PATH_VALUE='\"{{STANDARD_PATH}}:{{LOCALBASE}}/sbin:{{LOCALBASE}}/bin\"' -DSTANDARD_UTILS_PATH='\"{{STANDARD_PATH}}\"' VAR_OPSYS[freebsd]= VAR1=-Wl,--export-dynamic VAR_OPSYS[linux]= VAR1=-Wl,--export-dynamic VAR_OPSYS[netbsd]= VAR1=-Wl,--export-dynamic VAR_OPSYS[dragonfly]= VAR1=-Wl,--export-dynamic [NOTSTD].DESCRIPTION= Non-standard designation [NOTSTD].INFO_OFF= primary:bash [NOTSTD].USES_OFF= makeinfo [STATIC].BUILDRUN_DEPENDS_OFF= ncurses:primary:standard [STATIC].CFLAGS_ON= -fcommon [NLS].CONFIGURE_ARGS_ON= --with-libiconv-prefix={{ICONV_PREFIX}} [NLS].CONFIGURE_ENABLE_BOTH= nls [NLS].USES_ON= gettext iconv post-patch: # Ensure y.tab.c is regenerated ${TOUCH} ${WRKSRC}/parse.y ${RM} ${WRKSRC}/y.tab.c ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/bash.1 post-install-NOTSTD-ON: ${RM} -r ${STAGEDIR}${STD_DOCDIR} post-install-STATIC-ON: # These are not installed when --enable-static-link set ${RM} -r ${STAGEDIR}${PREFIX}/include ${RM} -r ${STAGEDIR}${PREFIX}/lib post-install: ${LN} -sf bash ${STAGEDIR}${PREFIX}/bin/rbash ${RM} ${STAGEDIR}${STD_DOCDIR}/CHANGES post-configure: ${FIND} ${WRKSRC} -name Makefile -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e "s|^DESTDIR *=|& ${DESTDIR}|" post-extract-STATIC-ON: # force static linking ${RM} ${LOCALBASE}/lib/libncurses.so [FILE:310:descriptions/desc.primary] This is GNU Bash. Bash is the GNU Project's Bourne Again SHell, a complete implementation of the POSIX.2 shell spec, but also with interactive command line editing, job control on architectures that support it, csh-like features such as history substitution and brace expansion, and a slew of other features. [FILE:2543:distinfo] a139c166df7ff4471c5e0733051642ee5556c1cc8a4a78f145583c5c81ab32fb 10950833 bash/bash-5.2.tar.gz f42f2fee923bc2209f406a1892772121c467f44533bedfe00a176139da5d310a 1381 bash/bash52-001 45cc5e1b876550eee96f95bffb36c41b6cb7c07d33f671db5634405cd00fd7b8 1328 bash/bash52-002 6a090cdbd334306fceacd0e4a1b9e0b0678efdbbdedbd1f5842035990c8abaff 2157 bash/bash52-003 38827724bba908cf5721bd8d4e595d80f02c05c35f3dd7dbc4cd3c5678a42512 2016 bash/bash52-004 ece0eb544368b3b4359fb8464caa9d89c7a6743c8ed070be1c7d599c3675d357 1515 bash/bash52-005 d1e0566a257d149a0d99d450ce2885123f9995e9c01d0a5ef6df7044a72a468c 8790 bash/bash52-006 2500a3fc21cb08133f06648a017cebfa27f30ea19c8cbe8dfefdf16227cfd490 9072 bash/bash52-007 6b4bd92fd0099d1bab436b941875e99e0cb3c320997587182d6267af1844b1e8 1771 bash/bash52-008 f95a817882eaeb0cb78bce82859a86bbb297a308ced730ebe449cd504211d3cd 1316 bash/bash52-009 c7705e029f752507310ecd7270aef437e8043a9959e4d0c6065a82517996c1cd 2045 bash/bash52-010 831b5f25bf3e88625f3ab315043be7498907c551f86041fa3b914123d79eb6f4 1229 bash/bash52-011 2fb107ce1fb8e93f36997c8b0b2743fc1ca98a454c7cc5a3fcabec533f67d42c 9107 bash/bash52-012 094b4fd81bc488a26febba5d799689b64d52a5505b63e8ee854f48d356bc7ce6 1503 bash/bash52-013 3ef9246f2906ef1e487a0a3f4c647ae1c289cbd8459caa7db5ce118ef136e624 3245 bash/bash52-014 ef73905169db67399a728e238a9413e0d689462cb9b72ab17a05dba51221358a 8088 bash/bash52-015 155853bc5bd10e40a9bea369fb6f50a203a7d0358e9e32321be0d9fa21585915 1225 bash/bash52-016 1c48cecbc9b7b4217990580203b7e1de19c4979d0bd2c0e310167df748df2c89 1396 bash/bash52-017 4641dd49dd923b454dd0a346277907090410f5d60a29a2de3b82c98e49aaaa80 151467 bash/bash52-018 325c26860ad4bba8558356c4ab914ac57e7b415dac6f5aae86b9b05ccb7ed282 2548 bash/bash52-019 b6fc252aeb95ce67c9b017d29d81e8a5e285db4bf20d4ec8cdca35892be5c01d 1459 bash/bash52-020 8334b88117ad047598f23581aeb0c66c0248cdd77abc3b4e259133aa307650cd 1890 bash/bash52-021 78b5230a49594ec30811e72dcd0f56d1089710ec7828621022d08507aa57e470 1305 bash/bash52-022 af905502e2106c8510ba2085aa2b56e64830fc0fdf6ee67ebb459ac11696dcd3 1817 bash/bash52-023 971534490117eb05d97d7fd81f5f9d8daf927b4d581231844ffae485651b02c3 2298 bash/bash52-024 5138f487e7cf71a6323dc81d22419906f1535b89835cc2ff68847e1a35613075 1454 bash/bash52-025 96ee1f549aa0b530521e36bdc0ba7661602cfaee409f7023cac744dd42852eac 1372 bash/bash52-026 [FILE:1240:manifests/plist.primary] @shell bin/bash @shell bin/rbash %%NOTSTD-OFF%%share/man/man1/ bash.1.gz bashbug.1.gz %%STATIC-OFF%%include/bash/ alias.h array.h arrayfunc.h assoc.h bashansi.h bashintl.h bashjmp.h bashtypes.h builtins.h command.h config-bot.h config-top.h config.h conftypes.h dispose_cmd.h error.h execute_cmd.h externs.h general.h hashlib.h jobs.h make_cmd.h pathnames.h quit.h shell.h sig.h siglist.h signames.h subst.h syntax.h unwind_prot.h variables.h version.h xmalloc.h y.tab.h %%STATIC-OFF%%include/bash/builtins/ bashgetopt.h builtext.h common.h getopt.h %%STATIC-OFF%%include/bash/include/ ansi_stdlib.h chartypes.h filecntl.h gettext.h maxpath.h memalloc.h ocache.h posixdir.h posixjmp.h posixstat.h posixtime.h posixwait.h shmbchar.h shmbutil.h shtty.h stat-time.h stdc.h systimes.h typemax.h unionwait.h %%STATIC-OFF%%lib/bash/ Makefile.inc Makefile.sample accept basename csv cut dirname dsv fdflags finfo getconf head id ln loadables.h logname mkdir mkfifo mktemp mypid pathchk print printenv push realpath rm rmdir seq setpgid sleep stat strftime sync tee truefalse tty uname unlink whoami %%STATIC-OFF%%lib/pkgconfig/bash.pc bin/bashbug [FILE:1427:manifests/plist.nls] share/locale/af/LC_MESSAGES/bash.mo share/locale/bg/LC_MESSAGES/bash.mo share/locale/ca/LC_MESSAGES/bash.mo share/locale/cs/LC_MESSAGES/bash.mo share/locale/da/LC_MESSAGES/bash.mo share/locale/de/LC_MESSAGES/bash.mo share/locale/el/LC_MESSAGES/bash.mo share/locale/en@boldquot/LC_MESSAGES/bash.mo share/locale/en@quot/LC_MESSAGES/bash.mo share/locale/eo/LC_MESSAGES/bash.mo share/locale/es/LC_MESSAGES/bash.mo share/locale/et/LC_MESSAGES/bash.mo share/locale/fi/LC_MESSAGES/bash.mo share/locale/fr/LC_MESSAGES/bash.mo share/locale/ga/LC_MESSAGES/bash.mo share/locale/gl/LC_MESSAGES/bash.mo share/locale/hr/LC_MESSAGES/bash.mo share/locale/hu/LC_MESSAGES/bash.mo share/locale/id/LC_MESSAGES/bash.mo share/locale/it/LC_MESSAGES/bash.mo share/locale/ja/LC_MESSAGES/bash.mo share/locale/ko/LC_MESSAGES/bash.mo share/locale/lt/LC_MESSAGES/bash.mo share/locale/nb/LC_MESSAGES/bash.mo share/locale/nl/LC_MESSAGES/bash.mo share/locale/pl/LC_MESSAGES/bash.mo share/locale/pt/LC_MESSAGES/bash.mo share/locale/pt_BR/LC_MESSAGES/bash.mo share/locale/ro/LC_MESSAGES/bash.mo share/locale/ru/LC_MESSAGES/bash.mo share/locale/sk/LC_MESSAGES/bash.mo share/locale/sl/LC_MESSAGES/bash.mo share/locale/sr/LC_MESSAGES/bash.mo share/locale/sv/LC_MESSAGES/bash.mo share/locale/tr/LC_MESSAGES/bash.mo share/locale/uk/LC_MESSAGES/bash.mo share/locale/vi/LC_MESSAGES/bash.mo share/locale/zh_CN/LC_MESSAGES/bash.mo share/locale/zh_TW/LC_MESSAGES/bash.mo [FILE:89:manifests/plist.docs] share/doc/bash/ COMPAT FAQ INTRO NEWS POSIX RBASH README bash.html bashref.html [FILE:314:patches/patch-config-top.h] --- config-top.h.orig 2021-11-05 13:11:12 UTC +++ config-top.h @@ -84,7 +84,7 @@ #endif /* Default primary and secondary prompt strings. */ -#define PPROMPT "\\s-\\v\\$ " +#define PPROMPT "[\\u@\\h \\w]\\$ " #define SPROMPT "> " /* Undefine this if you don't want the ksh-compatible behavior of reprinting [FILE:498:patches/patch-doc_bash.1] --- doc/bash.1.orig 2022-09-19 15:36:55 UTC +++ doc/bash.1 @@ -2561,7 +2561,7 @@ The value of this parameter is expanded .SM .B PROMPTING below) and used as the primary prompt string. The default value is -``\fB\es\-\ev\e$ \fP''. +``\fB\eu\@\eh\e$ \fP''. .TP .B PS2 The value of this parameter is expanded as with @@ -11661,7 +11661,7 @@ http://tiswww.case.edu/~chet/bash/POSIX .SH FILES .PD 0 .TP -.FN /bin/bash +.FN %%PREFIX%%/bin/bash The \fBbash\fP executable .TP .FN /etc/profile [FILE:944:patches/patch-doc_bashref.texi] --- doc/bashref.texi.orig 2022-09-19 15:41:39 UTC +++ doc/bashref.texi @@ -1,6 +1,6 @@ \input texinfo.tex @c -*- texinfo -*- @c %**start of header -@setfilename bashref.info +@setfilename bash.info @settitle Bash Reference Manual @include version.texi @@ -8,7 +8,7 @@ @copying This text is a brief description of the features that are present in -the Bash shell (version @value{VERSION}, @value{UPDATED}). +the Bash shell (version @value{VERSION}, @value{UPDATED}) This is Edition @value{EDITION}, last updated @value{UPDATED}, of @cite{The GNU Bash Reference Manual}, @@ -6004,7 +6004,7 @@ A null directory name may appear as two or trailing colon. @item PS1 -The primary prompt string. The default value is @samp{\s-\v\$ }. +The primary prompt string. The default value is @samp{[\u@@\h \w]\$ }. @xref{Controlling the Prompt}, for the complete list of escape sequences that are expanded before @env{PS1} is displayed. [FILE:226:patches/patch-examples_loadables_fdflags.c] --- examples/loadables/fdflags.c.orig 2022-07-26 14:16:57 UTC +++ examples/loadables/fdflags.c @@ -109,6 +109,8 @@ static const struct #ifdef O_CLOEXEC { "cloexec", O_CLOEXEC }, +#else +#define O_CLOEXEC 0 #endif }; [FILE:528:patches/patch-examples_loadables_getconf.c] $NetBSD: patch-examples_loadables_getconf.c,v 1.1 2022/10/04 12:45:31 kim Exp $ Handle _SC_RTSIG_MAX not being defined (NetBSD 9) --- examples/loadables/getconf.c.orig 2021-12-03 16:46:22 UTC +++ examples/loadables/getconf.c @@ -846,7 +846,9 @@ static const struct conf vars[] = #ifdef _SC_TRACE_LOG { "_POSIX_TRACE_LOG", _SC_TRACE_LOG, SYSCONF }, #endif +#ifdef _SC_RTSIG_MAX { "RTSIG_MAX", _SC_RTSIG_MAX, SYSCONF }, +#endif #ifdef _SC_SEM_NSEMS_MAX { "SEM_NSEMS_MAX", _SC_SEM_NSEMS_MAX, SYSCONF }, #endif [FILE:533:patches/patch-lib_readline_display.c] --- lib/readline/display.c.orig 2022-04-05 14:47:31 UTC +++ lib/readline/display.c @@ -953,7 +953,10 @@ rl_redisplay (void) the line breaks in the prompt string in expand_prompt, taking invisible characters into account, and if lpos exceeds the screen width, we copy the data in the loop below. */ + if (local_prompt) lpos = prompt_physical_chars + modmark; + else + lpos = 0; #if defined (HANDLE_MULTIBYTE) memset (line_state_invisible->wrapped_line, 0, line_state_invisible->wbsize * sizeof (int)); [FILE:266:patches/patch-lib_termcap_ltcap.h] --- lib/termcap/ltcap.h.orig 2009-01-04 19:32:36 UTC +++ lib/termcap/ltcap.h @@ -19,9 +19,7 @@ #ifndef _LTCAP_H_ #define _LTCAP_H_ 1 -#if !defined (__APPLE__) # define __private_extern__ -#endif #ifndef MAX_TGETENT_BUFSIZ # define MAX_TGETENT_BUFSIZ 2048 [FILE:656:patches/patch-support_shobj-conf] --- support/shobj-conf.orig 2021-12-03 15:54:46 UTC +++ support/shobj-conf @@ -113,7 +113,7 @@ sunos5*-*gcc*|solaris2*-*gcc*) SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)' ;; -sunos5*|solaris2*) +sunos5*) SHOBJ_CFLAGS='-K pic' SHOBJ_LD=/usr/ccs/bin/ld SHOBJ_LDFLAGS='-G -dy -z text -i -h $@' @@ -123,7 +123,7 @@ sunos5*|solaris2*) ;; # All versions of Linux (including Gentoo/FreeBSD) or the semi-mythical GNU Hurd. -linux*-*|gnu*-*|k*bsd*-gnu-*|midnightbsd*|freebsd*|dragonfly*) +linux*-*|gnu*-*|k*bsd*-gnu-*|midnightbsd*|freebsd*|dragonfly*|solaris*) SHOBJ_CFLAGS=-fPIC SHOBJ_LD='${CC}' SHOBJ_LDFLAGS='-shared -Wl,-soname,$@' [FILE:723:files/special.mk] # On linux with glibc, we can't build a fully static bash because # of absurd restrictions put on static linking with nss, dlopen, etc. # So we build it dynamic but with libtinfo static. Leaving glibc-based # libraries like libc, libm, pthread, etc, is okay. .if ${OPSYS} == Linux . if "${PLIST_SUB:MSTATIC-ON=*}" == "STATIC-ON=" CONFIGURE_ARGS:= ${CONFIGURE_ARGS:N--enable-static-link} CONFIGURE_ENV+= ac_cv_func_dlopen=no TINFOLIBS= ${LOCALBASE}/lib/libtinfo.a \ -lpthread post-configure-opsys: ${REINPLACE_CMD} -e 's|-ltinfo|${TINFOLIBS}|' ${WRKSRC}/Makefile . endif .endif # we could have used LDFLAGS_OFF options helper, but it doesn't # currently exist .if ${VARIANT} != static LDFLAGS+= ${VAR1} .endif [FILE:2609:sunos/patch-configure] --- configure.orig 2020-12-04 14:05:14 UTC +++ configure @@ -5009,14 +5009,18 @@ prefer_static=no if test "$opt_static_link" = yes; then prefer_static=yes prefer_shared=no + TINFO_LIBRARY=${prefix}/lib/libtinfo.a # if we're using gcc, add `-static' to LDFLAGS, except on Solaris >= 2 if test -n "$GCC" || test "$ac_cv_c_compiler_gnu" = "yes"; then STATIC_LD="-static" case "$host_os" in - solaris2*|linux*) ;; + linux*) ;; + solaris*) STATIC_LD= ;; *) LDFLAGS="$LDFLAGS -static" ;; # XXX experimental esac fi +else + TINFO_LIBRARY=-ltinfo fi # set the appropriate make variables for building the "build tools" @@ -5160,13 +5164,13 @@ $as_echo "$ac_cv_lib_termcap_tgetent" >& if test "x$ac_cv_lib_termcap_tgetent" = xyes; then : bash_cv_termcap_lib=libtermcap else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5 -$as_echo_n "checking for tgetent in -ltinfo... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in ${TINFO_LIBRARY}" >&5 +$as_echo_n "checking for tgetent in ${TINFO_LIBRARY}... " >&6; } if ${ac_cv_lib_tinfo_tgetent+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-ltinfo $LIBS" +LIBS="${TINFO_LIBRARY} $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -5345,7 +5349,7 @@ elif test $bash_cv_termcap_lib = libterm TERMCAP_LIB=-ltermcap TERMCAP_DEP= elif test $bash_cv_termcap_lib = libtinfo; then -TERMCAP_LIB=-ltinfo +TERMCAP_LIB=${TINFO_LIBRARY} TERMCAP_DEP= elif test $bash_cv_termcap_lib = libncurses; then TERMCAP_LIB=-lncurses @@ -20076,13 +20080,13 @@ $as_echo "$ac_cv_lib_termcap_tgetent" >& if test "x$ac_cv_lib_termcap_tgetent" = xyes; then : bash_cv_termcap_lib=libtermcap else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5 -$as_echo_n "checking for tgetent in -ltinfo... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in ${TINFO_LIBRARY}" >&5 +$as_echo_n "checking for tgetent in ${TINFO_LIBRARY}... " >&6; } if ${ac_cv_lib_tinfo_tgetent+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-ltinfo $LIBS" +LIBS="${TINFO_LIBRARY} $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -20261,7 +20265,7 @@ elif test $bash_cv_termcap_lib = libterm TERMCAP_LIB=-ltermcap TERMCAP_DEP= elif test $bash_cv_termcap_lib = libtinfo; then -TERMCAP_LIB=-ltinfo +TERMCAP_LIB=${TINFO_LIBRARY} TERMCAP_DEP= elif test $bash_cv_termcap_lib = libncurses; then TERMCAP_LIB=-lncurses