< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] autotools/Debian packaging status



I used the new build system to create a tarball, renamed it to
resiprocate_1.8.0.orig.tar.gz (the filename expected by
dpkg-buildpackage), and was able to build some packages - see below for
a demo

I'll be putting the debian/* stuff into the dedicated repository created
by Gregor for reSIProcate:

git://git.debian.org/git/collab-maint/resiprocate.git


Some further work is needed to make a valid default config for the repro
package, but the reTurnServer package seems to run without much trouble
at all


root@daniel1:/home/daniel/ws/resiprocate# dpkg -i
libresiprocate-1.8_1.8.0-1_amd64.deb
Selecting previously deselected package libresiprocate-1.8.
(Reading database ... 214149 files and directories currently installed.)
Unpacking libresiprocate-1.8 (from libresiprocate-1.8_1.8.0-1_amd64.deb) ...
Setting up libresiprocate-1.8 (1.8.0-1) ...


root@daniel1:/home/daniel/ws/resiprocate# dpkg -i repro_1.8.0-1_amd64.deb
Selecting previously deselected package repro.
(Reading database ... 214159 files and directories currently installed.)
Unpacking repro (from repro_1.8.0-1_amd64.deb) ...
Setting up repro (1.8.0-1) ...
Starting repro server daemon: terminate called after throwing an
instance of 'std::runtime_error'
  what():  Error opening/reading configuraiton file
Aborted
invoke-rc.d: initscript repro, action "start" failed.
dpkg: error processing repro (--install):
 subprocess installed post-installation script returned error exit
status 134
Errors were encountered while processing:
 repro


root@daniel1:/home/daniel/ws/resiprocate# dpkg -i return_1.8.0-1_amd64.deb
Selecting previously deselected package return.
(Reading database ... 214168 files and directories currently installed.)
Unpacking return (from return_1.8.0-1_amd64.deb) ...
Setting up return (1.8.0-1) ...
Starting TURN relay: reTurnServer.

root@daniel1:/home/daniel/ws/resiprocate# ps ax | grep reTurn
27040 pts/19   Sl     0:00 /usr/sbin/reTurnServer
/etc/reTurnServer.config --Daemonize=true --LoggingType=syslog
27078 pts/19   S+     0:00 grep reTurn

root@daniel1:/home/daniel/ws/resiprocate# tail /var/log/syslog
Apr  7 19:48:04 daniel1 reTurnServer: INFO | 20120407-194804.207 |
reTurnServer | RETURN | 140674894747424 | TurnManager.cxx:36 | Turn
Manager destroyed.
Apr  7 19:48:46 daniel1 reTurnServer: INFO | 20120407-194846.596 |
reTurnServer | RETURN | 140605604861728 | UdpServer.cxx:29 | UdpServer
started.  Listening on 0.0.0.0:3478
Apr  7 19:48:46 daniel1 reTurnServer: INFO | 20120407-194846.596 |
reTurnServer | RETURN | 140605604861728 | TcpServer.cxx:26 | TcpServer
started.  Listening on 0.0.0.0:3478
Apr  7 19:48:46 daniel1 reTurnServer: ERR | 20120407-194846.597 |
reTurnServer | RETURN | 140605604861728 | TlsServer.cxx:30 | Unable to
load server cert chain file: server.pem, error=22(Invalid argument)
Apr  7 19:48:46 daniel1 reTurnServer: ERR | 20120407-194846.597 |
reTurnServer | RETURN | 140605604861728 | TlsServer.cxx:37 | Unable to
load server private key file: server.pem, error=22(Invalid argument)
Apr  7 19:48:46 daniel1 reTurnServer: ERR | 20120407-194846.597 |
reTurnServer | RETURN | 140605604861728 | TlsServer.cxx:44 | Unable to
load temporary Diffie-Hellman parameters file: dh512.pem,
error=22(Invalid argument)
Apr  7 19:48:46 daniel1 reTurnServer: INFO | 20120407-194846.597 |
reTurnServer | RETURN | 140605604861728 | TlsServer.cxx:55 | TlsServer
started.  Listening on 0.0.0.0:5349