ports/148403: [patch] ftp/proftpd-devel Add shaper module option

Loic Pefferkorn loic-freebsd at loicp.eu
Tue Jul 6 10:00:10 UTC 2010


>Number:         148403
>Category:       ports
>Synopsis:       [patch] ftp/proftpd-devel Add shaper module option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 06 10:00:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Loic Pefferkorn
>Release:        8.0-RELEASE
>Organization:
>Environment:
FreeBSD zoidberg-vm3.foo 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009     root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Patch adding the possibility to use proftpd's shaper module. Stolen from ftp/proftpd Makefile.
>How-To-Repeat:

>Fix:
Attached patch.

Patch attached with submission follows:

--- /tmp/Makefile.orig	2010-06-23 15:11:11.000000000 +0200
+++ Makefile	2010-06-23 15:14:13.000000000 +0200
@@ -69,6 +69,7 @@
 		LDAP_TLS "Use LDAP TLS (Requires LDAP, OPENSSL)" off\
 		MYSQL "MySQL auth (Can be combined)" off \
 		PGSQL "Postgres auth (Can be combined)" off \
+		SHAPER "Shaper module" off \
 		SQLITE "SQLite auth (Can be combined)" off \
 		ODBC "ODBC (Can be combined)" off \
 		OPENSSL "Include mod_tls" on \
@@ -135,6 +136,10 @@
 MODULES:=${MODULES}:mod_radius
 .endif
 
+.if defined(WITH_SHAPER)
+MODULES:=${MODULES}:mod_shaper
+.endif
+
 .if defined(WITH_QUOTATAB_RADIUS)
 MODULES:=${MODULES}:mod_quotatab_radius
 .endif


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list