aboutsummaryrefslogtreecommitdiffstats
path: root/net/radiusd-cistron/Makefile
blob: 0346f5d8253c91535754cb31c80eb993eaf4b072 (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
# Created by: john@nlc.net.au
# $FreeBSD$

PORTNAME=   radiusd-cistron
PORTVERSION=    1.6.8
PORTREVISION=   3
CATEGORIES= net
MASTER_SITES=   ftp://ftp.radius.cistron.nl/pub/radius/

MAINTAINER= ports@FreeBSD.org
COMMENT=    RADIUS-compliant remote authentication and accounting server

LICENSE=    GPLv2+

BROKEN=     unfetchable
DEPRECATED= Unfetchable, unmaintained
EXPIRATION_DATE=    2019-10-16

CONFLICTS?= freeradius-0.* gnu-radius-1.* openradius-0.*

USES=       shebangfix
SHEBANG_FILES=  src/checkrad.pl
MAKEFILE=   Makefile.BSD
RADIUS_DIR= ${PREFIX}/etc/raddb
MAKE_ENV=   RADIUS_DIR="${RADIUS_DIR}" DESTROOT="${STAGEDIR}"
BUILD_WRKSRC=   ${WRKSRC}/src
INSTALL_WRKSRC= ${WRKSRC}/src
MAKE_JOBS_UNSAFE=   yes

USE_RC_SUBR=    radiusd-cistron radrelay-cistron
DOCFILES=   COPYRIGHT INSTALL doc/ChangeLog doc/README doc/README.Y2K \
        doc/README.cisco doc/README.pam doc/README.proxy \
        doc/README.simul doc/README.usersfile

OPTIONS_DEFINE= PAM DOCS # PAM is used in pkg-plist
OPTIONS_DEFAULT=PAM
OPTIONS_SUB=    yes

post-install:
    @${MKDIR} ${STAGEDIR}/var/log/radacct

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>