diff --git a/shells/bash/Makefile b/shells/bash/Makefile index 6393255c4de5..6fdb145d7cb3 100644 --- a/shells/bash/Makefile +++ b/shells/bash/Makefile @@ -1,134 +1,135 @@ # Please don't remove commented lines. They will become relevant once # the first official patch is released. PORTNAME= bash #PATCHLEVEL= 0 #PORTVERSION= 5.2.${PATCHLEVEL:S/^0//g} PORTVERSION= 5.2 +PORTREVISION= 1 CATEGORIES= shells MASTER_SITES= GNU #DISTNAME= ${PORTNAME}-${PORTVERSION:R} DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} #PATCH_SITES= GNU/${PORTNAME}/${DISTNAME}-patches/ #PATCHFILES!= /usr/bin/jot -s " " -w \ # ${PORTNAME}${PORTVERSION:R:S/.//g}-%03d \ # ${PATCHLEVEL} 1 ${PATCHLEVEL} MAINTAINER= ehaupt@FreeBSD.org COMMENT= GNU Project's Bourne Again SHell WWW= https://www.gnu.org/software/bash/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= bison cpe iconv makeinfo pathfix localbase CPE_VENDOR= gnu GNU_CONFIGURE= yes CONFIGURE_ARGS+= --without-bash-malloc \ --disable-rpath \ --enable-disabled-builtins \ --with-libiconv-prefix=${ICONV_PREFIX} MAKE_ARGS+= TERMCAP_LIB=-ltinfow INFO= bash PORTDOCS= FAQ INTRO CHANGES COMPAT NEWS POSIX RBASH README \ bash.html bashref.html OPTIONS_DEFINE= FDESCFS PORTS_READLINE HELP NLS STATIC SYSBASHRC \ SYSLOG DOCS OPTIONS_DEFAULT= HELP OPTIONS_SUB= yes FDESCFS_DESC= Enable use of /dev/fd HELP_DESC= Enable builtin help PORTS_READLINE_DESC= libreadline from ports instead of bundled one SYSBASHRC_DESC= Enable system-wide rc files FDESCFS_CONFIGURE_ENV_OFF= bash_cv_dev_fd=absent FDESCFS_SUB_FILES= pkg-message HELP_CONFIGURE_ENABLE= help-builtin NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls PORTS_READLINE_BROKEN= ld: error: undefined symbol: rl_trim_arg_from_keyseq PORTS_READLINE_USES= readline PORTS_READLINE_CONFIGURE_WITH= installed-readline STATIC_BROKEN= multiple definition of strtoimax .if empty(PKGNAMESUFFIX) CONFLICTS+= bash-static bash52-static .else CONFLICTS+= bash bash52 .endif CONFLICTS+= bashc .include .if ${PORT_OPTIONS:MSTATIC} || defined(NO_DYNAMICROOT) || (defined(NOSHARED) && ${NOSHARED:tl} != "no") CONFIGURE_ARGS+= --enable-static-link LLD_UNSAFE= yes .else CONFIGURE_ARGS+= --disable-static-link # Bash symbols must be exported in order to link runtime plugins, i.e., # "enable -f". (Plugins are not supported for bash-static.) LDFLAGS+= -Wl,-export-dynamic .endif STANDARD_PATH= /sbin:/bin:/usr/sbin:/usr/bin CPPFLAGS+= -DDEFAULT_PATH_VALUE='\"${STANDARD_PATH}:${LOCALBASE}/sbin:${LOCALBASE}/bin\"' \ -DSTANDARD_UTILS_PATH='\"${STANDARD_PATH}\"' post-patch: # Ensure y.tab.c is regenerated ${TOUCH} ${WRKSRC}/parse.y ${RM} ${WRKSRC}/y.tab.c @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ ${WRKSRC}/doc/bash.1 .if ${PORT_OPTIONS:MSYSLOG} @${REINPLACE_CMD} \ -e "s|/\*.*#define SYSLOG_HISTORY .*\*/|#define SYSLOG_HISTORY|g" \ -e "s|/\*.*#define SYSLOG_SHOPT .*\*/|#define SYSLOG_SHOPT 1|g" \ ${WRKSRC}/config-top.h .endif @${REINPLACE_CMD} -e "s|\(/etc/profile\)|${LOCALBASE}\1|" \ ${WRKSRC}/pathnames.h.in @${REINPLACE_CMD} -e "s|/etc/[iI]nputrc|${LOCALBASE}/etc/inputrc|g" \ ${WRKSRC}/doc/*.info ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.1 \ ${WRKSRC}/lib/readline/rlconf.h post-patch-SYSBASHRC-on: @${REINPLACE_CMD} \ -e "s|.*\(#define SYS_BASH.*\)\(/etc/.*\"\).*|\1${PREFIX}\2|" \ ${WRKSRC}/config-top.h pre-build: @${ECHO_CMD} $$((${PORTREVISION}-1)) > ${WRKSRC}/.build post-install: ${LN} -sf bash ${STAGEDIR}${PREFIX}/bin/rbash @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/FAQ \ ${WRKSRC}/doc/INTRO ${STAGEDIR}${DOCSDIR} for d in ${PORTDOCS:NFAQ:NINTRO:N*html}; do \ ${INSTALL_DATA} ${WRKSRC}/$${d} ${STAGEDIR}${DOCSDIR}; \ done regress: build cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} test #ckp: # ${MAKE} -DPATCH_DEBUG clean patch # requires ftp/ncftp3 #cklatest: # @${ECHO} -n "Currently at: " # @${MAKE} -V PATCHLEVEL # -ncftpls \ # ${PATCH_SITES:Mftp*:Ox:[1]} \ # | fgrep -v .sig | ${SORT} | ${TAIL} .include diff --git a/shells/bash/pkg-plist b/shells/bash/pkg-plist index abfb12366fdf..6209a48f0fd2 100644 --- a/shells/bash/pkg-plist +++ b/shells/bash/pkg-plist @@ -1,143 +1,143 @@ @shell bin/bash @shell bin/rbash bin/bashbug +man/man1/bash.1.gz +man/man1/bashbug.1.gz %%NLS%%share/locale/af/LC_MESSAGES/bash.mo %%NLS%%share/locale/bg/LC_MESSAGES/bash.mo %%NLS%%share/locale/ca/LC_MESSAGES/bash.mo %%NLS%%share/locale/cs/LC_MESSAGES/bash.mo %%NLS%%share/locale/da/LC_MESSAGES/bash.mo %%NLS%%share/locale/de/LC_MESSAGES/bash.mo %%NLS%%share/locale/el/LC_MESSAGES/bash.mo %%NLS%%share/locale/en@boldquot/LC_MESSAGES/bash.mo %%NLS%%share/locale/en@quot/LC_MESSAGES/bash.mo %%NLS%%share/locale/eo/LC_MESSAGES/bash.mo %%NLS%%share/locale/es/LC_MESSAGES/bash.mo %%NLS%%share/locale/et/LC_MESSAGES/bash.mo %%NLS%%share/locale/fi/LC_MESSAGES/bash.mo %%NLS%%share/locale/fr/LC_MESSAGES/bash.mo %%NLS%%share/locale/ga/LC_MESSAGES/bash.mo %%NLS%%share/locale/gl/LC_MESSAGES/bash.mo %%NLS%%share/locale/hr/LC_MESSAGES/bash.mo %%NLS%%share/locale/hu/LC_MESSAGES/bash.mo %%NLS%%share/locale/id/LC_MESSAGES/bash.mo %%NLS%%share/locale/it/LC_MESSAGES/bash.mo %%NLS%%share/locale/ja/LC_MESSAGES/bash.mo %%NLS%%share/locale/ko/LC_MESSAGES/bash.mo %%NLS%%share/locale/lt/LC_MESSAGES/bash.mo %%NLS%%share/locale/nb/LC_MESSAGES/bash.mo %%NLS%%share/locale/nl/LC_MESSAGES/bash.mo %%NLS%%share/locale/pl/LC_MESSAGES/bash.mo %%NLS%%share/locale/pt/LC_MESSAGES/bash.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/bash.mo %%NLS%%share/locale/ro/LC_MESSAGES/bash.mo %%NLS%%share/locale/ru/LC_MESSAGES/bash.mo %%NLS%%share/locale/sk/LC_MESSAGES/bash.mo %%NLS%%share/locale/sl/LC_MESSAGES/bash.mo %%NLS%%share/locale/sr/LC_MESSAGES/bash.mo %%NLS%%share/locale/sv/LC_MESSAGES/bash.mo %%NLS%%share/locale/tr/LC_MESSAGES/bash.mo %%NLS%%share/locale/uk/LC_MESSAGES/bash.mo %%NLS%%share/locale/vi/LC_MESSAGES/bash.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/bash.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/bash.mo -%%NO_STATIC%%include/bash/alias.h -%%NO_STATIC%%include/bash/array.h -%%NO_STATIC%%include/bash/arrayfunc.h -%%NO_STATIC%%include/bash/assoc.h -%%NO_STATIC%%include/bash/bashansi.h -%%NO_STATIC%%include/bash/bashintl.h -%%NO_STATIC%%include/bash/bashjmp.h -%%NO_STATIC%%include/bash/bashtypes.h -%%NO_STATIC%%include/bash/builtins.h -%%NO_STATIC%%include/bash/builtins/bashgetopt.h -%%NO_STATIC%%include/bash/builtins/builtext.h -%%NO_STATIC%%include/bash/builtins/common.h -%%NO_STATIC%%include/bash/builtins/getopt.h -%%NO_STATIC%%include/bash/command.h -%%NO_STATIC%%include/bash/config-bot.h -%%NO_STATIC%%include/bash/config-top.h -%%NO_STATIC%%include/bash/config.h -%%NO_STATIC%%include/bash/conftypes.h -%%NO_STATIC%%include/bash/dispose_cmd.h -%%NO_STATIC%%include/bash/error.h -%%NO_STATIC%%include/bash/execute_cmd.h -%%NO_STATIC%%include/bash/externs.h -%%NO_STATIC%%include/bash/general.h -%%NO_STATIC%%include/bash/hashlib.h -%%NO_STATIC%%include/bash/include/ansi_stdlib.h -%%NO_STATIC%%include/bash/include/chartypes.h -%%NO_STATIC%%include/bash/include/filecntl.h -%%NO_STATIC%%include/bash/include/gettext.h -%%NO_STATIC%%include/bash/include/maxpath.h -%%NO_STATIC%%include/bash/include/memalloc.h -%%NO_STATIC%%include/bash/include/ocache.h -%%NO_STATIC%%include/bash/include/posixdir.h -%%NO_STATIC%%include/bash/include/posixjmp.h -%%NO_STATIC%%include/bash/include/posixstat.h -%%NO_STATIC%%include/bash/include/posixtime.h -%%NO_STATIC%%include/bash/include/posixwait.h -%%NO_STATIC%%include/bash/include/shmbchar.h -%%NO_STATIC%%include/bash/include/shmbutil.h -%%NO_STATIC%%include/bash/include/shtty.h -%%NO_STATIC%%include/bash/include/stat-time.h -%%NO_STATIC%%include/bash/include/stdc.h -%%NO_STATIC%%include/bash/include/systimes.h -%%NO_STATIC%%include/bash/include/typemax.h -%%NO_STATIC%%include/bash/include/unionwait.h -%%NO_STATIC%%include/bash/jobs.h -%%NO_STATIC%%include/bash/make_cmd.h -%%NO_STATIC%%include/bash/pathnames.h -%%NO_STATIC%%include/bash/quit.h -%%NO_STATIC%%include/bash/shell.h -%%NO_STATIC%%include/bash/sig.h -%%NO_STATIC%%include/bash/siglist.h -%%NO_STATIC%%include/bash/signames.h -%%NO_STATIC%%include/bash/subst.h -%%NO_STATIC%%include/bash/syntax.h -%%NO_STATIC%%include/bash/unwind_prot.h -%%NO_STATIC%%include/bash/variables.h -%%NO_STATIC%%include/bash/version.h -%%NO_STATIC%%include/bash/xmalloc.h -%%NO_STATIC%%include/bash/y.tab.h -%%NO_STATIC%%lib/bash/Makefile.inc -%%NO_STATIC%%lib/bash/Makefile.sample -%%NO_STATIC%%lib/bash/accept -%%NO_STATIC%%lib/bash/basename -%%NO_STATIC%%lib/bash/csv -%%NO_STATIC%%lib/bash/cut -%%NO_STATIC%%lib/bash/dirname -%%NO_STATIC%%lib/bash/dsv -%%NO_STATIC%%lib/bash/fdflags -%%NO_STATIC%%lib/bash/finfo -%%NO_STATIC%%lib/bash/getconf -%%NO_STATIC%%lib/bash/head -%%NO_STATIC%%lib/bash/id -%%NO_STATIC%%lib/bash/ln -%%NO_STATIC%%lib/bash/loadables.h -%%NO_STATIC%%lib/bash/logname -%%NO_STATIC%%lib/bash/mkdir -%%NO_STATIC%%lib/bash/mkfifo -%%NO_STATIC%%lib/bash/mktemp -%%NO_STATIC%%lib/bash/mypid -%%NO_STATIC%%lib/bash/pathchk -%%NO_STATIC%%lib/bash/print -%%NO_STATIC%%lib/bash/printenv -%%NO_STATIC%%lib/bash/push -%%NO_STATIC%%lib/bash/realpath -%%NO_STATIC%%lib/bash/rm -%%NO_STATIC%%lib/bash/rmdir -%%NO_STATIC%%lib/bash/seq -%%NO_STATIC%%lib/bash/setpgid -%%NO_STATIC%%lib/bash/sleep -%%NO_STATIC%%lib/bash/stat -%%NO_STATIC%%lib/bash/strftime -%%NO_STATIC%%lib/bash/sync -%%NO_STATIC%%lib/bash/tee -%%NO_STATIC%%lib/bash/truefalse -%%NO_STATIC%%lib/bash/tty -%%NO_STATIC%%lib/bash/uname -%%NO_STATIC%%lib/bash/unlink -%%NO_STATIC%%lib/bash/whoami -%%NO_STATIC%%libdata/pkgconfig/bash.pc -man/man1/bash.1.gz -man/man1/bashbug.1.gz +%%NLS%%%%NO_STATIC%%include/bash/alias.h +%%NLS%%%%NO_STATIC%%include/bash/array.h +%%NLS%%%%NO_STATIC%%include/bash/arrayfunc.h +%%NLS%%%%NO_STATIC%%include/bash/assoc.h +%%NLS%%%%NO_STATIC%%include/bash/bashansi.h +%%NLS%%%%NO_STATIC%%include/bash/bashintl.h +%%NLS%%%%NO_STATIC%%include/bash/bashjmp.h +%%NLS%%%%NO_STATIC%%include/bash/bashtypes.h +%%NLS%%%%NO_STATIC%%include/bash/builtins.h +%%NLS%%%%NO_STATIC%%include/bash/builtins/bashgetopt.h +%%NLS%%%%NO_STATIC%%include/bash/builtins/builtext.h +%%NLS%%%%NO_STATIC%%include/bash/builtins/common.h +%%NLS%%%%NO_STATIC%%include/bash/builtins/getopt.h +%%NLS%%%%NO_STATIC%%include/bash/command.h +%%NLS%%%%NO_STATIC%%include/bash/config-bot.h +%%NLS%%%%NO_STATIC%%include/bash/config-top.h +%%NLS%%%%NO_STATIC%%include/bash/config.h +%%NLS%%%%NO_STATIC%%include/bash/conftypes.h +%%NLS%%%%NO_STATIC%%include/bash/dispose_cmd.h +%%NLS%%%%NO_STATIC%%include/bash/error.h +%%NLS%%%%NO_STATIC%%include/bash/execute_cmd.h +%%NLS%%%%NO_STATIC%%include/bash/externs.h +%%NLS%%%%NO_STATIC%%include/bash/general.h +%%NLS%%%%NO_STATIC%%include/bash/hashlib.h +%%NLS%%%%NO_STATIC%%include/bash/include/ansi_stdlib.h +%%NLS%%%%NO_STATIC%%include/bash/include/chartypes.h +%%NLS%%%%NO_STATIC%%include/bash/include/filecntl.h +%%NLS%%%%NO_STATIC%%include/bash/include/gettext.h +%%NLS%%%%NO_STATIC%%include/bash/include/maxpath.h +%%NLS%%%%NO_STATIC%%include/bash/include/memalloc.h +%%NLS%%%%NO_STATIC%%include/bash/include/ocache.h +%%NLS%%%%NO_STATIC%%include/bash/include/posixdir.h +%%NLS%%%%NO_STATIC%%include/bash/include/posixjmp.h +%%NLS%%%%NO_STATIC%%include/bash/include/posixstat.h +%%NLS%%%%NO_STATIC%%include/bash/include/posixtime.h +%%NLS%%%%NO_STATIC%%include/bash/include/posixwait.h +%%NLS%%%%NO_STATIC%%include/bash/include/shmbchar.h +%%NLS%%%%NO_STATIC%%include/bash/include/shmbutil.h +%%NLS%%%%NO_STATIC%%include/bash/include/shtty.h +%%NLS%%%%NO_STATIC%%include/bash/include/stat-time.h +%%NLS%%%%NO_STATIC%%include/bash/include/stdc.h +%%NLS%%%%NO_STATIC%%include/bash/include/systimes.h +%%NLS%%%%NO_STATIC%%include/bash/include/typemax.h +%%NLS%%%%NO_STATIC%%include/bash/include/unionwait.h +%%NLS%%%%NO_STATIC%%include/bash/jobs.h +%%NLS%%%%NO_STATIC%%include/bash/make_cmd.h +%%NLS%%%%NO_STATIC%%include/bash/pathnames.h +%%NLS%%%%NO_STATIC%%include/bash/quit.h +%%NLS%%%%NO_STATIC%%include/bash/shell.h +%%NLS%%%%NO_STATIC%%include/bash/sig.h +%%NLS%%%%NO_STATIC%%include/bash/siglist.h +%%NLS%%%%NO_STATIC%%include/bash/signames.h +%%NLS%%%%NO_STATIC%%include/bash/subst.h +%%NLS%%%%NO_STATIC%%include/bash/syntax.h +%%NLS%%%%NO_STATIC%%include/bash/unwind_prot.h +%%NLS%%%%NO_STATIC%%include/bash/variables.h +%%NLS%%%%NO_STATIC%%include/bash/version.h +%%NLS%%%%NO_STATIC%%include/bash/xmalloc.h +%%NLS%%%%NO_STATIC%%include/bash/y.tab.h +%%NLS%%%%NO_STATIC%%lib/bash/Makefile.inc +%%NLS%%%%NO_STATIC%%lib/bash/Makefile.sample +%%NLS%%%%NO_STATIC%%lib/bash/accept +%%NLS%%%%NO_STATIC%%lib/bash/basename +%%NLS%%%%NO_STATIC%%lib/bash/csv +%%NLS%%%%NO_STATIC%%lib/bash/cut +%%NLS%%%%NO_STATIC%%lib/bash/dirname +%%NLS%%%%NO_STATIC%%lib/bash/dsv +%%NLS%%%%NO_STATIC%%lib/bash/fdflags +%%NLS%%%%NO_STATIC%%lib/bash/finfo +%%NLS%%%%NO_STATIC%%lib/bash/getconf +%%NLS%%%%NO_STATIC%%lib/bash/head +%%NLS%%%%NO_STATIC%%lib/bash/id +%%NLS%%%%NO_STATIC%%lib/bash/ln +%%NLS%%%%NO_STATIC%%lib/bash/loadables.h +%%NLS%%%%NO_STATIC%%lib/bash/logname +%%NLS%%%%NO_STATIC%%lib/bash/mkdir +%%NLS%%%%NO_STATIC%%lib/bash/mkfifo +%%NLS%%%%NO_STATIC%%lib/bash/mktemp +%%NLS%%%%NO_STATIC%%lib/bash/mypid +%%NLS%%%%NO_STATIC%%lib/bash/pathchk +%%NLS%%%%NO_STATIC%%lib/bash/print +%%NLS%%%%NO_STATIC%%lib/bash/printenv +%%NLS%%%%NO_STATIC%%lib/bash/push +%%NLS%%%%NO_STATIC%%lib/bash/realpath +%%NLS%%%%NO_STATIC%%lib/bash/rm +%%NLS%%%%NO_STATIC%%lib/bash/rmdir +%%NLS%%%%NO_STATIC%%lib/bash/seq +%%NLS%%%%NO_STATIC%%lib/bash/setpgid +%%NLS%%%%NO_STATIC%%lib/bash/sleep +%%NLS%%%%NO_STATIC%%lib/bash/stat +%%NLS%%%%NO_STATIC%%lib/bash/strftime +%%NLS%%%%NO_STATIC%%lib/bash/sync +%%NLS%%%%NO_STATIC%%lib/bash/tee +%%NLS%%%%NO_STATIC%%lib/bash/truefalse +%%NLS%%%%NO_STATIC%%lib/bash/tty +%%NLS%%%%NO_STATIC%%lib/bash/uname +%%NLS%%%%NO_STATIC%%lib/bash/unlink +%%NLS%%%%NO_STATIC%%lib/bash/whoami +%%NLS%%%%NO_STATIC%%libdata/pkgconfig/bash.pc