Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/localshell/files/, app-shells/localshell/
Date: Sat, 29 Aug 2015 22:37:34
Message-Id: 1440887800.b195d9dd46e3c5eb537f91170c85955a67dc2277.monsieurp@gentoo
1 commit: b195d9dd46e3c5eb537f91170c85955a67dc2277
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 29 22:36:40 2015 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 29 22:36:40 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b195d9dd
7
8 app-shells/localshell: Remove old + useless patches.
9
10 Package-Manager: portage-2.2.18
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 app-shells/localshell/Manifest | 3 --
14 .../localshell/files/localshell-1.2+gcc-4.3.patch | 45 ----------------------
15 .../files/localshell-1.3.1-glibc-2.10.patch | 12 ------
16 app-shells/localshell/localshell-1.1.ebuild | 28 --------------
17 app-shells/localshell/localshell-1.2.ebuild | 32 ---------------
18 app-shells/localshell/localshell-1.3.1.ebuild | 36 -----------------
19 app-shells/localshell/localshell-1.3.4.ebuild | 31 ---------------
20 7 files changed, 187 deletions(-)
21
22 diff --git a/app-shells/localshell/Manifest b/app-shells/localshell/Manifest
23 index 3a724ea..570cc35 100644
24 --- a/app-shells/localshell/Manifest
25 +++ b/app-shells/localshell/Manifest
26 @@ -1,4 +1 @@
27 -DIST localshell-1.1.tar.bz2 96494 SHA256 9b81327a0831ac3be94c23f2b4be4a38674ace69f202f8f093c34a2b589b7fc3 SHA512 bee199e832006b5e98ef52a32d9883b9c9b1ac7e9886d2e38d694c01bc0b64eaaaeaf28ef61518e56beabf4f63cfcf429de3d9ba194f17dfc03b289951853d04 WHIRLPOOL 17fec4d8c289d13057c212f0bf0fd2e4c3319771b89bb1065457a30e4381d487178e83aba7dd86ba323eca97af1cd203ec396a4a791d8b6bc91ab26d984fdd4a
28 -DIST localshell-1.2.tar.bz2 96626 SHA256 0be22511c4ec6934b30e99cbc5ce9dff27f4e09c527b6046f0569d870c38e746 SHA512 765f690f9e120273f0ced1528551f36c944628630d3707d6785d4fa258bc134f3bfc9d74c9d5e772f14ac5675964f0aadad63469c8f3e9d7d70206f0a1a1de39 WHIRLPOOL c9ce10c0d125f18bbd78606a466196d0395a8d571a0b950a4dc4e7c52895d6521a452ff0c60d59c2796776a8de1c988842c5404a1935d9f424b2a34e1654fd2e
29 -DIST localshell-1.3.1.tar.bz2 104746 SHA256 185e21e5a53c8db69b1810fd9c5dea2e1e790bb31f61273360a36467a5e61624 SHA512 6e4248846232ac602b1bfd3b5a537a455186056474852b758b5755ac80a81acc3616cd465674acc08e0d5767a98b0279fbea3ff11ea3e77236a4157914145ea0 WHIRLPOOL 9724e68bd1ba77aa91447a6cccbb68c4a04b7e01623b67c869f2458fffc1a5bbd92f545e684ad059de12d4a079ec570b83c3c3a8d653a3844453cdf10707f82b
30 DIST localshell-1.3.4.tar.bz2 113170 SHA256 666b56b7d17e099d121c3d3dfeefc2c713e7471c6b6926f28acd4284486cd811 SHA512 3a302b7d1b00e6ac8025a2145b3d12b916a60a9bad811d63c78c6eaac1b9a832f8796ab4429c677423287f70d6f6b31283aa2c90d3634ebe4bed52e1e240390d WHIRLPOOL 7aa67206e11d4ab1088cc42cfa36899a2dafad2e97dfc611f3901556da2b51fee76ebabe69bf749bdfa64406e0a6e06f68c754a0e06011adb2cec8bbb78ad85c
31
32 diff --git a/app-shells/localshell/files/localshell-1.2+gcc-4.3.patch b/app-shells/localshell/files/localshell-1.2+gcc-4.3.patch
33 deleted file mode 100644
34 index 9bd2aee..0000000
35 --- a/app-shells/localshell/files/localshell-1.2+gcc-4.3.patch
36 +++ /dev/null
37 @@ -1,45 +0,0 @@
38 -diff -aur localshell-1.2.old/src/common.cxx localshell-1.2/src/common.cxx
39 ---- localshell-1.2.old/src/common.cxx 2008-12-12 20:03:48.000000000 +0100
40 -+++ localshell-1.2/src/common.cxx 2008-12-12 20:15:31.000000000 +0100
41 -@@ -5,6 +5,7 @@
42 - #include "structures.hh"
43 - #include "common.hh"
44 - #include <fstream>
45 -+#include <cstring>
46 - using namespace std;
47 -
48 - bool match_user(uid_t uid, gid_t gid) {
49 -diff -aur localshell-1.2.old/src/config.cxx localshell-1.2/src/config.cxx
50 ---- localshell-1.2.old/src/config.cxx 2008-12-12 20:03:48.000000000 +0100
51 -+++ localshell-1.2/src/config.cxx 2008-12-12 20:15:07.000000000 +0100
52 -@@ -10,6 +10,8 @@
53 - #include <fstream>
54 - #include <map>
55 - #include <vector>
56 -+#include <cstring>
57 -+#include <cstdlib>
58 - using namespace std;
59 -
60 - int load_config( const char *cfg_filename, configuration &conf) {
61 -diff -aur localshell-1.2.old/src/config.hh localshell-1.2/src/config.hh
62 ---- localshell-1.2.old/src/config.hh 2008-12-12 20:03:48.000000000 +0100
63 -+++ localshell-1.2/src/config.hh 2008-12-12 20:14:00.000000000 +0100
64 -@@ -2,6 +2,7 @@
65 - #ifndef _CONFIG_HH_
66 - #define _CONFIG_HH_
67 - #include "structures.hh"
68 -+#include <fstream>
69 -
70 - int load_config( const char *cfg_filename, configuration &conf);
71 - int parse_config(fstream &fs, configuration &conf);
72 -diff -aur localshell-1.2.old/src/localshell.cxx localshell-1.2/src/localshell.cxx
73 ---- localshell-1.2.old/src/localshell.cxx 2008-12-12 20:03:48.000000000 +0100
74 -+++ localshell-1.2/src/localshell.cxx 2008-12-12 20:04:14.000000000 +0100
75 -@@ -10,6 +10,7 @@
76 -
77 - #include <map>
78 - #include <vector>
79 -+#include <cstring>
80 - using namespace std;
81 -
82 - int main(int argc, char** argv) {
83
84 diff --git a/app-shells/localshell/files/localshell-1.3.1-glibc-2.10.patch b/app-shells/localshell/files/localshell-1.3.1-glibc-2.10.patch
85 deleted file mode 100644
86 index 7bdd8f9..0000000
87 --- a/app-shells/localshell/files/localshell-1.3.1-glibc-2.10.patch
88 +++ /dev/null
89 @@ -1,12 +0,0 @@
90 -diff -ur localshell-1.3.1.orig/src/config.cxx localshell-1.3.1/src/config.cxx
91 ---- localshell-1.3.1.orig/src/config.cxx 2009-01-09 03:40:11.000000000 +0200
92 -+++ localshell-1.3.1/src/config.cxx 2009-08-09 18:15:17.000000000 +0300
93 -@@ -121,7 +121,7 @@
94 - // PRIORITY,SHELL,ALLOWED
95 - long priority = atol(argvalue);
96 -
97 -- char* shell = strstr(argvalue,",");
98 -+ char* shell = const_cast<char*> (strstr(argvalue,","));
99 - if(NULL == shell || '\0' == shell[1] ) {
100 - fprintf(stderr,"%s: badly formatted entry (shell):%s\n",PACKAGE,argvalue);
101 - return EINVAL;
102
103 diff --git a/app-shells/localshell/localshell-1.1.ebuild b/app-shells/localshell/localshell-1.1.ebuild
104 deleted file mode 100644
105 index e1dd255..0000000
106 --- a/app-shells/localshell/localshell-1.1.ebuild
107 +++ /dev/null
108 @@ -1,28 +0,0 @@
109 -# Copyright 1999-2014 Gentoo Foundation
110 -# Distributed under the terms of the GNU General Public License v2
111 -# $Id$
112 -
113 -DESCRIPTION="Localshell allows per-user/group local control of shell execution"
114 -HOMEPAGE="http://oss.orbis-terrarum.net/localshell/"
115 -SRC_URI="${HOMEPAGE}/${P}.tar.bz2"
116 -LICENSE="GPL-2"
117 -SLOT="0"
118 -KEYWORDS="~ppc ~x86"
119 -IUSE=""
120 -DEPEND=""
121 -#RDEPEND=""
122 -
123 -src_compile() {
124 - # this is a shell, it needs to be in /bin
125 - econf --bindir=/bin --sysconfdir=/etc || die "econf failed"
126 - emake || die "emake failed"
127 -}
128 -
129 -src_install() {
130 - emake install DESTDIR="${D}" || die "emake install failed"
131 -}
132 -
133 -pkg_postinst() {
134 - elog "Remember to add /bin/localshell to /etc/shells and create"
135 - elog "/etc/localshell.conf based on the included configuration examples"
136 -}
137
138 diff --git a/app-shells/localshell/localshell-1.2.ebuild b/app-shells/localshell/localshell-1.2.ebuild
139 deleted file mode 100644
140 index 8f8f485..0000000
141 --- a/app-shells/localshell/localshell-1.2.ebuild
142 +++ /dev/null
143 @@ -1,32 +0,0 @@
144 -# Copyright 1999-2014 Gentoo Foundation
145 -# Distributed under the terms of the GNU General Public License v2
146 -# $Id$
147 -
148 -inherit base
149 -
150 -DESCRIPTION="Localshell allows per-user/group local control of shell execution"
151 -HOMEPAGE="http://oss.orbis-terrarum.net/localshell/"
152 -SRC_URI="${HOMEPAGE}/${P}.tar.bz2"
153 -LICENSE="GPL-2"
154 -SLOT="0"
155 -KEYWORDS="amd64 ppc x86"
156 -IUSE=""
157 -DEPEND=""
158 -#RDEPEND=""
159 -
160 -PATCHES=( "${FILESDIR}/${P}+gcc-4.3.patch" )
161 -
162 -src_compile() {
163 - # this is a shell, it needs to be in /bin
164 - econf --bindir=/bin --sysconfdir=/etc || die "econf failed"
165 - emake || die "emake failed"
166 -}
167 -
168 -src_install() {
169 - emake install DESTDIR="${D}" || die "emake install failed"
170 -}
171 -
172 -pkg_postinst() {
173 - elog "Remember to add /bin/localshell to /etc/shells and create"
174 - elog "/etc/localshell.conf based on the included configuration examples"
175 -}
176
177 diff --git a/app-shells/localshell/localshell-1.3.1.ebuild b/app-shells/localshell/localshell-1.3.1.ebuild
178 deleted file mode 100644
179 index a07cae3..0000000
180 --- a/app-shells/localshell/localshell-1.3.1.ebuild
181 +++ /dev/null
182 @@ -1,36 +0,0 @@
183 -# Copyright 1999-2014 Gentoo Foundation
184 -# Distributed under the terms of the GNU General Public License v2
185 -# $Id$
186 -
187 -inherit base eutils
188 -
189 -DESCRIPTION="Localshell allows per-user/group local control of shell execution"
190 -HOMEPAGE="http://oss.orbis-terrarum.net/localshell/"
191 -SRC_URI="${HOMEPAGE}/${P}.tar.bz2"
192 -
193 -LICENSE="GPL-2"
194 -SLOT="0"
195 -KEYWORDS="amd64 ppc x86"
196 -IUSE=""
197 -
198 -src_unpack() {
199 - unpack ${A}
200 - cd "${S}"
201 - epatch "${FILESDIR}"/${P}-glibc-2.10.patch
202 -}
203 -
204 -src_compile() {
205 - # this is a shell, it needs to be in /bin
206 - econf --bindir=/bin --sysconfdir=/etc || die "econf failed"
207 - emake || die "emake failed"
208 -}
209 -
210 -src_install() {
211 - emake install DESTDIR="${D}" || die "emake install failed"
212 - rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL}
213 -}
214 -
215 -pkg_postinst() {
216 - elog "Remember to add /bin/localshell to /etc/shells and create"
217 - elog "/etc/localshell.conf based on the included configuration examples"
218 -}
219
220 diff --git a/app-shells/localshell/localshell-1.3.4.ebuild b/app-shells/localshell/localshell-1.3.4.ebuild
221 deleted file mode 100644
222 index 4bae51a..0000000
223 --- a/app-shells/localshell/localshell-1.3.4.ebuild
224 +++ /dev/null
225 @@ -1,31 +0,0 @@
226 -# Copyright 1999-2014 Gentoo Foundation
227 -# Distributed under the terms of the GNU General Public License v2
228 -# $Id$
229 -
230 -EAPI=4
231 -
232 -inherit base eutils
233 -
234 -DESCRIPTION="Localshell allows per-user/group local control of shell execution"
235 -HOMEPAGE="http://git.orbis-terrarum.net/?p=infrastructure/localshellc.git;a=summary"
236 -SRC_URI="${HOMEPAGE}/${P}.tar.bz2"
237 -
238 -LICENSE="GPL-2"
239 -SLOT="0"
240 -KEYWORDS="amd64 ppc x86"
241 -IUSE=""
242 -
243 -src_configure() {
244 - # this is a shell, it needs to be in /bin
245 - econf --bindir=/bin --sysconfdir=/etc
246 -}
247 -
248 -src_install() {
249 - emake install DESTDIR="${D}" || die "emake install failed"
250 - rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL}
251 -}
252 -
253 -pkg_postinst() {
254 - elog "Remember to add /bin/localshell to /etc/shells and create"
255 - elog "/etc/localshell.conf based on the included configuration examples"
256 -}