Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  3 Jul 2004 23:51:32 +0200 (CEST)
From:      Krzysztof Stryjek <wtp+proftpd@bsdguru.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68644: Additional make flag for ProFTPd
Message-ID:  <20040703215132.9B82D263DE@kryptos.mud.pl>
Resent-Message-ID: <200407032200.i63M0Xep006791@freefall.freebsd.org>

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

>Number:         68644
>Category:       ports
>Synopsis:       Additional make flag for ProFTPd
>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:   Sat Jul 03 22:00:33 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Krzysztof Stryjek
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
private
>Environment:
System: FreeBSD kryptos.mud.pl 4.10-STABLE FreeBSD 4.10-STABLE #4: Fri Jun 25 00:19:36 CEST 2004 toor@kryptos.mud.pl:/usr/obj/usr/src/sys/POOH i386

>Description:
	ProFTPd is powerful FTPd demona. It's possible to compile additional
modules for it, for exampople mod_ldap, mod_ssl and others. But there is no
option to compile quotatab-modules. These are file, LDAP and SQL based
quotas.

>How-To-Repeat:
	Just cd ${PORTS}/ftp/proftpd/ && make

>Fix:
	Here is port's Makefile patch which includes possibility to compile
quotas for ftpd.

------------------------------- cut here ---------------------------------------
--- Makefile.orig	Sat May 15 04:07:22 2004
+++ Makefile	Sat Jul  3 23:43:24 2004
@@ -107,6 +107,16 @@
 PROFTPD_LIBS+=	-lssl -lcrypto
 .endif
 
+.if defined(WITH_QUOTA)
+MODULES:=${MODULES}:mod_quotatab:mod_quotatab_file
+.if defined(WITH_LDAP)
+MODULES:=${MODULES}:mod_quotatab_ldap
+.endif
+.if defined(WITH_POSTGRESQL) || defined(WITH_MYSQL)
+MODULES:=${MODULES}:mod_quotatab_sql
+.endif
+.endif
+
 # Keep this here below, in case similar constructs need to be made
 CONFIGURE_ENV+=	"LIBS=${PROFTPD_LIBS}"
 
------------------------------- cut here ---------------------------------------

I hope this patch will be useful for other administrators.

Greetings from Poland
Krzysztof Stryjek
>Release-Note:
>Audit-Trail:
>Unformatted:



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