summaryrefslogtreecommitdiff
path: root/net/wu-ftpd/Makefile
blob: 33b69657fca03d011999e366ef03d1fdaf171e95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# $NetBSD: Makefile,v 1.25 2004/02/14 00:54:45 grant Exp $
# FreeBSD Id: Makefile,v 1.16 1997/12/24 17:45:28 ache Exp
#

DISTNAME=	wu-ftpd-2.6.2
PKGREVISION=	2
CATEGORIES=	net
MASTER_SITES=   ftp://ftp.wu-ftpd.org/pub/wu-ftpd/ \
		ftp://ftp.landfield.com/wu-ftpd/wu-ftpd.org/wu-ftpd/ \
		ftp://ftp.academy.rpi.edu/pub/wu-ftpd/wu-ftpd/ \
		ftp://ftp.auscert.org.au/pub/mirrors/ftp.wu-ftpd.org/wu-ftpd/ \
		ftp://mirror.aarnet.edu.au/pub/wu-ftpd/wu-ftpd/ \
		http://mirror.aarnet.edu.au/pub/wu-ftpd/wu-ftpd/ \
		ftp://ftp.tuwien.ac.at/infosys/servers/ftp/wu-ftpd/wu-ftpd/ \
		http://gd.tuwien.ac.at/infosys/servers/ftp/wu-ftpd/wu-ftpd/ \
		ftp://ftp.crc.ca/pub/packages/ftp/servers/wuarchive-ftpd-dg/wu-ftpd/ \
		ftp://ftp.dpn.de/pub/mirrors/wu-ftpd/wu-ftpd/ \
		ftp://ftp.tu-clausthal.de/pub/mirror/wu-ftpd/wu-ftpd/ \
		ftp://ftp.freenet.de/pub/ftp.wu-ftpd.org/pub/wu-ftpd/ \
		ftp://ftp.hol.gr/pub/packages/wu-ftpd/wu-ftpd/ \
		ftp://ftp.kfki.hu/pub/infosystems/wu-ftpd/wu-ftpd/ \
		ftp://ftp.ring.gr.jp/pub/net/wu-ftpd/wu-ftpd/ \
		ftp://ftp.win.ne.jp/pub/network/wu-ftpd/wu-ftpd/ \
		ftp://ftp.bitcon.no/pub/unix/networking/wu-ftpd/wu-ftpd/ \
		ftp://ftp.sunet.se/pub/nir/ftp/servers/wuarchive-ftpd/wu-ftpd/ \
		ftp://sunsite.cnlab-switch.ch/mirror/wu-ftpd/wu-ftpd/ \
		ftp://ftp.ox.ac.uk/pub/comp/security/COAST/mirrors/ftp.vr.net/wu-ftpd/

PATCHFILES=	realpath.patch connect-dos.patch
PATCH_SITES=	ftp://ftp.wu-ftpd.org/pub/wu-ftpd/patches/apply_to_2.6.2/

MAINTAINER=	rh@NetBSD.org
HOMEPAGE=	http://www.wu-ftpd.org/
COMMENT=	Replacement ftp server for Un*x systems

CONFLICTS=	wu-ftpd-vr-[0-9]*
CONFLICTS+=	beroftpd-[0-9]*
CONFLICTS+=	kth-krb4-[0-9]*
CONFLICTS+=	lukemftpd-[0-9]*

GNU_CONFIGURE=	YES
CONFIGURE_ARGS+=--enable-quota --enable-noop --enable-skey

DIST_SUBDIR=		wu-ftpd

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "NetBSD" && make(do-configure)
CFLAGS+=	-DHAVE_SYS_MOUNT
.endif

MAKE_ENV+=	INSTALL="${INSTALL}"
MAKE_ENV+=	INSTALL_PROGRAM="${INSTALL_PROGRAM}"
MAKE_ENV+=	INSTALL_DATA="${INSTALL_DATA}"
MAKE_ENV+=	INSTALL_MAN="${INSTALL_MAN}"

.include "../../mk/bsd.pkg.mk"