aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/wu-ftpd/Makefile
blob: 3342e8c31f8f28b6792d1c3aba5ee11a737be20d (plain) (blame)
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
# New ports collection makefile for:    wu-ftpd
# Date created:     18 Oct 1994
# Whom:         torstenb
#
# $FreeBSD$
#
# REMINDER: to use ftpaccess(5) you need to specify -a in command line,
# it is changed from previous versions

PORTNAME=   wu-ftpd
PORTVERSION=    2.6.2
PORTREVISION=   6
CATEGORIES= ftp
MASTER_SITES=   ftp://ftp.wu-ftpd.org/pub/wu-ftpd/
PATCH_SITES=    ftp://ftp.wu-ftpd.org/pub/wu-ftpd/patches/apply_to_2.6.2/
PATCHFILES= connect-dos.patch realpath.patch

MAINTAINER= ache@FreeBSD.org
COMMENT=    A replacement ftp server for Un*x systems

CONFLICTS=  wu-ftpd+ipv6-[0-9]* heimdal-[0-9]*

USE_AUTOTOOLS=  autoconf:213
CONFIGURE_ARGS= --enable-rfc931 --disable-pasvip \
        --enable-noop --disable-numericuid  --enable-nlst-dirs \
        --prefix=${PREFIX} --with-etc-dir=${PREFIX}/etc

.if !defined(WITH_PAM)
CONFIGURE_ARGS+= --enable-opie
.else
CONFIGURE_ARGS+= --enable-pam
EXTRA_PATCHES+= ${FILESDIR}/ftpd.c-pam
.endif

MAKE_ENV+=  WARNINGS=-DSPT_TYPE=SPT_BUILTIN

MAN1=       ftpcount.1 ftpwho.1
MAN5=       ftpaccess.5 ftphosts.5 ftpconversions.5 xferlog.5 \
        ftpservers.5
MAN8=       ftpd.8 ftpshut.8 ftprestart.8 privatepw.8

.include <bsd.port.mk>