commit:     2066a05b43df578a6fd35b4dc94e431782a2bcc3
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue May  3 19:06:24 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue May  3 19:17:01 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2066a05b

net-proxy/nylon: use #!/sbin/openrc-run instead of #!/sbin/runscript

Gentoo-Bug: https://bugs.gentoo.org/573846

Package-Manager: portage-2.2.26

 net-proxy/nylon/files/nylon.init     |  4 ++--
 net-proxy/nylon/nylon-1.21-r2.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 2 deletions(-)

diff --git a/net-proxy/nylon/files/nylon.init b/net-proxy/nylon/files/nylon.init
index 20a96da..eb4ba69 100644
--- a/net-proxy/nylon/files/nylon.init
+++ b/net-proxy/nylon/files/nylon.init
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/net-proxy/nylon/nylon-1.21-r2.ebuild 
b/net-proxy/nylon/nylon-1.21-r2.ebuild
new file mode 100644
index 0000000..1f99221
--- /dev/null
+++ b/net-proxy/nylon/nylon-1.21-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="A lightweight SOCKS proxy server"
+HOMEPAGE="http://monkey.org/~marius/nylon/";
+SRC_URI="http://monkey.org/~marius/nylon/${P}.tar.gz";
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 ~sparc x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/libevent-0.6"
+DEPEND="
+       ${RDEPEND}
+       virtual/pkgconfig
+"
+
+DOCS=( README THANKS )
+
+src_prepare() {
+       default
+
+       eapply "${FILESDIR}"/${P}-libevent.patch
+       eautoreconf
+}
+
+src_install() {
+       default
+       insinto /etc ; doins "${FILESDIR}/nylon.conf"
+       newinitd "${FILESDIR}/nylon.init" nylond
+}

Reply via email to