Building Freeradius Debian packages

Since there’s only an outdated version of FR available in Debian Jessie I’ve created ones on my own.

Here we go:

 

  • aptitude install fakeroot build-essential libssl-dev debhelper libsasl2-dev libcap-dev python-dev \
    quilt autotools-dev libperl-dev libpq-dev libhiredis-dev libcurl4-openssl-dev \
    libykclient-dev libwbclient-dev libjson0-dev libiodbc2-dev libldap2-dev \
    heimdal-dev libsqlite3-dev libreadline-dev libmysqlclient-dev libpam0g-dev
    libpq-dev libmemcached-dev libyubikey-dev libgdbm-dev libtalloc-dev samba-dev readline-dev
  • wget ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-3.0.12.tar.gz
  • tar xvfz freeradius-server-3.0.12.tar.gz
  • cd freeradius-server-3.0.12/
  • cd debian/patches
  • rm -f disable-dhcp-bydefault.diff
  • cd ..
  • vi patches/series <– remove dhcp.diff
  • cd freeradius-server-3.0.12/
  • fakeroot dpkg-buildpackage -b -uc