+++ /dev/null
-DIST nylon-1.21.tar.gz 115954 BLAKE2B e4fd7422349d51edb3f5ac52ba7da8dfe1cc0eeb88effe968d22670a9b2d0ccd395f2ac851f80344a0606cb31ec1bb91cee8d4d66bb5ef30e45b080cc0798132 SHA512 7338ebf376843a49777bfc2c04dc0f9b14a25162efb008a555b6d74991bfbddbe5eb8fa6371c8c6a4dae9739f15d6d85135ba9d39472bc2646293a39777b5cfa
+++ /dev/null
---- a/configure.in
-+++ b/configure.in
-@@ -95,44 +95,10 @@
- AC_REPLACE_FUNCS(strlcpy strlcat strsep setproctitle daemon)
-
- dnl Checks for libevent
--AC_MSG_CHECKING(for libevent)
--AC_ARG_WITH(libevent,
--[ --with-libevent=DIR use libevent in DIR],
--[ case "$withval" in
-- yes|no)
-- AC_MSG_RESULT(no)
-- ;;
-- *)
-- AC_MSG_RESULT($withval)
-- if test -f $withval/include/event.h -a -f $withval/lib/libevent.a; then
-- owd=`pwd`
-- if cd $withval; then withval=`pwd`; cd $owd; fi
-- EVENTINC="-I$withval/include"
-- EVENTLIB="-L$withval/lib -levent"
-- elif test -f $withval/event.h -a -f $withval/libevent.a; then
-- owd=`pwd`
-- if cd $withval; then withval=`pwd`; cd $owd; fi
-- EVENTINC="-I$withval"
-- EVENTLIB="-L$withval -levent"
-- else
-- AC_ERROR(event.h or libevent.a not found in $withval)
-- fi
-- ;;
-- esac ],
--[ if test -f ${prefix}/include/event.h -a -f ${prefix}/lib/libevent.a;
--then
-- EVENTINC="-I${prefix}/include"
-- EVENTLIB="-L${prefix}/lib -levent"
-- elif test -f /usr/include/event.h; then
-- EVENTLIB="-levent"
-- else
-- AC_MSG_RESULT(no)
-- AC_ERROR(libevent not found)
-- fi
-- AC_MSG_RESULT(yes) ]
--)
--AC_SUBST(EVENTINC)
--AC_SUBST(EVENTLIB)
-+PKG_CHECK_MODULES(LIBEVENT,libevent,,)
-+
-+AC_SUBST(LIBEVENT_CFLAGS)
-+AC_SUBST(LIBEVENT_LIBS)
-
- if test "x${sysconfdir}" = 'x${prefix}/etc'; then
- csysconfdir="${prefix}/etc"
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -5,7 +5,7 @@
- nylon_SOURCES = nylon.c print.c cfg.c expanda.c net.c access.c atomicio.c \
- socks4.c socks5.c mirror.c cleanup.c misc.c
-
--AM_CFLAGS = @EVENTINC@ -Wall -g
--LDADD = @EVENTLIB@ @LIBOBJS@
-+AM_CFLAGS = @LIBEVENT_CFLAGS@
-+LDADD = @LIBEVENT_LIBS@ @LIBOBJS@
-
- EXTRA_DIST = strlcpy.c strlcat.c setproctitle.c strsep.c err.c daemon.c
+++ /dev/null
-# sample configuration
-# marius aamodt eriksen (marius@umich.edu)
-# $Id: nylon.conf,v 1.11 2002/03/27 07:39:53 beriksen Exp $
-# general settings
-[General]
-
-# number of simultaneous connections allowed
-No-Simultaneous-Conn=10
-
-# log connections and other information to syslog? 1: on, 0: off
-Log=1
-
-# be verbose on the console? 1: on, 0: off
-Verbose=0
-
-# store pid file
-#PIDfile=/var/run/nylon.pid
-
-# server settings
-[Server]
-
-# interface to listen to connections
-#Binding-Interface=fxp1
-
-# interface to bind outgoing connections to
-#Connecting-Interface=fxp0
-
-# listening port to bind to
-Port=1080
-
-# allowed is processed first, then deny
-
-# allowable connect ips/ranges
-#Allow-IP=141.0.0.0/8 127.0.0.1 10.0.0.0/24
-Allow-IP=127.0.0.1/32
-# denied connect ips/ranges
-#Deny-IP=10.0.0.0/24
+++ /dev/null
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting Nylon"
- start-stop-daemon --start --quiet --pidfile /var/run/nylon.pid \
- --startas /usr/bin/nylon
- eend $?
-}
-
-stop() {
- ebegin "Stopping Nylon"
- start-stop-daemon --stop --quiet --pidfile /var/run/nylon.pid
- eend $?
-}
-
-
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-<longdescription>nylon is a proxy server, developed on OpenBSD. It supports SOCKS version 4 and 5,
-as well as a mirror mode so that services can be mirrored directly.</longdescription>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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
-}
# >=dev-libs/bglibs-2.04. Bug #686438.
net-mail/qmail-qfilter
-# Michał Górny <mgorny@gentoo.org> (19 May 2019)
-# Unmaintained. The program breaks init.d script (#626580). Homepage
-# and public sources disappeared. Last release in 2006.
-# Removal in 30 days. Bug #684094.
-net-proxy/nylon
-
# Hans de Graaff <graaff@gentoo.org> (18 May 2019)
# Old, ruby24-only, slots of ruby packages without any reverse
# dependencies. Use the newer slot version instead.