diff options
author | 2015-07-13 04:30:47 +0000 | |
---|---|---|
committer | 2015-07-13 04:30:47 +0000 | |
commit | 7ef4c9353048a565a523eb7d256a2fc475e5b796 (patch) | |
tree | a62652ed3be40a3c3cd035edce0691077e611682 /app-shells | |
parent | Version bump. (diff) | |
download | historical-7ef4c9353048a565a523eb7d256a2fc475e5b796.tar.gz historical-7ef4c9353048a565a523eb7d256a2fc475e5b796.tar.bz2 historical-7ef4c9353048a565a523eb7d256a2fc475e5b796.zip |
Version bump.
Package-Manager: portage-2.2.20/cvs/Linux x86_64
Manifest-Sign-Key: 0xD2E96200
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/bash/ChangeLog | 7 | ||||
-rw-r--r-- | app-shells/bash/Manifest | 30 | ||||
-rw-r--r-- | app-shells/bash/bash-4.4_alpha.ebuild | 245 |
3 files changed, 267 insertions, 15 deletions
diff --git a/app-shells/bash/ChangeLog b/app-shells/bash/ChangeLog index 3e22c601199c..c39af755d68f 100644 --- a/app-shells/bash/ChangeLog +++ b/app-shells/bash/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-shells/bash # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.439 2015/06/01 05:17:15 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.440 2015/07/13 04:30:45 vapier Exp $ + +*bash-4.4_alpha (13 Jul 2015) + + 13 Jul 2015; Mike Frysinger <vapier@gentoo.org> +bash-4.4_alpha.ebuild: + Version bump. 01 Jun 2015; Mike Frysinger <vapier@gentoo.org> bash-4.3_p33-r2.ebuild: Mark arm64/m68k/s390/sh stable. diff --git a/app-shells/bash/Manifest b/app-shells/bash/Manifest index ad748a48db46..4bfda47d7153 100644 --- a/app-shells/bash/Manifest +++ b/app-shells/bash/Manifest @@ -74,6 +74,7 @@ DIST bash-4.0.tar.gz 6230779 SHA256 9793d394f640a95030c77d5ac989724afe196921956d DIST bash-4.1.tar.gz 6598300 SHA256 3f627124a83c6d34db503a923e20710d370573a29dd5d11d6f116d1aee7be1da SHA512 2f2a053d98be9a31cd089e1293e3369ad05406f6543d1d1662d8b5807fdcfebc1dda79db9bf2c596a6351ea463fb9bd9c8943c1d45da9b82f2fd3bab0b8a581a WHIRLPOOL 0259149d6f0d8f8a19e4b5a88e127c55efae0df4459063295aa6a9de69450b5f4b4b579894e4410ddfc0119eeb0356865b7cc4dbc7e4a75ad98acce0dfe2d46f DIST bash-4.2.tar.gz 7009201 SHA256 a27a1179ec9c0830c65c6aa5d7dab60f7ce1a2a608618570f96bfa72e95ab3d8 SHA512 fdd3c230f4f7a687d36db1b8f7baab5e553cf55756e2d49a88ffaa4260c8cb949897dec9f48655e96608ef0093ac101b60c132060f06c711c0ab81aa3f148b5c WHIRLPOOL fd5f321a8a89381904b1dd1f5acb5100186ce48cccc9b248cf68b35a1c1932177df1fc2b0215131999ee6018decf3264c45e54d407bf4b74ff8e4cc8215c630a DIST bash-4.3.tar.gz 7955839 SHA256 afc687a28e0e24dc21b988fa159ff9dbcf6b7caa92ade8645cc6d5605cd024d4 SHA512 a852b8e46ee55568dce9d23a30a9dbd1c770c2d2a4bc91e1c3177d723b31b32c5d69d19704a93f165891b409b9dd2cc65723372044e2bd0ee49ed59a11512651 WHIRLPOOL d82eb296b1bdee517b20e40d2231697dc41e2040d34e2da24c4fa40755c723d732929805ebef6f6923cd8ffecfb0db7063ec1dc3ab4e695a93916f2d872e236f +DIST bash-4.4-alpha.tar.gz 8388940 SHA256 a074952a3f9dc2237d073c33f809c87b735795dd4eec4dcfb0debec3624eb776 SHA512 cc3b79af35c8bb32e95241234145a258a87a8b99664c372a60fd78f188f7a468fd39da5f3e4a682a046c0a8bb00e979b1b1634f368157b1077832af4ba693e40 WHIRLPOOL 9c02bbddcfb0e55b0f5ce62ad9da8e82cfe1b4bdc7c1adb82b8e37fc902fdf5b6eda05194023ed7e48f57647e280e3f74c88702fb1abad5fa459d6c9668c9b87 DIST bash205b-001 1132 SHA256 bf7a055e0916b7899e7429e36e35d009db445b942b34520a601ea5a8fa634fdd SHA512 5ce4357468821b05e747201f3aa57225ad8f540c9e2c87051720490e039c30b478b9b662a68f14a0800fefe40184e4495e2645665200f9d75e9a115b2ac08071 WHIRLPOOL 90ba36843bbf2e0b7279d3bd197ddaa04e03e113be32051e5a77280cda6d43dcbf339780c57322fc0835a54c82e0095f0d3f2a13f13fec8c0b8da38e7e9b253a DIST bash205b-002 755 SHA256 affdd1808a6262fbfe291ebffa2133b05e4bb46067a90e3329d5741e10f0587b SHA512 46947b0229478d5c2cfeff68b8ebc00e4ef0c8b94e336ca12f72b4490ba3622c0240c01c17c1641c3b07adc2c64ec94d6d780365e8990768ec8888f3a9526883 WHIRLPOOL 7333910e98e517306077937881d4c5569ddd85552203b3ec833f0fda13822e388ce85f007d60e4ab4b1ef15abb66fa40dc4356ca01367463d179a6a23bcff8e7 DIST bash205b-003 2356 SHA256 604972eaafe69f44413d429e0a826b0eae209ca74b14eeeccdf0d502bbabb340 SHA512 74528ca5d165b812d299f1c69b47757bd677c0b22ce4217e155cd641708b02364a93c6709fb57b546b376b36da74429a61493921c7c199563da40ddcf1c1f399 WHIRLPOOL 7ce09fb66d32f3aebda7fb2be66179daab033b4c08ea51c744148051b47e7effc2451971efeb14d6a403c48c5c46c2ac0a4585159f8115ec40b2bfa89f98317f @@ -353,22 +354,23 @@ EBUILD bash-4.3_p33-r1.ebuild 7286 SHA256 dbeb216603a012f6b95fbea1092143c5868781 EBUILD bash-4.3_p33-r2.ebuild 7325 SHA256 ff605ef5d0faf4a026119a91669519ae36c5ea7081addbf5314ea7d076f46887 SHA512 0bc2f162b4dc64095b7e27a5cf9f91ccde5f0009a37c82cb592a4b66b08170e04c1670b8d61a60c0e813e5f5df2dd45cafa08c1e16e84269212ad61894635e03 WHIRLPOOL 67731434d1cd411806b1e241ca33e71ae891380e9af8ac79b8e1eeac3af2025f62990c4fbd72ca973c3d4f355981fb17c44cb912e789422cefff8afe4c203f11 EBUILD bash-4.3_p33.ebuild 7152 SHA256 4144c3a9c6ada95ede64af25633bd697aaf52701e887dc2a7361d2b02e840b8e SHA512 09d9844e29c195bc56649f75910118eec36eadd3e032d54893c0586066acfcc33436f81c9140f9ccb902b18f9fc594d4a3857d89093562d82c578a2a2bdeb9b3 WHIRLPOOL c193bcfff32b370aeeb4a8c87c28beb829d30001b0b534e49570b95f9f6181b1cd48f6f544b99dc4e6a0eee2de16156304057e72369de7372f679a68fcbd17e2 EBUILD bash-4.3_p39.ebuild 7220 SHA256 57ffaf61db9a0d1aad11cbe5ab54626289791f80aa0d9acc8d914a80722a7334 SHA512 761f26c8ea55248ca0ae8de79d30da9fb96c3d7c306ee41b2bcec8fe4be70d0c2fbde562958d49386b291c8f9217f38f1a9893117d8adb475863e9dbda54a0c6 WHIRLPOOL 5fbc64c076052b1910cea6eedaafa5f199f45ecd99684c94106ac05f98914bc6fd8f7e01d199cb573582fa63eb38385315a25d1c9760c748b944a618eef8ea57 -MISC ChangeLog 74727 SHA256 537af834120865bf024769c316692ddc1547f747add5fc0f5d0ffdb829f9552c SHA512 d93bfefd5b835f5242e89daa91aa4f3380c075acadc63b5ced75ad259d012c71d48378cb66a06a50757fa5752ae2ad79b60ba49b6d8c089178b45c8cff21cf34 WHIRLPOOL 4a18a4f060102488aaf92f811f01aba2bf1ec2bf42a0d87792ae8958d9ccacdcdd59d6c33c8a0bc3f7f647dcf3a8829e0cc9d00fae30bf8e72c6f22d24550870 +EBUILD bash-4.4_alpha.ebuild 7017 SHA256 1beb63305c52895b34ab847ae0f55e701db19dd0ac3f1b9d3dd10867a2bc70e0 SHA512 c2a89095e6ca7a99f76b447871b1ea187ba41d7200caf5f5af225b6044b975507ff81268240eaed691b767b0eb4b36cd8b8ccd0ba592eaddbdfa8b3e74590d51 WHIRLPOOL 02a0c51bc21b7192f791a16a51dbe2d700e8f1fa609314807fe0c743696a2a0f726850ae2112ed3b5037c666a22de2cda5a63b609961c07b901109f599b77691 +MISC ChangeLog 74849 SHA256 b4b05fe0c0c1b945a70734be106ef10a55f5bec07a24b887bc7efe941e8bc26d SHA512 32cc116bd6449685ae4f9f6f2436405af521f56be97aa4eedc9b6643d6a3f99d0f7c6bd659863f58a62b09e3ec7b07d09cd10a92e7a66d4b96541342a1ef4666 WHIRLPOOL c57563ccf91a1fcd8ae4b9d079e609d42d5bdc872f7ba118b57c2a24bcf18811611a627010abfda05045e3b5959c6331e86c1b7a6b4b57327f312ee9aa8245b3 MISC metadata.xml 643 SHA256 928c1ec952dec872f913d5e121725431435f651a87e48e784617c49f9dcf806a SHA512 3eb4baf0efbee2606a1e56d0359c3489887fb3f2e0dfe9ba25b6143b9d5e02b8df06a8065019201184b1fca12b8a86d781a68131810b80784c678765d55df679 WHIRLPOOL 52aeb839d294d5f43af735698afb6ee8f99e388c86260e1a1cc0d8fa57671bb8bef36f09d3f7e84cb70bc5fba0d645b427033c13b6ebbc66f5520acb1985b8b6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJVa+rdAAoJEPGu1DbS6WIAv/MQAI/83NK0UpHf2SFCvs1SBApD -TyGKitCaCSiHVK2AetqL6mbYLv/3CbtvJGmV6K2BwRas1RCqB8xWwFO8J51Z35Tj -+O/EfAFC853SljbsCIsuV9EJwkiTXSvxR+KOaLtotP49j/bYwUWSiURPvWpRvvhA -WPprbr5wUrYTr/unyX/sH0XHIrz6ZtceCmlVr7OZPeneKhFHxnTE3WqnpW9HYi1g -WNOuF/OwkfwL34YLQRZX0FcVz7rfE4MrsdvO9wOZXBFpVWvpkfrLIEYRgXMxRSs+ -uNQSSyS92ukp+HCpL1grygV/al1Onh1qKtIyBNryO5vhsTYWFrfkfOruSdCTLNul -dhAQkCxd798O7c9lir2oYkwpG513FlJJljHFHciCpWBui0NuZOCl8XWR9gxDvPP6 -h+UiPSlcrdnUOaXWjCv6CM63P9DLc7to4N74tN7YShEgkVTja31B9OtrxEqjHCCM -9Mai/K6LGzNvuJ5LE46zUtQUBtzs+9/ZnEu4JDQCbVHGxaKgJywta7iNrBGe7KJF -nL5LlePp+R/WeaQMU7kNwuTMVnX20wjnfNxMJf0asuNrrmqRx2L+yN3zNXvC4b/7 -oV+tenTUMP4CugzEpfVo7qn8+hhNQjv2C9DA55uY5cp38aYyBnE1Q/ELpeQ4oLnz -hCmQs/sFU1R/f3TVAnZJ -=4Me4 +iQIcBAEBCAAGBQJVoz72AAoJEPGu1DbS6WIAL4UP/R9ELjamSFJaviFsQ4pXixgb +E32v00FHqTZlise1i3jmzYrEbqOFk10Uj+98itYc8NYBGfGKFDQrdZWl1muL9D/d +LwvC1gI5ExJioOaFDmmt+6bQy0ySRtXU96VRlawqj6O0dWRZav0YfFwnHtd+eJ+4 +UoPenVwF2USwVMBHMWdExCbkPu2/1Vu0ZyMfgGd54CqVAZridYFjtCyUFCzW2s4S +OMfvF0aFnFUIP9znWcQmsWOlMwSIVy5vScqNmoa45WheFtnKiNQNIw22innP/aG4 +UvBZtYvS2AkOsFV9xEb0IhAlWQiOBNFFxO1Ce/mr/aTLtEsPGDHCAefqrNRPQET+ +MMI2q1trtN2dNzIr87eW8l74YER7x8t3p0S+e6ZZ0oA4RGZQK6PVP/XGcp7OwW+W +lApaK4xFLcbNtbF1lHouhc2VG0ooZrdYXUtlaQXELaWYX06Bk2ZAl6fQfKDpQTqJ +jdvM6EKrgZKSVK+CugSH39ZLr4aMo2zkeFBhaQ699Qn0UBvNkNGegQ0ISdeu4KIr +i1Vc7mBaf3nDoOUVAY0nvi3bI2JA9ZOMTwpnRseNkWAzjA3+oRHSPLCNJJnrnSg3 +7Af3hfemd3e+oZaORL/lTdH/iAUiVcLXEW32XmjvYNZAu6pX4l23sh8dWjscbf7s +N8s2/POVx42imK/gYh/Z +=q7Gj -----END PGP SIGNATURE----- diff --git a/app-shells/bash/bash-4.4_alpha.ebuild b/app-shells/bash/bash-4.4_alpha.ebuild new file mode 100644 index 000000000000..508490d8c17b --- /dev/null +++ b/app-shells/bash/bash-4.4_alpha.ebuild @@ -0,0 +1,245 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.4_alpha.ebuild,v 1.1 2015/07/13 04:30:45 vapier Exp $ + +EAPI="5" + +inherit eutils flag-o-matic toolchain-funcs multilib + +# Official patchlevel +# See ftp://ftp.cwru.edu/pub/bash/bash-4.3-patches/ +PLEVEL=${PV##*_p} +MY_PV=${PV/_p*} +MY_PV=${MY_PV/_/-} +MY_P=${PN}-${MY_PV} +[[ ${PV} != *_p* ]] && PLEVEL=0 +patches() { + local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}} + [[ ${plevel} -eq 0 ]] && return 1 + eval set -- {1..${plevel}} + set -- $(printf "${pn}${pv/\.}-%03d " "$@") + if [[ ${opt} == -s ]] ; then + echo "${@/#/${DISTDIR}/}" + else + local u + for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do + printf "${u}/${pn}-${pv}-patches/%s " "$@" + done + fi +} + +# The version of readline this bash normally ships with. +READLINE_VER="7.0" + +DESCRIPTION="The standard GNU Bourne again shell" +HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html" +case ${PV} in +*_alpha*|*_rc*) SRC_URI+=" ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz" ;; +*) SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)" ;; +esac + +LICENSE="GPL-3" +SLOT="0" +#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline vanilla" + +DEPEND=">=sys-libs/ncurses-5.2-r2:= + readline? ( >=sys-libs/readline-${READLINE_VER}_alpha:0= ) + nls? ( virtual/libintl )" +RDEPEND="${DEPEND} + !<sys-apps/portage-2.1.6.7_p1 + !<sys-apps/paludis-0.26.0_alpha5" +# we only need yacc when the .y files get patched (bash42-005) +DEPEND+=" virtual/yacc" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + if is-flag -malign-double ; then #7332 + eerror "Detected bad CFLAGS '-malign-double'. Do not use this" + eerror "as it breaks LFS (struct stat64) on x86." + die "remove -malign-double from your CFLAGS mr ricer" + fi + if use bashlogger ; then + ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs." + ewarn "This will log ALL output you enter into the shell, you have been warned." + fi +} + +src_unpack() { + unpack ${MY_P}.tar.gz +} + +src_prepare() { + # Include official patches + [[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s) + + # Clean out local libs so we know we use system ones w/releases. + if [[ ${PV} != *_rc* ]] ; then + rm -rf lib/{readline,termcap}/* + touch lib/{readline,termcap}/Makefile.in # for config.status + sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die + fi + + # Avoid regenerating docs after patches #407985 + sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die + touch -r . doc/* + + epatch_user +} + +src_configure() { + local myconf=() + + # For descriptions of these, see config-top.h + # bashrc/#26952 bash_logout/#90488 ssh/#24762 + append-cppflags \ + -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \ + -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \ + -DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \ + -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \ + -DNON_INTERACTIVE_LOGIN_SHELLS \ + -DSSH_SOURCE_BASHRC \ + $(use bashlogger && echo -DSYSLOG_HISTORY) + + # Don't even think about building this statically without + # reading Bug 7714 first. If you still build it statically, + # don't come crying to us with bugs ;). + #use static && export LDFLAGS="${LDFLAGS} -static" + use nls || myconf+=( --disable-nls ) + + # Historically, we always used the builtin readline, but since + # our handling of SONAME upgrades has gotten much more stable + # in the PM (and the readline ebuild itself preserves the old + # libs during upgrades), linking against the system copy should + # be safe. + # Exact cached version here doesn't really matter as long as it + # is at least what's in the DEPEND up above. + export ac_cv_rl_version=${READLINE_VER} + + # Force linking with system curses ... the bundled termcap lib + # sucks bad compared to ncurses. For the most part, ncurses + # is here because readline needs it. But bash itself calls + # ncurses in one or two small places :(. + + if [[ ${PV} != *_rc* ]] ; then + # Use system readline only with released versions. + myconf+=( --with-installed-readline=. ) + fi + + if use plugins; then + append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash + else + # Disable the plugins logic by hand since bash doesn't + # provide a way of doing it. + export ac_cv_func_dl{close,open,sym}=no \ + ac_cv_lib_dl_dlopen=no ac_cv_header_dlfcn_h=no + sed -i \ + -e '/LOCAL_LDFLAGS=/s:-rdynamic::' \ + configure || die + fi + tc-export AR #444070 + econf \ + --docdir='$(datarootdir)'/doc/${PF} \ + --htmldir='$(docdir)/html' \ + --with-curses \ + $(use_with afs) \ + $(use_enable net net-redirections) \ + --disable-profiling \ + $(use_enable mem-scramble) \ + $(use_with mem-scramble bash-malloc) \ + $(use_enable readline) \ + $(use_enable readline history) \ + $(use_enable readline bang-history) \ + "${myconf[@]}" +} + +src_compile() { + emake + + if use plugins ; then + emake -C examples/loadables all others + fi +} + +src_install() { + local d f + + default + + dodir /bin + mv "${ED}"/usr/bin/bash "${ED}"/bin/ || die + dosym bash /bin/rbash + + insinto /etc/bash + doins "${FILESDIR}"/bash_logout + newins "${FILESDIR}"/bashrc-r2 bashrc + keepdir /etc/bash/bashrc.d + insinto /etc/skel + for f in bash{_logout,_profile,rc} ; do + newins "${FILESDIR}"/dot-${f} .${f} + done + + local sed_args=( + -e "s:#${USERLAND}#@::" + -e '/#@/d' + ) + if ! use readline ; then + sed_args+=( #432338 + -e '/^shopt -s histappend/s:^:#:' + -e 's:use_color=true:use_color=false:' + ) + fi + sed -i \ + "${sed_args[@]}" \ + "${ED}"/etc/skel/.bashrc \ + "${ED}"/etc/bash/bashrc || die + + if use plugins ; then + exeinto /usr/$(get_libdir)/bash + doexe $(echo examples/loadables/*.o | sed 's:\.o::g') + insinto /usr/include/bash-plugins + doins *.h builtins/*.h include/*.h lib/{glob/glob.h,tilde/tilde.h} + fi + + if use examples ; then + for d in examples/{functions,misc,scripts,startup-files} ; do + exeinto /usr/share/doc/${PF}/${d} + insinto /usr/share/doc/${PF}/${d} + for f in ${d}/* ; do + if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then + doexe ${f} + else + doins ${f} + fi + done + done + fi + + doman doc/*.1 + newdoc CWRU/changelog ChangeLog + dosym bash.info /usr/share/info/bashref.info +} + +pkg_preinst() { + if [[ -e ${EROOT}/etc/bashrc ]] && [[ ! -d ${EROOT}/etc/bash ]] ; then + mkdir -p "${EROOT}"/etc/bash + mv -f "${EROOT}"/etc/bashrc "${EROOT}"/etc/bash/ + fi + + if [[ -L ${EROOT}/bin/sh ]] ; then + # rewrite the symlink to ensure that its mtime changes. having /bin/sh + # missing even temporarily causes a fatal error with paludis. + local target=$(readlink "${EROOT}"/bin/sh) + local tmp=$(emktemp "${EROOT}"/bin) + ln -sf "${target}" "${tmp}" + mv -f "${tmp}" "${EROOT}"/bin/sh + fi +} + +pkg_postinst() { + # If /bin/sh does not exist, provide it + if [[ ! -e ${EROOT}/bin/sh ]] ; then + ln -sf bash "${EROOT}"/bin/sh + fi +} |