From owner-freebsd-ports Thu Oct 18 3:30:12 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AF4C037B403 for ; Thu, 18 Oct 2001 03:30:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9IAU1j48489; Thu, 18 Oct 2001 03:30:01 -0700 (PDT) (envelope-from gnats) Received: from infres.enst.fr (infres-192.enst.fr [137.194.192.1]) by hub.freebsd.org (Postfix) with ESMTP id C2D6B37B407 for ; Thu, 18 Oct 2001 03:27:29 -0700 (PDT) Received: from shalmaneser.enst.fr (shalmaneser.enst.fr [137.194.162.11]) by infres.enst.fr (Postfix) with ESMTP id 7B59018B4 for ; Thu, 18 Oct 2001 12:27:28 +0200 (MEST) Received: by shalmaneser.enst.fr (Postfix, from userid 11117) id 08CB711295; Thu, 18 Oct 2001 12:27:27 +0200 (CEST) Message-Id: <20011018102727.08CB711295@shalmaneser.enst.fr> Date: Thu, 18 Oct 2001 12:27:27 +0200 (CEST) From: Thomas Quinot Reply-To: Thomas Quinot To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/31351: net/proxy-suite: updated Makefile Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 +Ported to FreeBSD using OpenBSD port by Camiel Dobbelaar , +with updates contributed by Marius Tomaschewski . 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