Lines 12-17
Link Here
|
12 |
MASTER_SITES= ftp://ftp.freeradius.org/pub/radius/ \ |
12 |
MASTER_SITES= ftp://ftp.freeradius.org/pub/radius/ \ |
13 |
ftp://ftp.ntua.gr/pub/net/radius/freeradius/ \ |
13 |
ftp://ftp.ntua.gr/pub/net/radius/freeradius/ \ |
14 |
ftp://ftp.uk.freeradius.org/pub/radius/ \ |
14 |
ftp://ftp.uk.freeradius.org/pub/radius/ \ |
|
|
15 |
ftp://ftp.us.freeradius.org/pub/radius/ \ |
15 |
ftp://ftp.freeradius.org/pub/radius/old/ \ |
16 |
ftp://ftp.freeradius.org/pub/radius/old/ \ |
16 |
http://freeradius.portal-to-web.de/ |
17 |
http://freeradius.portal-to-web.de/ |
17 |
|
18 |
|
Lines 29-35
Link Here
|
29 |
USE_GMAKE= yes |
30 |
USE_GMAKE= yes |
30 |
USE_OPENSSL= yes |
31 |
USE_OPENSSL= yes |
31 |
MAKE_ARGS+= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" |
32 |
MAKE_ARGS+= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" |
32 |
CFLAGS+= -I${LOCALBASE}/include |
33 |
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib |
33 |
|
34 |
|
34 |
PLIST_SUB= PORTVERSION=${PORTVERSION} |
35 |
PLIST_SUB= PORTVERSION=${PORTVERSION} |
35 |
|
36 |
|
Lines 45-61
Link Here
|
45 |
|
46 |
|
46 |
.include <bsd.port.pre.mk> |
47 |
.include <bsd.port.pre.mk> |
47 |
|
48 |
|
48 |
CONFIGURE_ARGS= --prefix=${PREFIX} --quiet --with-logdir=${LOGDIR} \ |
49 |
CONFIGURE_ARGS= --quiet \ |
|
|
50 |
--prefix=${PREFIX} \ |
49 |
--localstatedir=/var \ |
51 |
--localstatedir=/var \ |
|
|
52 |
--mandir=${PREFIX}/man \ |
50 |
--with-system-libtool \ |
53 |
--with-system-libtool \ |
51 |
--disable-ltdl-install \ |
|
|
52 |
--with-docdir=${DOCSDIR} \ |
54 |
--with-docdir=${DOCSDIR} \ |
53 |
--mandir=${PREFIX}/man \ |
55 |
--with-logdir=${LOGDIR} \ |
54 |
--with-large-files --without-rlm_sql_unixodbc \ |
56 |
--with-large-files \ |
55 |
--without-rlm_sql_oracle --without-rlm_sql_iodbc \ |
|
|
56 |
--without-rlm_sql_db2 \ |
57 |
--with-openssl-includes=${OPENSSLINC} \ |
57 |
--with-openssl-includes=${OPENSSLINC} \ |
58 |
--with-openssl-libraries=${OPENSSLLIB} |
58 |
--with-openssl-libraries=${OPENSSLLIB} \ |
|
|
59 |
--without-rlm_sql_unixodbc \ |
60 |
--without-rlm_sql_oracle \ |
61 |
--without-rlm_sql_iodbc \ |
62 |
--without-rlm_sql_db2 |
59 |
|
63 |
|
60 |
.if ${OSVERSION} < 500000 && ${OPENSSLBASE} == "/usr" |
64 |
.if ${OSVERSION} < 500000 && ${OPENSSLBASE} == "/usr" |
61 |
PLIST_SUB+= 4SSL="@comment " |
65 |
PLIST_SUB+= 4SSL="@comment " |
Lines 206-214
Link Here
|
206 |
.endif |
210 |
.endif |
207 |
|
211 |
|
208 |
post-install: |
212 |
post-install: |
209 |
@${MKDIR} ${PREFIX}/etc/raddb ${DATADIR} ${EXAMPLESDIR} |
213 |
@${MKDIR} ${PREFIX}/etc/raddb ${DATADIR} |
210 |
.for dict in ${DICTS} |
214 |
.for dict in ${DICTS} |
211 |
${INSTALL_DATA} ${WRKSRC}/share/${dict} ${DATADIR}/${dict} |
215 |
${INSTALL_DATA} ${WRKSRC}/share/${dict} ${DATADIR}/${dict} |
212 |
.endfor |
216 |
.endfor |
|
|
217 |
for i in `${FIND} ${PREFIX}/etc/raddb -maxdepth 1 -regex '.*\.sample' -print \ |
218 |
| ${SED} -e 's/\.sample//g'`; do \ |
219 |
if [ ! -f $${i} ]; then ${CP} -p $${i}.sample $${i}; fi; \ |
220 |
done |
213 |
|
221 |
|
214 |
.include <bsd.port.post.mk> |
222 |
.include <bsd.port.post.mk> |