version 1.1.1.6, 2021/03/17 00:39:23
|
version 1.1.1.6.2.1, 2023/09/27 11:08:00
|
Line 60 USE_TCP_WRAP= yes
|
Line 60 USE_TCP_WRAP= yes
|
#USE_AUTH_OPIE= yes |
#USE_AUTH_OPIE= yes |
USE_AUTH_PAM= yes |
USE_AUTH_PAM= yes |
USE_AUTH_SYSTEM= yes |
USE_AUTH_SYSTEM= yes |
|
USE_RADIUS?= yes |
|
|
# Build without builtin web server. |
# Build without builtin web server. |
#NOWEB= yes |
#NOWEB= yes |
Line 108 CFLAGS+= -DUSE_SYSTEM
|
Line 109 CFLAGS+= -DUSE_SYSTEM
|
LDADD+= -lnetgraph -lutil |
LDADD+= -lnetgraph -lutil |
DPADD+= ${LIBNETGRAPH} |
DPADD+= ${LIBNETGRAPH} |
|
|
|
.if defined ( USE_RADIUS ) && ( ${USE_RADIUS} == yes ) |
LDADD+= -L/usr/lib -lradius |
LDADD+= -L/usr/lib -lradius |
DPADD+= ${LIBRADIUS} |
DPADD+= ${LIBRADIUS} |
|
.endif |
|
|
# Obtained from bsd.port.mk |
# Obtained from bsd.port.mk |
.if !defined ( OSVERSION ) |
.if !defined ( OSVERSION ) |
Line 147 CFLAGS+= -DMPD_VENDOR='"${MPD_VENDOR}"'
|
Line 150 CFLAGS+= -DMPD_VENDOR='"${MPD_VENDOR}"'
|
CFLAGS+= -DSYSLOG_FACILITY='"${SYSLOG_FACILITY}"' |
CFLAGS+= -DSYSLOG_FACILITY='"${SYSLOG_FACILITY}"' |
.endif |
.endif |
|
|
|
CFLAGS+= -DOPENSSL_API_COMPAT=10100 |
|
|
# Standard sources |
# Standard sources |
|
|
STDSRCS= assert.c auth.c bund.c rep.c ccp.c chap.c \ |
STDSRCS= assert.c auth.c bund.c rep.c ccp.c chap.c \ |
console.c command.c ecp.c event.c fsm.c iface.c input.c \ |
console.c command.c ecp.c event.c fsm.c iface.c input.c \ |
ip.c ipcp.c ipv6cp.c lcp.c link.c log.c main.c mbuf.c mp.c \ |
ip.c ipcp.c ipv6cp.c lcp.c link.c log.c main.c mbuf.c mp.c \ |
msg.c ngfunc.c pap.c phys.c proto.c radius.c radsrv.c timer.c \ | msg.c ngfunc.c pap.c phys.c proto.c timer.c \ |
util.c vars.c eap.c msoft.c ippool.c | util.c vars.c msoft.c ippool.c |
| |
| .if defined ( USE_RADIUS ) && ( ${USE_RADIUS} == yes ) |
| STDSRCS+= eap.c radius.c radsrv.c |
| .endif |
|
|
.if defined ( NOWEB ) |
.if defined ( NOWEB ) |
CFLAGS+= -DNOWEB |
CFLAGS+= -DNOWEB |