Changeset 315:2725e68bc78d in freeDiameter
- Timestamp:
- May 19, 2010, 11:36:03 AM (14 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
INSTALL.Ubuntu
r313 r315 11 11 Tested not working: Ubuntu Hardy (too old). 12 12 Tested working: Ubuntu Intrepid, Jaunty, Karmic, Lucid. Debian Lenny. 13 14 13 15 14 … … 55 54 56 55 =========================================== 57 apt-get -y install mercurial cmake make gcc bison flex libsctp-dev libgnutls-dev libgcrypt-dev libpq-dev ssl-cert 56 57 You can alternatively do: 58 apt-get -y install mercurial cmake make gcc bison flex libsctp-dev libgnutls-dev libgcrypt-dev libpq-dev ssl-cert debhelper 58 59 cd /usr/src 59 60 hg clone http://aaa.koganei.wide.ad.jp/hg/freeDiameter 60 mkdir fDbuild && cd fDbuild 61 cmake -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ 62 -DDEFAULT_CONF_PATH:PATH=/etc/freeDiameter \ 63 -DCMAKE_INSTALL_PREFIX:PATH=/usr \ 64 -DINSTALL_DOCUMENTATION_SUFFIX:PATH=share/doc/freeDiameter \ 65 -DBUILD_APP_ACCT:BOOL=ON \ 66 -DBUILD_APP_RADGW:BOOL=ON \ 67 -DBUILD_DBG_MONITOR:BOOL=ON \ 68 -DBUILD_DBG_RT:BOOL=ON \ 69 -DBUILD_TEST_APP:BOOL=ON \ 70 -DBUILD_APP_ACCT:BOOL=ON \ 71 ../freeDiameter 72 make 73 make install 61 cd freeDiameter 62 dh binary 63 64 65 74 66 ln -s /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/ssl/certs/freeDiameter.pem 75 67 ln -s /etc/ssl/private/ssl-cert-snakeoil.key /etc/ssl/private/freeDiameter.key -
debian/freediameter-daemon.init
r314 r315 1 1 #! /bin/sh 2 #3 # skeleton example file to build /etc/init.d/ scripts.4 # This file should be used to construct scripts for /etc/init.d.5 #6 # Written by Miquel van Smoorenburg <miquels@cistron.nl>.7 # Modified for Debian8 # by Ian Murdock <imurdock@gnu.ai.mit.edu>.9 # Further changes by Javier Fernandez-Sanguino <jfs@debian.org>10 #11 # Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl12 #13 2 14 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin 3 ### BEGIN INIT INFO 4 # Provides: freediameter 5 # Default-Start: 3 4 5 6 # Default-Stop: 0 1 2 6 7 # Short-Description: Start freeDiameter daemon at boot time 8 # Description: Start the freeDiameter daemon at boot time. 9 # freeDiameter is an extensible implementation of the Diameter protocol, 10 # designed for Authentication, Authorization and Accounting. Diameter is 11 # an evolution of the RADIUS protocol. 12 ### END INIT INFO# 13 15 14 DAEMON=/usr/bin/freeDiameterd 15 CONF=/etc/freeDiameter/freeDiameter.conf 16 16 NAME=freediameter 17 17 DESC=freeDiameter daemon … … 29 29 . /etc/default/freediameter 30 30 fi 31 32 test x"" != x$DAEMON_OPTS || test -f $CONF || exit 0 31 33 32 34 set -e
Note: See TracChangeset
for help on using the changeset viewer.