# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= bash VERSION= 5.2.p2 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 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 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[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].BUILD_DEPENDS_ON= ncurses:primary:static [STATIC].CFLAGS_ON= -fcommon [NLS].CONFIGURE_ARGS_ON= --with-libiconv-prefix={{ICONV_PREFIX}} [NLS].CONFIGURE_ENABLE_BOTH= nls [NLS].USES_ON= gettext-runtime 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}|" [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:287:distinfo] a139c166df7ff4471c5e0733051642ee5556c1cc8a4a78f145583c5c81ab32fb 10950833 bash/bash-5.2.tar.gz f42f2fee923bc2209f406a1892772121c467f44533bedfe00a176139da5d310a 1381 bash/bash52-001 45cc5e1b876550eee96f95bffb36c41b6cb7c07d33f671db5634405cd00fd7b8 1328 bash/bash52-002 [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: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:757: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 \ ${LOCALBASE}/lib/db5/libdb.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