Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2001 12:27:27 +0200 (CEST)
From:      Thomas Quinot <quinot@inf.enst.fr>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/31351: net/proxy-suite: updated Makefile
Message-ID:  <20011018102727.08CB711295@shalmaneser.enst.fr>

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

>Number:         31351
>Category:       ports
>Synopsis:       net/proxy-suite: updated Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 18 03:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Quinot
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD shalmaneser.enst.fr 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Wed Oct 17 19:16:27 CEST 2001 quinot@shalmaneser.enst.fr:/usr/obj/usr/src/sys/SHALMANESER i386


	
>Description:
	The upstream developer contributed some updates to the port.
>How-To-Repeat:
	
>Fix:

	Please apply the following diff.

	Thanks,
	Thomas.

diff -Nur proxy-suite.dist/Makefile proxy-suite/Makefile
--- proxy-suite.dist/Makefile	Mon Jul 16 11:40:06 2001
+++ proxy-suite/Makefile	Thu Oct 18 12:23:29 2001
@@ -15,10 +15,36 @@
 
 MAINTAINER=	thomas@cuivre.fr.eu.org
 
-CONFIGURE_ARGS=	--with-libwrap=/usr/lib/
-
 USE_AUTOCONF=	yes
 USE_GMAKE=	yes
+
+#
+# basic configure args
+#
+CONFIGURE_ARGS=	--prefix=${PREFIX} --with-libwrap=/usr/lib --with-regex \
+		--sysconfdir=${PREFIX}/etc/proxy-suite \
+		--localstatedir=/var/run \
+		--enable-warnings --enable-so-linger --enable-rfc1579 \
+		--disable-proc-mods
+
+#
+# OPTIONAL: include ldap-support - currently ldap.2 needs minor fixes...
+#
+.if defined(WITH_LDAP)
+CONFIGURE_ARGS+=	--with-libldap
+LIB_DEPENDS+=		ldap.1:${PORTSDIR}/net/openldap
+.else
+CONFIGURE_ARGS+=	--without-libldap
+.endif
+
+#
+# OPTIONAL: re-build the sgml documentation (postscript, html)
+# unfortunatenly this docu it is not up to date :-((
+# reading of the manual pages and HOWTO's makes more sense...
+#
+.if !defined(WITH_SGMLDOC)
+ALL_TARGET=	 -C ftp-proxy
+.endif
 
 MAN8=		ftp-proxy.8
 MAN5=		ftp-proxy.conf.5
diff -Nur proxy-suite.dist/files/patch-cf proxy-suite/files/patch-cf
--- proxy-suite.dist/files/patch-cf	Thu Jan  1 01:00:00 1970
+++ proxy-suite/files/patch-cf	Wed Oct 17 19:20:47 2001
@@ -0,0 +1,11 @@
+--- ftp-proxy/Makefile.in
++++ ftp-proxy/Makefile.in	Tue Jun 26 01:12:06 2001
+@@ -55,7 +55,7 @@
+ PROC_FTP=	@PROC_FTP@
+ 
+ CONF_SRC=	ftp-proxy.conf.sample
+-CONF_DST=	$(ETC_DIR)/ftp-proxy.conf
++CONF_DST=	$(ETC_DIR)/ftp-proxy.conf.sample
+ 
+ FTP_MAN5=	ftp-proxy.conf.5
+ FTP_MAN8=	ftp-proxy.8
diff -Nur proxy-suite.dist/files/patch-regex proxy-suite/files/patch-regex
--- proxy-suite.dist/files/patch-regex	Sat Apr  7 07:54:50 2001
+++ proxy-suite/files/patch-regex	Thu Jan  1 01:00:00 1970
@@ -1,18 +0,0 @@
---- ftp-proxy/ftp-cmds.c.orig	Fri Feb 11 15:23:59 2000
-+++ ftp-proxy/ftp-cmds.c	Fri Feb 11 15:25:33 2000
-@@ -371,6 +371,7 @@ static void cmds_user(CONTEXT *ctx, char
- 	for (cmd = cmdlist; cmd->name != NULL; cmd++) {
- 		if (strcasecmp("USER", cmd->name) != 0)
- 			continue;
-+#if defined(HAVE_REGEX)
- 		if (cmd->regex == NULL)
- 			break;
- 		if ((p = cmds_reg_exec(cmd->regex, arg)) != NULL) {
-@@ -383,6 +384,7 @@ static void cmds_user(CONTEXT *ctx, char
- 				ctx->cli_ctrl->peer, p);
- 			return;
- 		}
-+#endif
- 		break;
- 	}
- 
diff -Nur proxy-suite.dist/pkg-descr proxy-suite/pkg-descr
--- proxy-suite.dist/pkg-descr	Fri Apr  6 15:16:00 2001
+++ proxy-suite/pkg-descr	Wed Oct 17 19:22:45 2001
@@ -2,7 +2,7 @@
 The first (and currently only) component being released is the FTP-Proxy.
 
 * Securely relays FTP connections between clients and servers 
-* Can switch connections from active to passive and vice versa 
+* Can switch connections from active to passive and vice versa
 * Utilizes port ranges for both control and data connections 
 * Provides extensive auditing (via syslog or rotating log files) 
 * Can separate user related from system triggered audit events 
@@ -15,7 +15,8 @@
 * Planned to support RFC 2428 (IPv6 Extensions for FTP) 
 * Based on GNU AutoConf, supposed to run on many UNIX systems 
 
-Ported to FreeBSD using OpenBSD port by Camiel Dobbelaar <cd@sentia.nl>
+Ported to FreeBSD using OpenBSD port by Camiel Dobbelaar <cd@sentia.nl>,
+with updates contributed by Marius Tomaschewski <mat@mt-home.net>.
 
 WWW: http://www.suse.de/en/support/proxy_suite/
 
diff -Nur proxy-suite.dist/pkg-message proxy-suite/pkg-message
--- proxy-suite.dist/pkg-message	Thu Jan  1 01:00:00 1970
+++ proxy-suite/pkg-message	Wed Oct 17 19:20:47 2001
@@ -0,0 +1,4 @@
+   This port provides a sample configuration file as
+     PREFIX/etc/proxy-suite/ftp-proxy.conf.sample
+   Please copy this file to ftp-proxy.conf and edit
+   to fit your needs. Default PREFIX is /usr/local.
diff -Nur proxy-suite.dist/pkg-plist proxy-suite/pkg-plist
--- proxy-suite.dist/pkg-plist	Fri Apr  6 15:14:17 2001
+++ proxy-suite/pkg-plist	Wed Oct 17 19:20:47 2001
@@ -1,2 +1,3 @@
 sbin/ftp-proxy
-etc/ftp-proxy.conf
+etc/proxy-suite/ftp-proxy.conf.sample
+@dirrm etc/proxy-suite


>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?20011018102727.08CB711295>