1 |
commit: a3d3021af084e1b75ba80eaf575ce11870fa35ae |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 4 16:03:13 2019 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 4 16:03:24 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3d3021a |
7 |
|
8 |
app-shells/ksh: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.62_p4, Repoman-2.3.12_p87 |
11 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
12 |
|
13 |
app-shells/ksh/Manifest | 2 -- |
14 |
app-shells/ksh/files/cpp.patch | 24 --------------- |
15 |
app-shells/ksh/files/ksh-prefix-r1.patch | 51 -------------------------------- |
16 |
app-shells/ksh/files/ksh-prefix.patch | 42 -------------------------- |
17 |
app-shells/ksh/ksh-93.20180215.ebuild | 36 ---------------------- |
18 |
app-shells/ksh/ksh-93.20180331.ebuild | 36 ---------------------- |
19 |
6 files changed, 191 deletions(-) |
20 |
|
21 |
diff --git a/app-shells/ksh/Manifest b/app-shells/ksh/Manifest |
22 |
index ce546d54207..175a6d279d8 100644 |
23 |
--- a/app-shells/ksh/Manifest |
24 |
+++ b/app-shells/ksh/Manifest |
25 |
@@ -1,3 +1 @@ |
26 |
DIST ksh-2020.0.0-alpha1.tar.gz 2041308 BLAKE2B 542f7936b7042485c0279c9b79f2d61f9580f0ae654abf60a8044254ed5fe228fa14d48dc7dd835201c32a9448182ca4cb702aac894a74bf5f92a4b866d1de70 SHA512 56c805bebe963dee7c27ba0357e26957fd8439f42c26f290ab32488ddde99f4b824e403c5dc097194eaf600e7379a010b1be4bf1e70bee76402e84909b38d981 |
27 |
-DIST ksh-93.20180215.tar.gz 16056027 BLAKE2B 22ce7346ed2d034d4738b9fdb03559d93b08b92d32e7fd1ea18c1c4fb711e282e98561a0a6d24b1ce11ebaa813b49e5ffa4653f5efb41905aaf29418702e0e5b SHA512 175f6fdc9ab425ac08a5907b552faa25d2e3e7248d0077af300a9f0ca28a4cf46e48081c76f1126bedcc4fbf7db4a432d58f620b29a9543f887a60649f389d5b |
28 |
-DIST ksh-93.20180331.tar.gz 16052423 BLAKE2B 63e1d08faec3f96ef6cf106404821497ff2b35fdd8bf5db0fbe6958b16fc760a46b8d840252402e12a32a37761ca419fb621335b46f5f43a2f441bb9256358b3 SHA512 6bc6c35804ef7a60f0592dd956c6f51588639dc69196b79548c3ea60d5168f46bdb8c446aeadfdb3b23994778f882d1d4b4869955fd654dba59a02ae2d9c7196 |
29 |
|
30 |
diff --git a/app-shells/ksh/files/cpp.patch b/app-shells/ksh/files/cpp.patch |
31 |
deleted file mode 100644 |
32 |
index 7075bcfc1f7..00000000000 |
33 |
--- a/app-shells/ksh/files/cpp.patch |
34 |
+++ /dev/null |
35 |
@@ -1,24 +0,0 @@ |
36 |
-iffe depends on cc -E not inserting newlines between tokens |
37 |
- |
38 |
-https://build.opensuse.org/package/view_file/home:Andreas_Schwab:Factory/ksh/cpp.patch?expand=1 |
39 |
- |
40 |
---- a/src/cmd/INIT/iffe.sh |
41 |
-+++ b/src/cmd/INIT/iffe.sh |
42 |
-@@ -3427,7 +3427,7 @@ |
43 |
- (eval "$src") <&$nullin || e=1 |
44 |
- ;; |
45 |
- mac*|nomac*) |
46 |
-- if compile $cc -E $tmp.c <&$nullin >$tmp.i |
47 |
-+ if compile $cc -E -P $tmp.c <&$nullin >$tmp.i |
48 |
- then sed -e '/<<[ ]*".*"[ ]*>>/!d' -e 's/<<[ ]*"//g' -e 's/"[ ]*>>//g' $tmp.i |
49 |
- else e=1 |
50 |
- fi |
51 |
-@@ -3718,7 +3718,7 @@ |
52 |
- <<\"#define $v\">> $v <<\"/* native $v */\">> |
53 |
- <<\"#endif\">> |
54 |
- #endif" > $tmp.c |
55 |
-- if compile $cc -E $tmp.c <&$nullin >$tmp.i |
56 |
-+ if compile $cc -E -P $tmp.c <&$nullin >$tmp.i |
57 |
- then sed -e '/<<[ ]*".*"[ ]*>>/!d' -e 's/<<[ ]*"//g' -e 's/"[ ]*>>//g' $tmp.i > $tmp.t |
58 |
- if test -s $tmp.t |
59 |
- then success |
60 |
|
61 |
diff --git a/app-shells/ksh/files/ksh-prefix-r1.patch b/app-shells/ksh/files/ksh-prefix-r1.patch |
62 |
deleted file mode 100644 |
63 |
index d2cfd6c0c15..00000000000 |
64 |
--- a/app-shells/ksh/files/ksh-prefix-r1.patch |
65 |
+++ /dev/null |
66 |
@@ -1,51 +0,0 @@ |
67 |
-From b7769b1f336ba533c4510f1b112fecf84a638a08 Mon Sep 17 00:00:00 2001 |
68 |
-From: Mike Gilbert <floppym@g.o> |
69 |
-Date: Sun, 28 Jan 2018 16:14:42 -0500 |
70 |
-Subject: [PATCH] EPREFIX support |
71 |
- |
72 |
---- |
73 |
- src/cmd/ksh93/data/msg.c | 14 +++++++------- |
74 |
- 1 file changed, 7 insertions(+), 7 deletions(-) |
75 |
- |
76 |
-diff --git a/src/cmd/ksh93/data/msg.c b/src/cmd/ksh93/data/msg.c |
77 |
-index eabe59e2..61512280 100644 |
78 |
---- a/src/cmd/ksh93/data/msg.c |
79 |
-+++ b/src/cmd/ksh93/data/msg.c |
80 |
-@@ -182,7 +182,7 @@ const char e_heading[] = "Current option settings"; |
81 |
- const char e_sptbnl[] = " \t\n"; |
82 |
- const char e_tolower[] = "tolower"; |
83 |
- const char e_toupper[] = "toupper"; |
84 |
--const char e_defpath[] = "/bin:/usr/bin:"; |
85 |
-+const char e_defpath[] = "@GENTOO_PORTAGE_EPREFIX@/bin:@GENTOO_PORTAGE_EPREFIX@/usr/bin:"; |
86 |
- const char e_defedit[] = _pth_ed; |
87 |
- const char e_unknown[] = "<command unknown>"; |
88 |
- const char e_devnull[] = "/dev/null"; |
89 |
-@@ -190,19 +190,19 @@ const char e_traceprompt[] = "+ "; |
90 |
- const char e_supprompt[] = "# "; |
91 |
- const char e_stdprompt[] = "$ "; |
92 |
- const char e_profile[] = "$HOME/.profile"; |
93 |
--const char e_sysprofile[] = "/etc/profile"; |
94 |
--const char e_suidprofile[] = "/etc/suid_profile"; |
95 |
--const char e_sysrc[] = "/etc/ksh.kshrc"; |
96 |
-+const char e_sysprofile[] = "@GENTOO_PORTAGE_EPREFIX@/etc/profile"; |
97 |
-+const char e_suidprofile[] = "@GENTOO_PORTAGE_EPREFIX@/etc/suid_profile"; |
98 |
-+const char e_sysrc[] = "@GENTOO_PORTAGE_EPREFIX@/etc/ksh.kshrc"; |
99 |
- #if SHOPT_BASH |
100 |
--const char e_bash_sysrc[] = "/etc/bash.bashrc"; |
101 |
-+const char e_bash_sysrc[] = "@GENTOO_PORTAGE_EPREFIX@/etc/bash/bashrc"; |
102 |
- const char e_bash_rc[] = "$HOME/.bashrc"; |
103 |
- const char e_bash_login[] = "$HOME/.bash_login"; |
104 |
- const char e_bash_logout[] = "$HOME/.bash_logout"; |
105 |
- const char e_bash_profile[] = "$HOME/.bash_profile"; |
106 |
- #endif // SHOPT_BASH |
107 |
--const char e_crondir[] = "/usr/spool/cron/atjobs"; |
108 |
-+const char e_crondir[] = "@GENTOO_PORTAGE_EPREFIX@/usr/spool/cron/atjobs"; |
109 |
- const char e_prohibited[] = "login setuid/setgid shells prohibited"; |
110 |
--const char e_suidexec[] = "/etc/suid_exec"; |
111 |
-+const char e_suidexec[] = "@GENTOO_PORTAGE_EPREFIX@/etc/suid_exec"; |
112 |
- const char hist_fname[] = "/.sh_history"; |
113 |
- const char e_dot[] = "."; |
114 |
- const char e_envmarker[] = "A__z"; |
115 |
--- |
116 |
-2.16.1 |
117 |
- |
118 |
|
119 |
diff --git a/app-shells/ksh/files/ksh-prefix.patch b/app-shells/ksh/files/ksh-prefix.patch |
120 |
deleted file mode 100644 |
121 |
index c97cbe333ca..00000000000 |
122 |
--- a/app-shells/ksh/files/ksh-prefix.patch |
123 |
+++ /dev/null |
124 |
@@ -1,42 +0,0 @@ |
125 |
---- a/src/cmd/ksh93/data/msg.c |
126 |
-+++ b/src/cmd/ksh93/data/msg.c |
127 |
-@@ -180,7 +180,7 @@ |
128 |
- const char e_sptbnl[] = " \t\n"; |
129 |
- const char e_tolower[] = "tolower"; |
130 |
- const char e_toupper[] = "toupper"; |
131 |
--const char e_defpath[] = "/bin:/usr/bin:"; |
132 |
-+const char e_defpath[] = "@GENTOO_PORTAGE_EPREFIX@/bin:@GENTOO_PORTAGE_EPREFIX@/usr/bin:"; |
133 |
- const char e_defedit[] = _pth_ed; |
134 |
- const char e_unknown [] = "<command unknown>"; |
135 |
- const char e_devnull[] = "/dev/null"; |
136 |
-@@ -188,24 +188,24 @@ |
137 |
- const char e_supprompt[] = "# "; |
138 |
- const char e_stdprompt[] = "$ "; |
139 |
- const char e_profile[] = "$HOME/.profile"; |
140 |
--const char e_sysprofile[] = "/etc/profile"; |
141 |
--const char e_suidprofile[] = "/etc/suid_profile"; |
142 |
-+const char e_sysprofile[] = "@GENTOO_PORTAGE_EPREFIX@/etc/profile"; |
143 |
-+const char e_suidprofile[] = "@GENTOO_PORTAGE_EPREFIX@/etc/suid_profile"; |
144 |
- #if SHOPT_SYSRC |
145 |
--const char e_sysrc[] = "/etc/ksh.kshrc"; |
146 |
-+const char e_sysrc[] = "@GENTOO_PORTAGE_EPREFIX@/etc/ksh.kshrc"; |
147 |
- #endif |
148 |
- #if SHOPT_BASH |
149 |
- #if SHOPT_SYSRC |
150 |
--const char e_bash_sysrc[] = "/etc/bash.bashrc"; |
151 |
-+const char e_bash_sysrc[] = "@GENTOO_PORTAGE_EPREFIX@/etc/bash/bashrc"; |
152 |
- #endif |
153 |
- const char e_bash_rc[] = "$HOME/.bashrc"; |
154 |
- const char e_bash_login[] = "$HOME/.bash_login"; |
155 |
- const char e_bash_logout[] = "$HOME/.bash_logout"; |
156 |
- const char e_bash_profile[] = "$HOME/.bash_profile"; |
157 |
- #endif |
158 |
--const char e_crondir[] = "/usr/spool/cron/atjobs"; |
159 |
-+const char e_crondir[] = "@GENTOO_PORTAGE_EPREFIX@/usr/spool/cron/atjobs"; |
160 |
- const char e_prohibited[] = "login setuid/setgid shells prohibited"; |
161 |
- #if SHOPT_SUID_EXEC |
162 |
-- const char e_suidexec[] = "/etc/suid_exec"; |
163 |
-+ const char e_suidexec[] = "@GENTOO_PORTAGE_EPREFIX@/etc/suid_exec"; |
164 |
- #endif /* SHOPT_SUID_EXEC */ |
165 |
- const char hist_fname[] = "/.sh_history"; |
166 |
- const char e_dot[] = "."; |
167 |
|
168 |
diff --git a/app-shells/ksh/ksh-93.20180215.ebuild b/app-shells/ksh/ksh-93.20180215.ebuild |
169 |
deleted file mode 100644 |
170 |
index 576ab31e881..00000000000 |
171 |
--- a/app-shells/ksh/ksh-93.20180215.ebuild |
172 |
+++ /dev/null |
173 |
@@ -1,36 +0,0 @@ |
174 |
-# Copyright 1999-2018 Gentoo Foundation |
175 |
-# Distributed under the terms of the GNU General Public License v2 |
176 |
- |
177 |
-EAPI=6 |
178 |
- |
179 |
-inherit meson prefix |
180 |
- |
181 |
-DESCRIPTION="The Original Korn Shell, 1993 revision (ksh93)" |
182 |
-HOMEPAGE="http://www.kornshell.com/" |
183 |
- |
184 |
-COMMIT="e3dd5b1a4b1bf58a018bbd9c8626b15113b72717" |
185 |
-SRC_URI="https://github.com/att/ast/archive/${COMMIT}/${P}.tar.gz" |
186 |
- |
187 |
-LICENSE="CPL-1.0 EPL-1.0" |
188 |
-SLOT="0" |
189 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
190 |
-IUSE="" |
191 |
- |
192 |
-RDEPEND="!app-shells/pdksh" |
193 |
- |
194 |
-S="${WORKDIR}/ast-${COMMIT}" |
195 |
- |
196 |
-PATCHES=( |
197 |
- "${FILESDIR}"/ksh-prefix-r1.patch |
198 |
-) |
199 |
- |
200 |
-src_prepare() { |
201 |
- default |
202 |
- eprefixify src/cmd/ksh93/data/msg.c |
203 |
-} |
204 |
- |
205 |
-src_install() { |
206 |
- meson_src_install |
207 |
- dodir /bin |
208 |
- mv "${ED%/}"{/usr,}/bin/ksh || die |
209 |
-} |
210 |
|
211 |
diff --git a/app-shells/ksh/ksh-93.20180331.ebuild b/app-shells/ksh/ksh-93.20180331.ebuild |
212 |
deleted file mode 100644 |
213 |
index 5d2cbc31a7d..00000000000 |
214 |
--- a/app-shells/ksh/ksh-93.20180331.ebuild |
215 |
+++ /dev/null |
216 |
@@ -1,36 +0,0 @@ |
217 |
-# Copyright 1999-2018 Gentoo Foundation |
218 |
-# Distributed under the terms of the GNU General Public License v2 |
219 |
- |
220 |
-EAPI=6 |
221 |
- |
222 |
-inherit meson prefix |
223 |
- |
224 |
-DESCRIPTION="The Original Korn Shell, 1993 revision (ksh93)" |
225 |
-HOMEPAGE="http://www.kornshell.com/" |
226 |
- |
227 |
-COMMIT="b9d0b8ebfead0edba9004fc32b1782d1e1410aeb" |
228 |
-SRC_URI="https://github.com/att/ast/archive/${COMMIT}/${P}.tar.gz" |
229 |
- |
230 |
-LICENSE="CPL-1.0 EPL-1.0" |
231 |
-SLOT="0" |
232 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
233 |
-IUSE="" |
234 |
- |
235 |
-RDEPEND="!app-shells/pdksh" |
236 |
- |
237 |
-S="${WORKDIR}/ast-${COMMIT}" |
238 |
- |
239 |
-PATCHES=( |
240 |
- "${FILESDIR}"/ksh-prefix-r1.patch |
241 |
-) |
242 |
- |
243 |
-src_prepare() { |
244 |
- default |
245 |
- eprefixify src/cmd/ksh93/data/msg.c |
246 |
-} |
247 |
- |
248 |
-src_install() { |
249 |
- meson_src_install |
250 |
- dodir /bin |
251 |
- mv "${ED%/}"{/usr,}/bin/ksh || die |
252 |
-} |