aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/wu-ftpd+ipv6/Makefile
blob: 56287f652554b47b2c8251e645622f25b92041cd (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
43
44
45
46
# New ports collection makefile for:    wu-ftpd+ipv6
# Date created:     30 Aug 2002
# Whom:         sumikawa
#
# $FreeBSD$
#
# REMINDER: to use ftpaccess(5) you need to specify -a in command line,
# it is changed from previous versions

PORTNAME=   wu-ftpd+ipv6
PORTVERSION=    2.6.2
PORTREVISION=   8
CATEGORIES= ftp ipv6
MASTER_SITES=   ftp://ftp.wu-ftpd.org/pub/wu-ftpd/
DISTNAME=   wu-ftpd-${PORTVERSION}

PATCH_SITES=    ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= wu-ftpd-262-v6-20040130.diff.gz
PATCH_DIST_STRIP=   -p1

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

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

USE_AUTOTOOLS=  autoconf:213
CONFIGURE_ARGS= --enable-rfc931 --disable-pasvip \
        --enable-noop --disable-numericuid  --enable-nlst-dirs \
        --enable-ipv6 \
        --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>