Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2004 13:39:45 +0300
From:      Sergey Matveychuk <sem@ciam.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/62104: [MAINTAINER] ftp/frox: Utilize OPTIONS
Message-ID:  <E1AmW3t-0004XZ-3v@Current.sem-home.ciam.ru>
Resent-Message-ID: <200401301040.i0UAeMZL057556@freefall.freebsd.org>

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

>Number:         62104
>Category:       ports
>Synopsis:       [MAINTAINER] ftp/frox: Utilize 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:   Fri Jan 30 02:40:22 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Matveychuk
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD Current.sem-home.ciam.ru 5.2-RELEASE FreeBSD 5.2-RELEASE #6: Sat Jan 17 16:12:04 MSK 2004
>Description:
Utilize OPTIONS. My first experience.

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

--- frox-0.7.12.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/ftp/frox.orig/Makefile /usr/ports/ftp/frox/Makefile
--- /usr/ports/ftp/frox.orig/Makefile	Tue Jan 27 22:06:41 2004
+++ /usr/ports/ftp/frox/Makefile	Tue Jan 20 23:57:51 2004
@@ -2,7 +2,7 @@
 # Date created:				11 June 2002
 # Whom:					Sergey Matveychuk <sem@ciam.ru>
 #
-# $FreeBSD: ports/ftp/frox/Makefile,v 1.10 2004/01/26 21:52:52 sergei Exp $
+# $FreeBSD: ports/ftp/frox/Makefile,v 1.9 2004/01/19 08:16:22 krion Exp $
 #
 
 PORTNAME=	frox
@@ -60,19 +60,14 @@
 CONFIGURE_ARGS+=	--enable-run-as-root
 .endif
 
-pre-fetch:
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "You can use the following build options:"
-	@${ECHO_MSG}
-	@${ECHO_MSG} "	WITH_IPFILTER=yes	use ipfilter instead of ipfw;"
-	@${ECHO_MSG} "	WITH_VIRUS_SCAN=yes	enable to run external virus scaner on each"
-	@${ECHO_MSG} "				download (experimental);"
-	@${ECHO_MSG} "	WITHOUT_HTTP_CACHE=yes	disable use of external cache;"
-	@${ECHO_MSG} "	WITHOUT_LOCAL_CACHE=yes	disable use of local cache;"
-	@${ECHO_MSG} "	WITHOUT_CCP=yes		disable ftp-proxy style command control programs;"
-	@${ECHO_MSG} "	RUN_AS_ROOT=yes		allow frox running as root for using"
-	@${ECHO_MSG} "				port number <1024 (not recomended)."
-	@${ECHO_MSG} ""
+.include <bsd.port.pre.mk>
+
+OPTIONS=	IPFILTER "Use ipfilter instead of ipfw" off \
+		VIRUS_SCAN "Run external virus scaner on each download" off \
+		HTTP_CACHE "Enable use of external cache" on \
+		LOCAL_CACHE "Enable use of local cache" off \
+		CCP "Ftp-proxy style command control programs" on \
+		AS_ROOT "Allow frox running as root (not recomended)" off
 
 pre-patch:
 	@${SED} ${SED_SCRIPT} ${PKGDIR}/pkg-message >${PKGMESSAGE}
@@ -96,4 +91,4 @@
 	${INSTALL_SCRIPT} -m 751 ${WRKDIR}/frox.sh ${RC_DIR}/frox${RC_SUFX}; \
 	${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- frox-0.7.12.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1AmW3t-0004XZ-3v>