Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/mksh/
Date: Sun, 27 Jan 2019 11:06:02
Message-Id: 1548587116.e4a0da357f92c62338f91dd8fb2f17b39ee6acef.pacho@gentoo
1 commit: e4a0da357f92c62338f91dd8fb2f17b39ee6acef
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 27 10:18:14 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 27 11:05:16 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4a0da35
7
8 app-shells/mksh: Drop old
9
10 Package-Manager: Portage-2.3.58, Repoman-2.3.12
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 app-shells/mksh/Manifest | 2 --
14 app-shells/mksh/mksh-52.ebuild | 48 -----------------------------------------
15 app-shells/mksh/mksh-52c.ebuild | 48 -----------------------------------------
16 3 files changed, 98 deletions(-)
17
18 diff --git a/app-shells/mksh/Manifest b/app-shells/mksh/Manifest
19 index f79137fd505..0faec73f57f 100644
20 --- a/app-shells/mksh/Manifest
21 +++ b/app-shells/mksh/Manifest
22 @@ -1,3 +1 @@
23 -DIST mksh-R52.tgz 383814 BLAKE2B f0563f19a3ba3b32e075bfb2d3db3a03ae9ada129d4b514573aad65f84ffa0d92a81a09baae0744e75a3d82d774a640dbd3a04856ccbdc7781ea3a1cec32efa8 SHA512 83b478baa401dc6116c363043d9d6629028bbcdf19448db939738c5b98f8e4f7da92932296c2ee813b317151d31a1b6cd55d27f062f79e587e22991b018a0285
24 -DIST mksh-R52c.tgz 386254 BLAKE2B 027cf8e2bff4b8cc00ccd574a8a11b0e5d0164d9e59a9ae18c1684a2b0f7c45ccb342d1cc0f8812b42c656a6e253cc24d14e25f55c1bf12d6f521b3f72bb4cba SHA512 f2434f2e165da290cc3f5d78846fb4774115a6e35ef3299d0343b1797b3773921d614396b0da78f8e9a451d6029df9abff503575c5cdcb232e18df7731d18da0
25 DIST mksh-R56c.tgz 417218 BLAKE2B 3512855dd177be8432fe503716ca571a3c06ab3eeb6b44de923ab7d9eb9246087f627b7d7a3e9bb29a849da126b88c223864f140b136e922776ec7bd4a04e96d SHA512 7e4cd2d24c6bca2ebad7c6b02d158188e766bd4693d93f5bed198d69238aef078d42ce911431ad4e419e4af55083047d823bfad53973db5c6d8a685482770135
26
27 diff --git a/app-shells/mksh/mksh-52.ebuild b/app-shells/mksh/mksh-52.ebuild
28 deleted file mode 100644
29 index a68670f3d6d..00000000000
30 --- a/app-shells/mksh/mksh-52.ebuild
31 +++ /dev/null
32 @@ -1,48 +0,0 @@
33 -# Copyright 1999-2015 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=5
37 -
38 -inherit eutils toolchain-funcs
39 -
40 -DESCRIPTION="MirBSD KSH Shell"
41 -HOMEPAGE="http://mirbsd.de/mksh"
42 -SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.tgz"
43 -LICENSE="BSD"
44 -SLOT="0"
45 -KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
46 -IUSE="static"
47 -DEPEND="static? ( dev-libs/klibc )"
48 -RDEPEND=""
49 -S="${WORKDIR}/${PN}"
50 -
51 -src_compile() {
52 - tc-export CC
53 - # we want to build static with klibc
54 - if use static ; then
55 - unset CC
56 - export CC="/usr/bin/klcc"
57 - export LDSTATIC="-static"
58 - fi
59 - export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
60 - # we can't assume lto existing/enabled, so we add a fallback
61 - sh Build.sh -r -c lto || sh Build.sh -r || die
62 -}
63 -
64 -src_install() {
65 - exeinto /bin
66 - doexe mksh
67 - doman mksh.1
68 - dodoc dot.mkshrc
69 -}
70 -
71 -src_test() {
72 - ./test.sh || die
73 -}
74 -
75 -pkg_postinst() {
76 - ebegin "Updating /etc/shells"
77 - ( grep -v "^/bin/mksh$" "${ROOT}"etc/shells; echo "/bin/mksh" ) > "${T}"/shells
78 - mv -f "${T}"/shells "${ROOT}"etc/shells
79 - eend $?
80 -}
81
82 diff --git a/app-shells/mksh/mksh-52c.ebuild b/app-shells/mksh/mksh-52c.ebuild
83 deleted file mode 100644
84 index fd388886225..00000000000
85 --- a/app-shells/mksh/mksh-52c.ebuild
86 +++ /dev/null
87 @@ -1,48 +0,0 @@
88 -# Copyright 1999-2016 Gentoo Foundation
89 -# Distributed under the terms of the GNU General Public License v2
90 -
91 -EAPI=5
92 -
93 -inherit eutils toolchain-funcs
94 -
95 -DESCRIPTION="MirBSD KSH Shell"
96 -HOMEPAGE="http://mirbsd.de/mksh"
97 -SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.tgz"
98 -LICENSE="BSD"
99 -SLOT="0"
100 -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
101 -IUSE="static"
102 -DEPEND="static? ( dev-libs/klibc )"
103 -RDEPEND=""
104 -S="${WORKDIR}/${PN}"
105 -
106 -src_compile() {
107 - tc-export CC
108 - # we want to build static with klibc
109 - if use static ; then
110 - unset CC
111 - export CC="/usr/bin/klcc"
112 - export LDSTATIC="-static"
113 - fi
114 - export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
115 - # we can't assume lto existing/enabled, so we add a fallback
116 - sh Build.sh -r -c lto || sh Build.sh -r || die
117 -}
118 -
119 -src_install() {
120 - exeinto /bin
121 - doexe mksh
122 - doman mksh.1
123 - dodoc dot.mkshrc
124 -}
125 -
126 -src_test() {
127 - ./test.sh || die
128 -}
129 -
130 -pkg_postinst() {
131 - ebegin "Updating /etc/shells"
132 - ( grep -v "^/bin/mksh$" "${ROOT}"etc/shells; echo "/bin/mksh" ) > "${T}"/shells
133 - mv -f "${T}"/shells "${ROOT}"etc/shells
134 - eend $?
135 -}