FreeBSD Bugzilla – Attachment 74841 Details for
Bug 108196
[maintainer update] Various fixes to net/freeradius including easier 'out of the box' configuration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.49 KB, created by
David Wood
on 2007-01-22 00:20:15 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
David Wood
Created:
2007-01-22 00:20:15 UTC
Size:
3.49 KB
patch
obsolete
>diff -ruN /usr/ports/net/freeradius/Makefile /usr/ports_updated/net/freeradius/Makefile >--- /usr/ports/net/freeradius/Makefile Thu Jan 18 19:13:29 2007 >+++ /usr/ports_updated/net/freeradius/Makefile Sun Jan 21 23:05:12 2007 >@@ -12,6 +12,7 @@ > MASTER_SITES= ftp://ftp.freeradius.org/pub/radius/ \ > ftp://ftp.ntua.gr/pub/net/radius/freeradius/ \ > ftp://ftp.uk.freeradius.org/pub/radius/ \ >+ ftp://ftp.us.freeradius.org/pub/radius/ \ > ftp://ftp.freeradius.org/pub/radius/old/ \ > http://freeradius.portal-to-web.de/ > >@@ -29,7 +30,7 @@ > USE_GMAKE= yes > USE_OPENSSL= yes > MAKE_ARGS+= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" >-CFLAGS+= -I${LOCALBASE}/include >+CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib > > PLIST_SUB= PORTVERSION=${PORTVERSION} > >@@ -45,17 +46,20 @@ > > .include <bsd.port.pre.mk> > >-CONFIGURE_ARGS= --prefix=${PREFIX} --quiet --with-logdir=${LOGDIR} \ >+CONFIGURE_ARGS= --quiet \ >+ --prefix=${PREFIX} \ > --localstatedir=/var \ >+ --mandir=${PREFIX}/man \ > --with-system-libtool \ >- --disable-ltdl-install \ > --with-docdir=${DOCSDIR} \ >- --mandir=${PREFIX}/man \ >- --with-large-files --without-rlm_sql_unixodbc \ >- --without-rlm_sql_oracle --without-rlm_sql_iodbc \ >- --without-rlm_sql_db2 \ >+ --with-logdir=${LOGDIR} \ >+ --with-large-files \ > --with-openssl-includes=${OPENSSLINC} \ >- --with-openssl-libraries=${OPENSSLLIB} >+ --with-openssl-libraries=${OPENSSLLIB} \ >+ --without-rlm_sql_unixodbc \ >+ --without-rlm_sql_oracle \ >+ --without-rlm_sql_iodbc \ >+ --without-rlm_sql_db2 > > .if ${OSVERSION} < 500000 && ${OPENSSLBASE} == "/usr" > PLIST_SUB+= 4SSL="@comment " >@@ -206,9 +210,13 @@ > .endif > > post-install: >- @${MKDIR} ${PREFIX}/etc/raddb ${DATADIR} ${EXAMPLESDIR} >+ @${MKDIR} ${PREFIX}/etc/raddb ${DATADIR} > .for dict in ${DICTS} > ${INSTALL_DATA} ${WRKSRC}/share/${dict} ${DATADIR}/${dict} > .endfor >+ for i in `${FIND} ${PREFIX}/etc/raddb -maxdepth 1 -regex '.*\.sample' -print \ >+ | ${SED} -e 's/\.sample//g'`; do \ >+ if [ ! -f $${i} ]; then ${CP} -p $${i}.sample $${i}; fi; \ >+ done > > .include <bsd.port.post.mk> >diff -ruN /usr/ports/net/freeradius/pkg-plist /usr/ports_updated/net/freeradius/pkg-plist >--- /usr/ports/net/freeradius/pkg-plist Mon Jan 15 14:55:38 2007 >+++ /usr/ports_updated/net/freeradius/pkg-plist Sun Jan 21 19:41:43 2007 >@@ -12,6 +12,7 @@ > bin/rlm_dbm_parser > bin/rlm_ippool_tool > bin/smbencrypt >+@unexec for i in `find %D/etc/raddb -maxdepth 1 -regex '.*\.sample' -print | sed -e 's/\.sample//g'`; do if [ -f ${i} ]; then if cmp -s ${i}.sample ${i}; then rm -f ${i}; fi; fi; done > etc/raddb/acct_users.sample > etc/raddb/attrs.sample > etc/raddb/certs/README >@@ -56,6 +57,7 @@ > etc/raddb/sql.conf.sample > etc/raddb/sqlippool.conf.sample > etc/raddb/users.sample >+@exec for i in `find %D/etc/raddb -maxdepth 1 -regex '.*\.sample' -print | sed -e 's/\.sample//g'`; do if [ ! -f ${i} ]; then cp -p ${i}.sample ${i}; fi; done > lib/libeap-%%PORTVERSION%%.la > lib/libeap-%%PORTVERSION%%.so > lib/libeap.a >@@ -492,7 +494,6 @@ > %%DATADIR%%/dictionary.xedia > %%DATADIR%%/dictionary.xylan > %%DATADIR%%/dictionary.zyxel >-@dirrm %%EXAMPLESDIR%% > @dirrm %%DATADIR%% > %%PORTDOCS%%@dirrm %%DOCSDIR%%/rfc > %%PORTDOCS%%@dirrm %%DOCSDIR%%/examples >@@ -503,4 +504,5 @@ > @exec chmod -R og= /var/log/raddb > @exec mkdir -p /var/run/radiusd > @unexec rm -fr /var/run/radiusd >-@unexec rmdir %D/etc/raddb 2> /dev/null || echo "You should remove %D/etc/raddb if you don't need it anymore." >+@dirrmtry %D/etc/raddb >+@unexec if [ -d %D/etc/raddb ]; then echo "You should remove %D/etc/raddb if you don't need it anymore."; fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 108196
: 74841