2013-08-01 00:17:27 +02:00
|
|
|
# Created by: will
|
2001-04-08 01:24:24 +02:00
|
|
|
|
|
|
|
PORTNAME= bftpd
|
2021-08-14 02:24:58 +02:00
|
|
|
PORTVERSION= 6.0
|
2001-04-08 01:24:24 +02:00
|
|
|
CATEGORIES= ftp
|
2009-08-22 02:20:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2001-04-08 01:24:24 +02:00
|
|
|
|
2021-08-14 02:24:58 +02:00
|
|
|
MAINTAINER= jsmith@resonatingmedia.com
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Very configurable FTP server that can do chroot easily
|
2001-04-08 01:24:24 +02:00
|
|
|
|
2011-05-20 20:35:18 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2021-09-10 07:39:54 +02:00
|
|
|
USES= autoreconf gmake
|
|
|
|
|
2017-12-24 18:21:51 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --enable-pam
|
2020-08-27 21:19:14 +02:00
|
|
|
# Fix build with clang 11
|
|
|
|
CFLAGS+= -fcommon
|
2019-09-09 14:29:20 +02:00
|
|
|
|
2010-04-17 21:59:24 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2014-03-06 19:36:11 +01:00
|
|
|
PLIST_FILES= sbin/${PORTNAME} etc/${PORTNAME}.conf.sample \
|
|
|
|
man/man8/bftpd.8.gz
|
2010-09-06 14:33:09 +02:00
|
|
|
PORTDOCS= en pl sk
|
2001-04-08 01:24:24 +02:00
|
|
|
|
2018-09-10 15:14:50 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2001-07-07 07:32:43 +02:00
|
|
|
post-patch:
|
2003-01-05 19:08:40 +01:00
|
|
|
@${REINPLACE_CMD} -e 's,/etc/bftpd.conf,${PREFIX}/etc/bftpd.conf,' \
|
|
|
|
${WRKSRC}/mypaths.h
|
2011-05-20 20:35:18 +02:00
|
|
|
@${REINPLACE_CMD} -e 's, -ldl,,g' ${WRKSRC}/configure.in
|
2001-07-07 07:32:43 +02:00
|
|
|
|
2007-03-25 12:45:35 +02:00
|
|
|
do-install:
|
2014-03-06 19:36:11 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/bftpd.conf ${STAGEDIR}${PREFIX}/etc/bftpd.conf.sample
|
|
|
|
@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
2001-04-08 01:24:24 +02:00
|
|
|
|
2015-09-18 16:01:06 +02:00
|
|
|
.include <bsd.port.mk>
|