2009-04-01 03:29:16 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2009/04/01 07:29:16 ajacoutot Exp $
|
2003-02-19 10:42:02 -05:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= Ftp daemon which aims to be secure
|
2003-02-19 10:42:02 -05:00
|
|
|
|
2009-03-27 07:54:49 -04:00
|
|
|
DISTNAME= vsftpd-2.1.0
|
2009-04-01 03:29:16 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2003-02-19 10:42:02 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://vsftpd.beasts.org/
|
|
|
|
|
2005-07-03 14:06:37 -04:00
|
|
|
# GPLv2
|
2003-02-19 10:42:02 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-04-01 03:29:16 -04:00
|
|
|
|
2005-07-03 14:06:37 -04:00
|
|
|
WANTLIB= c crypto util ssl wrap
|
2003-02-19 10:42:02 -05:00
|
|
|
|
|
|
|
MASTER_SITES= ftp://vsftpd.beasts.org/users/cevans/
|
|
|
|
|
|
|
|
ALL_TARGET= vsftpd
|
|
|
|
|
2006-05-30 20:10:12 -04:00
|
|
|
MAKE_FLAGS= CC="${CC}" \
|
|
|
|
CFLAGS="${CFLAGS}"
|
2004-02-07 01:38:12 -05:00
|
|
|
|
2004-02-06 16:16:02 -05:00
|
|
|
NO_REGRESS= Yes
|
2003-05-20 07:12:08 -04:00
|
|
|
|
2003-06-23 15:08:52 -04:00
|
|
|
do-configure:
|
|
|
|
@perl -pi -e "s,%%SYSCONFDIR%%,${SYSCONFDIR}," ${WRKSRC}/defs.h
|
2005-09-16 12:40:19 -04:00
|
|
|
@perl -pi -e "s,/usr/share/ssl/certs/,/etc/ssl/private/,g" \
|
|
|
|
${WRKSRC}/tunables.c \
|
|
|
|
${WRKSRC}/README.ssl
|
2006-01-28 16:57:51 -05:00
|
|
|
@perl -pi -e "s,/etc/vsftpd,${SYSCONFDIR}/vsftpd,g" \
|
|
|
|
${WRKSRC}/vsftpd.conf.5 \
|
|
|
|
${WRKSRC}/vsftpd.8
|
2003-06-23 15:08:52 -04:00
|
|
|
|
2003-02-19 10:42:02 -05:00
|
|
|
do-install:
|
2005-09-16 12:40:19 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vsftpd
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vsftpd
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vsftpd ${PREFIX}/sbin/
|
2003-02-19 10:42:02 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/vsftpd.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/vsftpd.conf.5 ${PREFIX}/man/man5
|
2005-09-16 12:40:19 -04:00
|
|
|
${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
|
2003-02-19 10:42:02 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|