Freeradius 3.0 build process different from 2.0?
Hi, I have more a development question for Arran/Alan D about the build process for FR 3.0... has it changed significantly compared to v2.2.0? The reason I ask is that I would like to get started on a 3.0 build spec for CentOS (since the last version for CentOS 6.4 is v2.1.12, and 2.2.0 is officially only on Fedora 17). I have 'fudged' a build spec for v2.2.0 on CentOS 6 (John D, I can share it with you, if you prefer), so with Project Moonshot, I'd like to get going with a proper package for FR 3.0. With Regards Stefan Paetow Software Engineer +44 1235 778812 Diamond Light Source Ltd. Diamond House, Harwell Science and Innovation Campus Didcot, Oxfordshire, OX11 0DE -- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
stefan.paetow@diamond.ac.uk wrote:
I have more a development question for Arran/Alan D about the build process for FR 3.0... has it changed significantly compared to v2.2.0?
Everything about the build process changed. The only thing that's the same is the standard configure / make / main install.
The reason I ask is that I would like to get started on a 3.0 build spec for CentOS (since the last version for CentOS 6.4 is v2.1.12, and 2.2.0 is officially only on Fedora 17). I have 'fudged' a build spec for v2.2.0 on CentOS 6 (John D, I can share it with you, if you prefer), so with Project Moonshot, I'd like to get going with a proper package for FR 3.0.
That would be good, thanks. Alan DeKok.
On 14/06/13 15:35, stefan.paetow@diamond.ac.uk wrote:
Hi,
I have more a development question for Arran/Alan D about the build process for FR 3.0... has it changed significantly compared to v2.2.0?
Yes, enormously so but it's all behind the scenes.
The reason I ask is that I would like to get started on a 3.0 build spec for CentOS (since the last version for CentOS 6.4 is v2.1.12,
There's not a lot to do. Just run ./configure && make && make install R=$ROOT as before.
Thanks to you both, Phil & Alan. I should have something reasonable cooked up soonish. :-) Regards Stefan -----Original Message----- From: freeradius-users-bounces+stefan.paetow=diamond.ac.uk@lists.freeradius.org [mailto:freeradius-users-bounces+stefan.paetow=diamond.ac.uk@lists.freeradius.org] On Behalf Of Phil Mayers Sent: 14 June 2013 15:58 To: freeradius-users@lists.freeradius.org Subject: Re: Freeradius 3.0 build process different from 2.0? On 14/06/13 15:35, stefan.paetow@diamond.ac.uk wrote:
Hi,
I have more a development question for Arran/Alan D about the build process for FR 3.0... has it changed significantly compared to v2.2.0?
Yes, enormously so but it's all behind the scenes.
The reason I ask is that I would like to get started on a 3.0 build spec for CentOS (since the last version for CentOS 6.4 is v2.1.12,
There's not a lot to do. Just run ./configure && make && make install R=$ROOT as before. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
On 14 Jun 2013, at 15:57, Phil Mayers <p.mayers@IMPERIAL.AC.UK> wrote:
On 14/06/13 15:35, stefan.paetow@diamond.ac.uk wrote:
Hi,
I have more a development question for Arran/Alan D about the build process for FR 3.0... has it changed significantly compared to v2.2.0?
Yes, enormously so but it's all behind the scenes.
The reason I ask is that I would like to get started on a 3.0 build spec for CentOS (since the last version for CentOS 6.4 is v2.1.12,
There's not a lot to do. Just run ./configure && make && make install R=$ROOT as before.
There are a few more considerations if you want it to just work as before. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team
On 14 Jun 2013, at 15:35, <stefan.paetow@diamond.ac.uk> wrote:
Hi,
I have more a development question for Arran/Alan D about the build process for FR 3.0... has it changed significantly compared to v2.2.0?
Yes. We now use a modified version of Boilermake (a recursive makefile framework), it's significantly faster that the old sub-makefile system. You can't use module makefiles directly anymore, but you can specify modules as targets in the main make file. The autoconf scripts have changed too. Some things are enabled by default if you're building from within a .git repository, such as experimental modules and developer CFLAGS. You'll probably want to pass --disable-developer to ./configure so optimisations get turned back on if you're building from git. You will also need to generate the snakeoil certs using a post install hook as they're no longer generated on server startup and prepackaged certs should not be used for obvious reasons. The server core itself checks for version consistency between the version of OpenSSL it was compiled with and the version on the system. I'm not sure what the best way to deal with that is. We could relax the checks slightly, but Alan D was against it last time I spoke to him. Apparently the OpenSSL folks change the API in subversions, which can cause weird errors at runtime. libtalloc is a new core dependency and should be marked as such.
The reason I ask is that I would like to get started on a 3.0 build spec for CentOS (since the last version for CentOS 6.4 is v2.1.12, and 2.2.0 is officially only on Fedora 17). I have 'fudged' a build spec for v2.2.0 on CentOS 6 (John D, I can share it with you, if you prefer), so with Project Moonshot, I'd like to get going with a proper package for FR 3.0.
Go for it. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team
participants (4)
-
Alan DeKok -
Arran Cudbard-Bell -
Phil Mayers -
stefan.paetow@diamond.ac.uk