summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2014-10-03 09:13:58 +0000
committerLars Wendler <polynomial-c@gentoo.org>2014-10-03 09:13:58 +0000
commit6777b65ce345448768d67268fff14cc6e7f33bc3 (patch)
treed244da44c29a7476fcb925e95a98f01373b8de87 /app-shells
parentVersion bump (diff)
downloadhistorical-6777b65ce345448768d67268fff14cc6e7f33bc3.tar.gz
historical-6777b65ce345448768d67268fff14cc6e7f33bc3.tar.bz2
historical-6777b65ce345448768d67268fff14cc6e7f33bc3.zip
Removed old versions
Package-Manager: portage-2.2.14_rc1/cvs/Linux x86_64 Manifest-Sign-Key: 0x981CA6FC
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/bash/ChangeLog7
-rw-r--r--app-shells/bash/Manifest23
-rw-r--r--app-shells/bash/bash-3.1_p20.ebuild146
-rw-r--r--app-shells/bash/bash-3.2_p54.ebuild146
-rw-r--r--app-shells/bash/bash-4.0_p41.ebuild140
-rw-r--r--app-shells/bash/bash-4.1_p14.ebuild137
-rw-r--r--app-shells/bash/bash-4.2_p50.ebuild226
7 files changed, 20 insertions, 805 deletions
diff --git a/app-shells/bash/ChangeLog b/app-shells/bash/ChangeLog
index a8a8c93e0318..9b416295051a 100644
--- a/app-shells/bash/ChangeLog
+++ b/app-shells/bash/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-shells/bash
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.409 2014/10/03 06:15:42 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.410 2014/10/03 09:13:56 polynomial-c Exp $
+
+ 03 Oct 2014; Lars Wendler <polynomial-c@gentoo.org> -bash-3.1_p20.ebuild,
+ -bash-3.2_p54.ebuild, -bash-4.0_p41.ebuild, -bash-4.1_p14.ebuild,
+ -bash-4.2_p50.ebuild:
+ Removed old versions.
03 Oct 2014; Raúl Porcel <armin76@gentoo.org> bash-3.1_p21.ebuild,
bash-3.2_p55.ebuild, bash-4.0_p42.ebuild:
diff --git a/app-shells/bash/Manifest b/app-shells/bash/Manifest
index 0d4ac68372e2..8ffddc8b88ca 100644
--- a/app-shells/bash/Manifest
+++ b/app-shells/bash/Manifest
@@ -256,23 +256,28 @@ DIST bash43-025 3940 SHA256 1e5186f5c4a619bb134a1177d9e9de879f3bb85d9c5726832b03
DIST bash43-026 1575 SHA256 2ecc12201b3ba4273b63af4e9aad2305168cf9babf6d11152796db08724c214d SHA512 d55620c86ab4835eaf53c18033a939e00ebbef7045d1429bd6fb212be6da167c368b4c03aec6c00ba60a1363b9cf8a4828e85c8108c5476b4a342e6c57f03897 WHIRLPOOL 3c21e3b21f1967d85b49386c05945859ee0fab2bbe0062052319876bbe3283bf3a7b50a9e160e36e9ee96fbe79ac13c90d86ffb4157ef0cb0641acd9dafb917e
DIST bash43-027 6889 SHA256 1eb76ad28561d27f7403ff3c76a36e932928a4b58a01b868d663c165f076dabe SHA512 6941156db9a6ab35b2d6ddc63eec064e03da779e29f47e33b467711e3405c9adb58ad33be3ad3c77aea1e84a314d5404c8e1a8475408991f5f719b93c5a276b3 WHIRLPOOL 241a77807f142765fac71490987bd62a93bbd57c6ad2f83fbc645bf0618286fbfc3cd269eadf99e7f973a9e88ac08c5065868f8ad38727c17bb6056cedc83888
DIST bash43-028 69606 SHA256 e8b0dbed4724fa7b9bd8ff77d12c7f03da0fbfc5f8251ef5cb8511eb082b469d SHA512 4317380539e3a93167f195eddd0acf0c75a5d86d5ef243cb7f7dca43e745badc3ebbc081b099678ac17dc03d9a3ed4a3ff3c6636bb1887e73e94b8ff9ced7c88 WHIRLPOOL f01e8fe2c09a7bdefacd7114cc8377f7ccd65de6c3bafac05595f1400f330ba0ba63ce97fe7b9b49957639c75438bb5ceb853890094cb0c4e43fadc1795b89b6
-EBUILD bash-3.1_p20.ebuild 4459 SHA256 667518475167fd6f4db398e62525896cf1c188985c11cf13c4a60b51377f6ef7 SHA512 f69bd53a28a89f8e153ccc3c377aa9e0543ab45f778812c41e721d04bdd2f6b03f4eb9f5c6a4e1dc711872c2f475ce96231bc78f97c278a7e77c825c4c35b277 WHIRLPOOL 14599f70c422a0603dbcc030adc9c2824b99a841933ef2c43b14a7c23e971532a05ce210ec6b0aa02d0973358b80ec120a74978c30653299a157b2f1f8ece6b1
EBUILD bash-3.1_p21.ebuild 4459 SHA256 e8d19b70bb35e47d9b6cf4e208188287cb2305ac74748205dbbd3866912cedc1 SHA512 88b1de4646fc11dd4019ac5601f0aa7f993f05326f6c8deaeef2d0fe491a33b9df2ce05520ea26220e3569d975e33f3d95c6bd47fb59e23248509fb63d2426e2 WHIRLPOOL cd3086c0124990e5c3650b33c50e3cc4c81911c6ed65645b48568f13e4575681d4bd4eb920edd373bf9e47786a9eb688ff695f64569e517d8dd6d97742d8e97a
-EBUILD bash-3.2_p54.ebuild 4636 SHA256 0271aa0b50df112e805ed0ff4a4662def349650ad35ebad5b27ab9cee2b1e040 SHA512 dd8238efe2e385d17bc812a4c793c697403e95b7008ee3b1c572b5bc54f32618cabf2974b610e032b3c7f0904fc9207741789e46715160f9083739b411ce070b WHIRLPOOL 058570250fd12c4b9e372c3bc190b978dbc3ecf17f5d8c8f43dce36bc2da19aaac8a901953c90b4dcef7e025fa2650533114d2e9b5cbbfd28a70dd4a75d30ce3
EBUILD bash-3.2_p55.ebuild 4636 SHA256 5257c495cd731e793d8adaf944ed7ea30e900e3741a665251bd1163dde6a1e85 SHA512 2002e1a479047004e79062805a479b2e16a4ef01df158d798fcb062fd120edfd5da509cd46ef38255d98471f3bf046c9a0a18d69bf649af7089575c612669b2b WHIRLPOOL 99af3a96e3f20f8d158e311fa34ffb3a2bce61fe0521ba08717a6b2ccee0e7f23b6b26b028e0d7f4004da74848c5fbdedf9efc549c49bc41a624085752217526
-EBUILD bash-4.0_p41.ebuild 4465 SHA256 28f485e25a1fc56e2759b010660fbe9a7b19392c7067b2519b27bb47d2b13f7b SHA512 06a23afcbf108d63513def3ce04c6cfecea4eca41070f3deeb51f33fb007e99c9154ff8c0045965a85cada613e6470dad5488882d40d24f4962545db4fb582c2 WHIRLPOOL b2e4a12b1f4c5ba6ef8106009b9827ac7c10b613d8c022f0df72a77ef92f39b6367eb5e956d4646da486ae4a949695cfc3e506cda538c11cab07691bd91265eb
EBUILD bash-4.0_p42.ebuild 4465 SHA256 2ccb49050fd3d7d30601c34e3c050e21c57bafe8c1045237f080d2a4d45b0cae SHA512 e14162cec7bd095f22aa8c488fc3ffa6cb7cf7451aead395100e7743d7d38eca2b931fee15a42d55852d647c360b3fdfd270048679a18cb19673ba953f9be570 WHIRLPOOL e6781b4617474db3c27a0acad61fd5c60b8b016788da079bd4c044ce228a53b2940366c2095b4021ee3bb503682cf10785bc89f85344716d8dbed4a9c0695321
-EBUILD bash-4.1_p14.ebuild 4200 SHA256 ce1373fdd06f932fe702c803c3adc8eeadcda05f5597cc97c14aac426d4e244b SHA512 8c914ed5692f80e7d441c01afc66dd36399998746e0a51d03d5bdb95940d65d109f59fab39b0784265d66ef064348b7aeaf6218aebe9021d962abf90a536d079 WHIRLPOOL 80c308b01b91f3e71d6f013f60645b1df81e963662f6a6f3c812727a93a35b8c9fc1c8e49afdaef320e1a300971e7cbe4cf80180a26553ad4587b47c48b40d4b
EBUILD bash-4.1_p15.ebuild 4200 SHA256 71dcb07fc0d3f0f12053e0e53edfc913e37050c7fcd59728c85d7a4c2b5a52f3 SHA512 8f07b29aa051f7c9158cdd1aaf5a0b9cb32dd947dcb0648e2caa660b3757db2c133b968becdb82618d59b7c2226bd95a1d7cfbc4ac3964e55a8073fbae40b561 WHIRLPOOL b182aa83b7fe3cb022bde23b2b74c075b96f53f1d9dbc02562851503f51d548500d4dd43be8f6d0776fa7e68680e3efd9c525e750dc58d05089f26fad46c2224
-EBUILD bash-4.2_p50.ebuild 6629 SHA256 a5f350689f5071594ffd57652a739a8e5669c4abe0cd3ab21c5b3352079792b2 SHA512 8a1aacb586a55a2e03042909ec6efacdcd88240e32724c09674c2e430389f424cfc330558cdbc3db95fa4d2bb04c7ec8c02feff70bff1c475540c17201766fcc WHIRLPOOL 8bb1adc92885d17c62609cdb0e141e89aee9a2b6cda32a5c0425653ce422c045201e67c8ff7a1d226a540f3ce83c5887144dba1240cca959938c538d1051af52
EBUILD bash-4.2_p51.ebuild 6629 SHA256 97dbb6a686cdab6ce2705b6a34dbb86f373a47badd1cf38752caf4645c2f31ff SHA512 d2c2e92640bf45f8e81b4ab7583566c4391f00fd24dc2f5379caf5a2534edf3fd2a03d686cd4927c0dad706092eaea68530c01d6ad422ba321427a5c650ead48 WHIRLPOOL c5d5e9a35da0b8a95421b8e4dc811a055619135065a46f15e9f948071bddf9f5bb9b565433a6f2bb8b85210871dddbb2fa178fe6a396cdf24cc691f22f8d217d
EBUILD bash-4.3_p28.ebuild 7162 SHA256 66ececdc33555ee56077d5823838dbe0d5f5bb6813bd69b05522b91ccdbec5ee SHA512 174ccede20f00fdb35cf4bfc3b3976a04513b3c43b1d7afb844c253d73223e0db675b55fa211144e94b1da3aa0669007c4d8020cf2c9255b222903546ec6e9b4 WHIRLPOOL 2fc987b54a96df237d16075e945ab5b526dea7d2e5a270fd0ca64d2d901a6630c387f7510d07e555a483cc957156b83091125a4532cfb87ae97313d5e7f2ce24
-MISC ChangeLog 67857 SHA256 65ad6fee636c115bb663f88b9031cef1d2df78f908d876b650c2acb9c80e9fcf SHA512 ba39b80eeb28cef06f7e8cdd6c3edaf19dd86a4b70af2a34a77dd4cf949173cadc62a576aaae7a6f0eb31e9b9716481bdec00d6b1ee6035d3384141dbb1a6783 WHIRLPOOL 473f84c8f5e3420831d8448c2f11dd863c1c8a2bd67e0e5a4f439b740915a3e674755b0e4f9cd2a34c53bb2d739b00ffc8386beb9d47b62e3993a12b13290f36
+MISC ChangeLog 68055 SHA256 eaa85e21613468c127f11b7bf9a7dc3a1ace0dbaa232fb8472324056e7dd54c2 SHA512 ee1311b0654c88f3f3c6916aa7b13260b2c4e959880ade0507486c101159ab44b79e7ea917b4df1e656169ca46fcabc0acfc55617913dde3313e79acd75f170a WHIRLPOOL 32dc0f2e182548dece5d087a1492960d2f4e840dac4c74ba612c69037de0e21b12ed62dd418d4eacc6c25a5bb5fd3558fb5647e96cd6dd5cffd509ea6d9fe0e3
MISC metadata.xml 643 SHA256 928c1ec952dec872f913d5e121725431435f651a87e48e784617c49f9dcf806a SHA512 3eb4baf0efbee2606a1e56d0359c3489887fb3f2e0dfe9ba25b6143b9d5e02b8df06a8065019201184b1fca12b8a86d781a68131810b80784c678765d55df679 WHIRLPOOL 52aeb839d294d5f43af735698afb6ee8f99e388c86260e1a1cc0d8fa57671bb8bef36f09d3f7e84cb70bc5fba0d645b427033c13b6ebbc66f5520acb1985b8b6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iEYEAREIAAYFAlQuPz8ACgkQuQc30/atMkC28gCfZFqu0lF7MifbfLUjZU0+oGxj
-HDgAn2BQiA7Q+nzcBIjmYBvsw99YyPep
-=7/Ye
+iQIcBAEBCAAGBQJULmjVAAoJEPiazRVxLXTFDPcQAKe5P9d0CvlDPF2mlhN96hxv
+awBJ5vCatlbrlDz8RMR1zMV/SpS0t95sidSDnvf5KY/N798yfyUNy9Wr8xElCxSF
+W8E8WM1UKW1RvSU5ZUIPs09XezpJwgZ8KKOUwmDT6RdnI3RyJfoI1CqzAogtfs7j
+Wd2s/dAtwmH186wIvS2UAB6eCNxcveagI4PssyOH0XN8CWWIBcArvSYZMu5yKwbO
+mpHwfP51ohEpjmCTNiUsJLpM3RoMsoHTGqno7yY+lMriomiqqXt5gaUfXER18j86
+2S8DiG2FyKzRbAL7bXxPKs9Qd3y9RVZ647cm1qkEyIg9eq700xzGT5vOFt2nMb5I
+hA0D6T8sfE03ZWWaPsBm1C8eeXSa75kx7JcAI3wcY4bY1Zd2eVNcJSboQ9ka6E3h
+a1R9Dz9p8iytQSMHNjs9WY+erqzkNg03Qp098eZCU6qLI6SnNV7ZNUymIzwIHFNy
+ZkX1iS7l+pPzmG/gDQBeOTm4PRHoQW+ScOGr0Svq/j6rYSioCo5gYlA+3hszoLwD
+epPiB8HRiKBx+8qnGlv4EYaUkEUU4QipLiKbxjof+Zn3HqQFeZ3ZecCfv5hKr0JQ
+gl3CEuO/Gk/0Oz5moI9jLv1wr7bifMOsaauDliy7wEW0rBD8jCNoH/Q4xGH+Pi4E
+gLWf2v/yRRLYZUIpRzef
+=FbR8
-----END PGP SIGNATURE-----
diff --git a/app-shells/bash/bash-3.1_p20.ebuild b/app-shells/bash/bash-3.1_p20.ebuild
deleted file mode 100644
index bab6e974f34f..000000000000
--- a/app-shells/bash/bash-3.1_p20.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-3.1_p20.ebuild,v 1.5 2014/10/01 07:58:49 armin76 Exp $
-
-EAPI="4"
-
-inherit eutils flag-o-matic toolchain-funcs
-
-# Official patchlevel
-# See ftp://ftp.cwru.edu/pub/bash/bash-3.1-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
-}
-
-DESCRIPTION="The standard GNU Bourne again shell"
-HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
-SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
-
-LICENSE="GPL-2"
-SLOT="${MY_PV}"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="afs +net nls +readline"
-
-DEPEND=">=sys-libs/ncurses-5.2-r2
- readline? ( >=sys-libs/readline-6.2 )
- nls? ( virtual/libintl )"
-RDEPEND="${DEPEND}"
-
-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
-}
-
-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
- 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
-
- epatch "${FILESDIR}"/${PN}-3.1-gentoo.patch
- epatch "${FILESDIR}"/autoconf-mktime-2.53.patch #220040
- epatch "${FILESDIR}"/${PN}-3.1-ulimit.patch
- epatch "${FILESDIR}"/${PN}-3.0-read-memleak.patch
- epatch "${FILESDIR}"/${PN}-3.0-trap-fg-signals.patch
- epatch "${FILESDIR}"/bash-3.1-fix-dash-login-shell.patch #118257
- epatch "${FILESDIR}"/bash-3.1-dev-fd-test-as-user.patch #131875
-
- epatch_user
-}
-
-src_configure() {
- local myconf=()
-
- # Force pgrp synchronization
- # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=81653
- export bash_cv_pgrp_pipe=yes
-
- # 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
-
- # 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=6.2
-
- # 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 :(.
-
- tc-export AR #444070
- econf \
- --with-installed-readline=. \
- --with-curses \
- $(use_with afs) \
- $(use_enable net net-redirections) \
- --disable-profiling \
- --without-gnu-malloc \
- $(use_enable readline) \
- $(use_enable readline history) \
- $(use_enable readline bang-history) \
- "${myconf[@]}"
-}
-
-src_compile() {
- emake -j1 #102426
-}
-
-src_install() {
- into /
- newbin bash bash-${SLOT}
-
- newman doc/bash.1 bash-${SLOT}.1
- newman doc/builtins.1 builtins-${SLOT}.1
-
- insinto /usr/share/info
- newins doc/bashref.info bash-${SLOT}.info
- dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
-
- dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
-}
diff --git a/app-shells/bash/bash-3.2_p54.ebuild b/app-shells/bash/bash-3.2_p54.ebuild
deleted file mode 100644
index ad6c68e9316d..000000000000
--- a/app-shells/bash/bash-3.2_p54.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-3.2_p54.ebuild,v 1.5 2014/10/01 07:58:49 armin76 Exp $
-
-EAPI="4"
-
-inherit eutils flag-o-matic toolchain-funcs
-
-# Official patchlevel
-# See ftp://ftp.cwru.edu/pub/bash/bash-3.2-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
-}
-
-DESCRIPTION="The standard GNU Bourne again shell"
-HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
-SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
-
-LICENSE="GPL-2"
-SLOT="${MY_PV}"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="afs +net nls +readline"
-
-DEPEND=">=sys-libs/ncurses-5.2-r2
- readline? ( >=sys-libs/readline-6.2 )
- nls? ( virtual/libintl )"
-RDEPEND="${DEPEND}"
-
-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
-}
-
-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
- 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
-
- epatch "${FILESDIR}"/autoconf-mktime-2.59.patch #220040
- epatch "${FILESDIR}"/${PN}-3.1-gentoo.patch
- epatch "${FILESDIR}"/${PN}-3.2-loadables.patch
- epatch "${FILESDIR}"/${PN}-3.2-protos.patch
- epatch "${FILESDIR}"/${PN}-3.2-session-leader.patch #231775
- epatch "${FILESDIR}"/${PN}-3.2-parallel-build.patch #189671
- epatch "${FILESDIR}"/${PN}-3.2-ldflags-for-build.patch #211947
- epatch "${FILESDIR}"/${PN}-3.2-process-subst.patch
- epatch "${FILESDIR}"/${PN}-3.2-ulimit.patch
- epatch "${FILESDIR}"/${PN}-3.0-trap-fg-signals.patch
- epatch "${FILESDIR}"/${PN}-3.2-dev-fd-test-as-user.patch #131875
-
- epatch_user
-}
-
-src_configure() {
- local myconf=()
-
- # Force pgrp synchronization
- # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=81653
- export bash_cv_pgrp_pipe=yes
-
- # 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
-
- # 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=6.2
-
- # 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 :(.
-
- tc-export AR #444070
- econf \
- --with-installed-readline=. \
- --with-curses \
- $(use_with afs) \
- $(use_enable net net-redirections) \
- --disable-profiling \
- --without-gnu-malloc \
- $(use_enable readline) \
- $(use_enable readline history) \
- $(use_enable readline bang-history) \
- "${myconf[@]}"
-}
-
-src_install() {
- into /
- newbin bash bash-${SLOT}
-
- newman doc/bash.1 bash-${SLOT}.1
- newman doc/builtins.1 builtins-${SLOT}.1
-
- insinto /usr/share/info
- newins doc/bashref.info bash-${SLOT}.info
- dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
-
- dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
-}
diff --git a/app-shells/bash/bash-4.0_p41.ebuild b/app-shells/bash/bash-4.0_p41.ebuild
deleted file mode 100644
index ebba5cd8890e..000000000000
--- a/app-shells/bash/bash-4.0_p41.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.0_p41.ebuild,v 1.5 2014/10/01 07:58:49 armin76 Exp $
-
-EAPI="4"
-
-inherit eutils flag-o-matic toolchain-funcs
-
-# Official patchlevel
-# See ftp://ftp.cwru.edu/pub/bash/bash-4.0-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
-}
-
-DESCRIPTION="The standard GNU Bourne again shell"
-HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
-SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
-
-LICENSE="GPL-3"
-SLOT="${MY_PV}"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="afs mem-scramble +net nls +readline"
-
-DEPEND=">=sys-libs/ncurses-5.2-r2
- readline? ( >=sys-libs/readline-6.2 )
- nls? ( virtual/libintl )"
-RDEPEND="${DEPEND}"
-
-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
-}
-
-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
- 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
-
- epatch "${FILESDIR}"/${PN}-4.0-configure.patch #304901
- epatch "${FILESDIR}"/${PN}-4.x-deferred-heredocs.patch
- sed -i '1i#define NEED_FPURGE_DECL' execute_cmd.c # needs fpurge() decl
- epatch "${FILESDIR}"/${PN}-3.2-parallel-build.patch #189671
- epatch "${FILESDIR}"/${PN}-4.0-ldflags-for-build.patch #211947
- epatch "${FILESDIR}"/${PN}-4.0-negative-return.patch
- epatch "${FILESDIR}"/${PN}-4.0-parallel-build.patch #267613
- sed -i '/\.o: .*shell\.h/s:$: pathnames.h:' Makefile.in #267613
-
- 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
-
- # 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=6.2
-
- # 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 :(.
-
- tc-export AR #444070
- econf \
- --with-installed-readline=. \
- --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_install() {
- into /
- newbin bash bash-${SLOT}
-
- newman doc/bash.1 bash-${SLOT}.1
- newman doc/builtins.1 builtins-${SLOT}.1
-
- insinto /usr/share/info
- newins doc/bashref.info bash-${SLOT}.info
- dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
-
- dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
-}
diff --git a/app-shells/bash/bash-4.1_p14.ebuild b/app-shells/bash/bash-4.1_p14.ebuild
deleted file mode 100644
index f767562f5019..000000000000
--- a/app-shells/bash/bash-4.1_p14.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.1_p14.ebuild,v 1.5 2014/10/01 07:58:49 armin76 Exp $
-
-EAPI="4"
-
-inherit eutils flag-o-matic toolchain-funcs
-
-# Official patchlevel
-# See ftp://ftp.cwru.edu/pub/bash/bash-4.1-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
-}
-
-DESCRIPTION="The standard GNU Bourne again shell"
-HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
-SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
-
-LICENSE="GPL-3"
-SLOT="${MY_PV}"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="afs mem-scramble +net nls +readline"
-
-DEPEND=">=sys-libs/ncurses-5.2-r2
- readline? ( >=sys-libs/readline-6.2 )
- nls? ( virtual/libintl )"
-RDEPEND="${DEPEND}"
-
-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
-}
-
-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
- 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
-
- epatch "${FILESDIR}"/${PN}-4.1-fbsd-eaccess.patch #303411
- sed -i '1i#define NEED_FPURGE_DECL' execute_cmd.c # needs fpurge() decl
- epatch "${FILESDIR}"/${PN}-4.1-parallel-build.patch
-
- epatch_user
-}
-
-src_configure() {
- local myconf=()
-
- myconf+=( --without-lispdir ) #335896
-
- # 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
-
- # 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=6.2
-
- # 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 :(.
-
- tc-export AR #444070
- econf \
- --with-installed-readline=. \
- --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_install() {
- into /
- newbin bash bash-${SLOT}
-
- newman doc/bash.1 bash-${SLOT}.1
- newman doc/builtins.1 builtins-${SLOT}.1
-
- insinto /usr/share/info
- newins doc/bashref.info bash-${SLOT}.info
- dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
-
- dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
-}
diff --git a/app-shells/bash/bash-4.2_p50.ebuild b/app-shells/bash/bash-4.2_p50.ebuild
deleted file mode 100644
index 14dae277a44f..000000000000
--- a/app-shells/bash/bash-4.2_p50.ebuild
+++ /dev/null
@@ -1,226 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.2_p50.ebuild,v 1.5 2014/10/01 07:58:49 armin76 Exp $
-
-EAPI="4"
-
-inherit eutils flag-o-matic toolchain-funcs multilib
-
-# Official patchlevel
-# See ftp://ftp.cwru.edu/pub/bash/bash-4.2-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
-}
-
-DESCRIPTION="The standard GNU Bourne again shell"
-HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
-SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
-
-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-6.2 )
- 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
- 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
-
- # Avoid regenerating docs after patches #407985
- sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
- touch -r . doc/*
-
- epatch "${FILESDIR}"/${PN}-4.2-execute-job-control.patch #383237
- epatch "${FILESDIR}"/${PN}-4.2-parallel-build.patch
- epatch "${FILESDIR}"/${PN}-4.2-no-readline.patch
- epatch "${FILESDIR}"/${PN}-4.2-read-retry.patch #447810
- if ! use vanilla ; then
- epatch "${FILESDIR}"/${PN}-4.2-speed-up-read-N.patch
- fi
-
- 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=6.2
-
- # 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 :(.
-
- use plugins && append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
- tc-export AR #444070
- econf \
- --with-installed-readline=. \
- --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() {
- emake install DESTDIR="${D}"
-
- dodir /bin
- mv "${ED}"/usr/bin/bash "${ED}"/bin/ || die
- dosym bash /bin/rbash
-
- insinto /etc/bash
- doins "${FILESDIR}"/{bashrc,bash_logout}
- 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 examples/loadables/*.h include/*.h \
- lib/{glob/glob.h,tilde/tilde.h}
- fi
-
- if use examples ; then
- for d in examples/{functions,misc,scripts,scripts.noah,scripts.v2} ; 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
- dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
- 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
-}