Freeradius-Users Digest, Vol 121, Issue 1
Mohamed Lrhazi
Mohamed.Lrhazi at georgetown.edu
Fri May 1 03:55:53 CEST 2015
make deb worked! In case it's useful to anyone, this seems to be the full
list of needed dependencies on Ubuntu 14.04.2 LTS.
FROM ubuntu:latest
# Run upgrades
RUN apt-get update && apt-get -y upgrade
# Install dependencies
RUN apt-get install -y software-properties-common build-essential
checkinstall libssl1.0.0 libssl-dev libtalloc-dev debhelper quilt
autotools-dev libcurl4-gnutls-dev libcap-dev libgdbm-dev libiodbc2-dev
libjson-c-dev libkrb5-dev libldap2-dev libpam0g-dev libpcap-dev
libperl-dev libmysqlclient-dev libpq-dev libreadline-dev libsasl2-dev
libsqlite3-dev libwbclient-dev libyubikey-dev python-dev ssl-cert
RUN mkdir /src
ADD files/freeradius-server-3.0.8.tar.gz /src
RUN cd /src/freeradius-server-3.0.8 && ./configure --prefix=/ && make deb
RUN cd /src && dpkg -i freeradius_3.0.8+git_amd64.deb
libfreeradius3_3.0.8+git_amd64.deb freeradius-utils_3.0.8+git_amd64.deb
freeradius-config_3.0.8+git_amd64.deb freeradius-common_3.0.8+git_all.deb
freeradius-ldap_3.0.8+git_amd64.deb
# Optional packages
RUN apt-get -y install ldap-utils
# Clean up
RUN apt-get clean && apt-get purge && rm -rf /src
On Thu, Apr 30, 2015 at 8:55 PM, Mohamed Lrhazi <
Mohamed.Lrhazi at georgetown.edu> wrote:
> Oh I see... Thanks a lot everyone. You're a very helpful bunch, with an
> attitude that I like very much.
>
> Your remark is a bit unfair.. but no big deal.. I got what I needed from
> you, thank you very much.
>
> Mohamed.
>
> On Thu, Apr 30, 2015 at 8:41 PM, Rui Ribeiro <ruyrybeyro at gmail.com> wrote:
>
>> Hi,
>>
>> You where told the solution, and you chose to ignore it, and then ask why.
>> The make deb makes the necessary changes to conform to the Debian
>> environment. Debian has it´s own rules. Plus, installing from debs has
>> other niceties like besides tracking things and being capable of
>> uninstalling, also allows you to upgrade and not think much about losing
>> the current config.
>>
>> Regards
>>
>>
>> > Message: 5
>> > Date: Thu, 30 Apr 2015 18:31:47 -0400
>> > From: Mohamed Lrhazi <Mohamed.Lrhazi at georgetown.edu>
>> > To: FreeRadius users mailing list
>> > <freeradius-users at lists.freeradius.org>
>> > Subject: Re: 3.0.3 Segmentation fault (core dumped)
>> > Message-ID:
>> > <
>> > CAEU_gmcTXXCNf6HYFGWeb6BmfF3Vik17uFQk28WPr5hBq9tCDA at mail.gmail.com>
>> > Content-Type: text/plain; charset=UTF-8
>> >
>> > Thanks guys.. got it to build and install cleanly with the bellow
>> > Dockerfile... "make deb" works too, but decided to use make install
>> > instead.
>> >
>> > I notice it installs as /etc/raddb... instead of the /etc/freeradius the
>> > previous package I was using used... also the binary is radiusd,
>> instead of
>> > freeradius... is there a switch to ./configure to change these things?
>> >
>> > Thanks a lot,
>> > Mohamed.
>> >
>> > FROM ubuntu:latest
>> >
>> > # Run upgrades
>> > RUN apt-get update && apt-get -y upgrade
>> >
>> > # Install dependencies
>> > RUN apt-get install -y software-properties-common build-essential
>> > checkinstall libssl1.0.0 libssl-dev libtalloc-dev debhelper quilt
>> > autotools-dev libcurl4-gnutls-dev libcap-dev libgdbm-dev libiodbc2-dev
>> > libjson-c-dev libkrb5-dev libldap2-dev libpam0g-dev libpcap-dev
>> > libperl-dev libmysqlclient-dev libpq-dev libreadline-dev libsasl2-dev
>> > libsqlite3-dev libwbclient-dev libyubikey-dev python-dev
>> >
>> > RUN mkdir /src
>> > ADD files/freeradius-server-3.0.8.tar.gz /src
>> > RUN cd /src/freeradius-server-3.0.8 && ./configure --prefix=/ && make
>> &&
>> > make install
>> >
>> >
>> >
>> >
>> --
>> Regards,
>>
>> --
>> Rui Ribeiro
>> Senior Sysadm
>> ISCTE-IUL
>> https://www.linkedin.com/pub/rui-ribeiro/16/ab8/434
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>
>
>
More information about the Freeradius-Users
mailing list