1 |
commit: 2066a05b43df578a6fd35b4dc94e431782a2bcc3 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 3 19:06:24 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 3 19:17:01 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2066a05b |
7 |
|
8 |
net-proxy/nylon: 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-proxy/nylon/files/nylon.init | 4 ++-- |
15 |
net-proxy/nylon/nylon-1.21-r2.ebuild | 36 ++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 38 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/net-proxy/nylon/files/nylon.init b/net-proxy/nylon/files/nylon.init |
19 |
index 20a96da..eb4ba69 100644 |
20 |
--- a/net-proxy/nylon/files/nylon.init |
21 |
+++ b/net-proxy/nylon/files/nylon.init |
22 |
@@ -1,5 +1,5 @@ |
23 |
-#!/sbin/runscript |
24 |
-# Copyright 1999-2004 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-proxy/nylon/nylon-1.21-r2.ebuild b/net-proxy/nylon/nylon-1.21-r2.ebuild |
32 |
new file mode 100644 |
33 |
index 0000000..1f99221 |
34 |
--- /dev/null |
35 |
+++ b/net-proxy/nylon/nylon-1.21-r2.ebuild |
36 |
@@ -0,0 +1,36 @@ |
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 autotools |
43 |
+ |
44 |
+DESCRIPTION="A lightweight SOCKS proxy server" |
45 |
+HOMEPAGE="http://monkey.org/~marius/nylon/" |
46 |
+SRC_URI="http://monkey.org/~marius/nylon/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="BSD GPL-2" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="amd64 ppc ppc64 ~sparc x86" |
51 |
+IUSE="" |
52 |
+ |
53 |
+RDEPEND=">=dev-libs/libevent-0.6" |
54 |
+DEPEND=" |
55 |
+ ${RDEPEND} |
56 |
+ virtual/pkgconfig |
57 |
+" |
58 |
+ |
59 |
+DOCS=( README THANKS ) |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ |
64 |
+ eapply "${FILESDIR}"/${P}-libevent.patch |
65 |
+ eautoreconf |
66 |
+} |
67 |
+ |
68 |
+src_install() { |
69 |
+ default |
70 |
+ insinto /etc ; doins "${FILESDIR}/nylon.conf" |
71 |
+ newinitd "${FILESDIR}/nylon.init" nylond |
72 |
+} |