2005-07-03 14:06:37 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2005/07/03 18:06:37 aanriot Exp $
|
2003-02-19 10:42:02 -05:00
|
|
|
|
|
|
|
COMMENT= "Ftp daemon which aims to be secure"
|
|
|
|
|
2005-04-07 14:59:46 -04:00
|
|
|
VERSION= 2.0.3
|
2003-02-19 10:42:02 -05:00
|
|
|
DISTNAME= vsftpd-${VERSION}
|
2005-07-03 14:06:37 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2003-02-19 10:42:02 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://vsftpd.beasts.org/
|
|
|
|
|
2005-06-28 13:46:43 -04:00
|
|
|
MAINTAINER= Alexandre Anriot <aanriot@openbsd.org>
|
2005-02-27 11:37:22 -05:00
|
|
|
|
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
|
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
|
|
|
|
|
2004-02-07 01:38:12 -05:00
|
|
|
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} -Wall -W -Wshadow"
|
|
|
|
|
2003-05-20 07:12:08 -04:00
|
|
|
SAMPLEDIR= ${PREFIX}/share/examples/vsftpd
|
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
|
|
|
|
|
2003-02-19 10:42:02 -05:00
|
|
|
do-install:
|
|
|
|
${INSTALL} ${WRKSRC}/vsftpd ${PREFIX}/sbin/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/vsftpd.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/vsftpd.conf.5 ${PREFIX}/man/man5
|
2003-05-20 07:12:08 -04:00
|
|
|
${INSTALL_DATA_DIR} ${SAMPLEDIR}
|
|
|
|
@cp -r ${WRKSRC}/EXAMPLE/* ${SAMPLEDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/vsftpd.conf ${SAMPLEDIR}
|
2003-02-19 10:42:02 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|