From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 25 19:42:10 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8573316A4CE for ; Fri, 25 Jun 2004 19:42:10 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6386E43D58 for ; Fri, 25 Jun 2004 19:42:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i5PJe849009609 for ; Fri, 25 Jun 2004 19:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5PJe7Jt009608; Fri, 25 Jun 2004 19:40:07 GMT (envelope-from gnats) Resent-Date: Fri, 25 Jun 2004 19:40:07 GMT Resent-Message-Id: <200406251940.i5PJe7Jt009608@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Toni Viemero Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F09616A4CE for ; Fri, 25 Jun 2004 19:33:31 +0000 (GMT) Received: from shaolin.selfdestruct.net (shaolin.selfdestruct.net [193.65.195.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6233843D3F for ; Fri, 25 Jun 2004 19:33:31 +0000 (GMT) (envelope-from toni@shaolin.selfdestruct.net) Received: by shaolin.selfdestruct.net (Postfix, from userid 1000) id A4A4D9BE4C; Fri, 25 Jun 2004 21:59:03 +0300 (EEST) Message-Id: <20040625185903.A4A4D9BE4C@shaolin.selfdestruct.net> Date: Fri, 25 Jun 2004 21:59:03 +0300 (EEST) From: Toni Viemero To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: j@pureftpd.org Subject: ports/68339: [PATCH] ftp/pure-ftpd: Add knobs for PAM and throttling X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2004 19:42:10 -0000 >Number: 68339 >Category: ports >Synopsis: [PATCH] ftp/pure-ftpd: Add knobs for PAM and throttling >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jun 25 19:40:07 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Toni Viemero >Release: FreeBSD 4.10-RELEASE i386 >Organization: >Environment: System: FreeBSD shaolin.selfdestruct.net 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Sat May 29 00:26:03 EEST 2004 >Description: Add support for PAM to co-exist with other authentication methods Add support for bandwidth throttling Port maintainer (j@pureftpd.org) is cc'd. >How-To-Repeat: >Fix: --- pure-ftpd-1.0.19.patch begins here --- diff -ruN --exclude=CVS /usr/ports/ftp/pure-ftpd/Makefile /home/toni/ports/pure-ftpd/Makefile --- /usr/ports/ftp/pure-ftpd/Makefile Fri Jun 25 16:24:05 2004 +++ /home/toni/ports/pure-ftpd/Makefile Fri Jun 25 21:49:28 2004 @@ -40,9 +40,11 @@ OPTIONS= LDAP "Support for users in LDAP directories" off \ MYSQL "Support for users in MySQL database" off \ + PAM "Support for PAM authentication" on \ PGSQL "Support for users in PostgreSQL database" off \ PRIVSEP "Enable privilege separation" off \ - PERUSERLIMITS "Per-user concurrency limits" off + PERUSERLIMITS "Per-user concurrency limits" off \ + THROTTLING "Bandwidth throttling" off .include @@ -80,13 +82,18 @@ CONFIGURE_ARGS+= --with-peruserlimits .endif +# throttling requested? +.if defined(WITH_THROTTLING) +CONFIGURE_ARGS+= --with-throttling +.endif + # different certificate file location? .if defined(WITH_CERTFILE) CONFIGURE_ARGS+= --with-certfile=${WITH_CERTFILE} .endif # if mysql or ldap are disabled, enable pam -.if !defined(WITH_LDAP) && !defined(WITH_MYSQL) && !defined(WITH_PGSQL) +.if !defined(WITH_LDAP) && !defined(WITH_MYSQL) && !defined(WITH_PGSQL) || defined(WITH_PAM) CONFIGURE_ARGS+= --with-pam .endif --- pure-ftpd-1.0.19.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: