Mercurial > hg > freeDiameter
diff INSTALL.Ubuntu @ 328:90294e7e986c
Moved the debian dir outside the top level directory
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Fri, 28 May 2010 17:19:22 +0900 |
parents | 5133b45e3305 |
children | b8f85559ba04 |
line wrap: on
line diff
--- a/INSTALL.Ubuntu Fri May 28 14:09:51 2010 +0900 +++ b/INSTALL.Ubuntu Fri May 28 17:19:22 2010 +0900 @@ -1,8 +1,11 @@ See INSTALL file for general instructions on building freeDiameter. -freeDiameter has native support for Debian packaging. All related files -are in the directory "debian" of the distribution. +freeDiameter is shipped with the necessary files to generate the Debian package. +All related files are in the directory "contrib/debian" of the distribution. +As a first step, you have to link this directory from your top-level dir: + ln -s contrib/debian + The following packages are required to compile freeDiameter from source: cmake make gcc flex bison libsctp1 libsctp-dev libgnutls-dev libgcrypt-dev @@ -13,8 +16,8 @@ In order to build app_acct extension, you will also need the package libpq-dev. -If your debhelper environment is recent, the following commands should -generate the freeDiameter packages for you: +If your debhelper environment is recent (> 7.3.9 to provide cmake support), +the following commands should generate the freeDiameter packages for you: # Install the dependencies for building the source: sudo apt-get -y install mercurial cmake make gcc bison flex libsctp-dev libgnutls-dev libgcrypt-dev libpq-dev ssl-cert debhelper fakeroot @@ -24,6 +27,9 @@ hg clone http://aaa.koganei.wide.ad.jp/hg/freeDiameter cd freeDiameter +# Prepare for Debian package +ln -s contrib/debian + # Build the packages fakeroot dh binary @@ -41,11 +47,13 @@ =========================================== -freeDiameter has been tested on the following distributions: +freeDiameter has been tested on the following distributions (compiled from source as described bellow): Ubuntu Intrepid, Jaunty, Karmic, Lucid. Debian Lenny. -(Ubuntu Hardy support is broken) +Ubuntu Hardy support is broken. + +The Debian package has been generated with success on Ubuntu Lucid. ===========================================-