net-proxy/nylon: use #!/sbin/openrc-run instead of #!/sbin/runscript
authorAustin English <wizardedit@gentoo.org>
Tue, 3 May 2016 19:06:24 +0000 (14:06 -0500)
committerAustin English <wizardedit@gentoo.org>
Tue, 3 May 2016 19:17:01 +0000 (14:17 -0500)
Gentoo-Bug: https://bugs.gentoo.org/573846

Package-Manager: portage-2.2.26

net-proxy/nylon/files/nylon.init
net-proxy/nylon/nylon-1.21-r2.ebuild [new file with mode: 0644]

index 20a96da58b93744d349c6cfc3194f9ee515b9cee..eb4ba694cb36657bdf0f0b9972ccf9461a2ca9cb 100644 (file)
@@ -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 (file)
index 0000000..1f99221
--- /dev/null
@@ -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
+}