ports/68644: Additional make flag for ProFTPd
Krzysztof Stryjek
wtp+proftpd at bsdguru.org
Sat Jul 3 22:00:34 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list