ports/80832: proftpd mod_ctrls enhancement
Matus UHLAR - fantomas
uhlar at fantomas.sk
Tue May 10 14:10:07 UTC 2005
The following reply was made to PR ports/80832; it has been noted by GNATS.
From: Matus UHLAR - fantomas <uhlar at fantomas.sk>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/80832: proftpd mod_ctrls enhancement
Date: Tue, 10 May 2005 16:01:14 +0200
--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
attached patch should help...
--
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux IS user friendly, it's just selective who its friends are...
--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="port-proftpd-Makefile.patch"
--- Makefile.orig Tue May 10 10:45:24 2005
+++ Makefile Tue May 10 11:11:38 2005
@@ -141,6 +141,10 @@
.if defined(WITH_CTRLS)
CONFIGURE_ARGS+= --enable-ctrls
MAN8+= ftpdctl.8
+PLIST_FILES+= sbin/ftpdctl
+.if !defined(WITHOUT_CTRLS_ADMIN)
+MODULES:=${MODULES}:mod_ctrls_admin
+.endif
.else
.endif
@@ -216,6 +220,11 @@
${WRKSRC}/sample-configurations/basic.conf ${PREFIX}/etc/proftpd.conf; \
fi
@${INSTALL_SCRIPT} ${WRKSRC}/proftpd.sh ${PREFIX}/etc/rc.d/proftpd${RC_SUFX}
+
+.if defined(WITH_CTRLS)
+ @${INSTALL_PROGRAM} ${WRKSRC}/ftpdctl ${PREFIX}/sbin/ftpdctl
+ @${INSTALL_MAN} ${WRKSRC}/src/ftpdctl.8 ${PREFIX}/man/man8/ftpdctl.8
+.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/proftpd
--yrj/dFKFPuw6o+aM--
More information about the freebsd-ports-bugs
mailing list