Siproxd on Gentoo Linux

From SIPfoundry sipXecs IP PBX, The Open Source SIP PBX for Linux - Calivia

Jump to: navigation, search

Contents

Configure the Portage Overlay directory

Ebuilds should not be placed within the standard portage tree. Every time an 'emerge sync' is performed, local changes are lost. Portage can be configured to look for ebuilds in 'overlay directories'.

Code: Create the portage overlay directory
mkdir /usr/local/portage
Code: Add Portage overlay to /etc/make.conf
echo 'PORTDIR_OVERLAY="/usr/local/portage"' >> /etc/make.conf

Download Ebuild files for siproxd from bugs.gentoo.org

The following will download ebuild version 0.5.10 from bugs.gentoo.org.

Code: Download siproxd ebuild
mkdir -p /usr/local/portage/net-misc/
cd /usr/local/portage/net-misc/
wget 'http://bugs.gentoo.org/attachment.cgi?id=51066&action=view' -O siproxd-0.5.10.tbz2
tar xvfj siproxd-0.5.10.tbz2

Emerge siproxd

Code: Emerge siproxd
echo 'net-misc/siproxd ~x86' >> /etc/portage/package.keywords
echo 'net-libs/libosip ~x86' >> /etc/portage/package.keywords
emerge --ask siproxd

Configure siproxd

see HowTo configure siproxd

Start siproxd

Code: Start siproxd and add to default runlevel
# start siproxd
/etc/init.d/siproxd

# add to default runlevel
rc-update add siproxd default
Personal tools