summaryrefslogtreecommitdiffstats
path: root/net/radius/Makefile
blob: dab41df5c5ba4f2c0bac42d5668c2202d3127426 (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
# New ports collection makefile for:	radius
# Date created:		4. July 1996
# Whom:			torstenb@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=	radius-basic
PORTVERSION=	3.6B2
CATEGORIES=	net
DISTNAME=	radius.${PORTVERSION}.basic

MAINTAINER=	ports@FreeBSD.org

# restrictive copyright in several files, e.g., "src/sendserver.c"
RESTRICTED=	redistribution in binary only
NO_CDROM=	not allowed to charge fee for redistribution

FORBIDDEN=	"Remotely exploitable buffer overflow"

NO_WRKSUBDIR=	yes
INSTALL_TARGET=	install-all
MAKE-FLAGS+=	-DPREFIX=${PREFIX}
MAN5=		authfile.5 clients.5 dictionary.5 engine.config.5 \
		radius.fsm.5 users.5 vendors.5
MAN8=		builddbm.8 dnscheck.8 radcheck.8 radiusd.8 radpwtst.8

pre-install:
	@${MKDIR} ${PREFIX}/lib/radius/db ${PREFIX}/lib/radius/acct

.include <bsd.port.pre.mk>

.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Goto radius\' website: \
	\"http://www.interlinknetworks.com/downloads/\#freeware\" \
	to get more info on downloading the tarball, then place \
	${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR} and run make again"
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud