ports/55905: [MAINTAINER] ftp/frox
Sergey Matveychuk
sem at ciam.ru
Sat Aug 23 21:30:23 UTC 2003
>Number: 55905
>Category: ports
>Synopsis: [MAINTAINER] ftp/frox
>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: Sat Aug 23 14:30:19 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Sergey Matveychuk
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD sem-home.ciam.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #4: Thu Jul 31 11:50:58 MSD 2003
>Description:
- Utilize DOCSDIR
- ${ECHO} -> ${ECHO_MSG}
- make portlint hapy: change spaces with tabs, change ${file} with ${f}
Generated with FreeBSD Port Tools 0.25
>How-To-Repeat:
>Fix:
--- frox-0.7.8.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/ftp/frox.orig/Makefile /usr/ports/ftp/frox/Makefile
--- /usr/ports/ftp/frox.orig/Makefile Sat Aug 23 23:41:14 2003
+++ /usr/ports/ftp/frox/Makefile Sun Aug 24 01:09:32 2003
@@ -8,7 +8,7 @@
PORTNAME= frox
PORTVERSION= 0.7.8
CATEGORIES= ftp
-MASTER_SITES= http://www.hollo.org/frox/download/ \
+MASTER_SITES= http://www.hollo.org/frox/download/ \
http://frox.sourceforge.net/download/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -27,40 +27,40 @@
PKGMESSAGE= ${WRKDIR}/pkg-message
-CONFIGURE_ARGS= --enable-configfile=${PREFIX}/etc/frox.conf
+CONFIGURE_ARGS= --enable-configfile=${PREFIX}/etc/frox.conf
.if defined(WITH_IPFILTER)
-CONFIGURE_ARGS+= --enable-ipfilter
+CONFIGURE_ARGS+= --enable-ipfilter
.endif
.if defined(WITH_VIRUS_SCAN)
-CONFIGURE_ARGS+= --enable-virus-scan
+CONFIGURE_ARGS+= --enable-virus-scan
.endif
.if !defined(WITHOUT_HTTP_CACHE)
-CONFIGURE_ARGS+= --enable-http-cache
+CONFIGURE_ARGS+= --enable-http-cache
.endif
.if !defined(WITHOUT_LOCAL_CACHE)
-CONFIGURE_ARGS+= --enable-local-cache
+CONFIGURE_ARGS+= --enable-local-cache
.endif
.if !defined(WITHOUT_CCP)
-CONFIGURE_ARGS+= --enable-ccp
+CONFIGURE_ARGS+= --enable-ccp
.endif
.if defined(RUN_AS_ROOT)
-CONFIGURE_ARGS+= --enable-run-as-root
+CONFIGURE_ARGS+= --enable-run-as-root
.endif
pre-fetch:
- @${ECHO} ""
- @${ECHO} "You can use the following build options:"
- @${ECHO} ""
- @${ECHO} " WITH_IPFILTER=yes use ipfilter instead of ipfw;"
- @${ECHO} " WITH_VIRUS_SCAN=yes enable to run external virus scaner on each"
- @${ECHO} " download (experimental);"
- @${ECHO} " WITHOUT_HTTP_CACHE=yes disable use of external cache;"
- @${ECHO} " WITHOUT_LOCAL_CACHE=yes disable use of local cache;"
- @${ECHO} " WITHOUT_CCP=yes disable ftp-proxy style command control programs;"
- @${ECHO} " RUN_AS_ROOT=yes allow frox running as root for using"
- @${ECHO} " port number <1024 (not recomended)."
- @${ECHO} ""
+ @${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} ""
pre-patch:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message >${PKGMESSAGE}
@@ -74,13 +74,13 @@
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
-.for file in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
.endfor
.endif
@${STRIP_CMD} ${PREFIX}/sbin/frox
@if [ ! -f ${PREFIX}/etc/rc.d/${PORTNAME}.sh ]; then \
- ${ECHO_CMD} "Install ${PREFIX}/etc/rc.d/${PORTNAME}.sh startup file."; \
+ ${ECHO_MSG} "Install ${PREFIX}/etc/rc.d/${PORTNAME}.sh startup file."; \
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/${PORTNAME}.sh ${PREFIX}/etc/rc.d/${PORTNAME}.sh; \
fi
@${CAT} ${PKGMESSAGE}
diff -ruN --exclude=CVS /usr/ports/ftp/frox.orig/pkg-plist /usr/ports/ftp/frox/pkg-plist
--- /usr/ports/ftp/frox.orig/pkg-plist Sat Aug 23 23:41:14 2003
+++ /usr/ports/ftp/frox/pkg-plist Sat Aug 23 23:41:35 2003
@@ -1,8 +1,8 @@
sbin/frox
etc/frox.conf.sample
etc/rc.d/frox.sh
-%%PORTDOCS%%share/doc/frox/FAQ
-%%PORTDOCS%%share/doc/frox/SECURITY
-%%PORTDOCS%%share/doc/frox/CREDITS
-%%PORTDOCS%%share/doc/frox/ChangeLog
-%%PORTDOCS%%@dirrm share/doc/frox
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/SECURITY
+%%PORTDOCS%%%%DOCSDIR%%/CREDITS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- frox-0.7.8.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list