ports/64673: [MAINTAINER] ftp/frox: fix default options

Sergey Matveychuk sem at ciam.ru
Wed Mar 24 23:00:37 UTC 2004


>Number:         64673
>Category:       ports
>Synopsis:       [MAINTAINER] ftp/frox: fix default options
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 24 15:00:37 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Matveychuk
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD Current.sem-home.ciam.ru 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #5: Fri Mar 12 03:47:38 MSK 2004
>Description:
[DESCRIBE CHANGES]
- fix default options

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- frox-0.7.13.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/ftp/frox.orig/Makefile /usr/ports/ftp/frox/Makefile
--- /usr/ports/ftp/frox.orig/Makefile	Thu Mar 25 01:50:04 2004
+++ /usr/ports/ftp/frox/Makefile	Thu Mar 25 01:51:22 2004
@@ -47,10 +47,15 @@
 		LOCAL_CACHE "Enable use of local cache" off \
 		CCP "Ftp-proxy style command control programs" on \
 		ROOT_RUN "Allow frox running as root (not recomended)" off
-WITH_HTTP_CACHE?=	yes
-WITH_CCP?=	yes
-
 .include <bsd.port.pre.mk>
+
+# Set default options
+.if !defined(WITHOUT_HTTP_CACHE)
+WITH_HTTP_CACHE=	yes
+.endif
+.if !defined(WITHOUT_CCP)
+WITH_CCP=	yes
+.endif
 
 .if defined(WITH_IPFILTER)
 CONFIGURE_ARGS+=	--enable-ipfilter
--- frox-0.7.13.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list