From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 10 02:20:18 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 9E74216A4CE for ; Tue, 10 Feb 2004 02:20:18 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84B7A43D31 for ; Tue, 10 Feb 2004 02:20:18 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1AAKIbv021584 for ; Tue, 10 Feb 2004 02:20:18 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1AAKIIB021583; Tue, 10 Feb 2004 02:20:18 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 10 Feb 2004 02:20:18 -0800 (PST) Resent-Message-Id: <200402101020.i1AAKIIB021583@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, Sunpoet Po-Chuan Hsieh Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DC4516A4CE for ; Tue, 10 Feb 2004 02:17:28 -0800 (PST) Received: from IRIS.sunpoet.net (sunpoet.net [203.204.205.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A97D43D1D for ; Tue, 10 Feb 2004 02:17:28 -0800 (PST) (envelope-from sunpoet@IRIS.sunpoet.net) Received: by IRIS.sunpoet.net (Postfix, from userid 1000) id 0955717030; Tue, 10 Feb 2004 18:17:27 +0800 (CST) Message-Id: <20040210101727.0955717030@IRIS.sunpoet.net> Date: Tue, 10 Feb 2004 18:17:27 +0800 (CST) From: Sunpoet Po-Chuan Hsieh To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/62626: [ports/ftp/pure-ftpd] allow user to put certificate in other place X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sunpoet Po-Chuan Hsieh List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 10:20:18 -0000 >Number: 62626 >Category: ports >Synopsis: [ports/ftp/pure-ftpd] allow user to put certificate in other place >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Feb 10 02:20:18 PST 2004 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 5.2-CURRENT i386 >Organization: SUNPOET.net >Environment: System: FreeBSD IRIS.sunpoet.net 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sun Dec 21 18:12:22 CST 2003 root@:/usr/obj/usr/src/sys/sunpoet i386 >Description: pure-ftpd with TLS enabled uses /etc/ssl/private/pure-ftpd.pem as its certificate by default. This patch allows user to put their certificate in other place. >How-To-Repeat: % cd /usr/ports/ftp/pure-ftpd/work/pure-ftpd-1.0.17a/ % grep -- --with-certfile configure.ac [AC_HELP_STRING([--with-certfile=],[certificate file (default: /etc/ssl/private/pure-ftpd.pem)])], >Fix: % diff -u Makefile.orig Makefile --- Makefile.orig Sun Dec 21 18:04:27 2003 +++ Makefile Thu Jan 1 04:09:54 2004 @@ -62,6 +62,11 @@ CONFIGURE_ARGS+= --with-privsep .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) CONFIGURE_ARGS+= --with-pam >Release-Note: >Audit-Trail: >Unformatted: