Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2002 19:59:26 +0200 (CEST)
From:      Volker Stolz <vs@foldr.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44385: [patch] Update port: nylon 0.3->1.0
Message-ID:  <200210221759.g9MHxQ9G079615@lambda.foldr.org>

next in thread | raw e-mail | index | archive | help

>Number:         44385
>Category:       ports
>Synopsis:       [patch] Update port: nylon 0.3->1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 22 11:00:05 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD lambda.foldr.org 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Aug 12 20:33:20 PDT 2002 user@jail2.johncompanies.com:/usr/src/sys/compile/6300 i386


	
>Description:
- Update to nylon 1.0
- Change Mastersite & WWW to new location
- Patch to pass on CFLAGS
- Add nylon.conf, which no longer is contained in the tarball

>How-To-Repeat:
>Fix:
Deleted Files:
files/patch-cfg.c
files/patch-err.c

Added Files:
files/nylon.conf
files/patch-src-Makefile.in

diff -ur nylon.orig/Makefile nylon/Makefile
--- nylon.orig/Makefile	Sun Jul 14 16:49:54 2002
+++ nylon/Makefile	Tue Oct 22 19:15:06 2002
@@ -7,14 +7,27 @@
 #
 
 PORTNAME=	nylon
-PORTVERSION=	0.3
+PORTVERSION=	1.0
 CATEGORIES=	net
-MASTER_SITES=	http://www.citi.umich.edu/u/marius/
+MASTER_SITES=	http://monkey.org/~marius/nylon/
 
 MAINTAINER=	ports@FreeBSD.org
 
+BUILD_DEPENDS=	${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent
+
 GNU_CONFIGURE=	yes
+# Necessary for $PREFIX to work:
+CONFIGURE_ARGS=	--with-libevent=${LOCALBASE}
 
 MAN1=		nylon.1
+
+# Port tries to prefix man page and binary with
+# 'i386-portbld-freebsd4.6-', so we better do it ourselves:
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/src/nylon ${PREFIX}/bin
+	${MKDIR} ${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man/nylon.1 ${PREFIX}/man/man1
+	${INSTALL_DATA} ${FILESDIR}/nylon.conf ${PREFIX}/etc
 
 .include <bsd.port.mk>
diff -ur nylon.orig/distinfo nylon/distinfo
--- nylon.orig/distinfo	Sun Jul 14 16:49:54 2002
+++ nylon/distinfo	Tue Oct 22 19:15:40 2002
@@ -1 +1 @@
-MD5 (nylon-0.3.tar.gz) = a3900e11c7e56b4309197e0fb7681743
+MD5 (nylon-1.0.tar.gz) = 4457467ae589c70b37ccbce76851700d
diff -ur nylon.orig/pkg-descr nylon/pkg-descr
--- nylon.orig/pkg-descr	Fri Jul  6 19:23:07 2001
+++ nylon/pkg-descr	Tue Oct 22 19:14:03 2002
@@ -1,4 +1,4 @@
 nylon is a Unix SOCKS 4 and 5 proxy server. It is compatible with BSD, 
 Solaris, HP-UX and Linux 2.2 & 2.4. 
 
-WWW: http://mesh.eecs.umich.edu/projects/nylon/
+WWW: http://monkey.org/~marius/nylon/

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	nylon/files
#	nylon/files/patch-src-Makefile.in
#	nylon/files/nylon.conf
#
echo c - nylon/files
mkdir -p nylon/files > /dev/null 2>&1
echo x - nylon/files/patch-src-Makefile.in
sed 's/^X//' >nylon/files/patch-src-Makefile.in << 'END-of-nylon/files/patch-src-Makefile.in'
X--- src/Makefile.in.orig	Mon Oct 21 19:32:41 2002
X+++ src/Makefile.in	Mon Oct 21 19:33:00 2002
X@@ -92,7 +92,7 @@
X                 socks4.c socks5.c mirror.c cleanup.c misc.c
X 
X 
X-CFLAGS = @EVENTINC@ -Wall -g $(AM_CFLAGS)
X+CFLAGS += @EVENTINC@ -Wall -g $(AM_CFLAGS)
X LDADD = @EVENTLIB@ @LIBOBJS@
X 
X EXTRA_DIST = strlcpy.c strlcat.c setproctitle.c strsep.c err.c daemon.c
END-of-nylon/files/patch-src-Makefile.in
echo x - nylon/files/nylon.conf
sed 's/^X//' >nylon/files/nylon.conf << 'END-of-nylon/files/nylon.conf'
X# sample configuration # marius aamodt eriksen (marius@umich.edu)
X# $Id: nylon.conf,v 1.11 2002/03/27 07:39:53 beriksen Exp $
X# general settings 
X[General]
X
X# number of simultaneous connections allowed
XNo-Simultaneous-Conn=10
X
X# log connections and other information to syslog? 1: on, 0: off
XLog=1
X
X# be verbose on the console? 1: on, 0: off
XVerbose=0
X
X# store pid file
X#PIDfile=/var/run/nylon.pid
X
X# server settings
X[Server]
X
X# interface to listen to connections
X#Binding-Interface=fxp1
X
X# interface to bind outgoing connections to
X#Connecting-Interface=fxp0
X
X# listening port to bind to
XPort=1080
X
X# allowed is processed first, then deny
X
X# allowable connect ips/ranges
X#Allow-IP=141.0.0.0/8 127.0.0.1 10.0.0.0/24
XAllow-IP=127.0.0.1/32
X# denied connect ips/ranges
X#Deny-IP=10.0.0.0/24
END-of-nylon/files/nylon.conf
exit


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210221759.g9MHxQ9G079615>