1 |
commit: bc0dddc68464b315fdb6a8d313be58e22281efcd |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 27 23:44:32 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 27 23:44:32 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc0dddc6 |
7 |
|
8 |
net-ftp/tlswrap: use #!/sbin/openrc-run instead of #!/sbin/runscript |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/573846 |
11 |
|
12 |
Package-Manager: portage-2.2.26 |
13 |
|
14 |
net-ftp/tlswrap/files/tlswrap.init | 4 ++-- |
15 |
net-ftp/tlswrap/tlswrap-1.04-r2.ebuild | 30 ++++++++++++++++++++++++++++++ |
16 |
2 files changed, 32 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/net-ftp/tlswrap/files/tlswrap.init b/net-ftp/tlswrap/files/tlswrap.init |
19 |
index fd4eea9..7219d8e 100644 |
20 |
--- a/net-ftp/tlswrap/files/tlswrap.init |
21 |
+++ b/net-ftp/tlswrap/files/tlswrap.init |
22 |
@@ -1,5 +1,5 @@ |
23 |
-#!/sbin/runscript |
24 |
-# Copyright 1999-2006 Gentoo Foundation |
25 |
+#!/sbin/openrc-run |
26 |
+# Copyright 1999-2016 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
# $Id$ |
29 |
|
30 |
|
31 |
diff --git a/net-ftp/tlswrap/tlswrap-1.04-r2.ebuild b/net-ftp/tlswrap/tlswrap-1.04-r2.ebuild |
32 |
new file mode 100644 |
33 |
index 0000000..472ed9e |
34 |
--- /dev/null |
35 |
+++ b/net-ftp/tlswrap/tlswrap-1.04-r2.ebuild |
36 |
@@ -0,0 +1,30 @@ |
37 |
+# Copyright 1999-2016 Gentoo Foundation |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+# $Id$ |
40 |
+ |
41 |
+EAPI=6 |
42 |
+inherit eutils |
43 |
+ |
44 |
+DESCRIPTION="a TLS/SSL FTP wrapper/proxy which allows to use TLS with every FTP client" |
45 |
+HOMEPAGE="http://www.tlswrap.com" |
46 |
+SRC_URI="http://www.tlswrap.com/${P}.tar.gz" |
47 |
+ |
48 |
+# GPL-2 for Gentoo init script |
49 |
+LICENSE="BSD GPL-2" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="libressl" |
53 |
+ |
54 |
+DEPEND="!libressl? ( dev-libs/openssl:0= ) |
55 |
+ libressl? ( dev-libs/libressl:= )" |
56 |
+RDEPEND=${DEPEND} |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ epatch "${FILESDIR}/${P}-libressl.patch" |
60 |
+} |
61 |
+ |
62 |
+src_install() { |
63 |
+ emake prefix="${D}/usr" install |
64 |
+ dodoc ChangeLog README |
65 |
+ newinitd "${FILESDIR}/tlswrap.init" tlswrap |
66 |
+} |