1 |
commit: 6326ca46f519cfe42dfa4214c39498eff05193c0 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 27 21:00:32 2016 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 27 21:10:27 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6326ca46 |
7 |
|
8 |
net-misc/dropbear: drop old <2016.73 versions |
9 |
|
10 |
net-misc/dropbear/Manifest | 5 -- |
11 |
net-misc/dropbear/dropbear-2014.66.ebuild | 99 ------------------------------- |
12 |
net-misc/dropbear/dropbear-2015.67.ebuild | 99 ------------------------------- |
13 |
net-misc/dropbear/dropbear-2015.68.ebuild | 98 ------------------------------ |
14 |
net-misc/dropbear/dropbear-2015.71.ebuild | 98 ------------------------------ |
15 |
net-misc/dropbear/dropbear-2016.72.ebuild | 98 ------------------------------ |
16 |
6 files changed, 497 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/dropbear/Manifest b/net-misc/dropbear/Manifest |
19 |
index 3d1d952..20b51ec 100644 |
20 |
--- a/net-misc/dropbear/Manifest |
21 |
+++ b/net-misc/dropbear/Manifest |
22 |
@@ -1,6 +1 @@ |
23 |
-DIST dropbear-2014.66.tar.bz2 1604981 SHA256 ab3fe2670a517cc0bbe398ff5d15e9ca12cd14f2fc18930a8111ae2baa64ab76 SHA512 3005f754ad97e5eb84221740577f4dd962e38f38b3f6ba84dbb0811a7a35d487069c35b30055e129541c224769fe0a7e594084a9b0f1cc667029ad43d4988149 WHIRLPOOL c077328bf5c21faa655f3a2e6fe1aa775b046eec7cf0f527a86c0ec01b62ab9c6ae3530fcdf49db19be8208ea22f8cd198cd3ab6a5eb605a55daf0bf0c40e4ff |
24 |
-DIST dropbear-2015.67.tar.bz2 1606312 SHA256 7e690594645dfde5787065c78a5d2e4d15e288babfa06e140197ce05f698c8e5 SHA512 6a23f7dbe8ccd39683488a16ce4db39cdba529e9d302165742eb818d3cf520a3793660ff6c8ce0520ddb87dcac726ff34ed3dbcb7efa83115deafad2c6c0a5f3 WHIRLPOOL c1103be19c86a0b40ca262715646244911032e97aba52279be1f7a0382367554c34455497b604dacacb69da0873fd26d3d457abeb7d265e6ca6bdff8938dc065 |
25 |
-DIST dropbear-2015.68.tar.bz2 1611161 SHA256 55ea7c1e904ffe4b1cdbe1addca8291a2533d7d285fd22ac33608e9502a62446 SHA512 7725cd4077a3968684db3646f6013c6202977e79d281619e029366e45fca9c4e33e271812626237b6e33938eeb4c8b260902fe2b57cff085086bf930713a934a WHIRLPOOL a80d3907528b0d754f1a474846794ac9ba48003bbb723164c7db84c9b46263b47631712b15e29b863e64ad924d889976250e8af98b2b1ca91fb586ff0a1d4186 |
26 |
-DIST dropbear-2015.71.tar.bz2 1616280 SHA256 376214169c0e187ee9f48ae1a99b3f835016ad5b98ede4bfd1cf581deba783af SHA512 d9f5c5fdb2e845a79bb598fb3ba0b1e131a5d2b8f9acbf8c5d7aef1c381105bbe59d98c85d1c482d94fcc359cf64c8b4210458bad32c442c2cfbf6d6f8811b51 WHIRLPOOL 94e8fc0ce5f036866df384d17fda92b13849278274d881420d6b759550b0b5565c74a3908d1c377a5f053cd66280312aba8c5423d59f1c011d97a5d600a29891 |
27 |
-DIST dropbear-2016.72.tar.bz2 1617138 SHA256 9323766d3257699fd7d6e7b282c5a65790864ab32fd09ac73ea3d46c9ca2d681 SHA512 ed92db85b520d2c6cb5c8e65d304ccdd98df90f1232f588747230970527b991b31f5f608f6e9ee9285ec263455b1dc97ec63fdba1ebf8320120f011933a563eb WHIRLPOOL d4159bb379e0b5bd52af23b9052efddd77cc5bc99b08cf793e2a06ccf9fb94c4a298f3bfadfb200a3e073e5857b1700859bfa64f50ab179618704988bc65e114 |
28 |
DIST dropbear-2016.73.tar.bz2 1621584 SHA256 5c61a4f69b093b688629cd365be38701485ff63cfb23642dab7a05ad250aefd7 SHA512 dc538d77b0269c93339b150990b475129a88b0bdc070021c03726955e307407f517049f55b012bf00579d26cd0ff412d88f51c1db540bcbd3d8e4b7cf882bcb8 WHIRLPOOL 9d989b4893eaae254eb69d109d93375e121cc163ada59ac75fcbf9d88b294b015168bd5942d7a6afa1ed2dc08c297402be668cdc5fbd2647d9c14b86849a233b |
29 |
|
30 |
diff --git a/net-misc/dropbear/dropbear-2014.66.ebuild b/net-misc/dropbear/dropbear-2014.66.ebuild |
31 |
deleted file mode 100644 |
32 |
index 7aff607..0000000 |
33 |
--- a/net-misc/dropbear/dropbear-2014.66.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,99 +0,0 @@ |
36 |
-# Copyright 1999-2015 Gentoo Foundation |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
-# $Id$ |
39 |
- |
40 |
-EAPI="4" |
41 |
- |
42 |
-inherit eutils savedconfig pam user |
43 |
- |
44 |
-DESCRIPTION="small SSH 2 client/server designed for small memory environments" |
45 |
-HOMEPAGE="http://matt.ucc.asn.au/dropbear/dropbear.html" |
46 |
-SRC_URI="http://matt.ucc.asn.au/dropbear/releases/${P}.tar.bz2 |
47 |
- http://matt.ucc.asn.au/dropbear/testing/${P}.tar.bz2" |
48 |
- |
49 |
-LICENSE="MIT" |
50 |
-SLOT="0" |
51 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux" |
52 |
-IUSE="bsdpty minimal multicall pam +shadow static syslog zlib" |
53 |
- |
54 |
-LIB_DEPEND="zlib? ( sys-libs/zlib[static-libs(+)] ) |
55 |
- dev-libs/libtommath[static-libs(+)]" |
56 |
-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) |
57 |
- pam? ( virtual/pam )" |
58 |
-DEPEND="${RDEPEND} |
59 |
- static? ( ${LIB_DEPEND} )" |
60 |
-RDEPEND+=" pam? ( >=sys-auth/pambase-20080219.1 )" |
61 |
- |
62 |
-REQUIRED_USE="pam? ( !static )" |
63 |
- |
64 |
-set_options() { |
65 |
- progs=( |
66 |
- dropbear dbclient dropbearkey |
67 |
- $(usex minimal "" "dropbearconvert scp") |
68 |
- ) |
69 |
- makeopts=( |
70 |
- MULTI=$(usex multicall 1 0) |
71 |
- STATIC=$(usex static 1 0) |
72 |
- ) |
73 |
-} |
74 |
- |
75 |
-src_prepare() { |
76 |
- epatch "${FILESDIR}"/${PN}-0.46-dbscp.patch |
77 |
- sed -i \ |
78 |
- -e '/SFTPSERVER_PATH/s:".*":"/usr/lib/misc/sftp-server":' \ |
79 |
- options.h || die |
80 |
- sed -i \ |
81 |
- -e '/pam_start/s:sshd:dropbear:' \ |
82 |
- svr-authpam.c || die |
83 |
- restore_config options.h |
84 |
-} |
85 |
- |
86 |
-src_configure() { |
87 |
- # XXX: Need to add libtomcrypt to the tree and re-enable this. |
88 |
- # --disable-bundled-libtom |
89 |
- econf \ |
90 |
- $(use_enable zlib) \ |
91 |
- $(use_enable pam) \ |
92 |
- $(use_enable !bsdpty openpty) \ |
93 |
- $(use_enable shadow) \ |
94 |
- $(use_enable syslog) |
95 |
-} |
96 |
- |
97 |
-src_compile() { |
98 |
- set_options |
99 |
- emake "${makeopts[@]}" PROGRAMS="${progs[*]}" |
100 |
-} |
101 |
- |
102 |
-src_install() { |
103 |
- set_options |
104 |
- emake "${makeopts[@]}" PROGRAMS="${progs[*]}" DESTDIR="${D}" install |
105 |
- doman *.8 |
106 |
- newinitd "${FILESDIR}"/dropbear.init.d dropbear |
107 |
- newconfd "${FILESDIR}"/dropbear.conf.d dropbear |
108 |
- dodoc CHANGES README TODO SMALL MULTI |
109 |
- |
110 |
- # The multi install target does not install the links right. |
111 |
- if use multicall ; then |
112 |
- cd "${ED}"/usr/bin |
113 |
- local x |
114 |
- for x in "${progs[@]}" ; do |
115 |
- ln -sf dropbearmulti ${x} || die "ln -s dropbearmulti to ${x} failed" |
116 |
- done |
117 |
- rm -f dropbear |
118 |
- dodir /usr/sbin |
119 |
- dosym ../bin/dropbearmulti /usr/sbin/dropbear |
120 |
- cd "${S}" |
121 |
- fi |
122 |
- save_config options.h |
123 |
- |
124 |
- if ! use minimal ; then |
125 |
- mv "${ED}"/usr/bin/{,db}scp || die |
126 |
- fi |
127 |
- |
128 |
- pamd_mimic system-remote-login dropbear auth account password session |
129 |
-} |
130 |
- |
131 |
-pkg_preinst() { |
132 |
- enewgroup sshd 22 |
133 |
- enewuser sshd 22 -1 /var/empty sshd |
134 |
-} |
135 |
|
136 |
diff --git a/net-misc/dropbear/dropbear-2015.67.ebuild b/net-misc/dropbear/dropbear-2015.67.ebuild |
137 |
deleted file mode 100644 |
138 |
index d9b4bc9..0000000 |
139 |
--- a/net-misc/dropbear/dropbear-2015.67.ebuild |
140 |
+++ /dev/null |
141 |
@@ -1,99 +0,0 @@ |
142 |
-# Copyright 1999-2015 Gentoo Foundation |
143 |
-# Distributed under the terms of the GNU General Public License v2 |
144 |
-# $Id$ |
145 |
- |
146 |
-EAPI="4" |
147 |
- |
148 |
-inherit eutils savedconfig pam user |
149 |
- |
150 |
-DESCRIPTION="small SSH 2 client/server designed for small memory environments" |
151 |
-HOMEPAGE="http://matt.ucc.asn.au/dropbear/dropbear.html" |
152 |
-SRC_URI="http://matt.ucc.asn.au/dropbear/releases/${P}.tar.bz2 |
153 |
- http://matt.ucc.asn.au/dropbear/testing/${P}.tar.bz2" |
154 |
- |
155 |
-LICENSE="MIT" |
156 |
-SLOT="0" |
157 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
158 |
-IUSE="bsdpty minimal multicall pam +shadow static +syslog zlib" |
159 |
- |
160 |
-LIB_DEPEND="zlib? ( sys-libs/zlib[static-libs(+)] ) |
161 |
- dev-libs/libtommath[static-libs(+)]" |
162 |
-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) |
163 |
- pam? ( virtual/pam )" |
164 |
-DEPEND="${RDEPEND} |
165 |
- static? ( ${LIB_DEPEND} )" |
166 |
-RDEPEND+=" pam? ( >=sys-auth/pambase-20080219.1 )" |
167 |
- |
168 |
-REQUIRED_USE="pam? ( !static )" |
169 |
- |
170 |
-set_options() { |
171 |
- progs=( |
172 |
- dropbear dbclient dropbearkey |
173 |
- $(usex minimal "" "dropbearconvert scp") |
174 |
- ) |
175 |
- makeopts=( |
176 |
- MULTI=$(usex multicall 1 0) |
177 |
- STATIC=$(usex static 1 0) |
178 |
- ) |
179 |
-} |
180 |
- |
181 |
-src_prepare() { |
182 |
- epatch "${FILESDIR}"/${PN}-0.46-dbscp.patch |
183 |
- sed -i \ |
184 |
- -e '/SFTPSERVER_PATH/s:".*":"/usr/lib/misc/sftp-server":' \ |
185 |
- options.h || die |
186 |
- sed -i \ |
187 |
- -e '/pam_start/s:sshd:dropbear:' \ |
188 |
- svr-authpam.c || die |
189 |
- restore_config options.h |
190 |
-} |
191 |
- |
192 |
-src_configure() { |
193 |
- # XXX: Need to add libtomcrypt to the tree and re-enable this. |
194 |
- # --disable-bundled-libtom |
195 |
- econf \ |
196 |
- $(use_enable zlib) \ |
197 |
- $(use_enable pam) \ |
198 |
- $(use_enable !bsdpty openpty) \ |
199 |
- $(use_enable shadow) \ |
200 |
- $(use_enable syslog) |
201 |
-} |
202 |
- |
203 |
-src_compile() { |
204 |
- set_options |
205 |
- emake "${makeopts[@]}" PROGRAMS="${progs[*]}" |
206 |
-} |
207 |
- |
208 |
-src_install() { |
209 |
- set_options |
210 |
- emake "${makeopts[@]}" PROGRAMS="${progs[*]}" DESTDIR="${D}" install |
211 |
- doman *.8 |
212 |
- newinitd "${FILESDIR}"/dropbear.init.d dropbear |
213 |
- newconfd "${FILESDIR}"/dropbear.conf.d dropbear |
214 |
- dodoc CHANGES README TODO SMALL MULTI |
215 |
- |
216 |
- # The multi install target does not install the links right. |
217 |
- if use multicall ; then |
218 |
- cd "${ED}"/usr/bin |
219 |
- local x |
220 |
- for x in "${progs[@]}" ; do |
221 |
- ln -sf dropbearmulti ${x} || die "ln -s dropbearmulti to ${x} failed" |
222 |
- done |
223 |
- rm -f dropbear |
224 |
- dodir /usr/sbin |
225 |
- dosym ../bin/dropbearmulti /usr/sbin/dropbear |
226 |
- cd "${S}" |
227 |
- fi |
228 |
- save_config options.h |
229 |
- |
230 |
- if ! use minimal ; then |
231 |
- mv "${ED}"/usr/bin/{,db}scp || die |
232 |
- fi |
233 |
- |
234 |
- pamd_mimic system-remote-login dropbear auth account password session |
235 |
-} |
236 |
- |
237 |
-pkg_preinst() { |
238 |
- enewgroup sshd 22 |
239 |
- enewuser sshd 22 -1 /var/empty sshd |
240 |
-} |
241 |
|
242 |
diff --git a/net-misc/dropbear/dropbear-2015.68.ebuild b/net-misc/dropbear/dropbear-2015.68.ebuild |
243 |
deleted file mode 100644 |
244 |
index d0d661e..0000000 |
245 |
--- a/net-misc/dropbear/dropbear-2015.68.ebuild |
246 |
+++ /dev/null |
247 |
@@ -1,98 +0,0 @@ |
248 |
-# Copyright 1999-2015 Gentoo Foundation |
249 |
-# Distributed under the terms of the GNU General Public License v2 |
250 |
- |
251 |
-EAPI="4" |
252 |
- |
253 |
-inherit eutils savedconfig pam user |
254 |
- |
255 |
-DESCRIPTION="small SSH 2 client/server designed for small memory environments" |
256 |
-HOMEPAGE="http://matt.ucc.asn.au/dropbear/dropbear.html" |
257 |
-SRC_URI="http://matt.ucc.asn.au/dropbear/releases/${P}.tar.bz2 |
258 |
- http://matt.ucc.asn.au/dropbear/testing/${P}.tar.bz2" |
259 |
- |
260 |
-LICENSE="MIT" |
261 |
-SLOT="0" |
262 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
263 |
-IUSE="bsdpty minimal multicall pam +shadow static +syslog zlib" |
264 |
- |
265 |
-LIB_DEPEND="zlib? ( sys-libs/zlib[static-libs(+)] ) |
266 |
- dev-libs/libtommath[static-libs(+)]" |
267 |
-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) |
268 |
- pam? ( virtual/pam )" |
269 |
-DEPEND="${RDEPEND} |
270 |
- static? ( ${LIB_DEPEND} )" |
271 |
-RDEPEND+=" pam? ( >=sys-auth/pambase-20080219.1 )" |
272 |
- |
273 |
-REQUIRED_USE="pam? ( !static )" |
274 |
- |
275 |
-set_options() { |
276 |
- progs=( |
277 |
- dropbear dbclient dropbearkey |
278 |
- $(usex minimal "" "dropbearconvert scp") |
279 |
- ) |
280 |
- makeopts=( |
281 |
- MULTI=$(usex multicall 1 0) |
282 |
- STATIC=$(usex static 1 0) |
283 |
- ) |
284 |
-} |
285 |
- |
286 |
-src_prepare() { |
287 |
- epatch "${FILESDIR}"/${PN}-0.46-dbscp.patch |
288 |
- sed -i \ |
289 |
- -e '/SFTPSERVER_PATH/s:".*":"/usr/lib/misc/sftp-server":' \ |
290 |
- options.h || die |
291 |
- sed -i \ |
292 |
- -e '/pam_start/s:sshd:dropbear:' \ |
293 |
- svr-authpam.c || die |
294 |
- restore_config options.h |
295 |
-} |
296 |
- |
297 |
-src_configure() { |
298 |
- # XXX: Need to add libtomcrypt to the tree and re-enable this. |
299 |
- # --disable-bundled-libtom |
300 |
- econf \ |
301 |
- $(use_enable zlib) \ |
302 |
- $(use_enable pam) \ |
303 |
- $(use_enable !bsdpty openpty) \ |
304 |
- $(use_enable shadow) \ |
305 |
- $(use_enable syslog) |
306 |
-} |
307 |
- |
308 |
-src_compile() { |
309 |
- set_options |
310 |
- emake "${makeopts[@]}" PROGRAMS="${progs[*]}" |
311 |
-} |
312 |
- |
313 |
-src_install() { |
314 |
- set_options |
315 |
- emake "${makeopts[@]}" PROGRAMS="${progs[*]}" DESTDIR="${D}" install |
316 |
- doman *.8 |
317 |
- newinitd "${FILESDIR}"/dropbear.init.d dropbear |
318 |
- newconfd "${FILESDIR}"/dropbear.conf.d dropbear |
319 |
- dodoc CHANGES README TODO SMALL MULTI |
320 |
- |
321 |
- # The multi install target does not install the links right. |
322 |
- if use multicall ; then |
323 |
- cd "${ED}"/usr/bin |
324 |
- local x |
325 |
- for x in "${progs[@]}" ; do |
326 |
- ln -sf dropbearmulti ${x} || die "ln -s dropbearmulti to ${x} failed" |
327 |
- done |
328 |
- rm -f dropbear |
329 |
- dodir /usr/sbin |
330 |
- dosym ../bin/dropbearmulti /usr/sbin/dropbear |
331 |
- cd "${S}" |
332 |
- fi |
333 |
- save_config options.h |
334 |
- |
335 |
- if ! use minimal ; then |
336 |
- mv "${ED}"/usr/bin/{,db}scp || die |
337 |
- fi |
338 |
- |
339 |
- pamd_mimic system-remote-login dropbear auth account password session |
340 |
-} |
341 |
- |
342 |
-pkg_preinst() { |
343 |
- enewgroup sshd 22 |
344 |
- enewuser sshd 22 -1 /var/empty sshd |
345 |
-} |
346 |
|
347 |
diff --git a/net-misc/dropbear/dropbear-2015.71.ebuild b/net-misc/dropbear/dropbear-2015.71.ebuild |
348 |
deleted file mode 100644 |
349 |
index d0d661e..0000000 |
350 |
--- a/net-misc/dropbear/dropbear-2015.71.ebuild |
351 |
+++ /dev/null |
352 |
@@ -1,98 +0,0 @@ |
353 |
-# Copyright 1999-2015 Gentoo Foundation |
354 |
-# Distributed under the terms of the GNU General Public License v2 |
355 |
- |
356 |
-EAPI="4" |
357 |
- |
358 |
-inherit eutils savedconfig pam user |
359 |
- |
360 |
-DESCRIPTION="small SSH 2 client/server designed for small memory environments" |
361 |
-HOMEPAGE="http://matt.ucc.asn.au/dropbear/dropbear.html" |
362 |
-SRC_URI="http://matt.ucc.asn.au/dropbear/releases/${P}.tar.bz2 |
363 |
- http://matt.ucc.asn.au/dropbear/testing/${P}.tar.bz2" |
364 |
- |
365 |
-LICENSE="MIT" |
366 |
-SLOT="0" |
367 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
368 |
-IUSE="bsdpty minimal multicall pam +shadow static +syslog zlib" |
369 |
- |
370 |
-LIB_DEPEND="zlib? ( sys-libs/zlib[static-libs(+)] ) |
371 |
- dev-libs/libtommath[static-libs(+)]" |
372 |
-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) |
373 |
- pam? ( virtual/pam )" |
374 |
-DEPEND="${RDEPEND} |
375 |
- static? ( ${LIB_DEPEND} )" |
376 |
-RDEPEND+=" pam? ( >=sys-auth/pambase-20080219.1 )" |
377 |
- |
378 |
-REQUIRED_USE="pam? ( !static )" |
379 |
- |
380 |
-set_options() { |
381 |
- progs=( |
382 |
- dropbear dbclient dropbearkey |
383 |
- $(usex minimal "" "dropbearconvert scp") |
384 |
- ) |
385 |
- makeopts=( |
386 |
- MULTI=$(usex multicall 1 0) |
387 |
- STATIC=$(usex static 1 0) |
388 |
- ) |
389 |
-} |
390 |
- |
391 |
-src_prepare() { |
392 |
- epatch "${FILESDIR}"/${PN}-0.46-dbscp.patch |
393 |
- sed -i \ |
394 |
- -e '/SFTPSERVER_PATH/s:".*":"/usr/lib/misc/sftp-server":' \ |
395 |
- options.h || die |
396 |
- sed -i \ |
397 |
- -e '/pam_start/s:sshd:dropbear:' \ |
398 |
- svr-authpam.c || die |
399 |
- restore_config options.h |
400 |
-} |
401 |
- |
402 |
-src_configure() { |
403 |
- # XXX: Need to add libtomcrypt to the tree and re-enable this. |
404 |
- # --disable-bundled-libtom |
405 |
- econf \ |
406 |
- $(use_enable zlib) \ |
407 |
- $(use_enable pam) \ |
408 |
- $(use_enable !bsdpty openpty) \ |
409 |
- $(use_enable shadow) \ |
410 |
- $(use_enable syslog) |
411 |
-} |
412 |
- |
413 |
-src_compile() { |
414 |
- set_options |
415 |
- emake "${makeopts[@]}" PROGRAMS="${progs[*]}" |
416 |
-} |
417 |
- |
418 |
-src_install() { |
419 |
- set_options |
420 |
- emake "${makeopts[@]}" PROGRAMS="${progs[*]}" DESTDIR="${D}" install |
421 |
- doman *.8 |
422 |
- newinitd "${FILESDIR}"/dropbear.init.d dropbear |
423 |
- newconfd "${FILESDIR}"/dropbear.conf.d dropbear |
424 |
- dodoc CHANGES README TODO SMALL MULTI |
425 |
- |
426 |
- # The multi install target does not install the links right. |
427 |
- if use multicall ; then |
428 |
- cd "${ED}"/usr/bin |
429 |
- local x |
430 |
- for x in "${progs[@]}" ; do |
431 |
- ln -sf dropbearmulti ${x} || die "ln -s dropbearmulti to ${x} failed" |
432 |
- done |
433 |
- rm -f dropbear |
434 |
- dodir /usr/sbin |
435 |
- dosym ../bin/dropbearmulti /usr/sbin/dropbear |
436 |
- cd "${S}" |
437 |
- fi |
438 |
- save_config options.h |
439 |
- |
440 |
- if ! use minimal ; then |
441 |
- mv "${ED}"/usr/bin/{,db}scp || die |
442 |
- fi |
443 |
- |
444 |
- pamd_mimic system-remote-login dropbear auth account password session |
445 |
-} |
446 |
- |
447 |
-pkg_preinst() { |
448 |
- enewgroup sshd 22 |
449 |
- enewuser sshd 22 -1 /var/empty sshd |
450 |
-} |
451 |
|
452 |
diff --git a/net-misc/dropbear/dropbear-2016.72.ebuild b/net-misc/dropbear/dropbear-2016.72.ebuild |
453 |
deleted file mode 100644 |
454 |
index 230812e..0000000 |
455 |
--- a/net-misc/dropbear/dropbear-2016.72.ebuild |
456 |
+++ /dev/null |
457 |
@@ -1,98 +0,0 @@ |
458 |
-# Copyright 1999-2016 Gentoo Foundation |
459 |
-# Distributed under the terms of the GNU General Public License v2 |
460 |
- |
461 |
-EAPI="5" |
462 |
- |
463 |
-inherit eutils savedconfig pam user |
464 |
- |
465 |
-DESCRIPTION="small SSH 2 client/server designed for small memory environments" |
466 |
-HOMEPAGE="http://matt.ucc.asn.au/dropbear/dropbear.html" |
467 |
-SRC_URI="http://matt.ucc.asn.au/dropbear/releases/${P}.tar.bz2 |
468 |
- http://matt.ucc.asn.au/dropbear/testing/${P}.tar.bz2" |
469 |
- |
470 |
-LICENSE="MIT" |
471 |
-SLOT="0" |
472 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
473 |
-IUSE="bsdpty minimal multicall pam +shadow static +syslog zlib" |
474 |
- |
475 |
-LIB_DEPEND="zlib? ( sys-libs/zlib[static-libs(+)] ) |
476 |
- dev-libs/libtommath[static-libs(+)]" |
477 |
-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) |
478 |
- pam? ( virtual/pam )" |
479 |
-DEPEND="${RDEPEND} |
480 |
- static? ( ${LIB_DEPEND} )" |
481 |
-RDEPEND+=" pam? ( >=sys-auth/pambase-20080219.1 )" |
482 |
- |
483 |
-REQUIRED_USE="pam? ( !static )" |
484 |
- |
485 |
-set_options() { |
486 |
- progs=( |
487 |
- dropbear dbclient dropbearkey |
488 |
- $(usex minimal "" "dropbearconvert scp") |
489 |
- ) |
490 |
- makeopts=( |
491 |
- MULTI=$(usex multicall 1 0) |
492 |
- STATIC=$(usex static 1 0) |
493 |
- ) |
494 |
-} |
495 |
- |
496 |
-src_prepare() { |
497 |
- epatch "${FILESDIR}"/${PN}-0.46-dbscp.patch |
498 |
- sed -i \ |
499 |
- -e '/SFTPSERVER_PATH/s:".*":"/usr/lib/misc/sftp-server":' \ |
500 |
- options.h || die |
501 |
- sed -i \ |
502 |
- -e '/pam_start/s:sshd:dropbear:' \ |
503 |
- svr-authpam.c || die |
504 |
- restore_config options.h |
505 |
-} |
506 |
- |
507 |
-src_configure() { |
508 |
- # XXX: Need to add libtomcrypt to the tree and re-enable this. |
509 |
- # --disable-bundled-libtom |
510 |
- econf \ |
511 |
- $(use_enable zlib) \ |
512 |
- $(use_enable pam) \ |
513 |
- $(use_enable !bsdpty openpty) \ |
514 |
- $(use_enable shadow) \ |
515 |
- $(use_enable syslog) |
516 |
-} |
517 |
- |
518 |
-src_compile() { |
519 |
- set_options |
520 |
- emake "${makeopts[@]}" PROGRAMS="${progs[*]}" |
521 |
-} |
522 |
- |
523 |
-src_install() { |
524 |
- set_options |
525 |
- emake "${makeopts[@]}" PROGRAMS="${progs[*]}" DESTDIR="${D}" install |
526 |
- doman *.8 |
527 |
- newinitd "${FILESDIR}"/dropbear.init.d dropbear |
528 |
- newconfd "${FILESDIR}"/dropbear.conf.d dropbear |
529 |
- dodoc CHANGES README TODO SMALL MULTI |
530 |
- |
531 |
- # The multi install target does not install the links right. |
532 |
- if use multicall ; then |
533 |
- cd "${ED}"/usr/bin |
534 |
- local x |
535 |
- for x in "${progs[@]}" ; do |
536 |
- ln -sf dropbearmulti ${x} || die "ln -s dropbearmulti to ${x} failed" |
537 |
- done |
538 |
- rm -f dropbear |
539 |
- dodir /usr/sbin |
540 |
- dosym ../bin/dropbearmulti /usr/sbin/dropbear |
541 |
- cd "${S}" |
542 |
- fi |
543 |
- save_config options.h |
544 |
- |
545 |
- if ! use minimal ; then |
546 |
- mv "${ED}"/usr/bin/{,db}scp || die |
547 |
- fi |
548 |
- |
549 |
- pamd_mimic system-remote-login dropbear auth account password session |
550 |
-} |
551 |
- |
552 |
-pkg_preinst() { |
553 |
- enewgroup sshd 22 |
554 |
- enewuser sshd 22 -1 /var/empty sshd |
555 |
-} |