If we need to make an exception we can do it and properly document the reason but by default we should just use the default login class. rc.d uses daemon or the login class provided in login.conf.d so this has no impact there. discussed with sthen@, tb@ and robert@ praying that my grep/sed skills did not break anything and still believing in portbump :-)
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
COMMENT= FTP daemon which aims to be secure
|
|
|
|
DISTNAME= vsftpd-3.0.5
|
|
CATEGORIES= net
|
|
REVISION= 0
|
|
|
|
HOMEPAGE= http://vsftpd.beasts.org/
|
|
|
|
# GPLv2+OpenSSL exemption
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB= c crypto ssl util
|
|
|
|
MASTER_SITES= https://security.appspot.com/downloads/
|
|
|
|
ALL_TARGET= vsftpd
|
|
|
|
MAKE_FLAGS= CC="${CC}" \
|
|
CFLAGS="${CFLAGS}"
|
|
|
|
NO_TEST= Yes
|
|
|
|
do-configure:
|
|
@perl -pi -e "s,/usr/share/ssl/certs/,/etc/ssl/private/,g" \
|
|
${WRKSRC}/tunables.c \
|
|
${WRKSRC}/README.ssl
|
|
@perl -pi -e "s,/etc/vsftpd,${SYSCONFDIR}/vsftpd,g" \
|
|
${WRKSRC}/defs.h \
|
|
${WRKSRC}/vsftpd.conf.5 \
|
|
${WRKSRC}/vsftpd.8
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vsftpd
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vsftpd
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vsftpd ${PREFIX}/sbin/
|
|
${INSTALL_MAN} ${WRKSRC}/vsftpd.8 ${PREFIX}/man/man8
|
|
${INSTALL_MAN} ${WRKSRC}/vsftpd.conf.5 ${PREFIX}/man/man5
|
|
${INSTALL_DATA} ${WRKSRC}/vsftpd.conf ${PREFIX}/share/examples/vsftpd
|
|
|
|
.for d in FAQ INSTALL README README.ssl
|
|
${INSTALL_DATA} ${WRKSRC}/$d ${PREFIX}/share/doc/vsftpd
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|