فهرست منبع

pkg/ser: removed long time unmaintained ser packaging specs

- use pkg/kamailio specs as a reference if still want to package ser
Daniel-Constantin Mierla 8 سال پیش
والد
کامیت
aed158be91
62فایلهای تغییر یافته به همراه0 افزوده شده و 5893 حذف شده
  1. 0 156
      pkg/ser/deb/debian/changelog
  2. 0 1
      pkg/ser/deb/debian/compat
  3. 0 117
      pkg/ser/deb/debian/control
  4. 0 19
      pkg/ser/deb/debian/copyright
  5. 0 4
      pkg/ser/deb/debian/cron.d.ex
  6. 0 22
      pkg/ser/deb/debian/ex.package.doc-base
  7. 0 60
      pkg/ser/deb/debian/manpage.1.ex
  8. 0 152
      pkg/ser/deb/debian/manpage.sgml.ex
  9. 0 182
      pkg/ser/deb/debian/postinst
  10. 0 13
      pkg/ser/deb/debian/postrm
  11. 0 44
      pkg/ser/deb/debian/preinst.ex
  12. 0 14
      pkg/ser/deb/debian/prerm
  13. 0 39
      pkg/ser/deb/debian/prerm.ex
  14. 0 243
      pkg/ser/deb/debian/rules
  15. 0 81
      pkg/ser/deb/debian/ser-oob.config
  16. 0 286
      pkg/ser/deb/debian/ser-oob.postinst
  17. 0 6
      pkg/ser/deb/debian/ser-oob.postrm
  18. 0 14
      pkg/ser/deb/debian/ser-oob.prerm
  19. 0 191
      pkg/ser/deb/debian/ser-oob.templates
  20. 0 29
      pkg/ser/deb/debian/ser.config
  21. 0 44
      pkg/ser/deb/debian/ser.default
  22. 0 15
      pkg/ser/deb/debian/ser.examples
  23. 0 125
      pkg/ser/deb/debian/ser.init
  24. 0 59
      pkg/ser/deb/debian/ser.templates
  25. 0 0
      pkg/ser/deb/debian/shlibs.local
  26. 0 7
      pkg/ser/deb/debian/watch
  27. 0 24
      pkg/ser/freebsd/000.ser.sh
  28. 0 55
      pkg/ser/freebsd/Makefile
  29. 0 1
      pkg/ser/freebsd/distinfo
  30. 0 1
      pkg/ser/freebsd/pkg-comment
  31. 0 15
      pkg/ser/freebsd/pkg-descr
  32. 0 104
      pkg/ser/freebsd/pkg-plist
  33. 0 78
      pkg/ser/gentoo/ChangeLog
  34. 0 16
      pkg/ser/gentoo/Manifest
  35. 0 16
      pkg/ser/gentoo/files/ser.confd
  36. 0 34
      pkg/ser/gentoo/files/ser.initd
  37. 0 9
      pkg/ser/gentoo/metadata.xml
  38. 0 250
      pkg/ser/gentoo/sip-router-3.1.5.ebuild
  39. 0 251
      pkg/ser/gentoo/sip-router-3.1.6.ebuild
  40. 0 251
      pkg/ser/gentoo/sip-router-3.2.3.ebuild
  41. 0 251
      pkg/ser/gentoo/sip-router-3.2.4.ebuild
  42. 0 255
      pkg/ser/gentoo/sip-router-3.3.1.ebuild
  43. 0 255
      pkg/ser/gentoo/sip-router-3.3.2.ebuild
  44. 0 1
      pkg/ser/netbsd/COMMENT
  45. 0 16
      pkg/ser/netbsd/DESCR
  46. 0 50
      pkg/ser/netbsd/Makefile
  47. 0 102
      pkg/ser/netbsd/PLIST
  48. 0 1
      pkg/ser/netbsd/distinfo
  49. 0 54
      pkg/ser/openbsd/Makefile
  50. 0 1
      pkg/ser/openbsd/distinfo
  51. 0 1
      pkg/ser/openbsd/pkg/COMMENT
  52. 0 15
      pkg/ser/openbsd/pkg/DESCR
  53. 0 106
      pkg/ser/openbsd/pkg/PLIST
  54. 0 136
      pkg/ser/opensuse/ser.init.SuSE
  55. 0 333
      pkg/ser/opensuse/ser.spec
  56. 0 72
      pkg/ser/rpm/ser.init
  57. 0 328
      pkg/ser/rpm/ser.spec-4.1
  58. 0 296
      pkg/ser/rpm/ser.spec.fedora
  59. 0 9
      pkg/ser/solaris/pkginfo
  60. 0 106
      pkg/ser/solaris/prototype
  61. 0 136
      pkg/ser/suse/ser.init
  62. 0 341
      pkg/ser/suse/ser.spec

+ 0 - 156
pkg/ser/deb/debian/changelog

@@ -1,156 +0,0 @@
-ser (2.99.0-dev1.1) unstable; urgency=low
-
-  * Updated the build dependencies with the doc building tools:
-    docbook2x, xsltproc and lynx.
-
- -- Andrei Pelinescu - Onciul <[email protected]>  Mon, 30 Aug 2010 23:15:18 +0200
-
-ser (2.99.0-dev01) unstable; urgency=low
-
-  * Added the ser-db-modules package, containing database using modules and
-    basic DB drivers (db_text and db_flatstore).
-  * The ser-mysql-modules and ser-postgres-modules contain now only the DB
-    drivers and depend on ser-db-modules.
-  * Various minor packaging problems fixed.
-
- -- Andrei Pelinescu-Onciul <[email protected]>  Wed, 09 Jul 2009 15:37:00 +0200
-
-ser (2.99.0-dev01) unstable; urgency=low
-
-  * Update Debian specification for sip-router.
-
- -- Andrei Pelinescu-Onciul <[email protected]>  Wed, 08 Jul 2009 14:13:11 +0200
-
-ser (2.1.0-0dev15) unstable; urgency=low
-
-  * Added installation of *.sql files for ser_mysql.sh script.
-  * Added ser-ai1 meta-package.
-
- -- Pavel Kasparek <[email protected]>  Mon, 10 Dec 2007 12:53:46 +0100
-
-ser (2.1.0-0dev12) unstable; urgency=low
-
-  * Updated Debian specification for cvs HEAD version.
-
- -- Pavel Kasparek <[email protected]>  Wed, 31 Oct 2007 13:35:40 +0100
-
-ser (2.0.0-0rc5.7) unstable; urgency=low
-
-  * Updated Debian specification for upcoming SER 2.0.0 version.
-
- -- Pavel Kasparek <[email protected]>  Tue, 11 Sep 2007 12:08:05 +0200
-
-ser (0.9.4-0.2) unstable; urgency=low
-
-  * minor debian rules clean target fix 
-
- -- Andrei Pelinescu-Onciul <[email protected]>  Wed, 02 Nov 2005 17:46:55 +0200
-
-ser (0.9.4-0.1) unstable; urgency=low
-
-  * new upstream minor release 
-
- -- Andrei Pelinescu-Onciul <[email protected]>  Fri, 02 Sep 2005 14:49:37 +0200
-
-ser (0.9.3-0.2) unstable; urgency=low
-
-  * missing init.d/ser fixed 
-
- -- Andrei Pelinescu-Onciul <[email protected]>  Tue, 28 Jun 2005 23:56:05 +0200
-
-ser (0.9.3-0.1) unstable; urgency=low
-
-  * new upstream release 
-  * added ser-cpl-module, ser-pa-module, ser-postgres-module,
-    ser-acc-db-module and ser-acc-radius-module
-  * ser-radius-modules depend now on libradiusclient-ng2 
-    (not in official Debian archives)
-
- -- Andrei Pelinescu-Onciul <[email protected]>  Thu, 23 Jun 2005 16:43:35 +0200
-
-ser (0.8.14) unstable; urgency=low
-
-  * new upstream release 
-
- -- Andrei Pelinescu-Onciul <[email protected]>  Fri, 23 Jul 2004 16:00:04 +0200
-
-ser (0.8.12) unstable; urgency=low
-
-  * new upstream release (improved tcp support, set_advertised_address a.s.o)
-
- -- Andrei Pelinescu-Onciul <[email protected]>  Fri, 14 Nov 2003 16:41:05 +0200
-
-ser (0.8.11) unstable; urgency=low
-
-  * new upstream release
-
- -- Andrei Pelinescu-Onciul <[email protected]>  Wed, 27 Aug 2003 14:53:24 +0200
-
-ser (0.8.11-pre34) unstable; urgency=low
-
-  * minor bugfixes
-
-  * debian packaging changes (debhelper 4.0, init & postinst cleanups, added
-    examples, a.s.o)
-
- -- Andrei Pelinescu-Onciul <[email protected]>  Fri, 27 Jun 2003 15:14:52 +0200
-
-ser (0.8.11-pre30) unstable; urgency=low
-
-  * minor bugfixes
-
-  * debian packaging changes (added conflicts)
-
- -- Andrei Pelinescu-Onciul <[email protected]>  Fri, 06 Jun 2003 14:03:29 +0200
-
-ser (0.8.11-pre29) unstable; urgency=low
-
-  * RFC3261 support (TCP, loose routing)
-
-  * lots of new modules:  rich access control lists (permissions), database in
-    textfile support (dbtext), presence agent (pa), enum support (enum),
-    voicemail interface (vm), NAT traversal utility for Cisco/ATA NAT
-    (nathelper)
-
-  * arhitectural  improvements
-
- -- Andrei Pelinescu-Onciul <[email protected]>  Fri, 30 May 2003 18:11:52 +0200
-
-ser (0.8.10) unstable; urgency=low
-
- * fixes lots of  bugs in 0.8.9 (log not working, ipv6 address conversion)
-
- * introduces port support in uri matching with myself
-
- * faster hash function (statefull performance increase ~10%)
-
- * modules updates (sms, jabber)
-
- * the jabber module is in a separate package now (it depends on libexpat)
-
- -- Andrei Pelinescu-Onciul <[email protected]>  Tue, 4 Nov 2002 17:23:37 +0200
-
-ser (0.8.9) unstable; urgency=low
-
-  * fixes a few bugs in 0.8.8 (primary some modules which where linked to some bad libs)
-
- -- Andrei Pelinescu-Onciul <[email protected]>  Wed, 7 Oct 2002 16:49:05 +0200
-
-ser (0.8.8) unstable; urgency=low
-
-  * first release (really this time)
-
- -- Andrei Pelinescu-Onciul <[email protected]>  Wed, 25 Sep 2002 23:27:11 +0200
-
-ser (0.8.7.16) unstable; urgency=low
-
-  * First Public Release.
-
- -- Andrei Pelinescu-Onciul <[email protected]>  Tue, 24 Sep 2002 21:33:39 +0200
-
-ser (0.8.7.6-1) unstable; urgency=low
-
-  * Initial Release.
-
- -- Andrei Pelinescu-Onciul <[email protected]>  Tue, 16 Jul 2002 15:41:31 +0200
-

+ 0 - 1
pkg/ser/deb/debian/compat

@@ -1 +0,0 @@
-4

+ 0 - 117
pkg/ser/deb/debian/control

@@ -1,117 +0,0 @@
-Source: ser
-Section: net
-Priority: optional
-Maintainer: Andrei Pelinescu-Onciul <[email protected]>
-Build-Depends: debhelper (>= 4), libmysqlclient-dev | libmysqlclient15-dev | libmysqlclient14-dev | libmysqlclient12-dev, libexpat1-dev, libradius-ng-dev | libradiusclient-ng-dev, libxml2-dev, libpq-dev | postgresql-dev, libcurl3-dev, libssl-dev, libreadline5-dev, libpcre3-dev, bison, flex, docbook2x,
- xsltproc, lynx
-Standards-Version: 3.5.2
-
-Package: ser
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
-Suggests: ser-mysql-modules, ser-jabber-module, ser-cpl-module, ser-presence-modules, ser-radius-modules
-Conflicts: ser-mysql-module (<< ${Source-Version}), ser-jabber-module (<< ${Source-Version}), ser-radius-modules (<< ${Source-Version}), ser-cpl-module (<< ${Source-Version}), ser-presence-modules (<< ${Source-Version}), ser-postgres-module (<< ${Source-Version}), ser-acc-db-module (<< ${Source-Version}), ser-acc-radius-module (<< ${Source-Version})
-Description: Sip Express Router, very fast and configurable SIP proxy
- ser or SIP Express Router is a very fast and flexible SIP (RFC3621)
- proxy server. Written entirely in C, ser can handle thousands calls
- per second even on low-budget hardware. C Shell like scripting language
- provides full control over the server's behaviour. It's modular
- architecture allows only required functionality to be loaded.
- Currently the following modules are available: Digest Authentication,
- CPL scripts, Instant Messaging, MySQL support, Presence Agent, Radius
- Authentication, Record Routing, SMS Gateway, Jabber Gateway, Transaction 
- Module, Registrar and User Location.
-
-Package: ser-db-modules
-Architecture: any
-Depends: ${shlibs:Depends}, ser (= ${Source-Version})
-Suggests: ser-mysql-module, ser-postgres-module
-Conflicts: ser-mysql-modules
-Description: contains generic DB support and modules using a DB
- These modules will enable usage of various DB related functionality.
- Note that only basic DB drivers are included in this package (db_text and
- db_flatstore). You probably want to install a more advanced db driver, like
- the ones provided in ser-mysql-modules or ser-postgres-module packages.
-
-Package: ser-mysql-module
-Architecture: any
-Depends: ${shlibs:Depends}, ser (= ${Source-Version}), ser-db-modules (= ${Source-Version})
-Description: contains the MySQL database driver module
- This package will enable using a MySQL database with ser.
-
-#Package: ser-jabber-module
-#Architecture: any
-#Depends: ${shlibs:Depends}, ser (= ${Source-Version})
-#Description: contains the Jabber module (SIP-Jabber message translation)
-# This has been split out of the main ser package, so that ser will not
-# depend upon libexpat. This module will enable you to use ser to translate
-# SIP messages into Jabber messages.
-
-#Package: ser-cpl-module
-#Architecture: any
-#Depends: ${shlibs:Depends}, ser (= ${Source-Version})
-#Description: contains the cpl-c module (CPL support)
-# This has been split out of the main ser package, so that ser will not
-# depend upon libxml2.
-
-#Package: ser-presence-modules
-#Architecture: any
-#Depends: ${shlibs:Depends}, ser (= ${Source-Version})
-#Description: contains the SIMPLE based presence support (Presence server)
-# This module contains modules and libraries needed to implement SIMPLE
-# based presence support in SER
-
-Package: ser-radius-modules
-Architecture: any
-Depends: ${shlibs:Depends}, ser (= ${Source-Version})
-Description: contains the ser RADIUS modules 
- This has been split out of the main ser package, so that ser will not
- depend upon libradius1. This modules will enable you to authenticate, 
- do group membership checking or check the messages uris using RADIUS.
-
-Package: ser-postgres-module
-Architecture: any
-Depends: ${shlibs:Depends}, ser (= ${Source-Version}), ser-db-modules (= ${Source-Version})
-Description: contains the PostgreSQL database driver module
- This package will enable using a PostgreSQL database with ser.
-
-Package: ser-tls-module
-Architecture: any
-Depends: ${shlibs:Depends}, ser (= ${Source-Version})
-Description: contains the TLS ser transport module
- This has been split out of the main ser package, so that ser will not
- depend on openssl. This module will enable you to use the TLS transport.
-
-Package: ser-xmlrpc-module
-Architecture: any
-Depends: ${shlibs:Depends}, ser (= ${Source-Version})
-Description: contains the XML-RPC based interface to SER
- This module provides XML-RPC administrative interface to SER. The
- interface can be used to change various configuration options of
- SER at runtime. Other applications, such as serctl command line
- tools and SERWeb use XML-RPC interface to communicate with SER
-
-Package: ser-oob
-Architecture: any
-Depends: ser, ser-mysql-modules, ser-xmlrpc-module, serctl
-Suggests: rttpproxy, logrotate, ngrep, ntp
-Description: Sip Express Router - package for "out of the box" installation
- This package conatins advanced configuration file for ser - SIP Express Router
- and depends on ser and all needed ser modules. It can be used for easy installation 
- of ser "out of the box".
-
-Package: ser-nth
-Architecture: any
-Depends: screen, gdb, binutils, gcc, bison, flex, ngrep, tcpdump, iftop, lsof, psmisc, vim, bvi, most, serctl, mc, sipsak
-Description: Sip Express Router - package for "nice to have" installation
- This is a meta-package for easy installation various useful tools that may be
- handy on server with SER installed.
-
-Package: ser-ai1
-Architecture: any
-Depends: ser-oob, mysql-server, rtpproxy, mystun, sipsak, tcpdump, ngrep, iftop, serweb, sems
-Suggests: ser-nth
-Description: Sip Express Router - package for "all in one" installation
- This is a meta-package for easy installation of complete server running ser - SIP Express
- Router, rtpproxy -  RTP relay, mystun - STUN server and mysql server.
-

+ 0 - 19
pkg/ser/deb/debian/copyright

@@ -1,19 +0,0 @@
-This package was debianized by Andrei Pelinescu-Onciul
-<[email protected]> on Tue, 16 Jul 2002 15:41:31 +0200.
-
-It was downloaded from http://iptel.org/ser.
-
-Upstream Authors: Andrei Pelinescu-Onciul
-<[email protected]>, Bogdan Iancu
-<[email protected]>, Daniel-Constantin Mierla, Jan Janak
-<[email protected]>, Jiri Kuthan <[email protected]>, Juha Heinanen, Maxim
-Sobolev, Miklos Tirpak, Nils Ohlmeier, Ramona-Elena Modroiu, Raphael Coeffic,
-Ricardo Baratto, Stelios Sidiroglou-Douskos  (see AUTHORS file for details)
-
-This software is copyright (c) 2002-2003 by FhG Fokus
-
-You are free to distribute this software under the terms of
-the GNU General Public License.
-
-On Debian systems, the complete text of the GNU General Public
-License can be found in the file `/usr/share/common-licenses/GPL.

+ 0 - 4
pkg/ser/deb/debian/cron.d.ex

@@ -1,4 +0,0 @@
-#
-# Regular cron jobs for the ser-0.8.7 package
-#
-0 4	* * *	root	ser-0.8.7_maintenance

+ 0 - 22
pkg/ser/deb/debian/ex.package.doc-base

@@ -1,22 +0,0 @@
-Document: ser-0.8.7
-Title: Debian ser-0.8.7 Manual
-Author: <insert document author here>
-Abstract: This manual describes what ser-0.8.7 is
- and how it can be used to
- manage online manuals on Debian systems.
-Section: unknown
-
-Format: debiandoc-sgml
-Files: /usr/share/doc/ser-0.8.7/ser-0.8.7.sgml.gz
-
-Format: postscript
-Files: /usr/share/doc/ser-0.8.7/ser-0.8.7.ps.gz
-
-Format: text
-Files: /usr/share/doc/ser-0.8.7/ser-0.8.7.text.gz
-
-Format: HTML
-Index: /usr/share/doc/ser-0.8.7/html/index.html
-Files: /usr/share/doc/ser-0.8.7/html/*.html
-
-  

+ 0 - 60
pkg/ser/deb/debian/manpage.1.ex

@@ -1,60 +0,0 @@
-.\"                                      Hey, EMACS: -*- nroff -*-
-.\" First parameter, NAME, should be all caps
-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
-.\" other parameters are allowed: see man(7), man(1)
-.TH SER-0.8.7 SECTION "July 16, 2002"
-.\" Please adjust this date whenever revising the manpage.
-.\"
-.\" Some roff macros, for reference:
-.\" .nh        disable hyphenation
-.\" .hy        enable hyphenation
-.\" .ad l      left justify
-.\" .ad b      justify to both left and right margins
-.\" .nf        disable filling
-.\" .fi        enable filling
-.\" .br        insert line break
-.\" .sp <n>    insert n+1 empty lines
-.\" for manpage-specific macros, see man(7)
-.SH NAME
-ser-0.8.7 \- program to do something
-.SH SYNOPSIS
-.B ser-0.8.7
-.RI [ options ] " files" ...
-.br
-.B bar
-.RI [ options ] " files" ...
-.SH DESCRIPTION
-This manual page documents briefly the
-.B ser-0.8.7
-and
-.B bar
-commands.
-This manual page was written for the Debian distribution
-because the original program does not have a manual page.
-Instead, it has documentation in the GNU Info format; see below.
-.PP
-.\" TeX users may be more comfortable with the \fB<whatever>\fP and
-.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
-.\" respectively.
-\fBser-0.8.7\fP is a program that...
-.SH OPTIONS
-These programs follow the usual GNU command line syntax, with long
-options starting with two dashes (`-').
-A summary of options is included below.
-For a complete description, see the Info files.
-.TP
-.B \-h, \-\-help
-Show summary of options.
-.TP
-.B \-v, \-\-version
-Show version of program.
-.SH SEE ALSO
-.BR bar (1),
-.BR baz (1).
-.br
-The programs are documented fully by
-.IR "The Rise and Fall of a Fooish Bar" ,
-available via the Info system.
-.SH AUTHOR
-This manual page was written by Andrei Pelinescu-Onciul <[email protected]>,
-for the Debian GNU/Linux system (but may be used by others).

+ 0 - 152
pkg/ser/deb/debian/manpage.sgml.ex

@@ -1,152 +0,0 @@
-<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
-
-<!-- Process this file with docbook-to-man to generate an nroff manual
-     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
-     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
-     less'.  A typical entry in a Makefile or Makefile.am is:
-
-manpage.1: manpage.sgml
-	docbook-to-man $< > $@
-
-    
-	The docbook-to-man binary is found in the docbook-to-man package.
-	Please remember that if you create the nroff version in one of the
-	debian/rules file targets (such as build), you will need to include
-	docbook-to-man in your Build-Depends control field.
-
-  -->
-
-  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
-  <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
-  <!ENTITY dhsurname   "<surname>SURNAME</surname>">
-  <!-- Please adjust the date whenever revising the manpage. -->
-  <!ENTITY dhdate      "<date>July 16, 2002</date>">
-  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
-       allowed: see man(7), man(1). -->
-  <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">
-  <!ENTITY dhemail     "<email>[email protected]</email>">
-  <!ENTITY dhusername  "Andrei Pelinescu-Onciul">
-  <!ENTITY dhucpackage "<refentrytitle>SER-0.8.7</refentrytitle>">
-  <!ENTITY dhpackage   "ser-0.8.7">
-
-  <!ENTITY debian      "<productname>Debian</productname>">
-  <!ENTITY gnu         "<acronym>GNU</acronym>">
-]>
-
-<refentry>
-  <refentryinfo>
-    <address>
-      &dhemail;
-    </address>
-    <author>
-      &dhfirstname;
-      &dhsurname;
-    </author>
-    <copyright>
-      <year>2002</year>
-      <holder>&dhusername;</holder>
-    </copyright>
-    &dhdate;
-  </refentryinfo>
-  <refmeta>
-    &dhucpackage;
-
-    &dhsection;
-  </refmeta>
-  <refnamediv>
-    <refname>&dhpackage;</refname>
-
-    <refpurpose>program to do something</refpurpose>
-  </refnamediv>
-  <refsynopsisdiv>
-    <cmdsynopsis>
-      <command>&dhpackage;</command>
-
-      <arg><option>-e <replaceable>this</replaceable></option></arg>
-
-      <arg><option>--example <replaceable>that</replaceable></option></arg>
-    </cmdsynopsis>
-  </refsynopsisdiv>
-  <refsect1>
-    <title>DESCRIPTION</title>
-
-    <para>This manual page documents briefly the
-      <command>&dhpackage;</command> and <command>bar</command>
-      commands.</para>
-
-    <para>This manual page was written for the &debian; distribution
-      because the original program does not have a manual page.
-      Instead, it has documentation in the &gnu;
-      <application>Info</application> format; see below.</para>
-
-    <para><command>&dhpackage;</command> is a program that...</para>
-
-  </refsect1>
-  <refsect1>
-    <title>OPTIONS</title>
-
-    <para>These programs follow the usual GNU command line syntax,
-      with long options starting with two dashes (`-').  A summary of
-      options is included below.  For a complete description, see the
-      <application>Info</application> files.</para>
-
-    <variablelist>
-      <varlistentry>
-        <term><option>-h</option>
-          <option>--help</option>
-        </term>
-        <listitem>
-          <para>Show summary of options.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term><option>-v</option>
-          <option>--version</option>
-        </term>
-        <listitem>
-          <para>Show version of program.</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-  </refsect1>
-  <refsect1>
-    <title>SEE ALSO</title>
-
-    <para>bar (1), baz (1).</para>
-
-    <para>The programs are documented fully by <citetitle>The Rise and
-      Fall of a Fooish Bar</citetitle> available via the
-      <application>Info</application> system.</para>
-  </refsect1>
-  <refsect1>
-    <title>AUTHOR</title>
-
-    <para>This manual page was written by &dhusername; &dhemail; for
-      the &debian; system (but may be used by others).  Permission is
-      granted to copy, distribute and/or modify this document under
-      the terms of the <acronym>GNU</acronym> Free Documentation
-      License, Version 1.1 or any later version published by the Free
-      Software Foundation; with no Invariant Sections, no Front-Cover
-      Texts and no Back-Cover Texts.</para>
-
-  </refsect1>
-</refentry>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:2
-sgml-indent-data:t
-sgml-parent-document:nil
-sgml-default-dtd-file:nil
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
--->
-
-

+ 0 - 182
pkg/ser/deb/debian/postinst

@@ -1,182 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# don't do anything when called with other argument than configure 
-case "$1" in
-  configure)
-  ;;  
-  abort-upgrade|abort-remove|abort-deconfigure)
-    exit 0
-  ;;
-  *)
-    echo "postinst called with unknown argument \$1'" >&2
-    exit 1
-  ;;
-esac
-
-. /usr/share/debconf/confmodule
-
-# add ser user
-adduser --quiet --system --group --disabled-password --shell /bin/false \
---gecos "SIP Express Router" --home /var/run/ser ser || true
-
-if [ -d /usr/doc -a ! -e /usr/doc/ser -a -d /usr/share/doc/ser ]; then
-  ln -sf ../share/doc/ser /usr/doc/ser
-fi
-
-
-# ser defaults file, which will be modified by this script
-DEFAULTFILE=/etc/default/ser
-
-if ! test -e $DEFAULTFILE; then
-  echo "Warning: ser postinst script can't find config file $DEFAULTFILE. Configuration aborted."
-  exit 0
-fi
-
-# ----------------------------------------------------------------------
-
-fn_config_replace ()
-{
-	if test $# -ne 2; then
-	  echo "Error - bad number of input parameters"
-	  echo "usage:"
-	  echo "fn_config_replace config_file CFG_OPTION_something" 
-	  exit 1
-	fi
-
-	FILENAME="$1"
-	ITEM="$2"
-
-	echo "Changing config option $ITEM."
-	OLDFILE="$FILENAME.config_replace_bck"
-	cp -f $FILENAME $OLDFILE
-
-	REPLACEMENT="$FILENAME.repl"
-	TEMPFILE="$FILENAME.temp"
-	TAIL="$FILENAME.tail"
-
-	rm -f $REPLACEMENT
-	touch $REPLACEMENT # needed if the input is empty
-	while read -r LINE
-	do
-	  echo "$LINE" >> $REPLACEMENT
-	done
-
-	STARTPOS=`nl -b a $FILENAME | grep -w "DEBCONF-$ITEM-START" | sed -e "s/^ *\([0-9]*\).*/\1/g"`
-	if [ "$STARTPOS" == "" ]; then
-		echo "WARNING: section $ITEM not found"
-		return
-	fi
-		
-	ENDPOS=`nl -b a $FILENAME | sed -e "1,${STARTPOS}d" | grep "DEBCONF-$ITEM-END" | head -n 1 | sed -e "s/^ *\([0-9]*\).*/\1/g"`
-	if [ "$STARTPOS" == "" ]; then
-		echo "WARNING: end of section $ITEM not found"
-		return
-	fi
-	ENDPOS=$(($ENDPOS-1))
-	STARTPOS=$(($STARTPOS+1))
-
-	cat $FILENAME | sed -e "1,${ENDPOS}d" > $TAIL
-	cat $FILENAME | sed -e "${STARTPOS},\$d" > $TEMPFILE
-	cat $REPLACEMENT >> $TEMPFILE
-	cat $TAIL >> $TEMPFILE
-	rm -f $TAIL
-	mv -f $TEMPFILE $FILENAME
-}
-
-# pads $1 with as many empty rows as needed until $2 lines are complete
-padLines() {
-	output="$1"
-	needed="$2"
-	num=`echo "$output" | wc -l`
-	echo "$output"
-	moreneeded=$(($needed-$num))
-	while (true); do
-	if [ $moreneeded -gt 0 ]
-	then
-		echo ""
-		moreneeded=$(($moreneeded-1))
-	else
-		break
-	fi
-	done
-}
-
-#----------------------------------------------------------------------------
-
-
-db_get ser/config
-if [ "$RET" = "false" ] ; then
-  # do not change config file
-  echo "Package ser postinstall script: NOT modifying config file $DEFAULTFILE."
-else
-
-BACKUP="$DEFAULTFILE.config_bck"
-
-echo "Package ser postinstall script: MODIFYING config file $DEFAULTFILE."
-echo "Creating backup copy as $BACKUP"
-cp -f $DEFAULTFILE $BACKUP
-
-db_get ser/USER
-if test "$RET" != "!" ; then
-  fn_config_replace $DEFAULTFILE USER <<+++
-SER_USER="$RET"
-+++
-fi
-
-db_get ser/GROUP
-if test "$RET" != "!" ; then
-  fn_config_replace $DEFAULTFILE GROUP <<+++
-SER_GROUP="$RET"
-+++
-fi
-
-db_get ser/WORKDIR
-if test "$RET" != "!" ; then
-  fn_config_replace $DEFAULTFILE WORKDIR <<+++
-SER_WORKDIR="$RET"
-+++
-fi
-
-db_get ser/KERNEL_CORE_PID
-if test "$RET" != "!" ; then
-  fn_config_replace $DEFAULTFILE KERNEL_CORE_PID <<+++
-SER_KERNEL_CORE_PID="$RET"
-+++
-fi
-
-db_get ser/MEMORY
-if test "$RET" != "!" ; then
-  fn_config_replace $DEFAULTFILE MEMORY <<+++
-SER_MEMORY="$RET"
-+++
-fi
-
-fi # if changing config
-
-echo ""
-echo "***"
-echo "Configuration of ser has finished."
-echo ""
-echo "To restart it when configuration has changed use '/etc/init.d/ser restart'"
-echo ""
-echo "To change it's configuration use 'dpkg-reconfigure ser'"
-echo "***"
-echo ""
-
-echo "Setting ser to start automatically"
-/usr/sbin/update-rc.d ser defaults || true
-
-
-if [ -x "/etc/init.d/ser" ]; then
-  if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
-    invoke-rc.d ser restart || exit 0
-  else
-    /etc/init.d/ser restart || exit 0
-  fi
-fi
-                                                                
-
-exit 0
-

+ 0 - 13
pkg/ser/deb/debian/postrm

@@ -1,13 +0,0 @@
-#!/bin/sh
-
-#DEBHELPER#
-
-if [ "$1" = "purge" ] ; then
-  # remove user/group on purge
-  deluser --quiet --remove-home ser &>/dev/null || true
-  # remove /etc/ser if empty
-  rmdir /etc/ser || true
-fi
-
-exit 0
-

+ 0 - 44
pkg/ser/deb/debian/preinst.ex

@@ -1,44 +0,0 @@
-#! /bin/sh
-# preinst script for ser-0.8.7
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <new-preinst> `install'
-#        * <new-preinst> `install' <old-version>
-#        * <new-preinst> `upgrade' <old-version>
-#        * <old-preinst> `abort-upgrade' <new-version>
-#
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    install|upgrade)
-#        if [ "$1" = "upgrade" ]
-#        then
-#            start-stop-daemon --stop --quiet --oknodo  \
-#                --pidfile /var/run/ser-0.8.7.pid  \
-#                --exec /usr/sbin/ser-0.8.7 2>/dev/null || true
-#        fi
-    ;;
-
-    abort-upgrade)
-    ;;
-
-    *)
-        echo "preinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-

+ 0 - 14
pkg/ser/deb/debian/prerm

@@ -1,14 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if test "$1" = "upgrade"; then
-  exit 0
-fi
-
-#DEBHELPER#
-
-
-exit 0
-
-

+ 0 - 39
pkg/ser/deb/debian/prerm.ex

@@ -1,39 +0,0 @@
-#! /bin/sh
-# prerm script for ser-0.8.7
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <prerm> `remove'
-#        * <old-prerm> `upgrade' <new-version>
-#        * <new-prerm> `failed-upgrade' <old-version>
-#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-#        * <deconfigured's-prerm> `deconfigure' `in-favour'
-#          <package-being-installed> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    remove|upgrade|deconfigure)
-#       install-info --quiet --remove /usr/info/ser-0.8.7.info.gz
-        ;;
-    failed-upgrade)
-        ;;
-    *)
-        echo "prerm called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-

+ 0 - 243
pkg/ser/deb/debian/rules

@@ -1,243 +0,0 @@
-#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-#
-# $Id$
-#
-# History:
-# --------
-#  2003-05-30  updated for the 0.8.11 release, changed modules list and
-#              some ser make options (andrei)
-#  2003-06-27  changed to DH_COMPAT 4 (debian/compat) + other filenames
-#              & small fixes (andrei)
-#  2003-08-29  replaced modules-install with modules-install-all, to 
-#               install also the modules doc (andrei)
-#  2004-07-23  added ext and commented out the radius modules
-#              (the current radius modules depend on radiusclient-ng which
-#               is not yet part of debian)  (andrei)
-#  2005-06-23  added cpl-c, pa & re-enabled radius (with libradiusclient-ng)
-#                (andrei)
-#  2007-09-11  updated for ser 2.0.0 and Debian Etch
-#              presence modules commented out (can't be compiled due to some bug in Makefile)
-#              added /etc/defaults/ser file installation
-#              added ser-oob package
-#                (pavel)
-#  2007-10-31  updated for cvs head (pavel)
-#  2009-07-08  updated for sip-router (andrei)
-
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This is the debhelper compatibility version to use.
-# export DH_COMPAT=4
-#  -- already set in compat
-#  force no striping (always include debug symbols for now)
-export DEB_BUILD_OPTIONS:="$(DEB_BUILD_OPTIONS) nostrip"
-
-# modules not in the "main" ser package
-EXCLUDED_MODULES=jabber xmlrpc cpl-c
-
-# extra modules to skip, because they are not compilable now
-# - regardless if they go to the main ser package or to some module package,
-# they will be excluded from compile and install of all
-EXTRA_EXCLUDED_MODULES=seas bdb dbtext oracle pa rls iptrtpproxy
-#EXTRA_EXCLUDED_MODULES=
-
-# possible module directories that can appear in MODULES_SP
-# (only used for deducing a module name)
-MDIRS=modules modules_s modules_k
-
-# modules packaged in separate packages (complete with full modules_* path)
-# with the package name: ser-$(module_name)-module
-MODULES_SP=modules/db_mysql modules/db_postgres modules/tls modules/xmlrpc
-
-# module groups that are packaged in seperate packages
-# (with the name ser-$(group_name)-modules)
-# Note: the order is important (should be in dependency order, the one
-# on which other depend first)
-PACKAGE_GROUPS=db radius
-
-# directories with possible duplicate libraries (that should be deleted
-# from current module* packages)
-DUP_LIBS_DIRS=$(CURDIR)/debian/ser/usr/lib/ser \
-			$(CURDIR)/debian/ser-db-modules/usr/lib/ser
-
-# modules names out of modules sp
-MODULES_SP_NAMES=$(filter-out $(MDIRS),$(subst /, ,$(MODULES_SP)))
-
-# "function" to get package short name out of a dir/module_name
-# it also transforms db_foo into foo
-mod_name=$(subst db_,,$(lastword $(subst /, ,$(1))))
-
-define PACKAGE_GRP_BUILD_template
-	# package all the modules in PACKAGE_GROUPS in separate packages
-	$(foreach grp,$(PACKAGE_GROUPS),\
-		$(MAKE) every-module group_include="$(grp)"
-	)
-endef
-
-
-define PACKAGE_MODULE_BUILD_template
-	# package all the modules MODULES_SP in separate packages
-	$(foreach mod,$(MODULES_SP),\
-		$(MAKE) modules modules="$(mod)"
-	)
-endef
-
-
-define PACKAGE_GRP_INSTALL_template
-	$(foreach grp,$(PACKAGE_GROUPS),\
-		$(MAKE) install-modules-all group_include="$(grp)" \
-			basedir=$(CURDIR)/debian/ser-$(grp)-modules \
-			cfg_prefix=$(CURDIR)/debian/ser-$(grp)-modules \
-			doc-dir=share/doc/ser-$(grp)-modules
-		# eliminate duplicate libs
-		-for d in $(DUP_LIBS_DIRS); do \
-			test "$$d" != "$(CURDIR)/debian/ser-$(grp)-modules/usr/lib/ser" &&\
-			for r in $$d/lib*; do \
-				echo "removing $(grp) lib `basename $$r` present also in $$d";\
-				rm -f $(CURDIR)/debian/ser-$(grp)-modules/usr/lib/ser/`basename "$$r"` ; \
-			done ; \
-		done
-	)
-endef
-
-
-define PACKAGE_MODULE_INSTALL_template
-	$(foreach mod,$(MODULES_SP),
-		$(MAKE) install-modules-all modules="$(mod)" \
-				modules_s="" modules_k="" \
-				basedir=$(CURDIR)/debian/ser-$(call mod_name,$(mod))-module \
-				doc-dir=share/doc/ser-$(call mod_name,$(mod))-module
-		# eliminate duplicate libs
-		-for d in $(DUP_LIBS_DIRS); do \
-			test "$$d" != "$(CURDIR)/debian/ser-$(call mod_name,$(mod))-module/usr/lib/ser" &&\
-			for r in $$d/lib*; do \
-				echo "removing $(call mod_name, $(mod)) lib `basename $$r` present also in $$d";\
-				rm -f $(CURDIR)/debian/ser-$(call mod_name,$(mod))-module/usr/lib/ser/`basename "$$r"` ; \
-			done ; \
-		done
-	)
-endef
-
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -g
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
-endif
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
-	$(MAKE) cfg prefix=/usr cfg_prefix=$(CURDIR)/debian/ser \
-			cfg_target=/etc/ser/ \
-			basedir=$(CURDIR)/debian/ser \
-			skip_modules="$(EXCLUDED_MODULES) $(EXTRA_EXCLUDED_MODULES)" \
-			group_include="standard"
-
-	touch configure-stamp
-
-
-build: build-stamp
-
-build-stamp: configure-stamp 
-	dh_testdir
-	# Add here commands to compile the package.
-	$(MAKE) all
-	# make groups
-	$(call PACKAGE_GRP_BUILD_template)
-	# make single-module packages
-	$(call PACKAGE_MODULE_BUILD_template)
-	#/usr/bin/docbook-to-man debian/ser.sgml > ser.1
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	# Add here commands to clean up after the build process.
-	-$(MAKE) maintainer-clean
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	# Add here commands to install the package into debian/ser
-	$(MAKE) install group_include="standard"
-	# fix etc/ser dir location -- not needed -- andrei
-	# mv -f $(CURDIR)/debian/ser/usr/etc $(CURDIR)/debian/ser
-	# make group packages
-	$(call PACKAGE_GRP_INSTALL_template)
-	# make single module packages
-	$(call PACKAGE_MODULE_INSTALL_template)
-	# install /etc/default/ser file
-	mkdir -p $(CURDIR)/debian/ser/etc/default
-	cp -f debian/ser.default $(CURDIR)/debian/ser/etc/default/ser
-	# install the *.sql files for ser_mysql.sh script
-	cp -f scripts/mysql/*.sql $(CURDIR)/debian/ser-mysql-module/usr/lib/ser/
-	# and fix path to the *.sql files in ser_mysql.sh script
-	sed -i 's#DEFAULT_SCRIPT_DIR=.*#DEFAULT_SCRIPT_DIR="/usr/lib/ser/"#' \
-		$(CURDIR)/debian/ser-mysql-module/usr/sbin/ser_mysql.sh
-	# install advanced ser config file for ser-oob package
-	mkdir -p $(CURDIR)/debian/ser-oob/etc/ser
-	cp -f etc/sip-router-oob.cfg $(CURDIR)/debian/ser-oob/etc/ser/ser-oob.cfg
-	#dh_movefiles
-
-
-
-# This single target is used to build all the packages, all at once, or
-# one at a time. So keep in mind: any options passed to commands here will
-# affect _all_ packages. Anything you want to only affect one package
-# should be put in another target, such as the install target.
-binary-common: 
-	dh_testdir
-	dh_testroot
-	dh_installdebconf	
-	dh_installdocs
-	dh_installexamples
-	dh_installmenu
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-	dh_installinit  -- defaults 23
-	dh_installcron
-	dh_installman
-	dh_installinfo
-#	dh_undocumented
-	dh_installchangelogs 
-	dh_link
-	dh_strip
-	dh_compress 
-	dh_fixperms
-	dh_makeshlibs
-	dh_installdeb
-#	dh_perl
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-# Build architecture-independent packages using the common target
-binary-indep: build install
-# (Uncomment this next line if you have such packages.)
-#        $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
-# We have nothing to do by default.
-
-
-# Build architecture-dependent packages using the common target
-binary-arch: build install
-	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
-
-# Any other binary targets build just one binary package at a time.
-binary-%: build install
-	$(MAKE) -f debian/rules binary-common DH_OPTIONS=-p$*
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
-

+ 0 - 81
pkg/ser/deb/debian/ser-oob.config

@@ -1,81 +0,0 @@
-#!/bin/sh -e
-
-. /usr/share/debconf/confmodule
-
-# set cfg file name in default/ser file
-db_input medium ser-oob/CFG_FILE || true
-db_go
-
-# configure the ser-oob.cfg file ?
-db_input medium ser-oob/config || true
-db_go
-
-db_get ser-oob/config
-
-if [ "$RET" = "false" ]; then
-  exit 0
-fi
-
-db_input medium ser-oob/SERVERID || true
-db_go
-
-db_input medium ser-oob/LISTEN || true
-db_go
-
-# ask for administrative address and for replication sending addr only if listen addr was set
-db_get ser-oob/LISTEN
-if [ "$RET" != "" ]; then
-  db_input medium ser-oob/ADMINADDR || true
-  db_go
-  db_input medium ser-oob/SENDADDR || true
-  db_go
-else
-  # set admin addr to empty
-  db_set ser-oob/ADMINADDR
-fi
-
-db_input medium ser-oob/DBURL || true
-db_go
-
-db_input medium ser-oob/DBURLACC || true
-db_go
-
-db_input medium ser-oob/AUTHSECRET || true
-db_go
-
-db_input medium ser-oob/RTTPPROXY || true
-db_go
-
-db_input medium ser-oob/RTP_ENABLE || true
-db_go
-
-db_input medium ser-oob/NATPING_INTERVAL || true
-db_go
-
-db_input medium ser-oob/DBMODE || true
-db_go
-
-db_input medium ser-oob/CREATE_DB || true
-db_go
-
-db_get ser-oob/CREATE_DB
-if [ "$RET" = "true" ]; then
-  db_input medium ser-oob/MYSQLPASS || true
-  db_go
-fi
-
-db_input medium ser-oob/SERCTL_DOMAIN || true
-db_go
-
-db_get ser-oob/SERCTL_DOMAIN
-if [ "$RET" != "" ]; then
-  db_input medium ser-oob/SERCTL_USER || true
-  db_go
-
-  db_get ser-oob/SERCTL_USER
-  if [ "$RET" != "" ]; then
-    db_input medium ser-oob/SERCTL_PASS || true
-    db_go
-  fi
-fi
-

+ 0 - 286
pkg/ser/deb/debian/ser-oob.postinst

@@ -1,286 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# don't do anything when called with other argument than configure 
-case "$1" in
-  configure)
-  ;;  
-  abort-upgrade|abort-remove|abort-deconfigure)
-    exit 0
-  ;;
-  *)
-    echo "postinst called with unknown argument \$1'" >&2
-    exit 1
-  ;;
-esac
-
-. /usr/share/debconf/confmodule
-
-
-# ser config file that will be altered by this script, based on debconf values
-CONFIGFILE=/etc/ser/ser-oob.cfg 
-# ser defaults file, where config filename is set
-DEFAULTFILE=/etc/default/ser
-
-
-if ! test -e $CONFIGFILE; then
-  echo "Warning: ser-oob postinst script can't find config file $CONFIGFILE. Configuration aborted."
-  exit 0
-fi
-
-if ! test -e $DEFAULTFILE; then
-  echo "Warning: ser-oob postinst script can't find config file $DEFAULTFILE. Configuration aborted."
-  exit 0
-fi
-
-
-fn_config_replace ()
-{
-	if test $# -ne 2; then
-	  echo "Error - bad number of input parameters"
-	  echo "usage:"
-	  echo "fn_config_replace config_file CFG_OPTION_something" 
-	  exit 1
-	fi
-
-	FILENAME="$1"
-	ITEM="$2"
-
-	echo "Changing config option $ITEM."
-	OLDFILE="$FILENAME.config_replace_bck"
-	cp -f $FILENAME $OLDFILE
-
-	REPLACEMENT="$FILENAME.repl"
-	TEMPFILE="$FILENAME.temp"
-	TAIL="$FILENAME.tail"
-
-	rm -f $REPLACEMENT
-	touch $REPLACEMENT # needed if the input is empty
-	while read -r LINE
-	do
-	  echo "$LINE" >> $REPLACEMENT
-	done
-
-	STARTPOS=`nl -b a $FILENAME | grep -w "DEBCONF-$ITEM-START" | sed -e "s/^ *\([0-9]*\).*/\1/g"`
-	if [ "$STARTPOS" == "" ]; then
-		echo "WARNING: section $ITEM not found"
-		return
-	fi
-		
-	ENDPOS=`nl -b a $FILENAME | sed -e "1,${STARTPOS}d" | grep "DEBCONF-$ITEM-END" | head -n 1 | sed -e "s/^ *\([0-9]*\).*/\1/g"`
-	if [ "$STARTPOS" == "" ]; then
-		echo "WARNING: end of section $ITEM not found"
-		return
-	fi
-	ENDPOS=$(($ENDPOS-1))
-	STARTPOS=$(($STARTPOS+1))
-
-	cat $FILENAME | sed -e "1,${ENDPOS}d" > $TAIL
-	cat $FILENAME | sed -e "${STARTPOS},\$d" > $TEMPFILE
-	cat $REPLACEMENT >> $TEMPFILE
-	cat $TAIL >> $TEMPFILE
-	rm -f $TAIL
-	mv -f $TEMPFILE $FILENAME
-}
-
-# pads $1 with as many empty rows as needed until $2 lines are complete
-padLines() {
-	output="$1"
-	needed="$2"
-	num=`echo "$output" | wc -l`
-	echo "$output"
-	moreneeded=$(($needed-$num))
-	while (true); do
-	if [ $moreneeded -gt 0 ]
-	then
-		echo ""
-		moreneeded=$(($moreneeded-1))
-	else
-		break
-	fi
-	done
-}
-
-#----------------------------------------------------------------------------
-
-db_get ser-oob/CFG_FILE
-if test "$RET" != "!" ; then
-  echo "Package ser-oob postinstall script: MODIFYING config file $DEFAULTFILE."
-  fn_config_replace $DEFAULTFILE CFG_FILE <<+++
-SER_CFG_FILE="$RET"
-+++
-fi
-
-db_get ser-oob/config
-if [ "$RET" = "false" ] ; then
-  # do not change config file
-  echo "Package ser-oob postinstall script: NOT modifying config file $CONFIGFILE."
-else
-
-BACKUP="$CONFIGFILE.config_bck"
-
-echo "Package ser-oob postinstall script: MODIFYING config file $CONFIGFILE."
-echo "Creating backup copy as $BACKUP"
-cp -f $CONFIGFILE $BACKUP
-
-db_get ser-oob/SERVERID
-if test "$RET" != "!" ; then
-  fn_config_replace $CONFIGFILE SERVERID <<+++
-server_id=$RET
-+++
-fi
-
-db_get ser-oob/LISTEN
-if test "$RET" != "!" ; then
-  if test "$RET" != "" ; then
-    echo "$RET"|sed 's/,/\n/g'|awk '{print "listen=\"" $1 "\""}' | \
-    fn_config_replace $CONFIGFILE LISTEN
-    # enable the replication block
-    echo "#" | fn_config_replace $CONFIGFILE REPLICATION1
-    echo "#" | fn_config_replace $CONFIGFILE REPLICATION2
-    # enable replication listen addr
-    echo "listen=224.0.1.75" | fn_config_replace $CONFIGFILE LISTEN_REPL
-  else
-    echo "#listen=127.0.0.1" | fn_config_replace $CONFIGFILE LISTEN
-    # comment out the replication block
-    echo "/*" | fn_config_replace $CONFIGFILE REPLICATION1
-    echo "*/" | fn_config_replace $CONFIGFILE REPLICATION2
-    # disable replication listen addr
-    echo "#listen=224.0.1.75" | fn_config_replace $CONFIGFILE LISTEN_REPL
-  fi
-fi
-
-db_get ser-oob/ADMINADDR
-if test "$RET" != "!" ; then
-  if test "$RET" != "" ; then
-    echo "listen=udp:$RET" | fn_config_replace $CONFIGFILE LISTEN_ADMIN
-  else
-    echo "#listen=udp:127.0.0.1" | fn_config_replace $CONFIGFILE LISTEN_ADMIN
-  fi
-fi
-
-db_get ser-oob/SENDADDR
-if test "$RET" != "!" ; then
-  fn_config_replace $CONFIGFILE REPL_SEND_ADDR <<+++
-		force_send_socket(udp:$RET);
-+++
-fi
-
-db_get ser-oob/DBURL
-DBURL="$RET"
-if test "$RET" != "!" ; then
-  fn_config_replace $CONFIGFILE DBURL <<+++
-modparam("speeddial|auth_db|usrloc|acc_db|domain|uri_db|gflags|avp_db|db_ops", "db_url", "$RET")
-+++
-fi
-
-db_get ser-oob/DBURLACC
-if test "$RET" = "" ; then
-  RET="$DBURL"
-fi    
-if test "$RET" != "!" ; then
-  fn_config_replace $CONFIGFILE DBURLACC <<+++
-modparam("acc_db", "db_url", "$RET")
-+++
-fi
-
-db_get ser-oob/AUTHSECRET
-if test "$RET" != "!" ; then
-  fn_config_replace $CONFIGFILE AUTHSECRET <<+++
-modparam("auth", "secret", "$RET")
-+++
-fi
-
-db_get ser-oob/RTTPPROXY
-if test "$RET" != "!" ; then
-  fn_config_replace $CONFIGFILE RTTPPROXY <<+++
-modparam("nathelper", "rtpproxy_sock", "$RET")
-+++
-fi
-
-db_get ser-oob/RTP_ENABLE
-if test "$RET" != "!" ; then
-  fn_config_replace $CONFIGFILE RTP_ENABLE <<+++
-rtp_proxy.enabled = "$RET" desc "indicates whether the RTP Proxy is enabled or not (0/1/detect)"
-+++
-fi
-
-db_get ser-oob/NATPING_INTERVAL
-if test "$RET" != "!" ; then
-  fn_config_replace $CONFIGFILE NATPING_INTERVAL <<+++
-modparam("nathelper", "natping_interval", $RET)
-+++
-fi
-
-db_get ser-oob/DBMODE
-if test "$RET" != "!" ; then
-  fn_config_replace $CONFIGFILE DBMODE <<+++
-modparam("usrloc", "db_mode", $RET)
-+++
-fi
-
-db_get ser-oob/CREATE_DB
-if [ "$RET" = "true" ] ; then
-  db_set ser-oob/CREATE_DB false
-  db_get ser-oob/MYSQLPASS
-  PASS="$RET"
-  db_set ser-oob/MYSQLPASS ""
-  echo "Creating ser database"
-  /usr/sbin/ser_mysql.sh create -q$PASS
-fi
-
-# restart ser - after creating db, but before calling ser_ctl
-if [ -x "/etc/init.d/ser" ]; then
-  if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
-    invoke-rc.d ser restart || echo "Warning: ser restart failed!"
-  else
-    /etc/init.d/ser restart || echo "Warning: ser restart failed!"
-  fi
-fi
-
-db_get ser-oob/SERCTL_DOMAIN
-if [ "$RET" != "" ] ; then
-  DOMAIN="$RET"
-  # clear it, to be sure we do not add it more than once
-  db_set ser-oob/SERCTL_DOMAIN
-  # add the domain using ser_ctl
-  echo "Waiting for ser to finish startup..."
-  # wait some time, to allow ser start after starting it
-  sleep 10
-  echo "Calling ser_ctl to add domain"
-  ser_ctl domain add $DOMAIN || echo "Warning: ser_ctl failed!"
-
-  db_get ser-oob/SERCTL_USER
-  if [ "$RET" != "" ] ; then
-    USER="$RET"
-    # clear it, to be sure we do not add it more than once
-    db_set ser-oob/SERCTL_USER
-    # get the user password
-    db_get ser-oob/SERCTL_PASS
-    PASS="$RET"
-    # clear it
-    db_set ser-oob/SERCTL_PASS
-    # add the user using ser_ctl
-    echo "Calling ser_ctl to add user"
-    ser_ctl user add $USER@$DOMAIN -p "$PASS" || echo "Waring: ser_ctl failed!"
-    echo "Calling ser_ctl to set user rights"
-    ser_ctl attrs set $USER@$DOMAIN sw_is_admin=1 sw_is_hostmaster=1 || echo "Waring: ser_ctl failed!"
-  fi
-fi
-
-
-fi # if changing config
-
-echo ""
-echo "***"
-echo "Configuration of ser-oob has finished."
-echo ""
-echo "To restart it when configuration has changed use '/etc/init.d/ser restart'"
-echo ""
-echo "To change it's configuration use 'dpkg-reconfigure ser-oob'"
-echo "***"
-echo ""
-
-exit 0
-

+ 0 - 6
pkg/ser/deb/debian/ser-oob.postrm

@@ -1,6 +0,0 @@
-#!/bin/sh
-
-#DEBHELPER#
-
-
-exit 0

+ 0 - 14
pkg/ser/deb/debian/ser-oob.prerm

@@ -1,14 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if test "$1" = "upgrade"; then
-  exit 0
-fi
-
-#DEBHELPER#
-
-
-exit 0
-
-

+ 0 - 191
pkg/ser/deb/debian/ser-oob.templates

@@ -1,191 +0,0 @@
-Template: ser-oob/CFG_FILE
-Type: string
-Default: /etc/ser/ser-oob.cfg
-Description: SER config file name 
- This option sets SER config file name in '/etc/default/ser' file, which is used by SER init
- script to start SER.
- .
- It is recommended to use the default value '/etc/ser/ser-oob.cfg'.
- .
- If you do not want to modify this setting now you can modify it manually later,
- or repeat this configuartion by running "dpkg-reconfigure ser-oob".
- .
- Note: this value you enter here will be automatically applied to '/etc/default/ser' file
- each time the ser-oob package is upgraded (or installed without purging previous
- installation).
- .
- Enter "!" to not modify this option.
-
-Template: ser-oob/config
-Type: boolean
-Default: false
-Description: Change config file now ?
- You have now opportunity to modify basic configuration values in 'ser-oob.cfg'
- config file for SER Sip Express Router, installed from 'ser-oob' package.
- If you do not want to modify the config file now you can modify it manually later,
- or repeat this configuartion by running "dpkg-reconfigure ser-oob".
- .
- Note: the values you enter here will be automatically applied to 'ser-oob.cfg' file
- each time the ser-oob package is upgraded (or installed without purging previous
- installation).
-
-Template: ser-oob/SERVERID
-Type: string
-Default: 1
-Description: Unique identifier of the SER server
- This is the unique identifier of the SER server. You only have to change this option
- if you are setting up a cluster of SER servers. In that case each SER server within
- the cluster must have its own unique number. Leave this option untouched if you are
- setting up a single SER server only. Use integer numbes only.
- .
- Enter "!" to not modify this option.
-
-Template: ser-oob/LISTEN
-Type: string
-Default: 127.0.0.1
-Description: List of IP addresses to listen on
- List of all IP addresses SER will listen for SIP messages on. 
- Multiple entries may be entered separated by commas.
- Enter empty string to not set explicit listening address.
- The order is important - SER will use the first address as the default address when it
- doesn't know what socket to choose.
- Please do not list private administrative address here (separate question for it will follow).
- .
- Note: if you do not specify any listen ip address then SER will listen on all interfaces,
- and also replication using multicast will be disabled in the ser config.
- .
- Enter "!" to not modify this option.
-
-Template: ser-oob/ADMINADDR
-Type: string
-Default:
-Description: Administrative IP address
- Set the IP address of administrative interface (usually a private one), on which
- Ser will also listen.
- .
- You can enter empty string to not listen on any administrative address.
- .
- Enter "!" to not modify this option.
-
-Template: ser-oob/SENDADDR
-Type: string
-Default: 127.0.0.1
-Description: IP address used for sending replication
- Set source IP address that Ser will use for sending REGISTERs replication
- to multicast address.
- .
- Enter "!" to not modify this option.
-
-Template: ser-oob/DBURL
-Type: string
-Default: mysql://ser:[email protected]/ser
-Description: address of database
- Set the address of your database server which includes all provisioning
- data. Example is "mysql://ser:heslo@localhost/ser".
- .
- Enter "!" to not modify this option.
-
-Template: ser-oob/DBURLACC
-Type: string
-Default: mysql://ser:[email protected]/ser
-Description: address of database for accounting
- Set the address of your database that will be used for acconting. Example is "mysql://ser:heslo@localhost/ser".
- .
- You can leave it blank to use the same db as for provisioning data.
- .
- Enter "!" to not modify this option.
-
-Template: ser-oob/AUTHSECRET
-Type: string
-Default: SomeSecretVerySecret
-Description: Synchronization secret for twin servers:
- Local value used to generate secure nonces. Set it to a long random
- string such as "alsdkhgla5sd7fkloKwr". Make sure that in hot/standby
- setup the same secret is used on both machines.
- .
- Enter "!" to not modify this option.
-
-Template: ser-oob/RTTPPROXY
-Type: string
-Default: udp:127.0.0.1:22222
-Description: RTP proxy control socket
- Set address of RTP proxy control socket. Example: "udp:localhost:22222".
- Enter empty string to not set any RTP proxy address.
- .
- Enter "!" to not modify this option.
-
-Template: ser-oob/RTP_ENABLE
-Type: select
-Choices: 0, 1, detect, !
-Default: detect
-Description: Enable or disable the rtp proxy
- Select whether to enable or disable using of RTP proxy. Possible values are:
- "0" -- always disable, "1" -- always enable regardless of whether UAC or UAS is behind NAT,
- "detect" -- detect whether the UAC or the UAS is behind NAT, and enable the rtp proxy
- when necessary.
- .
- Use "!" to not modify this option.
-
-Template: ser-oob/NATPING_INTERVAL
-Type: select
-Choices: 0, 15, !
-Default: 15
-Description: NAT ping interval
- Set NAT ping interval.
- .
- Use "!" to not modify this option.
-
-Template: ser-oob/DBMODE
-Type: select
-Choices: 0, 1, 2, !
-Default: 1
-Description: usrloc database mode
- Set usrloc module db_mode option. Choices are: 0 -- memory cached,
- 1 -- write thru, 2 -- delayed write.
- .
- 1 is generally safer than 2 ... 2 can help to survive peaks in load
- however it creates delayed peaks that can impair request-processing
- latency later (it would have to be re-redesigned more lock-free to
- avoid it).
- .
- Enter "!" to not modify this option.
-
-Template: ser-oob/CREATE_DB
-Type: boolean
-Default: false
-Description: Create ser database
- Do you want to create ser database 'ser' with default users 'ser' and 'serro' on Mysql
- server running on localhost ? You should use this option when doing first-time installation only.
- .
- Note: you can run the script creation script manually by calling 'ser_mysql.sh'.
-
-Template: ser-oob/MYSQLPASS
-Type: string
-Default:
-Description: Mysql root password
- Please enter your Mysql root password. It will be used to create the ser database. You can leave it empty
- to use empty password.
-
-Template: ser-oob/SERCTL_DOMAIN
-Type: string
-Default:
-Description: Domain
- Please enter your sip domain name. A record for it will be added using 'ser_ctl domain add' command. Note: this requires database to be already working.
- .
- Leave this entry empty to not add any domain.
-
-Template: ser-oob/SERCTL_USER
-Type: string
-Default:
-Description: Admin user
- Please enter username for admin user. It will be created using 'ser_ctl user add' command and it's rights will be set using 'ser_ctl attrs <user> sw_is_admin=1 sw_is_hostmaster=1' command.
- Note: this requires database to be already working.
- .
- Leave this entry empty to not add the user record.
-
-Template: ser-oob/SERCTL_PASS
-Type: string
-Default:
-Description: Admin user password
- Please enter password for admin user.
-

+ 0 - 29
pkg/ser/deb/debian/ser.config

@@ -1,29 +0,0 @@
-#!/bin/sh -e
-
-. /usr/share/debconf/confmodule
-
-# configure ?
-db_input medium ser/config || true
-db_go
-
-db_get ser/config
-
-if [ "$RET" = "false" ]; then
-  exit 0
-fi
-
-db_input medium ser/USER || true
-db_go
-
-db_input medium ser/GROUP || true
-db_go
-
-db_input medium ser/WORKDIR || true
-db_go
-
-db_input medium ser/KERNEL_CORE_PID || true
-db_go
-
-db_input medium ser/MEMORY || true
-db_go
-

+ 0 - 44
pkg/ser/deb/debian/ser.default

@@ -1,44 +0,0 @@
-# configuration for ser - Sip Expres Router
-#
-# this file is sourced by ser init script /etc/init.d/ser
-
-# Note: the #DEBCONF-xxx-START and DEBCONF-xxx-END lines are used for
-# debconf configuration, please don't remove or alter them.
-
-# ser configuration file
-#DEBCONF-CFG_FILE-START
-SER_CFG_FILE="/etc/ser/ser.cfg"
-#DEBCONF-CFG_FILE-END
-
-# user to run ser as
-#DEBCONF-USER-START
-SER_USER="root"
-#DEBCONF-USER-END
-
-# group to run ser as
-#DEBCONF-GROUP-START
-SER_GROUP="root"
-#DEBCONF-GROUP-END
-
-# ser pidfile
-SER_PIDFILE="/var/run/ser/ser.pid"
-
-# working dir (cores will be placed there in case of ser crash)
-#DEBCONF-WORKDIR-START
-#SER_WORKDIR="/var/cores"
-#DEBCONF-WORKDIR-END
-
-# set if you want kernel flag to use pid for core files
-#DEBCONF-KERNEL_CORE_PID-START
-#SER_KERNEL_CORE_PID="yes"
-#DEBCONF-KERNEL_CORE_PID-END
-
-# size of shared memory used by ser, in megabytes
-#DEBCONF-MEMORY-START
-#SER_MEMORY="128"
-#DEBCONF-MEMORY-END
-
-
-
-
-

+ 0 - 15
pkg/ser/deb/debian/ser.examples

@@ -1,15 +0,0 @@
-examples/acc.cfg
-examples/ccdiversion.cfg
-examples/ctd.sh
-examples/exec.cfg
-examples/logging.cfg
-examples/msilo.cfg
-examples/onr.cfg
-examples/pstn.cfg
-examples/redirect.cfg
-examples/replicate.cfg
-examples/serial_183.cfg
-examples/uas.cfg
-examples/vm_proxy.cfg
-examples/voicemail.cfg
-examples/welcome.cfg

+ 0 - 125
pkg/ser/deb/debian/ser.init

@@ -1,125 +0,0 @@
-#! /bin/sh
-#
-# skeleton	example file to build /etc/init.d/ scripts.
-#		This file should be used to construct scripts for /etc/init.d.
-#
-#		Written by Miquel van Smoorenburg <[email protected]>.
-#		Modified for Debian GNU/Linux
-#		by Ian Murdock <[email protected]>.
-#
-# Version:	@(#)skeleton  1.8  03-Mar-1998  [email protected]
-#
-#  adapted for ser by Andrei Pelinescu-Onciul <[email protected]>
-# $Id$
-
-# read configuration from /etc/default/ser file
-if test -f /etc/default/ser ; then
-  . /etc/default/ser
-fi
-
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/sbin/ser
-NAME=ser
-DESC=ser
-
-PARAMS=""
-
-if test "$SER_PIDFILE" ; then
-  PARAMS="$PARAMS -P $SER_PIDFILE"
-fi
-
-if test "$SER_USER" ; then
-  PARAMS="$PARAMS -u $SER_USER"
-fi
-
-if test "$SER_GROUP" ; then
-  PARAMS="$PARAMS -g $SER_GROUP"
-fi
-
-if test "$SER_CFG_FILE" ; then
-  PARAMS="$PARAMS -f $SER_CFG_FILE"
-  CFGPARAMS="-f $SER_CFG_FILE"
-fi
-
-if test "$SER_WORKDIR" ; then
-  PARAMS="$PARAMS -w $SER_WORKDIR"
-  # try to create the working dir
-  mkdir -p $SER_WORKDIR || echo "Warning: error creating ser working dir $SER_WORKDIR"
-fi
-
-if test "$SER_MEMORY" ; then
-  PARAMS="$PARAMS -m $SER_MEMORY"
-fi
-
-if test "$SER_KERNEL_CORE_PID" = "true" ; then
-  # enable using pid for cores
-  echo 1 > /proc/sys/kernel/core_uses_pid || echo "Warning: error when enabling /proc/sys/kernel/core_uses_pid"
-fi
-
-if ! test -f $DAEMON ; then
-  echo "Error: cannot find $DAEMON"
-  exit 0
-fi
-
-LD_LIBRARY_PATH=/usr/lib/ser
-export LD_LIBRARY_PATH
-
-set -e
-
-case "$1" in
-  start)
-	echo -n "Starting $DESC: $NAME"
-	start-stop-daemon --start --quiet --pidfile $SER_PIDFILE \
-		--exec $DAEMON -- $PARAMS
-	echo "."
-	;;
-  stop)
-	echo -n "Stopping $DESC: $NAME"
-	start-stop-daemon --oknodo --stop --quiet --pidfile $SER_PIDFILE \
-		--exec $DAEMON
-	echo "."
-	;;
-  #reload)
-	#
-	#	If the daemon can reload its config files on the fly
-	#	for example by sending it SIGHUP, do it here.
-	#
-	#	If the daemon responds to changes in its config file
-	#	directly anyway, make this a do-nothing entry.
-	#
-	# echo "Reloading $DESC configuration files."
-	# start-stop-daemon --stop --signal 1 --quiet --pidfile \
-	#	$SER_PIDFILE --exec $DAEMON
-  #;;
-  restart|force-reload)
-	#
-	#	If the "reload" option is implemented, move the "force-reload"
-	#	option to the "reload" entry above. If not, "force-reload" is
-	#	just the same as "restart".
-	#
-	# Check if ser configuration is valid before restarting the server
-        (($DAEMON $CFGPARAMS -c 2>&1) | grep "config file ok, exiting") > /dev/null
-	if [ $? -ne 0 ]; then
-            ($DAEMON $CFGPARAMS -c 2>&1)
-	    echo -e "\nThere are errors in the configuration file. Please fix them first"
-	    echo -e "\n$out\n"
-	    exit 0
-	fi
-	echo -n "Restarting $DESC: $NAME"
-	start-stop-daemon --oknodo --stop --quiet --pidfile \
-		$SER_PIDFILE --exec $DAEMON
-	sleep 1
-	start-stop-daemon --start --quiet --pidfile \
-		$SER_PIDFILE --exec $DAEMON  -- $PARAMS
-	echo "."
-	;;
-  *)
-	N=/etc/init.d/$NAME
-	# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
-	echo "Usage: $N {start|stop|restart|force-reload}" >&2
-	exit 1
-	;;
-esac
-
-exit 0
-

+ 0 - 59
pkg/ser/deb/debian/ser.templates

@@ -1,59 +0,0 @@
-Template: ser/config
-Type: boolean
-Default: false
-Description: Change config file now ?
- You have now opportunity to modify basic configuration values in '/etc/default/ser'
- config file for SER Sip Express Router, installed from 'ser' package. Settings from this
- file are used by SER init script when it is started - e.g. size of shared memory used,
- user and group to run as, working directory.
- .
- If you do not want to modify the config file now you can modify it manually later,
- or repeat this configuartion by running "dpkg-reconfigure ser".
- .
- Note: if you choose 'yes' here then the values you enter will be automatically applied
- each time the ser package is upgraded (or installed without purging previous installation).
-
-Template: ser/USER
-Type: string
-Default: root
-Description: User to run SER as
- Set the user which SER should run as. Default is 'root' user.
- .
- Note: if you want ser to be able to dump a core file in case of crash, you have to run it as root user.
- .
- Enter "!" to not modify this option.
-
-Template: ser/GROUP
-Type: string
-Default: root
-Description: Group to run SER as
- Set the group which SER should run as. Default is 'root' group.
- .
- Enter "!" to not modify this option.
-
-Template: ser/WORKDIR
-Type: string
-Default: /
-Description: SER working directory
- Set the working directory to which core files will be written in case of SER crash.
- For debugging purposes it is recommended to use '/var/cores' directory. The directory will
- be created automatically by SER init script if not existing.
- .
- Enter "!" to not modify this option.
-
-Template: ser/KERNEL_CORE_PID
-Type: boolean
-Default: false
-Description: Set kernel to use pid for core files
- If enabled the '/proc/sys/kernel/core_uses_pid' will be set to '1' before starting SER,
- to enable using of pid for core files creation. If disabled nothing will be set.
- For debugging purposes it is recommended to enable this option.
-
-Template: ser/MEMORY
-Type: string
-Default: 32
-Description: Size of shared memory used, in MB
- Set size of SER shared memory to allocate, in megabytes.
- .
- Enter "!" to not modify this option.
-

+ 0 - 0
pkg/ser/deb/debian/shlibs.local


+ 0 - 7
pkg/ser/deb/debian/watch

@@ -1,7 +0,0 @@
-# Example watch control file for uscan
-# Rename this file to "watch" and then you can run the "uscan" command
-# to check for upstream updates and more.
-version=2
-
-# Site		Directory		Pattern			Version	Script
-ftp://ftp.berlios.de/pub/ser/latest/src/ser-(.*)_src\.tar\.gz	debian	uupdate

+ 0 - 24
pkg/ser/freebsd/000.ser.sh

@@ -1,24 +0,0 @@
-#!/bin/sh
-#
-# Start/stop/restart SIP EXpress Router (SER)
-#
-# Version: 1.0 - Paul Belanger <[email protected]>
-#
-# Directions:
-# copy ser script to /usr/local/etc/rc.d/
-# edit /etc/rc.conf and add the following:
-# ser_enable="YES"
-#
-#
-# 05.05.2005 - Initial Version
-
-. /etc/rc.subr
-
-name="ser"
-rcvar="`set_rcvar`"
-command="/usr/local/sbin/${name}"
-pidfile="/var/run/${name}.pid"
-
-load_rc_config $name
-ser_flags="$cron_flags -P $pidfile"
-run_rc_command "$1"

+ 0 - 55
pkg/ser/freebsd/Makefile

@@ -1,55 +0,0 @@
-# New ports collection makefile for:    ser
-# Date created:        6 November 2002
-# Whom:                andrei
-#
-# $FreeBSD$
-#
-# $Id$
-#
-
-
-PORTNAME= ser
-PORTVERSION= 0.9.4
-CATEGORIES= net
-MASTER_SITES= ftp://ftp.iptel.org/pub/ser/0.9.4/src/
-
-MAINTAINER= [email protected]
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 501000
-# FreeBSD 5.1 wants COMMENT and it doesn't like pkg-comment
-COMMENT= Sip Express Router, very fast and configurable SIP proxy
-COMMENTFILE= 
-.endif
-
-MAN8=ser.8
-MAN5=ser.cfg.5
-MANCOMPRESSED= no
-
-
-USE_GMAKE= yes
-# we override the DISTFILE NAME
-DISTNAME= ${PORTNAME}-${PORTVERSION}_src
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
-# build by default mysql and jabber
-MAKE_ENV= include_modules="mysql jabber cpl-c pa"
-
-
-
-
-# depends on mysql and libexpat because of the above modules
-BUILD_DEPENDS= ${LOCALBASE}/include/expat.h:${PORTSDIR}/textproc/expat* \
-               ${LOCALBASE}/include/mysql/mysql.h:${PORTSDIR}/databases/mysql*-client \
-               ${LOCALBASE}/include/libxml2/libxml/uri.h:${PORTSDIR}/textproc/libxml2* 
-LIB_DEPENDS=   expat:${PORTSDIR}/textproc/expat* \
-               mysqlclient:${PORTSDIR}/databases/mysql*-client \
-               xml2:${PORTSDIR}/textproc/libxml2
-
-pre-fetch:
-
-
-.include <bsd.port.post.mk>
-
-

+ 0 - 1
pkg/ser/freebsd/distinfo

@@ -1 +0,0 @@
-MD5 (ser-0.9.4_src.tar.gz) = d12d56d76c86b59dd51a43b3251b7d3a

+ 0 - 1
pkg/ser/freebsd/pkg-comment

@@ -1 +0,0 @@
-Sip Express Router, very fast and configurable SIP proxy

+ 0 - 15
pkg/ser/freebsd/pkg-descr

@@ -1,15 +0,0 @@
-ser or SIP Express Router is a very fast and flexible SIP (RFC3621)
-proxy server. Written entirely in C, ser can handle thousands calls
-per second even on low-budget hardware. C Shell like scripting language
-provides full control over the server's behaviour. It's modular
-architecture allows only required functionality to be loaded.
-Currently the following modules are available: Digest Authentication,
-CPL scripts, Instant Messaging, MySQL support, Presence Agent, Radius
-Authentication, Record Routing, SMS Gateway, Jabber Gateway, Transaction
-Module, Registrar, User Location, NAT Traversal, a.s.o.
-
-
-WWW: http://www.iptel.org/ser/
-
-- Andrei Pelinescu-Onciul
[email protected]

+ 0 - 104
pkg/ser/freebsd/pkg-plist

@@ -1,104 +0,0 @@
-etc/ser/dictionary.ser
-etc/ser/ser.cfg
-lib/ser/modules/acc_db.so
-lib/ser/modules/acc_syslog.so
-lib/ser/modules/auth.so
-lib/ser/modules/auth_db.so
-lib/ser/modules/avp.so
-lib/ser/modules/avp_db.so
-lib/ser/modules/avpops.so
-lib/ser/modules/cpl-c.so
-lib/ser/modules/ctl.so
-lib/ser/modules/db_ops.so
-lib/ser/modules/dbtext.so
-lib/ser/modules/dialog.so
-lib/ser/modules/dispatcher.so
-lib/ser/modules/domain.so
-lib/ser/modules/enum.so
-lib/ser/modules/eval.so
-lib/ser/modules/exec.so
-lib/ser/modules/flatstore.so
-lib/ser/modules/gflags.so
-lib/ser/modules/jabber.so
-lib/ser/modules/lcr.so
-lib/ser/modules/maxfwd.so
-lib/ser/modules/mediaproxy.so
-lib/ser/modules/msilo.so
-lib/ser/modules/mysql.so
-lib/ser/modules/nathelper.so
-lib/ser/modules/options.so
-lib/ser/modules/pa.so
-lib/ser/modules/pdt.so
-lib/ser/modules/permissions.so
-lib/ser/modules/pike.so
-lib/ser/modules/print.so
-lib/ser/modules/ratelimit.so
-lib/ser/modules/registrar.so
-lib/ser/modules/rr.so
-lib/ser/modules/sl.so
-lib/ser/modules/sms.so
-lib/ser/modules/speeddial.so
-lib/ser/modules/textops.so
-lib/ser/modules/timer.so
-lib/ser/modules/tm.so
-lib/ser/modules/uac.so
-lib/ser/modules/uri.so
-lib/ser/modules/uri_db.so
-lib/ser/modules/usrloc.so
-lib/ser/modules/xlog.so
-lib/ser/modules/xmlrpc.so
-sbin/ser
-sbin/ser_mysql.sh
-sbin/serunix
-share/doc/ser/AUTHORS
-share/doc/ser/INSTALL
-share/doc/ser/NEWS
-share/doc/ser/README
-share/doc/ser/README-MODULES
-share/doc/ser/README.acc_db
-share/doc/ser/README.acc_syslog
-share/doc/ser/README.auth
-share/doc/ser/README.auth_db
-share/doc/ser/README.avp
-share/doc/ser/README.avp_db
-share/doc/ser/README.avpops
-share/doc/ser/README.cpl-c
-share/doc/ser/README.ctl
-share/doc/ser/README.db_ops
-share/doc/ser/README.dbtext
-share/doc/ser/README.dialog
-share/doc/ser/README.dispatcher
-share/doc/ser/README.domain
-share/doc/ser/README.enum
-share/doc/ser/README.eval
-share/doc/ser/README.exec
-share/doc/ser/README.flatstore
-share/doc/ser/README.gflags
-share/doc/ser/README.jabber
-share/doc/ser/README.lcr
-share/doc/ser/README.maxfwd
-share/doc/ser/README.msilo
-share/doc/ser/README.nathelper
-share/doc/ser/README.options
-share/doc/ser/README.pa
-share/doc/ser/README.pdt
-share/doc/ser/README.permissions
-share/doc/ser/README.pike
-share/doc/ser/README.print
-share/doc/ser/README.registrar
-share/doc/ser/README.rr
-share/doc/ser/README.sl
-share/doc/ser/README.sms
-share/doc/ser/README.speeddial
-share/doc/ser/README.textops
-share/doc/ser/README.tm
-share/doc/ser/README.uac
-share/doc/ser/README.uri
-share/doc/ser/README.uri_db
-share/doc/ser/README.usrloc
-share/doc/ser/README.xlog
-share/doc/ser/README.xmlrpc
-@dirrm share/doc/ser
-@dirrm etc/ser
-@dirrm lib/ser/modules
-@dirrm lib/ser

+ 0 - 78
pkg/ser/gentoo/ChangeLog

@@ -1,78 +0,0 @@
-# ChangeLog for net-misc/sip-router
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
-*sip-router-3.3.2 (17 Oct 2012)
-
-  17 Oct 2012; Claudio G. Furrer <[email protected]> +sip-router.3.3.2.ebuild:
-  Version bump (series 3.3.x).
-
-*sip-router-3.3.1 (5 Oct 2012)
-
-  5 Oct 2012; Claudio G. Furrer <[email protected]> +sip-router.3.3.1.ebuild:
-  Version bump (series 3.3.x).
-
-*sip-router-3.2.4 (4 Oct 2012)
-
-  4 Oct 2012; Claudio G. Furrer <[email protected]> +sip-router.3.2.4.ebuild:
-  Version bump (series 3.2.x).
-
-*sip-router-3.1.6 (3 Oct 2012)
-
-  3 Oct 2012; Claudio G. Furrer <[email protected]> +sip-router.3.1.6.ebuild:
-  Version bump (series 3.1.x).
-
-
-*sip-router-3.2.3 (26 Apr 2012)
-
-  26 Apr 2012; Claudio G. Furrer <[email protected]> +sip-router.3.2.3.ebuild:
-  Version bump.
-
-*sip-router-3.2.2 (15 Feb 2012)
-
-  15 Feb 2012; Claudio G. Furrer <[email protected]> +sip-router.3.2.2.ebuild:
-  Version bump.
-
-*sip-router-3.2.1 (25 Jan 2012)
-
-  25 Jan 2012; Claudio G. Furrer <[email protected]> +sip-router.3.2.1.ebuild:
-  Version bump.
-
-*sip-router-3.1.5 (21 Sep 2011)
-
-  21 Sep 2011; Claudio G. Furrer <[email protected]> +sip-router.3.1.5.ebuild:
-  Version bump.
-
-  21 Sep 2011; Claudio G. Furrer <[email protected]> -sip-router-3.1.2.ebuild,
-  -sip-router-3.1.3.ebuild, -sip-router-3.1.4.ebuild, -sip-router-3.1.4-r1.ebuild,
-  -files/siprouter.confd, -files/siprouter.init:
-  Older versions than 3.1.4-r2 are no longer packaged.
-
-*sip-router-3.1.4 (13 Sep 2011)
-  
-  13 Sep 2011; Claudio G. Furrer <[email protected]> +sip-router-3.1.4-r2.ebuild,
-  +files/ser.confd, +files/ser.initd:
-  Fix installation paths and names based on flavour specified in the USE flag
-  (ser or kamailio).
-
-  24 Aug 2011; Claudio G. Furrer <[email protected]> sip-router-3.1.4-r1.ebuild:
-  Added kamailio-specific groups (group_k*) in USE flags.
-
-  31 May 2011; Claudio G. Furrer <[email protected]> sip-router-3.1.4.ebuild:
-  Version bump.
-
-*sip-router-3.1.3 (03 May 2011)
-  
-  03 May 2011; Claudio G. Furrer <[email protected]> sip-router-3.1.3.ebuild:
-  Version bump.
-
-*sip-router-3.1.2 (21 Mar 2011)
-  
-  23 Mar 2011; Claudio G. Furrer <[email protected]> sip-router-3.1.2.ebuild,
-  +metadata.xml:
-  Added flavours USE setup for kamailio/ser/sip-router options.
-  Also was added metadata file.
-
-  22 Mar 2011; Claudio G. Furrer <[email protected]> sip-router-3.1.2.ebuild:
-  Added initial ChangeLog which should be updated whenever the package is
-  updated in any way.

+ 0 - 16
pkg/ser/gentoo/Manifest

@@ -1,16 +0,0 @@
-AUX ser.confd 514 SHA256 fec2d2b5c1f222bfd413ece424c2ee6b7fdff2fc71f8b95abb6b31118f209770 SHA512 3745b3bdc1ae2dd2d4cf7c4dbdcb5dc8a2667dcbb50bcff89ea01ac3f95ff213b93ae0402c45703305781fd9c6f4968f59f1a9c509670f54f4cf58a788d53c55 WHIRLPOOL 645a88d3442a34d755eed69a7586c96f219ea3fb096ba6a86aaf13314d306c59d9dd5a656787612b1c0a7e784f148d712641f3c2869383a542e11c9525cd881b
-AUX ser.initd 800 SHA256 c9b748c5756e1bf2ee72ff0350b5f9ad1b8489d41008a00d66e335b276252a44 SHA512 57f558a42cfeee7eb78583ba68d64874e3d162c67ec064034061cf37e47d42e2924f0a37ecc47c25d7df1cab9281ac0d0f06ccb3b1bdebde8894f4450b3a8696 WHIRLPOOL cb6a2ff4d7ae5c88d87f1341ab38c787454b7074c9780cf93ebf52a06623720413ae636f40027beff18d828669194b47c5395ac368036db5bf8b543f6fdef54f
-DIST kamailio-3.1.5_src.tar.gz 7025269 SHA256 5d1a2db3f9bea3cfac76777646627be24e6033876a5bf60200882be00cefe9ca SHA512 5090e656ea3af12ea9dbbb09d2b1fbfaca4b7089f695d3652a64802d1e763678c2b2a03796eebb1a5d47530a786a4b88e9e5ee5bf80c260f4bd75033be3008cf WHIRLPOOL 68538eb109a4c5f8ab75e58a06453d80a2c80fcb777b42042369a8ed730a59634aaec1cb84a8c9c1e17dbc2a940851a698beb63f9afa2420748d6694a61c5686
-DIST kamailio-3.1.6_src.tar.gz 7002535 SHA256 eb69af9d5bf851c802618ffe9f901200a750366fe9a68e0fc7e5ed233997f4b5 SHA512 66347f73e8b48cb746e950c57b726a3e7640ae7ec78575307fb250103cab5660c93b1e186bdd89589a62f0d3ea329ea659afdf21723fd0bb9d89a041231850ff WHIRLPOOL fe309ab3c317b534e920605f749654f37670cb86f19417461f56692a26b54a54857a8c62c2332e25c9a308924974227e2a815bbbcaf84498bd866a9888d48fc9
-DIST kamailio-3.2.3_src.tar.gz 7227846 SHA256 673253bb3ec2f0cccba0fcddc8c93b3a41da4a1f63b5220736ee348d5ca3d131 SHA512 59dae999b0a598156032ba86e29cabf2053de1e7cb6dcb4a3b0ad76e4f0acc18980c804185a8edb545a360247676be13cbab77f2465875bb9591ca3885e85368 WHIRLPOOL b7978bba572724d709744a6c4e61aef740c611e011ef20469b51f9a419e88776329e4936ac664b1bce2c2b4b0b861c17ac927935637d0795c124597a1f163b2c
-DIST kamailio-3.2.4_src.tar.gz 7253378 SHA256 f367de0957807479f6c3f1df6ad3033819504c99f6007b90bc73ff0535657ab7 SHA512 9fe97296ac4321f8c9c052011b66ba298951499b4c27d16cb3b3e8aa6b9619e7ef91679c5ce22f4b0639bb06ceedc859efd2df3199338fb5da73005f11926eac WHIRLPOOL bf020eaab1b1e339165e51628ec37de8cbf9defde92248a37b519689516ee200287638a2ec489a180c05633bd9d7ddd933793f50ca97f360ad3a8310599d1493
-DIST kamailio-3.3.1_src.tar.gz 7468878 SHA256 45c153776efad809ec1f88710d7d3cd57c9f805050611378eaccf99bed63a122 SHA512 aa14c17fe113502266819f7824b377d8856aa48380ed4e66f2540d86a646cd19052b5e6da7f28f4b92fcbdd57b4182969536702f6f8f27119295a5c944242883 WHIRLPOOL c01fb645893284e7941f82dd61b3f79761600ac217dc8326614b16580c7d28d5a263c7235379901846948ec80dca695e69a6f617b2df5e1e0802d111432700bd
-DIST kamailio-3.3.2_src.tar.gz 7483530 SHA256 dae3ca1c6372ae5a01a7b8e9d49e297c1cee01032b77524d00e6d5082fbeef61 SHA512 4b1ed2d6b6028a3cc3c18ee7f5e54143c15a7d6a4fc6cf7710f3d70415355bfe2e893c7384b94acc0f67c09abf670b87ea15afce0917b085d0419a05b6e771b9 WHIRLPOOL df4a6497c221af621a0f72a84fecad0dc0c09eb485bb40444f35518406cab340fd6eceef6c558283e30c39901f44b0e22ba595503b3f2354dd329bb6adc3edc1
-EBUILD sip-router-3.1.5.ebuild 8024 SHA256 1adb67682eaa5a9dfee306473023bf7403068199a0e8916db521e230452b1e78 SHA512 8e8bf4b491e9dd5c17230fdd338138188f16a584e9a4e22baea4ac22a767ff8e40860618a630afd959f57fcf0948d7081827ddbcc1a6b62d691518d4716e6a2f WHIRLPOOL 820bbfcb11137d0a9414a9f9ebbb5be6930b269d1341c1b323ea682a55d1514312b918f7150b33034722c4d239f2f4b66a8edf41bec587f382ad24a140278088
-EBUILD sip-router-3.1.6.ebuild 8106 SHA256 a2959cdeef926236cdbadf06b4c2340ffca7cde1338499a14ca511c60ab3556a SHA512 ac238b7dd0a669a16caa047c99d74c0d0425759340b59785b1a3e593ae9e245d1e8dcf71b052070d8681c5b0db03abf2e7250b7f20fb09837d727809272f2515 WHIRLPOOL d3d332d549b9e73a6e685bbbe8e093372d794fd506e0826103450cc8a59bfa4c7f939d3893dab09ed845541c74ff64d8d04c3aad24ffea9b6964457806e7d387
-EBUILD sip-router-3.2.3.ebuild 8115 SHA256 fa4b3c79a93ee13bfa8ed47952c549e848b452689d78fac8d8596b4e2966864f SHA512 e257ecf83f44f446098ec6fc7b0565e5ca6b7eb7dbeddc34baacb5592825065ef93a05ca24c3f85b6c817e4c23e407861e7c1bc79d883f4882f7153a88bbc928 WHIRLPOOL 0a44d52e6fbae7e79f2f69b115734174af30cd6b662205e81b84b92b92158e7fb94416fa4d35b5b3c0f6048f6ca7b269c46c860602a276c872b5605cd1b018f0
-EBUILD sip-router-3.2.4.ebuild 8155 SHA256 4efbbf1cea7d46f065947869723db90dc43453b6451b6830dcf5f5363a3ff5b8 SHA512 2c20dfdee22e54f8a429e4aedcc7c0771c2e03b53a7632a11fdc47335d81ed33fc89070d22775c7cba68f7874fec97ac8441338b44f62be30654092ac0f239af WHIRLPOOL 53a960bc2d8bbd3a1a0a4fc3eee5ded932fd2576b57f12e1030a58913aeab2b61e089a23849c5b65afb41abd299cb7aa9496db343a6f472fc5438de27ef7f67c
-EBUILD sip-router-3.3.1.ebuild 8327 SHA256 12ab91b617bda58321dfa4d256628f533e299bd78632f7617a1ee7d35800f416 SHA512 d1aba8330182465234f7d64969a64fd412fb1866c22b51ae02b7866aa1936eb2fbe462aa8f43379e1ae19b38e973d9e8663f1faf0412566ca776b6e214423442 WHIRLPOOL f8fb38968d94576f8191dbafdda2c0709511b7f98ae24b3855e53990c55abacb98cbca3bd6c1440656cc41ee5d81e9b57c0765fbaa2ca413d9ce98438ec7207b
-EBUILD sip-router-3.3.2.ebuild 8327 SHA256 12ab91b617bda58321dfa4d256628f533e299bd78632f7617a1ee7d35800f416 SHA512 d1aba8330182465234f7d64969a64fd412fb1866c22b51ae02b7866aa1936eb2fbe462aa8f43379e1ae19b38e973d9e8663f1faf0412566ca776b6e214423442 WHIRLPOOL f8fb38968d94576f8191dbafdda2c0709511b7f98ae24b3855e53990c55abacb98cbca3bd6c1440656cc41ee5d81e9b57c0765fbaa2ca413d9ce98438ec7207b
-MISC ChangeLog 2480 SHA256 a8bdaddc1f1f468f25499b534236fae5980466ba0333a3aaad7fd8b406f37f9d SHA512 2fc633bfbf0363822764121de7f1dda66c2264ee122ff0843b7647b84b25ad45a04fd0ce3797d84883b35defbf525b17bd67d6b4afd33cdbcff4e22dcda5d7c5 WHIRLPOOL bec2be2ad6cecadadde47f8767d4640ceaae06fc6698fb12b27c174c27c5305199cf2de7c9b277ae53adc629043a5a3dce87e3617e103000b4991e1f2914f400
-MISC metadata.xml 234 SHA256 4009ad9d312db0ece6fd53e9dfabda98e2c1037ec540eb64d6ab43fe318c1a25 SHA512 cca7444682a294c6173682dc78d73ee82ff19a6a8bc052d6850dab0a49056c0bcca347b83cd592360540399f21016fc360ea29a2234dd8fa1d6e13f6feedee16 WHIRLPOOL a37bbdac2e9489e68e1e0871eb8847dd04df20c4aae756173e7c6a13622ee60c87508f6f26e24b1dbe9c5cb929f57cb86c65042945d8129d3ba1ef8d7338b314

+ 0 - 16
pkg/ser/gentoo/files/ser.confd

@@ -1,16 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# Additional options to start Sip-Router with.
-#
-# see "sip-router -h" for a list of options
-#
-# default: run SER as user:group = ser:ser
-#
-MAIN_NAME="sip-router"
-SR_USER="sip-router"
-SR_GROUP="sip-router"
-CONFIGFILE="${CONFIGFILE:-/etc/${MAIN_NAME}/sip-router.cfg}"
-CONFIGDEFS="" # eg: "-A WITH_DEBUG -A WITH_NAT -A WITH_TLS"
-SR_OPTS="-u $SR_USER -g $SR_GROUP -f ${CONFIGFILE} ${CONFIGDEFS}"

+ 0 - 34
pkg/ser/gentoo/files/ser.initd

@@ -1,34 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-depend() {
-	need net
-}
-
-check_config() {
-	out=`(/usr/sbin/sip-router -f ${CONFIGFILE} -c > /dev/null || true) 2>&1`
-	echo "$out" | grep -q 'config file ok, exiting...'
-	if [ "$?" == 1 ]; then
-		echo -e "There are errors in the configuration. Please fix them first"
-		echo -e "\n$out\n"
-		return 1
-	fi
-}
-
-start() {
-	check_config || return 1
-	ebegin "Starting sip-router"
-	start-stop-daemon --start --quiet --pidfile /var/run/sip-router.pid \
-		--exec /usr/sbin/sip-router -- -P /var/run/sip-router.pid \
-                ${SR_OPTS}
-	eend $?
-}
-
-stop() {
-	ebegin "Stopping sip-router"
-	start-stop-daemon --stop --quiet --pidfile /var/run/sip-router.pid
-	eend $?
-}
-

+ 0 - 9
pkg/ser/gentoo/metadata.xml

@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<herd>voip</herd>
-	<maintainer>
-		<email>[email protected]</email>
-	</maintainer>
-</pkgmetadata>
-

+ 0 - 250
pkg/ser/gentoo/sip-router-3.1.5.ebuild

@@ -1,250 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils flag-o-matic toolchain-funcs multilib
-
-DESCRIPTION="Sip-Router (Kamailio/SER) is an Open Source SIP Server"
-HOMEPAGE="http://sip-router.org/"
-MY_P="${P/sip-router/kamailio}"
-SRC_URI="http://www.kamailio.org/pub/kamailio/${PV}/src/${MY_P}_src.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-
-#Documentation can be found here: http://www.kamailio.org/docs/modules/3.1.x/
-IUSE="flavour_kamailio flavour_ser debug ipv6 sctp
-group_standard group_standard_dep group_mysql group_radius group_postgres group_presence group_stable group_experimental
-group_kstandard group_kmysql group_kradius group_kpostgres group_kpresence group_kxml group_kperl group_kldap
-acc acc_radius alias_db app_lua app_python auth auth_identity auth_db auth_diameter auth_radius avpops
-benchmark blst
-call_control carrierroute cfg_db cfg_rpc cfgutils counters cpl-c ctl
-db_berkeley db_flatstore db_mysql db_oracle db_postgres db_text db_unixodbc
-debugger dialog dialplan dispatcher diversion domain domainpolicy drouting
-enum exec
-geoip group
-h350 htable imc iptrtpproxy jabber kex
-lcr ldap
-matrix maxfwd mediaproxy memcached misc_radius mi_datagram mi_fifo mi_rpc mi_xmlrpc mqueue msilo mtree
-nathelper nat_traversal
-osp
-path pdb pdt peering perl perlvdb permissions pike pipelimit prefix_route
-presence presence_conference presence_dialoginfo presence_mwi presence_xml
-pua pua_bla pua_dialoginfo pua_mi pua_usrloc pua_xmpp purple pv
-qos
-ratelimit regex registrar rls rtimer rr rtpproxy
-sanity seas siptrace siputils sl sms snmpstats speeddial sqlops statistics sst
-textops textopsx tls tm tmx topoh
-uac uac_redirect uri_db userblacklist usrloc utils
-xcap_client xcap_server xhttp xlog xmlops xmlrpc xmpp"
-
-#osp? ( net-libs/osptoolkit )
-#pdb? ( pdb-server )
-#seas? ( www.wesip.eu )
-
-RDEPEND="
-	>=sys-libs/ncurses-5.7
-	>=sys-libs/readline-6.1_p2
-	group_mysql? ( >=dev-db/mysql-5.1.50 sys-libs/zlib )
-	group_radius? ( >=net-dialup/radiusclient-ng-0.5.0 )
-	group_presence? ( dev-libs/libxml2 net-misc/curl )
-	group_postgres? ( dev-db/postgresql-base )
-	group_standard? ( dev-libs/libxml2 dev-libs/openssl net-misc/curl )
-	group_kmysql? ( >=dev-db/mysql-5.1.50 sys-libs/zlib )
-	group_kradius? ( >=net-dialup/radiusclient-ng-0.5.0 )
-	group_kpresence? ( dev-libs/libxml2 net-misc/curl )
-	group_kpostgres? ( dev-db/postgresql-base )
-	group_kstandard? ( dev-libs/libxml2 dev-libs/openssl net-misc/curl )
-	group_kxml? ( dev-libs/libxml2 dev-libs/xmlrpc-c )
-	group_kperl? ( dev-lang/perl dev-perl/perl-ldap )
-	group_kldap? ( net-nds/openldap )
-	acc_radius? ( net-dialup/radiusclient-ng )
-	app_lua? ( dev-lang/lua )
-	app_python? ( dev-lang/python )
-	auth_identity? ( dev-libs/openssl net-misc/curl )
-	carrierroute? ( dev-libs/confuse )
-	cpl-c? ( dev-libs/libxml2 )
-	db_berkeley? ( >=sys-libs/db-4.6 )
-	db_mysql? ( >=dev-db/mysql-5.1.50 )
-	db_oracle? ( dev-db/oracle-instantclient-basic )
-	db_postgres? ( dev-db/postgresql-base )
-        db_unixodbc? ( dev-db/unixODBC )
-	dialplan? ( dev-libs/libpcre )
-	geoip? ( dev-libs/geoip )
-	h350? ( net-nds/openldap )
-	jabber? ( dev-libs/expat )
-	lcr? ( dev-libs/libpcre )
-	ldap? ( net-nds/openldap )
-	memcached? ( dev-libs/libmemcache net-misc/memcached )
-	mi_xmlrpc? ( dev-libs/libxml2 dev-libs/xmlrpc-c )
-	peering? ( net-dialup/radiusclient-ng )
-	perl? ( dev-lang/perl dev-perl/perl-ldap )
-	presence? ( dev-libs/libxml2 )
-	presence_conference? ( dev-libs/libxml2 )
-	presence_xml? ( dev-libs/libxml2 )
-	pua? ( dev-libs/libxml2 )
-	pua_bla? ( dev-libs/libxml2 )
-	pua_dialoginfo? ( dev-libs/libxml2 )
-	pua_usrloc? ( dev-libs/libxml2 )
-	pua_xmpp? ( dev-libs/libxml2 )
-	purple? ( net-im/pidgin )
-	regex? ( dev-libs/libpcre )
-	rls? ( dev-libs/libxml2 )
-	snmpstats? ( net-analyzer/net-snmp sys-apps/lm_sensors )
-	tls? (
-		sys-libs/zlib
-		>=dev-libs/openssl-1.0.0a-r1
-	)
-	utils? ( net-misc/curl )
-	xcap_client? ( dev-libs/libxml2 net-misc/curl )
-	xcap_server? ( dev-libs/libxml2 )
-	xmlops? ( dev-libs/libxml2 )
-	xmpp? ( dev-libs/expat )
-"
-DEPEND="${RDEPEND}
-	>=sys-devel/bison-1.35
-	>=sys-devel/flex-2.5.4a
-	app-text/docbook2X"
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-
-	use ipv6 || \
-		sed -i -e "s/-DUSE_IPV6//g" Makefile.defs || die
-}
-
-src_compile() {
-	# iptrtpproxy broken as the needed netfilter module is not supported
-	local mod_exc="iptrtpproxy"
-	local group_inc=""
-	local k=""
-	if use flavour_kamailio; then
-		k="k"
-		use group_kxml && group_inc="${group_inc} kxml"
-		use group_kperl && group_inc="${group_inc} kperl"
-		use group_kldap && group_inc="${group_inc} kldap"
-	fi
-	# you can USE flavour=kamailio but also group_standard. It will be converted to group_kstandard
-	# same as mysql/kmysql, postgres/kpostgres, radius/kradius, presence/kpresence
-	(use group_standard || use group_kstandard) && group_inc="${group_inc} ${k}standard"
-	use group_standard_dep && group_inc="${group_inc} standard_dep"
-	(use group_mysql || use group_kmysql) && group_inc="${group_inc} ${k}mysql"
-	(use group_radius || use group_kradius) && group_inc="${group_inc} ${k}radius"
-	(use group_postgres || use group_kpostgres) && group_inc="${group_inc} ${k}postgres"
-	(use group_presence || use group_kpresence) && group_inc="${group_inc} ${k}presence"
-	use group_stable && group_inc="${group_inc} stable"
-	use group_experimental && group_inc="${group_inc} experimental"
-	# TODO: skip_modules?
-
-	local mod_inc=""
-	# some IUSE flags must not be included here in mod_inc
-	# e.g.: flavour_kamailio, flavour_ser, debug, sctp, ipv6
-	for i in ${IUSE[@]}; do
-		for j in ${i[@]}; do
-			[[ ! "${i}" =~ "flavour_" ]] && \
-				[ ! "${i}" == "debug" ] && \
-				[ ! "${i}" == "ipv6" ] && \
-				[ ! "${i}" == "sctp" ] && \
-				[[ ! "${i}" =~ "group_" ]] && \
-			use "${i}" && mod_inc="${mod_inc} ${i}"
-		done
-	done
-
-	if use tls; then
-		tls_hooks=1
-	else
-		tls_hooks=0
-	fi
-
-	if use debug; then
-		mode=debug
-	else
-		mode=release
-	fi
-
-	if use flavour_kamailio; then
-		flavour=kamailio
-	else
-		flavour=ser # defaults to SER compatibility names
-	fi
-
-	if use sctp; then
-		sctp=1
-	else
-		sctp=0
-	fi
-
-	emake \
-		CC="$(tc-getCC)" \
-		CPU_TYPE="$(get-flag march)" \
-		SCTP="${sctp}" \
-		CC_EXTRA_OPTS=-I/usr/gnu/include \
-		mode="${mode}" \
-		TLS_HOOKS="${tls_hooks}" \
-		FLAVOUR="${flavour}" \
-		group_include="${group_inc}" \
-		include_modules="${mod_inc}" \
-		exclude_modules="${mod_exc}" \
-		prefix="/" \
-		all || die "emake all failed"
-}
-
-src_install() {
-	emake -j1 \
-		BASEDIR="${D}" \
-		FLAVOUR="${flavour}" \
-		prefix="/" \
-		bin_dir=/usr/sbin/ \
-		cfg_dir=/etc/${flavour}/ \
-		lib_dir=/usr/$(get_libdir)/${flavour}/ \
-		modules_dir="/usr/$(get_libdir)/${flavour}/" \
-		man_dir="/usr/share/man/" \
-		doc_dir="/usr/share/doc/${flavour}/" \
-		install || die "emake install failed"
-
-	sed -e "s/sip-router/${flavour}/g" \
-		${FILESDIR}/ser.initd > ${flavour}.initd || die
-	sed -e "s/sip-router/${flavour}/g" \
-		${FILESDIR}/ser.confd > ${flavour}.confd || die
-
-	newinitd "${flavour}".initd "${flavour}"
-	newconfd "${flavour}".confd "${flavour}"
-}
-
-pkg_preinst() {
-	if [[ -z "$(egetent passwd ${flavour})" ]]; then
-		einfo "Adding ${flavour} user and group"
-		enewgroup "${flavour}"
-		enewuser  "${flavour}" -1 -1 /dev/null "${flavour}"
-	fi
-
-	chown -R root:"${flavour}"  "${D}/etc/${flavour}"
-	chmod -R u=rwX,g=rX,o= "${D}/etc/${flavour}"
-
-	has_version <="${CATEGORY}/ser-0.9.8"
-	previous_installed_version=$?
-	if [[ $previous_installed_version = 1 ]] ; then
-		elog "You have a previous version of SER on ${ROOT}etc/ser"
-		elog "Consider or verify to remove it (emerge -C ser)."
-		elog
-		elog "Sip-Router may not could be installed/merged. See your elog."
-	fi
-}
-
-pkg_postinst() {
-	if [ use mediaproxy ]; then
-		einfo "You have enabled mediaproxy support. In order to use it, you have
-		to run it somewhere."
-	fi
-	if [ use rtpproxy ]; then
-		einfo "You have enabled rtpproxy support. In order to use it, you have
-		to run it somewhere."
-	fi
-}
-
-pkg_prerm () {
-	/etc/init.d/"${flavour}" stop >/dev/null
-}

+ 0 - 251
pkg/ser/gentoo/sip-router-3.1.6.ebuild

@@ -1,251 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils flag-o-matic toolchain-funcs multilib
-
-DESCRIPTION="Sip-Router (Kamailio/SER) is an Open Source SIP Server"
-HOMEPAGE="http://sip-router.org/"
-MY_P="${P/sip-router/kamailio}"
-SRC_URI="http://www.kamailio.org/pub/kamailio/${PV}/src/${MY_P}_src.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-
-#Documentation can be found here: http://www.kamailio.org/docs/modules/3.1.x/
-IUSE="flavour_kamailio flavour_ser debug ipv6 sctp
-group_standard group_standard_dep group_mysql group_radius group_postgres group_presence group_stable group_experimental
-group_kstandard group_kmysql group_kradius group_kpostgres group_kpresence group_kxml group_kperl group_kldap
-acc acc_radius alias_db app_lua app_python auth auth_identity auth_db auth_diameter auth_radius avpops
-benchmark blst
-call_control carrierroute cfg_db cfg_rpc cfgutils counters cpl-c ctl
-db_berkeley db_flatstore db_mysql db_oracle db_postgres db_text db_unixodbc
-debugger dialog dialplan dispatcher diversion domain domainpolicy drouting
-enum exec
-geoip group
-h350 htable imc iptrtpproxy jabber kex
-lcr ldap
-matrix maxfwd mediaproxy memcached misc_radius mi_datagram mi_fifo mi_rpc mi_xmlrpc mqueue msilo mtree
-nathelper nat_traversal
-osp
-path pdb pdt peering perl perlvdb permissions pike pipelimit prefix_route
-presence presence_conference presence_dialoginfo presence_mwi presence_xml
-pua pua_bla pua_dialoginfo pua_mi pua_usrloc pua_xmpp purple pv
-qos
-ratelimit regex registrar rls rtimer rr rtpproxy
-sanity seas siptrace siputils sl sms snmpstats speeddial sqlops statistics sst
-textops textopsx tls tm tmx topoh
-uac uac_redirect uri_db userblacklist usrloc utils
-xcap_client xcap_server xhttp xlog xmlops xmlrpc xmpp"
-
-#osp? ( net-libs/osptoolkit )
-#pdb? ( pdb-server )
-#seas? ( www.wesip.eu )
-
-RDEPEND="
-	>=sys-libs/ncurses-5.7
-	>=sys-libs/readline-6.1_p2
-	group_experimental? ( dev-libs/openssl dev-db/oracle-instantclient-basic )
-	group_mysql? ( >=dev-db/mysql-5.1.50 sys-libs/zlib )
-	group_radius? ( >=net-dialup/radiusclient-ng-0.5.0 )
-	group_presence? ( dev-libs/libxml2 net-misc/curl )
-	group_postgres? ( dev-db/postgresql-base )
-	group_standard? ( dev-libs/libxml2 dev-libs/openssl net-misc/curl )
-	group_kmysql? ( >=dev-db/mysql-5.1.50 sys-libs/zlib )
-	group_kradius? ( >=net-dialup/radiusclient-ng-0.5.0 )
-	group_kpresence? ( dev-libs/libxml2 net-misc/curl )
-	group_kpostgres? ( dev-db/postgresql-base )
-	group_kstandard? ( dev-libs/libxml2 dev-libs/openssl net-misc/curl )
-	group_kxml? ( dev-libs/libxml2 dev-libs/xmlrpc-c )
-	group_kperl? ( dev-lang/perl dev-perl/perl-ldap )
-	group_kldap? ( net-nds/openldap )
-	acc_radius? ( net-dialup/radiusclient-ng )
-	app_lua? ( >=dev-lang/lua-5.1 )
-	app_python? ( dev-lang/python )
-	auth_identity? ( dev-libs/openssl net-misc/curl )
-	carrierroute? ( dev-libs/confuse )
-	cpl-c? ( dev-libs/libxml2 )
-	db_berkeley? ( >=sys-libs/db-4.6 )
-	db_mysql? ( >=dev-db/mysql-5.1.50 )
-	db_oracle? ( dev-db/oracle-instantclient-basic )
-	db_postgres? ( dev-db/postgresql-base )
-        db_unixodbc? ( dev-db/unixODBC )
-	dialplan? ( dev-libs/libpcre )
-	geoip? ( dev-libs/geoip )
-	h350? ( net-nds/openldap )
-	jabber? ( dev-libs/expat )
-	lcr? ( dev-libs/libpcre )
-	ldap? ( net-nds/openldap )
-	memcached? ( dev-libs/libmemcache net-misc/memcached )
-	mi_xmlrpc? ( dev-libs/libxml2 dev-libs/xmlrpc-c )
-	peering? ( net-dialup/radiusclient-ng )
-	perl? ( dev-lang/perl dev-perl/perl-ldap )
-	presence? ( dev-libs/libxml2 )
-	presence_conference? ( dev-libs/libxml2 )
-	presence_xml? ( dev-libs/libxml2 )
-	pua? ( dev-libs/libxml2 )
-	pua_bla? ( dev-libs/libxml2 )
-	pua_dialoginfo? ( dev-libs/libxml2 )
-	pua_usrloc? ( dev-libs/libxml2 )
-	pua_xmpp? ( dev-libs/libxml2 )
-	purple? ( net-im/pidgin )
-	regex? ( dev-libs/libpcre )
-	rls? ( dev-libs/libxml2 )
-	snmpstats? ( net-analyzer/net-snmp sys-apps/lm_sensors )
-	tls? (
-		sys-libs/zlib
-		>=dev-libs/openssl-1.0.0a-r1
-	)
-	utils? ( net-misc/curl )
-	xcap_client? ( dev-libs/libxml2 net-misc/curl )
-	xcap_server? ( dev-libs/libxml2 )
-	xmlops? ( dev-libs/libxml2 )
-	xmpp? ( dev-libs/expat )
-"
-DEPEND="${RDEPEND}
-	>=sys-devel/bison-1.35
-	>=sys-devel/flex-2.5.4a
-	app-text/docbook2X"
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-
-	use ipv6 || \
-		sed -i -e "s/-DUSE_IPV6//g" Makefile.defs || die
-}
-
-src_compile() {
-	# iptrtpproxy broken as the needed netfilter module is not supported
-	local mod_exc="iptrtpproxy"
-	local group_inc=""
-	local k=""
-	if use flavour_kamailio; then
-		k="k"
-		use group_kxml && group_inc="${group_inc} kxml"
-		use group_kperl && group_inc="${group_inc} kperl"
-		use group_kldap && group_inc="${group_inc} kldap"
-	fi
-	# you can USE flavour=kamailio but also group_standard. It will be converted to group_kstandard
-	# same as mysql/kmysql, postgres/kpostgres, radius/kradius, presence/kpresence
-	(use group_standard || use group_kstandard) && group_inc="${group_inc} ${k}standard"
-	use group_standard_dep && group_inc="${group_inc} standard_dep"
-	(use group_mysql || use group_kmysql) && group_inc="${group_inc} ${k}mysql"
-	(use group_radius || use group_kradius) && group_inc="${group_inc} ${k}radius"
-	(use group_postgres || use group_kpostgres) && group_inc="${group_inc} ${k}postgres"
-	(use group_presence || use group_kpresence) && group_inc="${group_inc} ${k}presence"
-	use group_stable && group_inc="${group_inc} stable"
-	use group_experimental && group_inc="${group_inc} experimental"
-	# TODO: skip_modules?
-
-	local mod_inc=""
-	# some IUSE flags must not be included here in mod_inc
-	# e.g.: flavour_kamailio, flavour_ser, debug, sctp, ipv6
-	for i in ${IUSE[@]}; do
-		for j in ${i[@]}; do
-			[[ ! "${i}" =~ "flavour_" ]] && \
-				[ ! "${i}" == "debug" ] && \
-				[ ! "${i}" == "ipv6" ] && \
-				[ ! "${i}" == "sctp" ] && \
-				[[ ! "${i}" =~ "group_" ]] && \
-			use "${i}" && mod_inc="${mod_inc} ${i}"
-		done
-	done
-
-	if use tls; then
-		tls_hooks=1
-	else
-		tls_hooks=0
-	fi
-
-	if use debug; then
-		mode=debug
-	else
-		mode=release
-	fi
-
-	if use flavour_kamailio; then
-		flavour=kamailio
-	else
-		flavour=ser # defaults to SER compatibility names
-	fi
-
-	if use sctp; then
-		sctp=1
-	else
-		sctp=0
-	fi
-
-	emake \
-		CC="$(tc-getCC)" \
-		CPU_TYPE="$(get-flag march)" \
-		SCTP="${sctp}" \
-		CC_EXTRA_OPTS=-I/usr/gnu/include \
-		mode="${mode}" \
-		TLS_HOOKS="${tls_hooks}" \
-		FLAVOUR="${flavour}" \
-		group_include="${group_inc}" \
-		include_modules="${mod_inc}" \
-		exclude_modules="${mod_exc}" \
-		prefix="/" \
-		all || die "emake all failed"
-}
-
-src_install() {
-	emake -j1 \
-		BASEDIR="${D}" \
-		FLAVOUR="${flavour}" \
-		prefix="/" \
-		bin_dir=/usr/sbin/ \
-		cfg_dir=/etc/${flavour}/ \
-		lib_dir=/usr/$(get_libdir)/${flavour}/ \
-		modules_dir="/usr/$(get_libdir)/${flavour}/" \
-		man_dir="/usr/share/man/" \
-		doc_dir="/usr/share/doc/${flavour}/" \
-		install || die "emake install failed"
-
-	sed -e "s/sip-router/${flavour}/g" \
-		${FILESDIR}/ser.initd > ${flavour}.initd || die
-	sed -e "s/sip-router/${flavour}/g" \
-		${FILESDIR}/ser.confd > ${flavour}.confd || die
-
-	newinitd "${flavour}".initd "${flavour}"
-	newconfd "${flavour}".confd "${flavour}"
-}
-
-pkg_preinst() {
-	if [[ -z "$(egetent passwd ${flavour})" ]]; then
-		einfo "Adding ${flavour} user and group"
-		enewgroup "${flavour}"
-		enewuser  "${flavour}" -1 -1 /dev/null "${flavour}"
-	fi
-
-	chown -R root:"${flavour}"  "${D}/etc/${flavour}"
-	chmod -R u=rwX,g=rX,o= "${D}/etc/${flavour}"
-
-	has_version <="${CATEGORY}/ser-0.9.8"
-	previous_installed_version=$?
-	if [[ $previous_installed_version = 1 ]] ; then
-		elog "You have a previous version of SER on ${ROOT}etc/ser"
-		elog "Consider or verify to remove it (emerge -C ser)."
-		elog
-		elog "Sip-Router may not could be installed/merged. See your elog."
-	fi
-}
-
-pkg_postinst() {
-	if [ use mediaproxy ]; then
-		einfo "You have enabled mediaproxy support. In order to use it, you have
-		to run it somewhere."
-	fi
-	if [ use rtpproxy ]; then
-		einfo "You have enabled rtpproxy support. In order to use it, you have
-		to run it somewhere."
-	fi
-}
-
-pkg_prerm () {
-	/etc/init.d/"${flavour}" stop >/dev/null
-}

+ 0 - 251
pkg/ser/gentoo/sip-router-3.2.3.ebuild

@@ -1,251 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils flag-o-matic toolchain-funcs multilib
-
-DESCRIPTION="Sip-Router (Kamailio/SER) is an Open Source SIP Server"
-HOMEPAGE="http://sip-router.org/"
-MY_P="${P/sip-router/kamailio}"
-SRC_URI="http://www.kamailio.org/pub/kamailio/${PV}/src/${MY_P}_src.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-
-#Documentation can be found here: http://www.kamailio.org/docs/modules/3.2.x/
-IUSE="flavour_kamailio flavour_ser debug ipv6 sctp
-group_standard group_standard_dep group_mysql group_radius group_postgres group_presence group_stable group_experimental
-group_kstandard group_kmysql group_kradius group_kpostgres group_kpresence
-group_kxml group_kperl group_kldap group_kjson
-acc acc_radius alias_db app_lua app_python async auth auth_identity auth_db auth_diameter auth_radius avpops
-benchmark blst
-call_control carrierroute cfg_db cfg_rpc cfgutils counters cpl-c ctl
-db_berkeley db_flatstore db_mysql db_oracle db_postgres db_text db_unixodbc
-db_sqlite ndb_redis
-debugger dialog dialplan dispatcher diversion domain domainpolicy drouting dmq
-enum exec geoip group
-h350 htable imc ipops iptrtpproxy jabber json jsonrpc-c kex
-lcr ldap
-matrix maxfwd mediaproxy memcached misc_radius mi_datagram mi_fifo mi_rpc mi_xmlrpc mqueue msilo mtree
-nathelper nat_traversal
-osp
-p_usrloc
-path pdb pdt peering perl perlvdb permissions pike pipelimit prefix_route
-presence presence_conference presence_dialoginfo presence_mwi presence_reginfo presence_xml
-pua pua_bla pua_dialoginfo pua_mi pua_reginfo pua_usrloc pua_xmpp purple pv
-qos
-ratelimit regex registrar rls rtimer rr rtpproxy
-sanity sdpops seas sipcapture siptrace siputils sl sms snmpstats speeddial sqlops statistics sst
-textops textopsx tls tm tmx topoh
-uac uac_redirect uri_db userblacklist usrloc utils
-xcap_client xcap_server xhttp xlog xmlops xmlrpc xmpp"
-
-#pdb? ( pdb-server )
-#seas? ( www.wesip.eu )
-
-RDEPEND="
-	>=sys-libs/ncurses-5.7
-	>=sys-libs/readline-6.1_p2
-	group_experimental? ( dev-libs/openssl dev-db/redis )
-	group_mysql? ( >=dev-db/mysql-5.1.50 sys-libs/zlib )
-	group_radius? ( >=net-dialup/radiusclient-ng-0.5.0 )
-	group_presence? ( dev-libs/libxml2 net-misc/curl )
-	group_postgres? ( dev-db/postgresql-base )
-	group_standard? ( dev-libs/libxml2 dev-libs/openssl net-misc/curl )
-	group_kmysql? ( >=dev-db/mysql-5.1.50 sys-libs/zlib )
-	group_kradius? ( >=net-dialup/radiusclient-ng-0.5.0 )
-	group_kpresence? ( dev-libs/libxml2 net-misc/curl )
-	group_kpostgres? ( dev-db/postgresql-base )
-	group_kstandard? ( dev-libs/libxml2 dev-libs/openssl net-misc/curl )
-	group_kxml? ( dev-libs/libxml2 dev-libs/xmlrpc-c )
-	group_kperl? ( dev-lang/perl dev-perl/perl-ldap )
-	group_kldap? ( net-nds/openldap )
-	group_kjson? ( dev-libs/json-c dev-libs/libevent )
-	acc_radius? ( net-dialup/radiusclient-ng )
-	app_lua? ( dev-lang/lua )
-	app_python? ( dev-lang/python )
-	auth_identity? ( dev-libs/openssl net-misc/curl )
-	carrierroute? ( dev-libs/confuse )
-	cpl-c? ( dev-libs/libxml2 )
-	db_berkeley? ( >=sys-libs/db-4.6 )
-	db_mysql? ( >=dev-db/mysql-5.1.50 )
-	db_oracle? ( dev-db/oracle-instantclient-basic )
-	db_postgres? ( dev-db/postgresql-base )
-	db_sqlite? ( >=dev-db/sqlite-3 )
-	db_unixodbc? ( dev-db/unixODBC )
-	ndb_redis? ( dev-db/redis )
-	dialplan? ( dev-libs/libpcre )
-	geoip? ( dev-libs/geoip )
-	h350? ( net-nds/openldap )
-	jabber? ( dev-libs/expat )
-	lcr? ( dev-libs/libpcre )
-	ldap? ( net-nds/openldap )
-	memcached? ( dev-libs/libmemcache net-misc/memcached )
-	mi_xmlrpc? ( dev-libs/libxml2 dev-libs/xmlrpc-c )
-	osp? ( net-libs/osptoolkit )
-	peering? ( net-dialup/radiusclient-ng )
-	perl? ( dev-lang/perl dev-perl/perl-ldap )
-	presence? ( dev-libs/libxml2 )
-	presence_conference? ( dev-libs/libxml2 )
-	presence_xml? ( dev-libs/libxml2 )
-	pua? ( dev-libs/libxml2 )
-	pua_bla? ( dev-libs/libxml2 )
-	pua_dialoginfo? ( dev-libs/libxml2 )
-	pua_usrloc? ( dev-libs/libxml2 )
-	pua_xmpp? ( dev-libs/libxml2 )
-	purple? ( net-im/pidgin )
-	regex? ( dev-libs/libpcre )
-	rls? ( dev-libs/libxml2 )
-	snmpstats? ( net-analyzer/net-snmp sys-apps/lm_sensors )
-	tls? (
-		sys-libs/zlib
-		>=dev-libs/openssl-1.0.0a-r1
-	)
-	utils? ( net-misc/curl )
-	xcap_client? ( dev-libs/libxml2 net-misc/curl )
-	xcap_server? ( dev-libs/libxml2 )
-	xmlops? ( dev-libs/libxml2 )
-	xmpp? ( dev-libs/expat )
-"
-DEPEND="${RDEPEND}
-	>=sys-devel/bison-1.35
-	>=sys-devel/flex-2.5.4a
-	app-text/docbook2X"
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-
-	use ipv6 || \
-		sed -i -e "s/-DUSE_IPV6//g" Makefile.defs || die
-}
-
-src_compile() {
-	# iptrtpproxy broken as the needed netfilter module is not supported
-	local mod_exc="iptrtpproxy"
-	local group_inc=""
-	local k=""
-	if use flavour_kamailio; then
-		k="k"
-		use group_kxml && group_inc="${group_inc} kxml"
-		use group_kperl && group_inc="${group_inc} kperl"
-		use group_kldap && group_inc="${group_inc} kldap"
-		use group_kjson && group_inc="${group_inc} kjson"
-	fi
-	# you can USE flavour=kamailio but also group_standard. It will be converted to group_kstandard
-	# same as mysql/kmysql, postgres/kpostgres, radius/kradius, presence/kpresence
-	(use group_standard || use group_kstandard) && group_inc="${group_inc} ${k}standard"
-	use group_standard_dep && group_inc="${group_inc} standard_dep"
-	(use group_mysql || use group_kmysql) && group_inc="${group_inc} ${k}mysql"
-	(use group_radius || use group_kradius) && group_inc="${group_inc} ${k}radius"
-	(use group_postgres || use group_kpostgres) && group_inc="${group_inc} ${k}postgres"
-	(use group_presence || use group_kpresence) && group_inc="${group_inc} ${k}presence"
-	use group_stable && group_inc="${group_inc} stable"
-	use group_experimental && group_inc="${group_inc} experimental"
-	# TODO: skip_modules?
-
-	local mod_inc=""
-	# some IUSE flags must not be included here in mod_inc
-	# e.g.: flavour_kamailio, flavour_ser, debug, sctp, ipv6
-	for i in ${IUSE[@]}; do
-		for j in ${i[@]}; do
-			[[ ! "${i}" =~ "flavour_" ]] && \
-				[ ! "${i}" == "debug" ] && \
-				[ ! "${i}" == "ipv6" ] && \
-				[ ! "${i}" == "sctp" ] && \
-				[[ ! "${i}" =~ "group_" ]] && \
-			use "${i}" && mod_inc="${mod_inc} ${i}"
-		done
-	done
-
-	if use tls; then
-		tls_hooks=1
-	else
-		tls_hooks=0
-	fi
-
-	if use debug; then
-		mode=debug
-	else
-		mode=release
-	fi
-
-	if use flavour_kamailio; then
-		flavour=kamailio
-	else
-		flavour=ser # defaults to SER compatibility names
-	fi
-
-	if use sctp; then
-		sctp=1
-	else
-		sctp=0
-	fi
-
-	emake \
-		CC="$(tc-getCC)" \
-		CPU_TYPE="$(get-flag march)" \
-		SCTP="${sctp}" \
-		CC_EXTRA_OPTS=-I/usr/gnu/include \
-		mode="${mode}" \
-		TLS_HOOKS="${tls_hooks}" \
-		FLAVOUR="${flavour}" \
-		group_include="${group_inc}" \
-		include_modules="${mod_inc}" \
-		exclude_modules="${mod_exc}" \
-		prefix="/" \
-		all || die "emake all failed"
-}
-
-src_install() {
-	emake -j1 \
-		BASEDIR="${D}" \
-		FLAVOUR="${flavour}" \
-		prefix="/" \
-		bin_dir=/usr/sbin/ \
-		cfg_dir=/etc/${flavour}/ \
-		lib_dir=/usr/$(get_libdir)/${flavour}/ \
-		modules_dir="/usr/$(get_libdir)/${flavour}/" \
-		man_dir="/usr/share/man/" \
-		doc_dir="/usr/share/doc/${flavour}/" \
-		share_dir="/usr/share/${flavour}/" \
-		data_dir="/usr/share/${flavour}/" \
-		install || die "emake install failed"
-
-	sed -e "s/sip-router/${flavour}/g" \
-		${FILESDIR}/ser.initd > ${flavour}.initd || die
-	sed -e "s/sip-router/${flavour}/g" \
-		${FILESDIR}/ser.confd > ${flavour}.confd || die
-
-	newinitd "${flavour}".initd "${flavour}"
-	newconfd "${flavour}".confd "${flavour}"
-}
-
-pkg_preinst() {
-	if [[ -z "$(egetent passwd ${flavour})" ]]; then
-		einfo "Adding ${flavour} user and group"
-		enewgroup "${flavour}"
-		enewuser  "${flavour}" -1 -1 /dev/null "${flavour}"
-	fi
-
-	chown -R root:"${flavour}"  "${D}/etc/${flavour}"
-	chmod -R u=rwX,g=rX,o= "${D}/etc/${flavour}"
-
-}
-
-pkg_postinst() {
-	if [ use mediaproxy ]; then
-		einfo "You have enabled mediaproxy support. In order to use it, you have
-		to run it somewhere."
-	fi
-	if [ use rtpproxy ]; then
-		einfo "You have enabled rtpproxy support. In order to use it, you have
-		to run it somewhere."
-	fi
-}
-
-pkg_prerm () {
-	/etc/init.d/"${flavour}" stop >/dev/null
-}

+ 0 - 251
pkg/ser/gentoo/sip-router-3.2.4.ebuild

@@ -1,251 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils flag-o-matic toolchain-funcs multilib
-
-DESCRIPTION="Sip-Router (Kamailio/SER) is an Open Source SIP Server"
-HOMEPAGE="http://sip-router.org/"
-MY_P="${P/sip-router/kamailio}"
-SRC_URI="http://www.kamailio.org/pub/kamailio/${PV}/src/${MY_P}_src.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-
-#Documentation can be found here: http://www.kamailio.org/docs/modules/3.2.x/
-IUSE="flavour_kamailio flavour_ser debug ipv6 sctp
-group_standard group_standard_dep group_mysql group_radius group_postgres group_presence group_stable group_experimental
-group_kstandard group_kmysql group_kradius group_kpostgres group_kpresence
-group_kxml group_kperl group_kldap group_kjson
-acc acc_radius alias_db app_lua app_python async auth auth_identity auth_db auth_diameter auth_radius avpops
-benchmark blst
-call_control carrierroute cfg_db cfg_rpc cfgutils counters cpl-c ctl
-db_berkeley db_flatstore db_mysql db_oracle db_postgres db_text db_unixodbc
-db_sqlite ndb_redis
-debugger dialog dialplan dispatcher diversion domain domainpolicy drouting dmq
-enum exec geoip group
-h350 htable imc ipops iptrtpproxy jabber json jsonrpc-c kex
-lcr ldap
-matrix maxfwd mediaproxy memcached misc_radius mi_datagram mi_fifo mi_rpc mi_xmlrpc mqueue msilo mtree
-nathelper nat_traversal
-osp
-p_usrloc
-path pdb pdt peering perl perlvdb permissions pike pipelimit prefix_route
-presence presence_conference presence_dialoginfo presence_mwi presence_reginfo presence_xml
-pua pua_bla pua_dialoginfo pua_mi pua_reginfo pua_usrloc pua_xmpp purple pv
-qos
-ratelimit regex registrar rls rtimer rr rtpproxy
-sanity sdpops seas sipcapture siptrace siputils sl sms snmpstats speeddial sqlops statistics sst
-textops textopsx tls tm tmx topoh
-uac uac_redirect uri_db userblacklist usrloc utils
-xcap_client xcap_server xhttp xlog xmlops xmlrpc xmpp"
-
-#pdb? ( pdb-server )
-#seas? ( www.wesip.eu )
-
-RDEPEND="
-	>=sys-libs/ncurses-5.7
-	>=sys-libs/readline-6.1_p2
-	group_experimental? ( dev-libs/openssl dev-db/redis dev-db/oracle-instantclient-basic )
-	group_mysql? ( >=dev-db/mysql-5.1.50 sys-libs/zlib )
-	group_radius? ( >=net-dialup/radiusclient-ng-0.5.0 )
-	group_presence? ( dev-libs/libxml2 net-misc/curl )
-	group_postgres? ( dev-db/postgresql-base )
-	group_standard? ( dev-libs/libxml2 dev-libs/openssl net-misc/curl )
-	group_kmysql? ( >=dev-db/mysql-5.1.50 sys-libs/zlib )
-	group_kradius? ( >=net-dialup/radiusclient-ng-0.5.0 )
-	group_kpresence? ( dev-libs/libxml2 net-misc/curl )
-	group_kpostgres? ( dev-db/postgresql-base )
-	group_kstandard? ( dev-libs/libxml2 dev-libs/openssl net-misc/curl )
-	group_kxml? ( dev-libs/libxml2 dev-libs/xmlrpc-c )
-	group_kperl? ( dev-lang/perl dev-perl/perl-ldap )
-	group_kldap? ( net-nds/openldap )
-	group_kjson? ( dev-libs/json-c dev-libs/libevent )
-	acc_radius? ( net-dialup/radiusclient-ng )
-	app_lua? ( >=dev-lang/lua-5.1 )
-	app_python? ( dev-lang/python )
-	auth_identity? ( dev-libs/openssl net-misc/curl )
-	carrierroute? ( dev-libs/confuse )
-	cpl-c? ( dev-libs/libxml2 )
-	db_berkeley? ( >=sys-libs/db-4.6 )
-	db_mysql? ( >=dev-db/mysql-5.1.50 )
-	db_oracle? ( dev-db/oracle-instantclient-basic )
-	db_postgres? ( dev-db/postgresql-base )
-	db_sqlite? ( >=dev-db/sqlite-3 )
-	db_unixodbc? ( dev-db/unixODBC )
-	ndb_redis? ( dev-db/redis )
-	dialplan? ( dev-libs/libpcre )
-	geoip? ( dev-libs/geoip )
-	h350? ( net-nds/openldap )
-	jabber? ( dev-libs/expat )
-	lcr? ( dev-libs/libpcre )
-	ldap? ( net-nds/openldap )
-	memcached? ( dev-libs/libmemcache net-misc/memcached )
-	mi_xmlrpc? ( dev-libs/libxml2 dev-libs/xmlrpc-c )
-	osp? ( net-libs/osptoolkit )
-	peering? ( net-dialup/radiusclient-ng )
-	perl? ( dev-lang/perl dev-perl/perl-ldap )
-	presence? ( dev-libs/libxml2 )
-	presence_conference? ( dev-libs/libxml2 )
-	presence_xml? ( dev-libs/libxml2 )
-	pua? ( dev-libs/libxml2 )
-	pua_bla? ( dev-libs/libxml2 )
-	pua_dialoginfo? ( dev-libs/libxml2 )
-	pua_usrloc? ( dev-libs/libxml2 )
-	pua_xmpp? ( dev-libs/libxml2 )
-	purple? ( net-im/pidgin )
-	regex? ( dev-libs/libpcre )
-	rls? ( dev-libs/libxml2 )
-	snmpstats? ( net-analyzer/net-snmp sys-apps/lm_sensors )
-	tls? (
-		sys-libs/zlib
-		>=dev-libs/openssl-1.0.0a-r1
-	)
-	utils? ( net-misc/curl )
-	xcap_client? ( dev-libs/libxml2 net-misc/curl )
-	xcap_server? ( dev-libs/libxml2 )
-	xmlops? ( dev-libs/libxml2 )
-	xmpp? ( dev-libs/expat )
-"
-DEPEND="${RDEPEND}
-	>=sys-devel/bison-1.35
-	>=sys-devel/flex-2.5.4a
-	app-text/docbook2X"
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-
-	use ipv6 || \
-		sed -i -e "s/-DUSE_IPV6//g" Makefile.defs || die
-}
-
-src_compile() {
-	# iptrtpproxy broken as the needed netfilter module is not supported
-	local mod_exc="iptrtpproxy"
-	local group_inc=""
-	local k=""
-	if use flavour_kamailio; then
-		k="k"
-		use group_kxml && group_inc="${group_inc} kxml"
-		use group_kperl && group_inc="${group_inc} kperl"
-		use group_kldap && group_inc="${group_inc} kldap"
-		use group_kjson && group_inc="${group_inc} kjson"
-	fi
-	# you can USE flavour=kamailio but also group_standard. It will be converted to group_kstandard
-	# same as mysql/kmysql, postgres/kpostgres, radius/kradius, presence/kpresence
-	(use group_standard || use group_kstandard) && group_inc="${group_inc} ${k}standard"
-	use group_standard_dep && group_inc="${group_inc} standard_dep"
-	(use group_mysql || use group_kmysql) && group_inc="${group_inc} ${k}mysql"
-	(use group_radius || use group_kradius) && group_inc="${group_inc} ${k}radius"
-	(use group_postgres || use group_kpostgres) && group_inc="${group_inc} ${k}postgres"
-	(use group_presence || use group_kpresence) && group_inc="${group_inc} ${k}presence"
-	use group_stable && group_inc="${group_inc} stable"
-	use group_experimental && group_inc="${group_inc} experimental"
-	# TODO: skip_modules?
-
-	local mod_inc=""
-	# some IUSE flags must not be included here in mod_inc
-	# e.g.: flavour_kamailio, flavour_ser, debug, sctp, ipv6
-	for i in ${IUSE[@]}; do
-		for j in ${i[@]}; do
-			[[ ! "${i}" =~ "flavour_" ]] && \
-				[ ! "${i}" == "debug" ] && \
-				[ ! "${i}" == "ipv6" ] && \
-				[ ! "${i}" == "sctp" ] && \
-				[[ ! "${i}" =~ "group_" ]] && \
-			use "${i}" && mod_inc="${mod_inc} ${i}"
-		done
-	done
-
-	if use tls; then
-		tls_hooks=1
-	else
-		tls_hooks=0
-	fi
-
-	if use debug; then
-		mode=debug
-	else
-		mode=release
-	fi
-
-	if use flavour_kamailio; then
-		flavour=kamailio
-	else
-		flavour=ser # defaults to SER compatibility names
-	fi
-
-	if use sctp; then
-		sctp=1
-	else
-		sctp=0
-	fi
-
-	emake \
-		CC="$(tc-getCC)" \
-		CPU_TYPE="$(get-flag march)" \
-		SCTP="${sctp}" \
-		CC_EXTRA_OPTS=-I/usr/gnu/include \
-		mode="${mode}" \
-		TLS_HOOKS="${tls_hooks}" \
-		FLAVOUR="${flavour}" \
-		group_include="${group_inc}" \
-		include_modules="${mod_inc}" \
-		exclude_modules="${mod_exc}" \
-		prefix="/" \
-		all || die "emake all failed"
-}
-
-src_install() {
-	emake -j1 \
-		BASEDIR="${D}" \
-		FLAVOUR="${flavour}" \
-		prefix="/" \
-		bin_dir=/usr/sbin/ \
-		cfg_dir=/etc/${flavour}/ \
-		lib_dir=/usr/$(get_libdir)/${flavour}/ \
-		modules_dir="/usr/$(get_libdir)/${flavour}/" \
-		man_dir="/usr/share/man/" \
-		doc_dir="/usr/share/doc/${flavour}/" \
-		share_dir="/usr/share/${flavour}/" \
-		data_dir="/usr/share/${flavour}/" \
-		install || die "emake install failed"
-
-	sed -e "s/sip-router/${flavour}/g" \
-		${FILESDIR}/ser.initd > ${flavour}.initd || die
-	sed -e "s/sip-router/${flavour}/g" \
-		${FILESDIR}/ser.confd > ${flavour}.confd || die
-
-	newinitd "${flavour}".initd "${flavour}"
-	newconfd "${flavour}".confd "${flavour}"
-}
-
-pkg_preinst() {
-	if [[ -z "$(egetent passwd ${flavour})" ]]; then
-		einfo "Adding ${flavour} user and group"
-		enewgroup "${flavour}"
-		enewuser  "${flavour}" -1 -1 /dev/null "${flavour}"
-	fi
-
-	chown -R root:"${flavour}"  "${D}/etc/${flavour}"
-	chmod -R u=rwX,g=rX,o= "${D}/etc/${flavour}"
-
-}
-
-pkg_postinst() {
-	if [ use mediaproxy ]; then
-		einfo "You have enabled mediaproxy support. In order to use it, you have
-		to run it somewhere."
-	fi
-	if [ use rtpproxy ]; then
-		einfo "You have enabled rtpproxy support. In order to use it, you have
-		to run it somewhere."
-	fi
-}
-
-pkg_prerm () {
-	/etc/init.d/"${flavour}" stop >/dev/null
-}

+ 0 - 255
pkg/ser/gentoo/sip-router-3.3.1.ebuild

@@ -1,255 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils flag-o-matic toolchain-funcs multilib
-
-DESCRIPTION="Sip-Router (Kamailio/SER) is an Open Source SIP Server"
-HOMEPAGE="http://sip-router.org/"
-MY_P="${P/sip-router/kamailio}"
-SRC_URI="http://www.kamailio.org/pub/kamailio/${PV}/src/${MY_P}_src.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-
-#Documentation can be found here: http://www.kamailio.org/docs/modules/3.3.x/
-IUSE="flavour_kamailio flavour_ser
-debug ipv6 sctp
-group_standard group_standard_dep group_mysql group_radius group_postgres group_presence group_stable group_experimental
-group_kstandard group_kmysql group_kradius group_kpostgres group_kpresence
-group_kxml group_kperl group_kldap group_kjson
-acc acc_radius alias_db app_lua app_python app_mono async auth auth_identity auth_db auth_diameter auth_radius avpops
-benchmark blst
-call_control carrierroute cfg_db cfg_rpc cfgutils counters cpl-c ctl
-db_berkeley db_flatstore db_mysql db_oracle db_postgres db_text db_unixodbc
-db_sqlite ndb_redis db_cassandra db_cluster
-debugger dialog dialplan dispatcher diversion domain domainpolicy drouting dmq
-enum exec geoip group
-h350 htable imc ipops iptrtpproxy jabber json jsonrpc-c kex
-lcr ldap
-matrix maxfwd msrp mediaproxy memcached misc_radius mi_datagram mi_fifo mi_rpc mi_xmlrpc mqueue msilo mtree
-nathelper nat_traversal
-osp
-p_usrloc
-path pdb pdt peering perl perlvdb permissions pike pipelimit prefix_route
-presence presence_conference presence_dialoginfo presence_mwi presence_profile presence_reginfo presence_xml
-pua pua_bla pua_dialoginfo pua_mi pua_reginfo pua_usrloc pua_xmpp purple pv
-qos
-ratelimit regex registrar rls rtimer rr rtpproxy
-sanity sdpops seas sipcapture siptrace siputils sl sms snmpstats speeddial sqlops statistics sst
-textops textopsx tls tm tmx tmrec topoh
-uac uac_redirect uri_db userblacklist usrloc utils
-xcap_client xcap_server xhttp xhttp_rpc xlog xmlops xmlrpc xmpp"
-
-# FIXME: no ebuilds for them
-#db_cassandra? ( thrift dev-db/cassandra )
-#pdb? ( pdb-server )
-#seas? ( www.wesip.eu )
-
-RDEPEND="
-	>=sys-libs/ncurses-5.7
-	>=sys-libs/readline-6.1_p2
-	group_experimental? ( dev-libs/openssl dev-db/redis dev-db/oracle-instantclient-basic )
-	group_mysql? ( >=dev-db/mysql-5.1.50 sys-libs/zlib )
-	group_radius? ( >=net-dialup/radiusclient-ng-0.5.0 )
-	group_presence? ( dev-libs/libxml2 net-misc/curl )
-	group_postgres? ( dev-db/postgresql-base )
-	group_standard? ( dev-libs/libxml2 dev-libs/openssl net-misc/curl )
-	group_kmysql? ( >=dev-db/mysql-5.1.50 sys-libs/zlib )
-	group_kradius? ( >=net-dialup/radiusclient-ng-0.5.0 )
-	group_kpresence? ( dev-libs/libxml2 net-misc/curl )
-	group_kpostgres? ( dev-db/postgresql-base )
-	group_kstandard? ( dev-libs/libxml2 dev-libs/openssl net-misc/curl )
-	group_kxml? ( dev-libs/libxml2 dev-libs/xmlrpc-c )
-	group_kperl? ( dev-lang/perl dev-perl/perl-ldap )
-	group_kldap? ( net-nds/openldap )
-	group_kjson? ( dev-libs/json-c dev-libs/libevent )
-	acc_radius? ( net-dialup/radiusclient-ng )
-	app_lua? ( >=dev-lang/lua-5.1 )
-	app_python? ( dev-lang/python )
-	app_mono? ( dev-lang/mono )
-	auth_identity? ( dev-libs/openssl net-misc/curl )
-	carrierroute? ( dev-libs/confuse )
-	cpl-c? ( dev-libs/libxml2 )
-	db_berkeley? ( >=sys-libs/db-4.6 )
-	db_mysql? ( >=dev-db/mysql-5.1.50 )
-	db_oracle? ( dev-db/oracle-instantclient-basic )
-	db_postgres? ( dev-db/postgresql-base )
-	db_sqlite? ( >=dev-db/sqlite-3 )
-	db_unixodbc? ( dev-db/unixODBC )
-	ndb_redis? ( dev-db/redis )
-	dialplan? ( dev-libs/libpcre )
-	geoip? ( dev-libs/geoip )
-	h350? ( net-nds/openldap )
-	jabber? ( dev-libs/expat )
-	lcr? ( dev-libs/libpcre )
-	ldap? ( net-nds/openldap )
-	memcached? ( dev-libs/libmemcache net-misc/memcached )
-	mi_xmlrpc? ( dev-libs/libxml2 dev-libs/xmlrpc-c )
-	osp? ( net-libs/osptoolkit )
-	peering? ( net-dialup/radiusclient-ng )
-	perl? ( dev-lang/perl dev-perl/perl-ldap )
-	presence? ( dev-libs/libxml2 )
-	presence_conference? ( dev-libs/libxml2 )
-	presence_xml? ( dev-libs/libxml2 )
-	pua? ( dev-libs/libxml2 )
-	pua_bla? ( dev-libs/libxml2 )
-	pua_dialoginfo? ( dev-libs/libxml2 )
-	pua_usrloc? ( dev-libs/libxml2 )
-	pua_xmpp? ( dev-libs/libxml2 )
-	purple? ( net-im/pidgin )
-	regex? ( dev-libs/libpcre )
-	rls? ( dev-libs/libxml2 )
-	snmpstats? ( net-analyzer/net-snmp sys-apps/lm_sensors )
-	tls? (
-		sys-libs/zlib
-		>=dev-libs/openssl-1.0.0a-r1
-	)
-	utils? ( net-misc/curl )
-	xcap_client? ( dev-libs/libxml2 net-misc/curl )
-	xcap_server? ( dev-libs/libxml2 )
-	xmlops? ( dev-libs/libxml2 )
-	xmpp? ( dev-libs/expat )
-"
-DEPEND="${RDEPEND}
-	>=sys-devel/bison-1.35
-	>=sys-devel/flex-2.5.4a
-	app-text/docbook2X"
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-
-	use ipv6 || \
-		sed -i -e "s/-DUSE_IPV6//g" Makefile.defs || die
-}
-
-src_compile() {
-	# iptrtpproxy broken as the needed netfilter module is not supported
-	local mod_exc="iptrtpproxy"
-	local group_inc=""
-	local k=""
-	if use flavour_kamailio; then
-		k="k"
-		use group_kxml && group_inc="${group_inc} kxml"
-		use group_kperl && group_inc="${group_inc} kperl"
-		use group_kldap && group_inc="${group_inc} kldap"
-		use group_kjson && group_inc="${group_inc} kjson"
-	fi
-	# you can USE flavour=kamailio but also group_standard. It will be converted to group_kstandard
-	# same as mysql/kmysql, postgres/kpostgres, radius/kradius, presence/kpresence
-	(use group_standard || use group_kstandard) && group_inc="${group_inc} ${k}standard"
-	use group_standard_dep && group_inc="${group_inc} standard_dep"
-	(use group_mysql || use group_kmysql) && group_inc="${group_inc} ${k}mysql"
-	(use group_radius || use group_kradius) && group_inc="${group_inc} ${k}radius"
-	(use group_postgres || use group_kpostgres) && group_inc="${group_inc} ${k}postgres"
-	(use group_presence || use group_kpresence) && group_inc="${group_inc} ${k}presence"
-	use group_stable && group_inc="${group_inc} stable"
-	use group_experimental && group_inc="${group_inc} experimental"
-	# TODO: skip_modules?
-
-	local mod_inc=""
-	# some IUSE flags must not be included here in mod_inc
-	# e.g.: flavour_kamailio, flavour_ser, debug, sctp, ipv6
-	for i in ${IUSE[@]}; do
-		for j in ${i[@]}; do
-			[[ ! "${i}" =~ "flavour_" ]] && \
-				[ ! "${i}" == "debug" ] && \
-				[ ! "${i}" == "ipv6" ] && \
-				[ ! "${i}" == "sctp" ] && \
-				[[ ! "${i}" =~ "group_" ]] && \
-			use "${i}" && mod_inc="${mod_inc} ${i}"
-		done
-	done
-
-	if use tls; then
-		tls_hooks=1
-	else
-		tls_hooks=0
-	fi
-
-	if use debug; then
-		mode=debug
-	else
-		mode=release
-	fi
-
-	if use flavour_kamailio; then
-		flavour=kamailio
-	else
-		flavour=ser # defaults to SER compatibility names
-	fi
-
-	if use sctp; then
-		sctp=1
-	else
-		sctp=0
-	fi
-
-	emake \
-		CC="$(tc-getCC)" \
-		CPU_TYPE="$(get-flag march)" \
-		SCTP="${sctp}" \
-		CC_EXTRA_OPTS=-I/usr/gnu/include \
-		mode="${mode}" \
-		TLS_HOOKS="${tls_hooks}" \
-		FLAVOUR="${flavour}" \
-		group_include="${group_inc}" \
-		include_modules="${mod_inc}" \
-		exclude_modules="${mod_exc}" \
-		prefix="/" \
-		all || die "emake all failed"
-}
-
-src_install() {
-	emake -j1 \
-		BASEDIR="${D}" \
-		FLAVOUR="${flavour}" \
-		prefix="/" \
-		bin_dir=/usr/sbin/ \
-		cfg_dir=/etc/${flavour}/ \
-		lib_dir=/usr/$(get_libdir)/${flavour}/ \
-		modules_dir="/usr/$(get_libdir)/${flavour}/" \
-		man_dir="/usr/share/man/" \
-		doc_dir="/usr/share/doc/${flavour}/" \
-		share_dir="/usr/share/${flavour}/" \
-		data_dir="/usr/share/${flavour}/" \
-		install || die "emake install failed"
-
-	sed -e "s/sip-router/${flavour}/g" \
-		${FILESDIR}/ser.initd > ${flavour}.initd || die
-	sed -e "s/sip-router/${flavour}/g" \
-		${FILESDIR}/ser.confd > ${flavour}.confd || die
-
-	newinitd "${flavour}".initd "${flavour}"
-	newconfd "${flavour}".confd "${flavour}"
-}
-
-pkg_preinst() {
-	if [[ -z "$(egetent passwd ${flavour})" ]]; then
-		einfo "Adding ${flavour} user and group"
-		enewgroup "${flavour}"
-		enewuser  "${flavour}" -1 -1 /dev/null "${flavour}"
-	fi
-
-	chown -R root:"${flavour}"  "${D}/etc/${flavour}"
-	chmod -R u=rwX,g=rX,o= "${D}/etc/${flavour}"
-
-}
-
-pkg_postinst() {
-	if [ use mediaproxy ]; then
-		einfo "You have enabled mediaproxy support. In order to use it, you have
-		to run it somewhere."
-	fi
-	if [ use rtpproxy ]; then
-		einfo "You have enabled rtpproxy support. In order to use it, you have
-		to run it somewhere."
-	fi
-}
-
-pkg_prerm () {
-	/etc/init.d/"${flavour}" stop >/dev/null
-}

+ 0 - 255
pkg/ser/gentoo/sip-router-3.3.2.ebuild

@@ -1,255 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils flag-o-matic toolchain-funcs multilib
-
-DESCRIPTION="Sip-Router (Kamailio/SER) is an Open Source SIP Server"
-HOMEPAGE="http://sip-router.org/"
-MY_P="${P/sip-router/kamailio}"
-SRC_URI="http://www.kamailio.org/pub/kamailio/${PV}/src/${MY_P}_src.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-
-#Documentation can be found here: http://www.kamailio.org/docs/modules/3.3.x/
-IUSE="flavour_kamailio flavour_ser
-debug ipv6 sctp
-group_standard group_standard_dep group_mysql group_radius group_postgres group_presence group_stable group_experimental
-group_kstandard group_kmysql group_kradius group_kpostgres group_kpresence
-group_kxml group_kperl group_kldap group_kjson
-acc acc_radius alias_db app_lua app_python app_mono async auth auth_identity auth_db auth_diameter auth_radius avpops
-benchmark blst
-call_control carrierroute cfg_db cfg_rpc cfgutils counters cpl-c ctl
-db_berkeley db_flatstore db_mysql db_oracle db_postgres db_text db_unixodbc
-db_sqlite ndb_redis db_cassandra db_cluster
-debugger dialog dialplan dispatcher diversion domain domainpolicy drouting dmq
-enum exec geoip group
-h350 htable imc ipops iptrtpproxy jabber json jsonrpc-c kex
-lcr ldap
-matrix maxfwd msrp mediaproxy memcached misc_radius mi_datagram mi_fifo mi_rpc mi_xmlrpc mqueue msilo mtree
-nathelper nat_traversal
-osp
-p_usrloc
-path pdb pdt peering perl perlvdb permissions pike pipelimit prefix_route
-presence presence_conference presence_dialoginfo presence_mwi presence_profile presence_reginfo presence_xml
-pua pua_bla pua_dialoginfo pua_mi pua_reginfo pua_usrloc pua_xmpp purple pv
-qos
-ratelimit regex registrar rls rtimer rr rtpproxy
-sanity sdpops seas sipcapture siptrace siputils sl sms snmpstats speeddial sqlops statistics sst
-textops textopsx tls tm tmx tmrec topoh
-uac uac_redirect uri_db userblacklist usrloc utils
-xcap_client xcap_server xhttp xhttp_rpc xlog xmlops xmlrpc xmpp"
-
-# FIXME: no ebuilds for them
-#db_cassandra? ( thrift dev-db/cassandra )
-#pdb? ( pdb-server )
-#seas? ( www.wesip.eu )
-
-RDEPEND="
-	>=sys-libs/ncurses-5.7
-	>=sys-libs/readline-6.1_p2
-	group_experimental? ( dev-libs/openssl dev-db/redis dev-db/oracle-instantclient-basic )
-	group_mysql? ( >=dev-db/mysql-5.1.50 sys-libs/zlib )
-	group_radius? ( >=net-dialup/radiusclient-ng-0.5.0 )
-	group_presence? ( dev-libs/libxml2 net-misc/curl )
-	group_postgres? ( dev-db/postgresql-base )
-	group_standard? ( dev-libs/libxml2 dev-libs/openssl net-misc/curl )
-	group_kmysql? ( >=dev-db/mysql-5.1.50 sys-libs/zlib )
-	group_kradius? ( >=net-dialup/radiusclient-ng-0.5.0 )
-	group_kpresence? ( dev-libs/libxml2 net-misc/curl )
-	group_kpostgres? ( dev-db/postgresql-base )
-	group_kstandard? ( dev-libs/libxml2 dev-libs/openssl net-misc/curl )
-	group_kxml? ( dev-libs/libxml2 dev-libs/xmlrpc-c )
-	group_kperl? ( dev-lang/perl dev-perl/perl-ldap )
-	group_kldap? ( net-nds/openldap )
-	group_kjson? ( dev-libs/json-c dev-libs/libevent )
-	acc_radius? ( net-dialup/radiusclient-ng )
-	app_lua? ( >=dev-lang/lua-5.1 )
-	app_python? ( dev-lang/python )
-	app_mono? ( dev-lang/mono )
-	auth_identity? ( dev-libs/openssl net-misc/curl )
-	carrierroute? ( dev-libs/confuse )
-	cpl-c? ( dev-libs/libxml2 )
-	db_berkeley? ( >=sys-libs/db-4.6 )
-	db_mysql? ( >=dev-db/mysql-5.1.50 )
-	db_oracle? ( dev-db/oracle-instantclient-basic )
-	db_postgres? ( dev-db/postgresql-base )
-	db_sqlite? ( >=dev-db/sqlite-3 )
-	db_unixodbc? ( dev-db/unixODBC )
-	ndb_redis? ( dev-db/redis )
-	dialplan? ( dev-libs/libpcre )
-	geoip? ( dev-libs/geoip )
-	h350? ( net-nds/openldap )
-	jabber? ( dev-libs/expat )
-	lcr? ( dev-libs/libpcre )
-	ldap? ( net-nds/openldap )
-	memcached? ( dev-libs/libmemcache net-misc/memcached )
-	mi_xmlrpc? ( dev-libs/libxml2 dev-libs/xmlrpc-c )
-	osp? ( net-libs/osptoolkit )
-	peering? ( net-dialup/radiusclient-ng )
-	perl? ( dev-lang/perl dev-perl/perl-ldap )
-	presence? ( dev-libs/libxml2 )
-	presence_conference? ( dev-libs/libxml2 )
-	presence_xml? ( dev-libs/libxml2 )
-	pua? ( dev-libs/libxml2 )
-	pua_bla? ( dev-libs/libxml2 )
-	pua_dialoginfo? ( dev-libs/libxml2 )
-	pua_usrloc? ( dev-libs/libxml2 )
-	pua_xmpp? ( dev-libs/libxml2 )
-	purple? ( net-im/pidgin )
-	regex? ( dev-libs/libpcre )
-	rls? ( dev-libs/libxml2 )
-	snmpstats? ( net-analyzer/net-snmp sys-apps/lm_sensors )
-	tls? (
-		sys-libs/zlib
-		>=dev-libs/openssl-1.0.0a-r1
-	)
-	utils? ( net-misc/curl )
-	xcap_client? ( dev-libs/libxml2 net-misc/curl )
-	xcap_server? ( dev-libs/libxml2 )
-	xmlops? ( dev-libs/libxml2 )
-	xmpp? ( dev-libs/expat )
-"
-DEPEND="${RDEPEND}
-	>=sys-devel/bison-1.35
-	>=sys-devel/flex-2.5.4a
-	app-text/docbook2X"
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-
-	use ipv6 || \
-		sed -i -e "s/-DUSE_IPV6//g" Makefile.defs || die
-}
-
-src_compile() {
-	# iptrtpproxy broken as the needed netfilter module is not supported
-	local mod_exc="iptrtpproxy"
-	local group_inc=""
-	local k=""
-	if use flavour_kamailio; then
-		k="k"
-		use group_kxml && group_inc="${group_inc} kxml"
-		use group_kperl && group_inc="${group_inc} kperl"
-		use group_kldap && group_inc="${group_inc} kldap"
-		use group_kjson && group_inc="${group_inc} kjson"
-	fi
-	# you can USE flavour=kamailio but also group_standard. It will be converted to group_kstandard
-	# same as mysql/kmysql, postgres/kpostgres, radius/kradius, presence/kpresence
-	(use group_standard || use group_kstandard) && group_inc="${group_inc} ${k}standard"
-	use group_standard_dep && group_inc="${group_inc} standard_dep"
-	(use group_mysql || use group_kmysql) && group_inc="${group_inc} ${k}mysql"
-	(use group_radius || use group_kradius) && group_inc="${group_inc} ${k}radius"
-	(use group_postgres || use group_kpostgres) && group_inc="${group_inc} ${k}postgres"
-	(use group_presence || use group_kpresence) && group_inc="${group_inc} ${k}presence"
-	use group_stable && group_inc="${group_inc} stable"
-	use group_experimental && group_inc="${group_inc} experimental"
-	# TODO: skip_modules?
-
-	local mod_inc=""
-	# some IUSE flags must not be included here in mod_inc
-	# e.g.: flavour_kamailio, flavour_ser, debug, sctp, ipv6
-	for i in ${IUSE[@]}; do
-		for j in ${i[@]}; do
-			[[ ! "${i}" =~ "flavour_" ]] && \
-				[ ! "${i}" == "debug" ] && \
-				[ ! "${i}" == "ipv6" ] && \
-				[ ! "${i}" == "sctp" ] && \
-				[[ ! "${i}" =~ "group_" ]] && \
-			use "${i}" && mod_inc="${mod_inc} ${i}"
-		done
-	done
-
-	if use tls; then
-		tls_hooks=1
-	else
-		tls_hooks=0
-	fi
-
-	if use debug; then
-		mode=debug
-	else
-		mode=release
-	fi
-
-	if use flavour_kamailio; then
-		flavour=kamailio
-	else
-		flavour=ser # defaults to SER compatibility names
-	fi
-
-	if use sctp; then
-		sctp=1
-	else
-		sctp=0
-	fi
-
-	emake \
-		CC="$(tc-getCC)" \
-		CPU_TYPE="$(get-flag march)" \
-		SCTP="${sctp}" \
-		CC_EXTRA_OPTS=-I/usr/gnu/include \
-		mode="${mode}" \
-		TLS_HOOKS="${tls_hooks}" \
-		FLAVOUR="${flavour}" \
-		group_include="${group_inc}" \
-		include_modules="${mod_inc}" \
-		exclude_modules="${mod_exc}" \
-		prefix="/" \
-		all || die "emake all failed"
-}
-
-src_install() {
-	emake -j1 \
-		BASEDIR="${D}" \
-		FLAVOUR="${flavour}" \
-		prefix="/" \
-		bin_dir=/usr/sbin/ \
-		cfg_dir=/etc/${flavour}/ \
-		lib_dir=/usr/$(get_libdir)/${flavour}/ \
-		modules_dir="/usr/$(get_libdir)/${flavour}/" \
-		man_dir="/usr/share/man/" \
-		doc_dir="/usr/share/doc/${flavour}/" \
-		share_dir="/usr/share/${flavour}/" \
-		data_dir="/usr/share/${flavour}/" \
-		install || die "emake install failed"
-
-	sed -e "s/sip-router/${flavour}/g" \
-		${FILESDIR}/ser.initd > ${flavour}.initd || die
-	sed -e "s/sip-router/${flavour}/g" \
-		${FILESDIR}/ser.confd > ${flavour}.confd || die
-
-	newinitd "${flavour}".initd "${flavour}"
-	newconfd "${flavour}".confd "${flavour}"
-}
-
-pkg_preinst() {
-	if [[ -z "$(egetent passwd ${flavour})" ]]; then
-		einfo "Adding ${flavour} user and group"
-		enewgroup "${flavour}"
-		enewuser  "${flavour}" -1 -1 /dev/null "${flavour}"
-	fi
-
-	chown -R root:"${flavour}"  "${D}/etc/${flavour}"
-	chmod -R u=rwX,g=rX,o= "${D}/etc/${flavour}"
-
-}
-
-pkg_postinst() {
-	if [ use mediaproxy ]; then
-		einfo "You have enabled mediaproxy support. In order to use it, you have
-		to run it somewhere."
-	fi
-	if [ use rtpproxy ]; then
-		einfo "You have enabled rtpproxy support. In order to use it, you have
-		to run it somewhere."
-	fi
-}
-
-pkg_prerm () {
-	/etc/init.d/"${flavour}" stop >/dev/null
-}

+ 0 - 1
pkg/ser/netbsd/COMMENT

@@ -1 +0,0 @@
-Sip Express Router, very fast and configurable SIP proxy

+ 0 - 16
pkg/ser/netbsd/DESCR

@@ -1,16 +0,0 @@
-ser or SIP Express Router is a very fast and flexible SIP (RFC3621)
-proxy server. Written entirely in C, ser can handle thousands calls
-per second even on low-budget hardware. C Shell like scripting language
-provides full control over the server's behaviour. It's modular
-architecture allows only required functionality to be loaded.
-Currently the following modules are available: Digest Authentication,
-CPL scripts, Instant Messaging, MySQL support, Presence Agent, Radius
-Authentication, Record Routing, SMS Gateway, Jabber Gateway, Transaction
-Module, Registrar, User Location, NAT Traversal, a.s.o.
-
-
-WWW: http://www.iptel.org/ser/
-
-- Andrei Pelinescu-Onciul
[email protected]
-

+ 0 - 50
pkg/ser/netbsd/Makefile

@@ -1,50 +0,0 @@
-# New ports collection makefile for:    ser
-# Date created:        6 November 2002
-# Whom:                andrei
-#
-# $NetBSD$
-#
-# $Id$
-#
-
-COMMENT= "SIP Express Router"
-
-PORTNAME= ser
-PORTVERSION= 0.9.4
-CATEGORIES= net
-MASTER_SITES= ftp://ftp.iptel.org/pub/ser/0.9.4/src/
-
-MAINTAINER= [email protected]
-
-MAN8=ser.8
-MAN5=ser.cfg.5
-# MANCOMPRESSED must not be specified (if defined is assumed to be yes)
-
-# netbsd 2.0
-USE_TOOLS+=	gmake
-#netbsd 1.6
-USE_GMAKE= yes     
-# we override the DISTFILE NAME
-DISTNAME= ${PORTNAME}-${PORTVERSION}
-DISTFILES= ${DISTNAME}_src.tar.gz
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
-# build by default mysql and jabber
-MAKE_ENV= include_modules="mysql jabber cpl-c pa"
-
-# depends on expat, mysqlclient and libxml2 because of the above modules
-DEPENDS= expat-[0-9]*:../../textproc/expat \
-         mysql-client>=3.23.35:../../databases/mysql-client \
-         libxml2*:../../textproc/libxml2
-
-#.include "/usr/pkgsrc/mk/bsd.prefs.mk"
-
-pre-fetch:
-
-.include "../../textproc/expat/buildlink3.mk"
-.include "../../databases/mysql-client/buildlink3.mk"
-.include "../../textproc/libxml2/buildlink3.mk"
-
-.include "../../mk/bsd.pkg.mk"
-
-

+ 0 - 102
pkg/ser/netbsd/PLIST

@@ -1,102 +0,0 @@
-etc/ser/dictionary.ser
-etc/ser/ser.cfg
-lib/ser/modules/acc_db.so
-lib/ser/modules/acc_syslog.so
-lib/ser/modules/auth.so
-lib/ser/modules/auth_db.so
-lib/ser/modules/avp.so
-lib/ser/modules/avp_db.so
-lib/ser/modules/avpops.so
-lib/ser/modules/cpl-c.so
-lib/ser/modules/ctl.so
-lib/ser/modules/db_ops.so
-lib/ser/modules/dbtext.so
-lib/ser/modules/dialog.so
-lib/ser/modules/dispatcher.so
-lib/ser/modules/domain.so
-lib/ser/modules/enum.so
-lib/ser/modules/exec.so
-lib/ser/modules/flatstore.so
-lib/ser/modules/gflags.so
-lib/ser/modules/jabber.so
-lib/ser/modules/lcr.so
-lib/ser/modules/maxfwd.so
-lib/ser/modules/mediaproxy.so
-lib/ser/modules/msilo.so
-lib/ser/modules/mysql.so
-lib/ser/modules/nathelper.so
-lib/ser/modules/options.so
-lib/ser/modules/pa.so
-lib/ser/modules/pdt.so
-lib/ser/modules/permissions.so
-lib/ser/modules/pike.so
-lib/ser/modules/print.so
-lib/ser/modules/ratelimit.so
-lib/ser/modules/registrar.so
-lib/ser/modules/rr.so
-lib/ser/modules/sl.so
-lib/ser/modules/sms.so
-lib/ser/modules/speeddial.so
-lib/ser/modules/textops.so
-lib/ser/modules/tm.so
-lib/ser/modules/uac.so
-lib/ser/modules/uri.so
-lib/ser/modules/uri_db.so
-lib/ser/modules/usrloc.so
-lib/ser/modules/xlog.so
-lib/ser/modules/xmlrpc.so
-sbin/ser
-sbin/ser_mysql.sh
-sbin/serunix
-share/doc/ser/AUTHORS
-share/doc/ser/INSTALL
-share/doc/ser/NEWS
-share/doc/ser/README
-share/doc/ser/README-MODULES
-share/doc/ser/README.acc_db
-share/doc/ser/README.acc_syslog
-share/doc/ser/README.auth
-share/doc/ser/README.auth_db
-share/doc/ser/README.avp
-share/doc/ser/README.avp_db
-share/doc/ser/README.avpops
-share/doc/ser/README.cpl-c
-share/doc/ser/README.dbtext
-share/doc/ser/README.dialog
-share/doc/ser/README.dispatcher
-share/doc/ser/README.domain
-share/doc/ser/README.enum
-share/doc/ser/README.eval
-share/doc/ser/README.exec
-share/doc/ser/README.flatstore
-share/doc/ser/README.gflags
-share/doc/ser/README.jabber
-share/doc/ser/README.lcr
-share/doc/ser/README.maxfwd
-share/doc/ser/README.msilo
-share/doc/ser/README.nathelper
-share/doc/ser/README.options
-share/doc/ser/README.pa
-share/doc/ser/README.pdt
-share/doc/ser/README.permissions
-share/doc/ser/README.pike
-share/doc/ser/README.print
-share/doc/ser/README.ratelimit
-share/doc/ser/README.registrar
-share/doc/ser/README.rr
-share/doc/ser/README.sl
-share/doc/ser/README.sms
-share/doc/ser/README.speeddial
-share/doc/ser/README.textops
-share/doc/ser/README.timer
-share/doc/ser/README.tm
-share/doc/ser/README.uac
-share/doc/ser/README.uri
-share/doc/ser/README.uri_db
-share/doc/ser/README.usrloc
-share/doc/ser/README.xlog
-share/doc/ser/README.xmlrpc
-@dirrm share/doc/ser
-@dirrm etc/ser
-@dirrm lib/ser/modules
-@dirrm lib/ser

+ 0 - 1
pkg/ser/netbsd/distinfo

@@ -1 +0,0 @@
-MD5 (ser-0.9.4_src.tar.gz) = d12d56d76c86b59dd51a43b3251b7d3a

+ 0 - 54
pkg/ser/openbsd/Makefile

@@ -1,54 +0,0 @@
-# New ports collection makefile for:    ser
-# Date created:        6 November 2002
-# Whom:                andrei
-#
-# $OpenBSD$
-#
-# $Id$
-#
-
-COMMENT= "SIP Express Router"
-
-PORTNAME= ser
-PORTVERSION= 0.9.4
-CATEGORIES= net
-MASTER_SITES= ftp://ftp.iptel.org/pub/ser/0.9.4/src/
-
-MAINTAINER= [email protected] 
-
-MAN8=ser.8
-MAN5=ser.cfg.5
-# MANCOMPRESSED must not be defined in openbsd (defined==yes)
-
-# GPL
-PERMIT_PACKAGE_CDROM=	Yes
-PERMIT_PACKAGE_FTP=	Yes
-PERMIT_DISTFILES_CDROM=	Yes
-PERMIT_DISTFILES_FTP=	Yes
-
-
-USE_GMAKE= yes
-# we override the DISTFILE NAME
-DISTNAME= ${PORTNAME}-${PORTVERSION}
-DISTFILES= ${DISTNAME}_src.tar.gz
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
-# build by default mysql and jabber
-MAKE_ENV= include_modules="mysql jabber cpl-c pa"
-
-# depends on mysql and libexpat because of the above modules
-BUILD_DEPENDS= :expat-1.*:textproc/expat \
-               :mysql-client-[3-].*:databases/mysql \
-               :libxml-2.*:textproc/libxml
-LIB_DEPENDS=   expat.2:expat-1.*:textproc/expat \
-               lib/mysql/mysqlclient.10:mysql-client-[3-].*:databases/mysql \
-               xml2:libxml-2.*:textproc/libxml
-
-
-
-pre-fetch:
-
-
-.include <bsd.port.mk>
-
-

+ 0 - 1
pkg/ser/openbsd/distinfo

@@ -1 +0,0 @@
-MD5 (ser-0.9.4_src.tar.gz) = d12d56d76c86b59dd51a43b3251b7d3a

+ 0 - 1
pkg/ser/openbsd/pkg/COMMENT

@@ -1 +0,0 @@
-Sip Express Router, very fast and configurable SIP proxy

+ 0 - 15
pkg/ser/openbsd/pkg/DESCR

@@ -1,15 +0,0 @@
-ser or SIP Express Router is a very fast and flexible SIP (RFC3621)
-proxy server. Written entirely in C, ser can handle thousands calls
-per second even on low-budget hardware. C Shell like scripting language
-provides full control over the server's behaviour. It's modular
-architecture allows only required functionality to be loaded.
-Currently the following modules are available: Digest Authentication,
-CPL scripts, Instant Messaging, MySQL support, Presence Agent, Radius
-Authentication, Record Routing, SMS Gateway, Jabber Gateway, Transaction
-Module, Registrar, User Location, NAT Traversal, a.s.o.
-
-
-WWW: http://www.iptel.org/ser/
-
-- Andrei Pelinescu-Onciul
[email protected]

+ 0 - 106
pkg/ser/openbsd/pkg/PLIST

@@ -1,106 +0,0 @@
-etc/ser/dictionary.ser
-etc/ser/ser.cfg
-lib/ser/modules/acc_db.so
-lib/ser/modules/acc_syslog.so
-lib/ser/modules/auth.so
-lib/ser/modules/auth_db.so
-lib/ser/modules/avp.so
-lib/ser/modules/avp_db.so
-lib/ser/modules/avpops.so
-lib/ser/modules/cpl-c.so
-lib/ser/modules/ctl.so
-lib/ser/modules/db_ops.so
-lib/ser/modules/dbtext.so
-lib/ser/modules/dialog.so
-lib/ser/modules/dispatcher.so
-lib/ser/modules/domain.so
-lib/ser/modules/enum.so
-lib/ser/modules/eval.so
-lib/ser/modules/exec.so
-lib/ser/modules/flatstore.so
-lib/ser/modules/gflags.so
-lib/ser/modules/jabber.so
-lib/ser/modules/lcr.so
-lib/ser/modules/maxfwd.so
-lib/ser/modules/mediaproxy.so
-lib/ser/modules/msilo.so
-lib/ser/modules/mysql.so
-lib/ser/modules/nathelper.so
-lib/ser/modules/options.so
-lib/ser/modules/pa.so
-lib/ser/modules/pdt.so
-lib/ser/modules/permissions.so
-lib/ser/modules/pike.so
-lib/ser/modules/print.so
-lib/ser/modules/ratelimit.so
-lib/ser/modules/registrar.so
-lib/ser/modules/rr.so
-lib/ser/modules/sl.so
-lib/ser/modules/sms.so
-lib/ser/modules/speeddial.so
-lib/ser/modules/textops.so
-lib/ser/modules/timer.so
-lib/ser/modules/tm.so
-lib/ser/modules/uac.so
-lib/ser/modules/uri.so
-lib/ser/modules/uri_db.so
-lib/ser/modules/usrloc.so
-lib/ser/modules/xlog.so
-lib/ser/modules/xmlrpc.so
-sbin/ser
-sbin/ser_mysql.sh
-sbin/serunix
-share/doc/ser/AUTHORS
-share/doc/ser/INSTALL
-share/doc/ser/NEWS
-share/doc/ser/README
-share/doc/ser/README-MODULES
-share/doc/ser/README.acc_db
-share/doc/ser/README.acc_syslog
-share/doc/ser/README.auth
-share/doc/ser/README.auth_db
-share/doc/ser/README.avp
-share/doc/ser/README.avp_db
-share/doc/ser/README.avpops
-share/doc/ser/README.cpl-c
-share/doc/ser/README.ctl
-share/doc/ser/README.db_ops
-share/doc/ser/README.dbtext
-share/doc/ser/README.dialog
-share/doc/ser/README.dispatcher
-share/doc/ser/README.domain
-share/doc/ser/README.enum
-share/doc/ser/README.eval
-share/doc/ser/README.exec
-share/doc/ser/README.flatstore
-share/doc/ser/README.gflags
-share/doc/ser/README.jabber
-share/doc/ser/README.lcr
-share/doc/ser/README.maxfwd
-share/doc/ser/README.msilo
-share/doc/ser/README.nathelper
-share/doc/ser/README.options
-share/doc/ser/README.pa
-share/doc/ser/README.pdt
-share/doc/ser/README.permissions
-share/doc/ser/README.pike
-share/doc/ser/README.print
-share/doc/ser/README.ratelimit
-share/doc/ser/README.registrar
-share/doc/ser/README.rr
-share/doc/ser/README.sl
-share/doc/ser/README.sms
-share/doc/ser/README.speeddial
-share/doc/ser/README.textops
-share/doc/ser/README.timer
-share/doc/ser/README.tm
-share/doc/ser/README.uac
-share/doc/ser/README.uri
-share/doc/ser/README.uri_db
-share/doc/ser/README.usrloc
-share/doc/ser/README.xlog
-share/doc/ser/README.xmlrpc
-@dirrm share/doc/ser
-@dirrm etc/ser
-@dirrm lib/ser/modules
-@dirrm lib/ser

+ 0 - 136
pkg/ser/opensuse/ser.init.SuSE

@@ -1,136 +0,0 @@
-#! /bin/sh
-# Copyright (c) 2002 Frauenhofer Gesellschaft FOKUS, Germany.
-# All rights reserved.
-#
-# Author: Nils Ohlmeier <[email protected]>
-#
-# /etc/init.d/ser
-#
-### BEGIN INIT INFO
-# Provides:          sip
-# Required-Start:    $network
-# X-UnitedLinux-Should-Start: $network
-# Required-Stop:     $network
-# X-UnitedLinux-Should-Stop: $network
-# Default-Start:     3 5
-# Default-Stop:      0 1 2 6
-# Short-Description: SIP Express Router
-# Description:       Start SER and provide the routing of SIP requests.
-### END INIT INFO
-
-
-# Check for missing binaries (stale symlinks should not happen)
-SER_BIN=/usr/sbin/ser
-test -x $SER_BIN || exit 5
-
-# Check for existence of needed config file and read it
-SER_CONFIG=/etc/ser/ser.cfg
-test -r $SER_CONFIG || exit 6
-#. $SER_CONFIG
-
-# Shell functions sourced from /etc/rc.status:
-#      rc_check         check and set local and overall rc status
-#      rc_status        check and set local and overall rc status
-#      rc_status -v     ditto but be verbose in local rc status
-#      rc_status -v -r  ditto and clear the local rc status
-#      rc_status -s     display "skipped" and exit with status 3
-#      rc_status -u     display "unused" and exit with status 3
-#      rc_failed        set local and overall rc status to failed
-#      rc_failed <num>  set local and overall rc status to <num>
-#      rc_reset         clear local rc status (overall remains)
-#      rc_exit          exit appropriate to overall rc status
-#      rc_active	checks whether a service is activated by symlinks
-#      rc_splash arg    sets the boot splash screen to arg (if active)
-. /etc/rc.status
-
-# Reset status of this service
-rc_reset
-
-# Return values acc. to LSB for all commands but status:
-# 0	  - success
-# 1       - generic or unspecified error
-# 2       - invalid or excess argument(s)
-# 3       - unimplemented feature (e.g. "reload")
-# 4       - user had insufficient privileges
-# 5       - program is not installed
-# 6       - program is not configured
-# 7       - program is not running
-# 8--199  - reserved (8--99 LSB, 100--149 distrib, 150--199 appl)
-# 
-# Note that starting an already running service, stopping
-# or restarting a not-running service as well as the restart
-# with force-reload (in case signaling is not supported) are
-# considered a success.
-
-case "$1" in
-    start)
-	echo -n "Starting SIP Express Router "
-	## Start daemon with startproc(8). If this fails
-	## the return value is set appropriately by startproc.
-	startproc $SER_BIN -f $SER_CONFIG
-
-	# Remember status and be verbose
-	rc_status -v
-	;;
-    stop)
-	echo -n "Shutting down SIP Express Router "
-	## Stop daemon with killproc(8) and if this fails
-	## killproc sets the return value according to LSB.
-
-	killproc -TERM $SER_BIN
-
-	# Remember status and be verbose
-	rc_status -v
-	;;
-    restart)
-	## Stop the service and regardless of whether it was
-	## running or not, start it again.
-	$0 stop
-	$0 start
-
-	# Remember status and be quiet
-	rc_status
-	;;
-    force-reload)
-	## Signal the daemon to reload its config. Most daemons
-	## do this on signal 1 (SIGHUP).
-	## If it does not support it, restart.
-
-	echo -n "Reload service SIP Express Router "
-	## Otherwise:
-	$0 stop  &&  $0 start
-	rc_status
-	;;
-    reload)
-	## Like force-reload, but if daemon does not support
-	## signaling, do nothing (!)
-
-	## Otherwise if it does not support reload:
-	rc_failed 3
-	rc_status -v
-	;;
-    status)
-	echo -n "Checking for service SIP Express Router "
-	## Check status with checkproc(8), if process is running
-	## checkproc will return with exit status 0.
-
-	# Return value is slightly different for the status command:
-	# 0 - service up and running
-	# 1 - service dead, but /var/run/  pid  file exists
-	# 2 - service dead, but /var/lock/ lock file exists
-	# 3 - service not running (unused)
-	# 4 - service status unknown :-(
-	# 5--199 reserved (5--99 LSB, 100--149 distro, 150--199 appl.)
-	
-	# NOTE: checkproc returns LSB compliant status values.
-	checkproc $SER_BIN
-	# NOTE: rc_status knows that we called this init script with
-	# "status" option and adapts its messages accordingly.
-	rc_status -v
-	;;
-    *)
-	echo "Usage: $0 {start|stop|status|restart}"
-	exit 1
-	;;
-esac
-rc_exit

+ 0 - 333
pkg/ser/opensuse/ser.spec

@@ -1,333 +0,0 @@
-%define EXCLUDED_MODULES	mysql jabber auth_radius group_radius uri_radius postgres snmp cpl cpl-c extcmd 
-%define MYSQL_MODULES		mysql
-%define JABBER_MODULES		jabber
-%define RADIUS_MODULES		auth_radius group_radius uri_radius
-%define RADIUS_MOD_PATH		modules/auth_radius modules/group_radius modules/uri_radius
-
-
-Summary:      SIP Express Router, very fast and flexible SIP Proxy
-Name:         ser
-Version:      0.9.6
-Release:      22.1
-Packager:     Peter Nixon <[email protected]>
-License:      GPL
-Group:        Productivity/Telephony/SIP/Servers
-Source:       http://iptel.org/ser/stable/%{name}-%{version}_src.tar.bz2
-Source2:      ser.init.SuSE
-%ifarch x86_64
-Patch:        Makefile.defs.patch
-%endif
-URL:          http://www.iptel.org/ser
-Vendor:       FhG Fokus
-BuildRoot:    /var/tmp/%{name}-%{version}-root
-Conflicts:    ser < %{version}, ser-mysql < %{version}, ser-jabber < %{version}, ser-radius < %{version}
-BuildPrereq:  make flex bison 
-BuildRequires: mysql-devel, radiusclient, expat
-
-%description
-SIP Express Router (SER) is a very fast and flexible SIP (RFC3621)
-proxy server. Written entirely in C, SER can handle thousands calls
-per second even on low-budget hardware. A C Shell like scripting language
-provides full control over the server's behaviour. It's modular
-architecture allows only required functionality to be loaded.
-Currently the following modules are available: digest authentication,
-CPL scripts, instant messaging, MySQL support, a presence agent, radius
-authentication, record routing, an SMS Gateway, a jabber gateway, a 
-transaction module, registrar and user location.
-
-%package  mysql
-Summary:  MySQL connectivity for the SIP Express Router.
-Group:    Productivity/Telephony/SIP/Servers
-Requires: ser = %{version}
-BuildPrereq: mysql-devel zlib-devel
-
-%description mysql
-The ser-mysql package contains MySQL database connectivity that you
-need to use digest authentication module or persistent user location
-entries.
-
-%package  jabber
-Summary:  sip jabber message translation support for the SIP Express Router.
-Group:    Productivity/Telephony/SIP/Servers
-Requires: ser = %{version}
-BuildPrereq: expat
-
-%description jabber
-The ser-jabber package contains a sip to jabber message translator.
-
-%package  radius
-Summary:  ser radius authentication, group and uri check modules.
-Group:    Productivity/Telephony/SIP/Servers
-Requires: ser = %{version}
-BuildPrereq:  radiusclient
-
-%description radius
-The ser-radius package contains modules for radius authentication, group
- membership and uri checking.
-
-%prep
-%setup
-%ifarch x86_64
-%patch
-%endif
-
-%build
-make all skip_modules="%EXCLUDED_MODULES" \
-%ifarch x86_64
-		modules-dir=/lib64/ser/modules/ \
-%endif
-		cfg-target=/%{_sysconfdir}/ser/
-make modules modules="modules/%MYSQL_MODULES" \
-%ifarch x86_64
-		modules-dir=/lib64/ser/modules/ \
-%endif
-		cfg-target=/%{_sysconfdir}/ser/
-make modules modules="modules/%JABBER_MODULES" \
-%ifarch x86_64
-		modules-dir=/lib64/ser/modules/ \
-%endif
-		cfg-target=/%{_sysconfdir}/ser/
-make modules modules="%RADIUS_MOD_PATH" \
-%ifarch x86_64
-		modules-dir=/lib64/ser/modules/ \
-%endif
-		cfg-target=/%{_sysconfdir}/ser/
-
-%install
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
-
-make install skip_modules="%EXCLUDED_MODULES" \
-		basedir=$RPM_BUILD_ROOT \
-		prefix=/usr \
-%ifarch x86_64
-		modules-dir=/lib64/ser/modules/ \
-%endif
-		cfg-prefix=$RPM_BUILD_ROOT \
-		cfg-target=/%{_sysconfdir}/ser/ \
-		doc-prefix=$RPM_BUILD_ROOT \
-		doc-dir=/%{_docdir}/ser/
-make install-modules modules="modules/%MYSQL_MODULES" \
-		basedir=$RPM_BUILD_ROOT \
-		prefix=/usr \
-%ifarch x86_64
-		modules-dir=/lib64/ser/modules/ \
-%endif
-		cfg-prefix=$RPM_BUILD_ROOT \
-		cfg-target=/%{_sysconfdir}/ser/ \
-		doc-prefix=$RPM_BUILD_ROOT \
-		doc-dir=/%{_docdir}/ser/
-make install-modules modules="modules/%JABBER_MODULES" \
-		basedir=$RPM_BUILD_ROOT \
-		prefix=/usr \
-%ifarch x86_64
-		modules-dir=/lib64/ser/modules/ \
-%endif
-		cfg-prefix=$RPM_BUILD_ROOT \
-		cfg-target=/%{_sysconfdir}/ser/ \
-		doc-prefix=$RPM_BUILD_ROOT \
-		doc-dir=/%{_docdir}/ser/
-make install-modules modules="%RADIUS_MOD_PATH" \
-		basedir=$RPM_BUILD_ROOT \
-		prefix=/usr \
-%ifarch x86_64
-		modules-dir=/lib64/ser/modules/ \
-%endif
-		cfg-prefix=$RPM_BUILD_ROOT \
-		cfg-target=/%{_sysconfdir}/ser/ \
-		doc-prefix=$RPM_BUILD_ROOT \
-		doc-dir=/%{_docdir}/ser/
-make install-doc modules="modules/%JABBER_MODULES %RADIUS_MOD_PATH" \
-		basedir=$RPM_BUILD_ROOT \
-		prefix=/usr \
-%ifarch x86_64
-		modules-dir=/lib64/ser/modules/ \
-%endif
-		doc-prefix=$RPM_BUILD_ROOT \
-		doc-dir=/%{_docdir}/ser/
-
-
-mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/init.d
-install -m755 $RPM_SOURCE_DIR/ser.init.SuSE \
-              $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/ser
-ln -sf ../../etc/init.d/ser $RPM_BUILD_ROOT/usr/sbin/rcser
-
-%clean
-rm -rf "$RPM_BUILD_ROOT"
-
-%post
-sbin/insserv etc/init.d/ser
-
-%preun
-if [ $1 = 0 ]; then
-    etc/init.d/ser stop > /dev/null 2>&1
-fi
-
-%postun
-sbin/insserv etc/init.d/
-
-%files
-%defattr(-,root,root)
-%dir %{_docdir}/ser
-%doc %{_docdir}/ser/*
-
-%dir %{_sysconfdir}/ser
-%config(noreplace) %{_sysconfdir}/ser/*
-%config %{_sysconfdir}/init.d/*
-
-#%ifarch x86_64
-#%else
-%dir %{_libdir}/ser
-%dir %{_libdir}/ser/modules
-%{_libdir}/ser/modules/acc.so
-%{_libdir}/ser/modules/auth.so
-%{_libdir}/ser/modules/auth_db.so
-%{_libdir}/ser/modules/auth_diameter.so
-%{_libdir}/ser/modules/dbtext.so
-%{_libdir}/ser/modules/domain.so
-%{_libdir}/ser/modules/enum.so
-%{_libdir}/ser/modules/exec.so
-%{_libdir}/ser/modules/group.so
-%{_libdir}/ser/modules/mangler.so
-%{_libdir}/ser/modules/maxfwd.so
-%{_libdir}/ser/modules/mediaproxy.so
-%{_libdir}/ser/modules/msilo.so
-%{_libdir}/ser/modules/nathelper.so
-%{_libdir}/ser/modules/pdt.so
-%{_libdir}/ser/modules/permissions.so
-%{_libdir}/ser/modules/pike.so
-%{_libdir}/ser/modules/print.so
-%{_libdir}/ser/modules/registrar.so
-%{_libdir}/ser/modules/rr.so
-%{_libdir}/ser/modules/sl.so
-%{_libdir}/ser/modules/sms.so
-%{_libdir}/ser/modules/textops.so
-%{_libdir}/ser/modules/tm.so
-%{_libdir}/ser/modules/uri.so
-%{_libdir}/ser/modules/usrloc.so
-%{_libdir}/ser/modules/xlog.so
-
-%{_libdir}/ser/modules/avp.so
-%{_libdir}/ser/modules/avp_db.so
-%{_libdir}/ser/modules/avpops.so
-%{_libdir}/ser/modules/dispatcher.so
-%{_libdir}/ser/modules/diversion.so
-%{_libdir}/ser/modules/flatstore.so
-%{_libdir}/ser/modules/gflags.so
-%{_libdir}/ser/modules/options.so
-%{_libdir}/ser/modules/speeddial.so
-%{_libdir}/ser/modules/uri_db.so
-#%endif
-%{_sbindir}/ser
-%{_sbindir}/serctl
-%{_sbindir}/serunix
-/usr/sbin/rcser
-
-%{_mandir}/man5/*
-%{_mandir}/man8/*
-
-
-%files mysql
-%defattr(-,root,root)
-
-#%ifarch x86_64
-#%else
-%{_libdir}/ser/modules/mysql.so
-#%endif
-%{_sbindir}/ser_mysql.sh
-
-%files jabber
-%defattr(-,root,root)
-#%ifarch x86_64
-#%else
-%{_libdir}/ser/modules/jabber.so
-#%endif
-%doc %{_docdir}/ser/README.jabber
-
-%files radius
-%defattr(-,root,root)
-#%{_libdir}/ser/modules/auth_radius.so
-#%{_libdir}/ser/modules/group_radius.so
-#%{_libdir}/ser/modules/uri_radius.so
-%doc %{_docdir}/ser/README.auth_radius
-%doc %{_docdir}/ser/README.group_radius
-%doc %{_docdir}/ser/README.uri_radius
-
-
-
-
-%changelog
-
-* Tue Jul 26 2005 Peter Nixon - Suntel Communications <[email protected]>
-- include SUSE version in the rpm filename(s)
-- changed version to 0.9.3 (new upstream release)
-- update rpm package group to match SUSE 9.3
-- removed files no longer in tarball
-- enabled radius modules
-- add symlink for rcser
-
-* Tue Jul 27 2004 Andrei Pelinescu - Onciul <[email protected]>
-- changed vesion to 0.8.14 (new upstream release)
-- added ext to the modules list, removed the radius modules (they depend on radiusclient-ng now)
-
-* Fri Nov 14 2003 Andrei Pelinescu - Onciul <[email protected]>
-- changed vesion to 0.8.12 (new upstream release)
-- added auth_diameter, pdt & mangler to the modules list
-
-* Wed Aug 28 2003 Nils Ohlmeier <[email protected]>
-- replaced modules Conflicts with required Ser version
-- fixed doc installation for SuSE pathes
-- added doc for jabber and radius
-
-* Wed Aug 28 2003 Andrei Pelinescu - Onciul <[email protected]>
-- added doc (READMEs, NEWS, AUTHORS a.s.o)
-- added xlog to the modules list
-
-* Wed Aug 27 2003 Nils Ohlmeier <[email protected]>
-- fixed module dependencys
-- added Conflicts for modules
-
-* Wed Aug 27 2003 Andrei Pelinescu - Onciul <[email protected]>
-- changed vesion to 0.8.11
-- gen_ha1 is now left in _sbindir
-- removed harv_ser.sh
-- added Conflicts
-
-* Mon Jun 2 2003 Andrei Pelinescu - Onciul <[email protected]>
-- added a separate rpm for the radius modules
-- updated to the new makefile variables (removed lots of unnecessary stuff)
-
-* Tue Nov 12 2002 Nils Ohlmeier <[email protected]>
-- replaced expat-devel with expat
-- removed leading + from a few lines
-
-* Tue Nov 12 2002 Andrei Pelinescu - Onciul <[email protected]>
-- added a separate rpm for the jabber modules
-- moved all the binaries to sbin
-- removed obsolete installs (make install installs everything now)
-
-* Mon Oct 28 2002 Nils Ohlmeier <[email protected]>
-- Added mysql and mysql-devel to the Req for the ser-mysql rpm.
-
-* Thu Sep 26 2002 Nils Ohlmeier <[email protected]>
-- Added library path to mysql/Makefile to build on SuSE 8.0
-
-* Thu Sep 26 2002 Nils Ohlmeier <[email protected]>
-- Added 'make [modules|modules-install]' to adapted Makefile changes
-
-* Wed Sep 25 2002 Andrei Pelinescu - Onciul  <[email protected]>
-- modified make install & make: added cfg-target & modules-target
-
-* Wed Sep 25 2002 Nils Ohlmeier <[email protected]>
-- Copyed mysql connectivity subpackage from orig rpm.spec.
-
-* Fri Sep 06 2002 Nils Ohlmeier <[email protected]>
-- Adaptation to SuSE.
-
-* Mon Sep 02 2002 Jan Janak <[email protected]>
-- gen_ha1 utility added, scripts added.
-
-* Tue Aug 28 2002 Jan Janak <[email protected]>
-- Finished the first version of the spec file.
-
-* Sun Aug 12 2002 Jan Janak <[email protected]>
-- First version of the spec file.

+ 0 - 72
pkg/ser/rpm/ser.init

@@ -1,72 +0,0 @@
-#!/bin/bash
-#
-# Startup script for SER
-#
-# chkconfig: 345 85 15
-# description: Ser is a fast SIP Proxy.
-#
-# processname: ser
-# pidfile: /var/run/ser.pid
-# config: /etc/ser/ser.cfg
-
-# Source function library.
-. /etc/rc.d/init.d/functions
-
-ser=/usr/sbin/ser
-prog=ser
-RETVAL=0
-
-start() {
-        echo -n $"Starting $prog: "
-	ulimit -c unlimited
-	ulimit -n 16384
-        daemon $ser $OPTIONS
-        RETVAL=$?
-        echo
-        [ $RETVAL = 0 ] && touch /var/lock/subsys/ser
-        return $RETVAL
-}
-
-stop() {
-	echo -n $"Stopping $prog: "
-	killproc $ser
-	RETVAL=$?
-	echo
-	[ $RETVAL = 0 ] && rm -f /var/lock/subsys/ser /var/run/ser.pid
-}
-
-reload() {
-	echo -n $"Reloading $prog: "
-	killproc $ser -HUP
-	RETVAL=$?
-	echo
-}
-
-# See how we were called.
-case "$1" in
-  start)
-	start
-	;;
-  stop)
-	stop
-	;;
-  status)
-        status $ser
-	RETVAL=$?
-	;;
-  restart)
-	stop
-	start
-	;;
-  condrestart)
-	if [ -f /var/run/ser.pid ] ; then
-		stop
-		start
-	fi
-	;;
-  *)
-	echo $"Usage: $prog {start|stop|restart|condrestart|status|help}"
-	exit 1
-esac
-
-exit $RETVAL

+ 0 - 328
pkg/ser/rpm/ser.spec-4.1

@@ -1,328 +0,0 @@
-%define name    ser
-%define ver     2.1.0
-%define rel     dev23b
-
-%define EXCLUDED_MODULES	mysql jabber auth_radius group_radius uri_radius postgres snmp cpl cpl-c extcmd ldap
-%define MYSQL_MODULES		mysql
-%define JABBER_MODULES		jabber
-%define RADIUS_MODULES		auth_radius group_radius uri_radius
-%define RADIUS_MOD_PATH		modules/auth_radius modules/group_radius modules/uri_radius
-
-Summary:      SIP Express Router, very fast and flexible SIP Proxy
-Name:         %name
-Version:      %ver
-Release:      %rel
-Packager:     Jan Janak <[email protected]>
-Copyright:    GPL
-Group:        System Environment/Daemons
-Source:       http://ftp.iptel.org/pub/ser/%{ver}/src/%{name}-%{ver}-%{rel}_src.tar.gz
-Source2:      ser.init
-URL:          http://iptel.org/ser
-Vendor:       FhG FOKUS
-BuildRoot:    /var/tmp/%{name}-%{ver}-root
-Conflicts:    ser-mysql < %ver, ser-jabber < %ver, ser-radius < %ver
-BuildPrereq:  make flex bison
-
-
-%description
-Ser or SIP Express Router is a very fast and flexible SIP (RFC3621)
-proxy server. Written entirely in C, ser can handle thousands calls
-per second even on low-budget hardware. A C Shell like scripting language
-provides full control over the server's behaviour. It's modular
-architecture allows only required functionality to be loaded.
-Currently the following modules are available: digest authentication,
-CPL scripts, instant messaging, MySQL support, a presence agent, radius
-authentication, record routing, an SMS gateway, a jabber gateway, a 
-transaction module, registrar and user location.
-
-%package  mysql
-Summary:  MySQL connectivity for the SIP Express Router.
-Group:    System Environment/Daemons
-Requires: ser = %ver
-BuildPrereq:  mysql-devel zlib-devel
-
-%description mysql
-The ser-mysql package contains MySQL database connectivity that you
-need to use digest authentication module or persistent user location
-entries.
-
-%package  jabber
-Summary:  sip jabber message translation support for the SIP Express Router.
-Group:    System Environment/Daemons
-Requires: ser = %ver
-BuildPrereq:  expat-devel
-
-%description jabber
-The ser-jabber package contains a sip to jabber message translator.
-
-#%package  radius
-#Summary:  ser radius authentication, group and uri check modules.
-#Group:    System Environment/Daemons
-#Requires: ser = %ver
-#BuildPrereq:  radiusclient-devel
-
-#%description radius
-#The ser-radius package contains modules for radius authentication, group
-# membership and uri checking.
-
-%prep
-%setup -n %{name}-%{ver}-%{rel}
-
-%build
-make all include_modules="tls" skip_modules="%EXCLUDED_MODULES"      cfg-target=/%{_sysconfdir}/ser/
-make modules modules="modules/%MYSQL_MODULES"  cfg-target=/%{_sysconfdir}/ser/
-make modules modules="modules/%JABBER_MODULES" cfg-target=/%{_sysconfdir}/ser/
-make modules modules="%RADIUS_MOD_PATH"        cfg-target=/%{_sysconfdir}/ser/
-
-
-%install
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
-
-make install include_modules="tls" skip_modules="%EXCLUDED_MODULES" \
-		basedir=$RPM_BUILD_ROOT \
-		prefix=/usr \
-		cfg-prefix=$RPM_BUILD_ROOT \
-		cfg-target=/%{_sysconfdir}/ser/ 
-make install-modules modules="modules/%MYSQL_MODULES" \
-		basedir=$RPM_BUILD_ROOT \
-		prefix=/usr \
-		cfg-prefix=$RPM_BUILD_ROOT \
-		cfg-target=/%{_sysconfdir}/ser/ 
-make install-modules modules="modules/%JABBER_MODULES" \
-		basedir=$RPM_BUILD_ROOT \
-		prefix=/usr \
-		cfg-prefix=$RPM_BUILD_ROOT \
-		cfg-target=/%{_sysconfdir}/ser/ 
-make install-doc modules="modules/%JABBER_MODULES" \
-		basedir=$RPM_BUILD_ROOT \
-		prefix=/usr \
-		cfg-prefix=$RPM_BUILD_ROOT \
-		cfg-target=/%{_sysconfdir}/ser/ 
-#make install-modules modules="%RADIUS_MOD_PATH" \
-#		basedir=$RPM_BUILD_ROOT \
-#		prefix=/usr \
-#		cfg-prefix=$RPM_BUILD_ROOT \
-#		cfg-target=/%{_sysconfdir}/ser/ 
-#make install-doc modules="%RADIUS_MOD_PATH" \
-#		basedir=$RPM_BUILD_ROOT \
-#		prefix=/usr \
-#		cfg-prefix=$RPM_BUILD_ROOT \
-#		cfg-target=/%{_sysconfdir}/ser/ 
-
-mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
-install -m755 $RPM_SOURCE_DIR/ser.init \
-              $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d/ser
-
-
-
-
-%clean
-rm -rf "$RPM_BUILD_ROOT"
-
-%post
-/sbin/chkconfig --add ser
-
-%preun
-if [ $1 = 0 ]; then
-    /sbin/service ser stop > /dev/null 2>&1
-    /sbin/chkconfig --del ser
-fi
-
-
-%files
-%defattr(-,root,root)
-%dir %{_docdir}/ser
-%doc %{_docdir}/ser/AUTHORS
-%doc %{_docdir}/ser/NEWS
-%doc %{_docdir}/ser/INSTALL
-%doc %{_docdir}/ser/README
-%doc %{_docdir}/ser/README-MODULES
-%doc %{_docdir}/ser/README.acc_syslog
-%doc %{_docdir}/ser/README.auth
-%doc %{_docdir}/ser/README.auth_db
-%doc %{_docdir}/ser/README.avp
-%doc %{_docdir}/ser/README.avp_db
-%doc %{_docdir}/ser/README.cfg_db
-%doc %{_docdir}/ser/README.db_ops
-%doc %{_docdir}/ser/README.dispatcher
-%doc %{_docdir}/ser/README.diversion
-%doc %{_docdir}/ser/README.domain
-%doc %{_docdir}/ser/README.enum
-%doc %{_docdir}/ser/README.eval
-%doc %{_docdir}/ser/README.exec
-%doc %{_docdir}/ser/README.flatstore
-%doc %{_docdir}/ser/README.gflags
-%doc %{_docdir}/ser/README.lcr
-%doc %{_docdir}/ser/README.maxfwd
-%doc %{_docdir}/ser/README.msilo
-%doc %{_docdir}/ser/README.nathelper
-%doc %{_docdir}/ser/README.options
-%doc %{_docdir}/ser/README.pdt
-%doc %{_docdir}/ser/README.permissions
-%doc %{_docdir}/ser/README.pike
-%doc %{_docdir}/ser/README.prefix_route
-%doc %{_docdir}/ser/README.print
-%doc %{_docdir}/ser/README.ratelimit
-%doc %{_docdir}/ser/README.registrar
-%doc %{_docdir}/ser/README.rr
-%doc %{_docdir}/ser/README.sanity
-%doc %{_docdir}/ser/README.sl
-%doc %{_docdir}/ser/README.sms
-%doc %{_docdir}/ser/README.speeddial
-%doc %{_docdir}/ser/README.textops
-%doc %{_docdir}/ser/README.timer
-%doc %{_docdir}/ser/README.tls
-%doc %{_docdir}/ser/README.tm
-%doc %{_docdir}/ser/README.uac
-%doc %{_docdir}/ser/README.uri
-%doc %{_docdir}/ser/README.uri_db
-%doc %{_docdir}/ser/README.usrloc
-%doc %{_docdir}/ser/README.xlog
-
-%dir %{_sysconfdir}/ser
-%config(noreplace) %{_sysconfdir}/ser/*
-%config %{_sysconfdir}/rc.d/init.d/*
-
-%dir %{_libdir}/ser
-%{_libdir}/ser/libser_cds.so
-%{_libdir}/ser/libser_cds.so.0
-%{_libdir}/ser/libser_cds.so.0.1
-%dir %{_libdir}/ser/modules
-%{_libdir}/ser/modules/acc_db.so
-%{_libdir}/ser/modules/acc_syslog.so
-%{_libdir}/ser/modules/auth.so
-%{_libdir}/ser/modules/auth_db.so
-%{_libdir}/ser/modules/avp.so
-%{_libdir}/ser/modules/avp_db.so
-%{_libdir}/ser/modules/blst.so
-%{_libdir}/ser/modules/cfg_db.so
-%{_libdir}/ser/modules/cfg_rpc.so
-%{_libdir}/ser/modules/ctl.so
-%{_libdir}/ser/modules/db_ops.so
-%{_libdir}/ser/modules/dispatcher.so
-%{_libdir}/ser/modules/diversion.so
-%{_libdir}/ser/modules/domain.so
-%{_libdir}/ser/modules/enum.so
-%{_libdir}/ser/modules/eval.so
-%{_libdir}/ser/modules/exec.so
-%{_libdir}/ser/modules/fifo.so
-%{_libdir}/ser/modules/flatstore.so
-%{_libdir}/ser/modules/gflags.so
-%{_libdir}/ser/modules/lcr.so
-%{_libdir}/ser/modules/maxfwd.so
-%{_libdir}/ser/modules/mediaproxy.so
-%{_libdir}/ser/modules/msilo.so
-%{_libdir}/ser/modules/nathelper.so
-%{_libdir}/ser/modules/options.so
-%{_libdir}/ser/modules/pdt.so
-%{_libdir}/ser/modules/permissions.so
-%{_libdir}/ser/modules/pike.so
-%{_libdir}/ser/modules/prefix_route.so
-%{_libdir}/ser/modules/print.so
-%{_libdir}/ser/modules/ratelimit.so
-%{_libdir}/ser/modules/registrar.so
-%{_libdir}/ser/modules/rr.so
-%{_libdir}/ser/modules/sanity.so
-%{_libdir}/ser/modules/sl.so
-%{_libdir}/ser/modules/sms.so
-%{_libdir}/ser/modules/speeddial.so
-%{_libdir}/ser/modules/textops.so
-%{_libdir}/ser/modules/timer.so
-%{_libdir}/ser/modules/tls.so
-%{_libdir}/ser/modules/tm.so
-%{_libdir}/ser/modules/uac.so
-%{_libdir}/ser/modules/uri.so
-%{_libdir}/ser/modules/uri_db.so
-%{_libdir}/ser/modules/usrloc.so
-%{_libdir}/ser/modules/xlog.so
-
-%{_sbindir}/ser
-%{_sbindir}/sercmd
-
-%{_mandir}/man5/*
-%{_mandir}/man8/*
-
-
-%files mysql
-%defattr(-,root,root)
-
-%{_libdir}/ser/modules/mysql.so
-%{_sbindir}/ser_mysql.sh
-/usr/share/ser/*.sql
-
-%files jabber
-%defattr(-,root,root)
-%doc %{_docdir}/ser/README.jabber
-
-%{_libdir}/ser/modules/jabber.so
-
-#%files radius
-#%defattr(-,root,root)
-#%doc %{_docdir}/ser/README.auth_radius
-#%doc %{_docdir}/ser/README.group_radius
-#%doc %{_docdir}/ser/README.uri_radius
-
-#%{_libdir}/ser/modules/auth_radius.so
-#%{_libdir}/ser/modules/group_radius.so
-#%{_libdir}/ser/modules/uri_radius.so
-
-
-%changelog
-* Thu Feb 22 2007 Alfred E. Heggestad <[email protected]>
-- Updated for release 2.0.0
-
-* Fri Jul 23 2004 Andrei Pelinescu - Onciul <[email protected]>
-- changed vesion to 0.8.14 (new upstream release)
-- added ext to the modules list, removed the radius modules (they depend on radiusclient-ng now)
-
-* Fri Nov 14 2003 Andrei Pelinescu - Onciul <[email protected]>
-- changed vesion to 0.8.12 (new upstream release)
-- added auth_diameter, pdt & mangler to the modules list
-
-* Wed Aug 27 2003 Andrei Pelinescu - Onciul <[email protected]>
-- changed vesion to 0.8.11
-- gen_ha1 is now left in _sbindir
-- removed harv_ser.sh
-- added xlog to the modules list
-
-* Fri Jun 6 2003 Andrei Pelinescu - Onciul <[email protected]>
-- added Conflicts:, changed vesion to 0.8.11pre30
-
-* Mon Jun 2 2003 Daniel-Constantin Mierla <[email protected]>
-- added README files for ser-jabber and ser-radius packages
-- spec file updated to work with rpm v4.1+
-
-* Sun Jun 1 2003 Andrei Pelinescu - Onciul <[email protected]>
-- added a separate rpm for the radius modules
-- updated to the new makefile variables (removed lots of unnecessary stuff)
-
-* Thu Nov 14 2002 Jan Janak <[email protected]>
-- Installing harv_ser.sh again
-- quick hack to move gen_ha1 to bin directory instead of sbin (should
-  be done from the Makefile next time)
-
-* Tue Nov 12 2002 Andrei Pelinescu - Onciul <[email protected]>
-- added a separate rpm for the jabber modules
-- moved all the binaries to sbin
-- removed obsolete installs (make install installs everything now)
-
-* Fri Oct 25 2002 Jan Janak <[email protected]>
-- Minor description fixes
-
-* Fri Oct  4 2002 Jiri Kuthan <[email protected]>
-- exec module introduced
-
-* Wed Sep 25 2002 Andrei Pelinescu - Onciul  <[email protected]>
-- modified make install & make: added cfg-target & modules-target
-
-* Sun Sep 08 2002 Jan Janak <[email protected]>
-- Created subpackage containing mysql connectivity support.
-
-* Mon Sep 02 2002 Jan Janak <[email protected]>
-- gen_ha1 utility added, scripts added.
-
-* Tue Aug 28 2002 Jan Janak <[email protected]>
-- Finished the first version of the spec file.
-
-* Sun Aug 12 2002 Jan Janak <[email protected]>
-- First version of the spec file.

+ 0 - 296
pkg/ser/rpm/ser.spec.fedora

@@ -1,296 +0,0 @@
-%define EXCLUDED_MODULES	mysql jabber auth_radius group_radius uri_radius avp_radius pa postgres snmp cpl cpl-c ext extcmd
-%define MYSQL_MODULES		mysql
-%define JABBER_MODULES		jabber
-%define RADIUS_MODULES		auth_radius group_radius uri_radius avp_radius
-%define CPL_MODULES		cpl-c
-%define PA_MODULES		pa
-%define POSTGRES_MODULES		postgres
-%define ACC_MODULE		acc
-%define RADIUS_MOD_PATH		modules/auth_radius modules/group_radius modules/uri_radius
-
-
-Summary:      SIP Express Router, very fast and flexible SIP Proxy
-Name:         ser
-Version:      0.9.4
-Release:      fc2.0
-Copyright:    GPL
-Group:        System Environment/Daemons
-Source:       http://iptel.org/ser/stable/%{name}-%{version}_src.tar.gz
-Source1:      ser.init
-URL:          http://iptel.org/ser
-Vendor:       FhG Fokus
-BuildRoot:    /var/tmp/%{name}-%{version}-root
-Conflicts:    ser-mysql < %{version}, ser-jabber < %{version}, ser-radius < %{version}
-BuildPrereq:  make flex bison
-
-
-%description
-Ser or SIP Express Router is a very fast and flexible SIP (RFC3621)
-proxy server. Written entirely in C, ser can handle thousands calls
-per second even on low-budget hardware. A C Shell like scripting language
-provides full control over the server's behaviour. It's modular
-architecture allows only required functionality to be loaded.
-Currently the following modules are available: digest authentication,
-CPL scripts, instant messaging, MySQL support, a presence agent, radius
-authentication, record routing, an SMS gateway, a jabber gateway, a 
-transaction module, registrar and user location.
-
-
-%package  mysql
-Summary:  MySQL connectivity for the SIP Express Router.
-Group:    System Environment/Daemons
-Requires: ser = %{version}
-BuildPrereq:  mysql-devel zlib-devel
-
-
-%description mysql
-The ser-mysql package contains MySQL database connectivity that you
-need to use digest authentication module or persistent user location
-entries.
-
-
-%package  jabber
-Summary:  sip jabber message translation support for the SIP Express Router.
-Group:    System Environment/Daemons
-Requires: ser = %{version}
-BuildPrereq:  expat-devel
-
-
-%description jabber
-The ser-jabber package contains a sip to jabber message translator.
-
-
-# commented out due to missing libradiusclient-ng
-#%package  radius
-#Summary:  ser radius authentication, group and uri check modules.
-#Group:    System Environment/Daemons
-#Requires: ser = %{version}
-#BuildPrereq:  radiusclient-ng-devel
-
-
-#%description radius
-#The ser-radius package contains modules for radius authentication, group
-# membership and uri checking.
-
-%package  cpl 
-Summary:  CPL support.
-Group:    System Environment/Daemons
-Requires: ser = %{version}
-BuildPrereq:  xml2-devel
-
-%package  pa 
-Summary:  presence server support.
-Group:    System Environment/Daemons
-Requires: ser = %{version}
-BuildPrereq:  xml2-devel
-
-%package  postgres
-Summary:  postgres connectivity for the SIP Express Router.
-Group:    System Environment/Daemons
-Requires: ser = %{version}
-BuildPrereq:  libpq-devel
-
-
-
-%prep
-%setup
-
-
-%build
-make all skip_modules="%EXCLUDED_MODULES"      cfg-target=/%{_sysconfdir}/ser/
-make modules modules="modules/%MYSQL_MODULES"  cfg-target=/%{_sysconfdir}/ser/
-make modules modules="modules/%JABBER_MODULES" cfg-target=/%{_sysconfdir}/ser/
-#make modules modules="%RADIUS_MOD_PATH"        cfg-target=/%{_sysconfdir}/ser/
-make modules modules="modules/%CPL_MODULES"    cfg-target=/%{_sysconfdir}/ser/
-make modules modules="modules/%PA_MODULES"     cfg-target=/%{_sysconfdir}/ser/
-make modules modules="modules/%POSTGRES_MODULES" cfg-target=/%{_sysconfdir}/ser/
-
-
-%install
-rm -rf %{buildroot}
-make install skip_modules="%EXCLUDED_MODULES" \
-		basedir=%{buildroot} \
-		prefix=%{_prefix} \
-		cfg-prefix=%{buildroot} \
-		cfg-target=/%{_sysconfdir}/ser/ 
-make install-modules-all modules="modules/%MYSQL_MODULES" \
-		basedir=%{buildroot} \
-		prefix=%{_prefix} \
-		cfg-prefix=%{buildroot} \
-		cfg-target=/%{_sysconfdir}/ser/ 
-make install-modules-all modules="modules/%JABBER_MODULES" \
-		basedir=%{buildroot} \
-		prefix=%{_prefix} \
-		cfg-prefix=%{buildroot} \
-		cfg-target=/%{_sysconfdir}/ser/ 
-#make install-modules modules="%RADIUS_MOD_PATH" \
-#		basedir=%{buildroot} \
-#		prefix=%{_prefix} \
-#		cfg-prefix=%{buildroot} \
-#		cfg-target=/%{_sysconfdir}/ser/ 
-#make install-doc modules="%RADIUS_MOD_PATH" \
-#		basedir=%{buildroot} \
-#		prefix=%{_prefix} \
-#		cfg-prefix=%{buildroot} \
-#		cfg-target=/%{_sysconfdir}/ser/ 
-make install-modules-all modules="modules/%CPL_MODULES" \
-		basedir=%{buildroot} \
-		prefix=%{_prefix} \
-		cfg-prefix=%{buildroot} \
-		cfg-target=/%{_sysconfdir}/ser/ 
-make install-modules-all modules="modules/%PA_MODULES" \
-		basedir=%{buildroot} \
-		prefix=%{_prefix} \
-		cfg-prefix=%{buildroot} \
-		cfg-target=/%{_sysconfdir}/ser/ 
-make install-modules-all modules="modules/%POSTGRES_MODULES" \
-		basedir=%{buildroot} \
-		prefix=%{_prefix} \
-		cfg-prefix=%{buildroot} \
-		cfg-target=/%{_sysconfdir}/ser/ 
-install -m755 -D %{SOURCE1} %{buildroot}/%{_initrddir}/ser
-
-
-%clean
-rm -rf %{buildroot}
-
-
-%post
-/sbin/chkconfig --add ser
-
-
-%preun
-if [ $1 = 0 ]; then
-    /sbin/service ser stop > /dev/null 2>&1
-    /sbin/chkconfig --del ser
-fi
-
-
-%files
-%defattr(-,root,root)
-%doc %{_docdir}/ser/*
-%config(noreplace) %{_sysconfdir}/ser/*
-%config %{_initrddir}/ser
-%{_libdir}/ser/modules/*
-%{_sbindir}/*
-%{_mandir}/man5/*
-%{_mandir}/man8/*
-%exclude %{_libdir}/ser/modules/mysql.so
-%exclude %{_sbindir}/ser_mysql.sh
-%exclude %{_docdir}/ser/README.jabber
-%exclude %{_libdir}/ser/modules/jabber.so
-#%exclude %{_docdir}/ser/README.*_radius
-#%exclude %{_libdir}/ser/modules/*_radius.so
-%exclude %{_docdir}/ser/README.cpl-c
-%exclude %{_libdir}/ser/modules/cpl-c.so
-%exclude %{_docdir}/ser/README.pa
-%exclude %{_libdir}/ser/modules/pa.so
-%exclude %{_docdir}/ser/README.postgres
-%exclude %{_libdir}/ser/modules/postgres.so
-
-
-%files mysql
-%defattr(-,root,root)
-%{_libdir}/ser/modules/mysql.so
-%{_sbindir}/ser_mysql.sh
-
-
-%files jabber
-%defattr(-,root,root)
-%doc %{_docdir}/ser/README.jabber
-%{_libdir}/ser/modules/jabber.so
-
-
-#%files radius
-#%defattr(-,root,root)
-#%doc %{_docdir}/ser/README.*_radius
-#%{_libdir}/ser/modules/*_radius.so
-
-
-%files cpl 
-%defattr(-,root,root)
-%doc %{_docdir}/ser/README.cpl-c
-%{_libdir}/ser/modules/cpl-c.so
-
-
-%files pa 
-%defattr(-,root,root)
-%doc %{_docdir}/ser/README.pa
-%{_libdir}/ser/modules/pa.so
-
-
-%files postgres 
-%defattr(-,root,root)
-%doc %{_docdir}/ser/README.postgres
-%{_libdir}/ser/modules/postgres.so
-
-
-%changelog
-
-* Fri Sep 02 2005 Andrei Pelinescu - Onciul <[email protected]>
-- changed vesion to 0.9.4 (new upstream release)
-
-* Fri Jun 28 2005 Andrei Pelinescu - Onciul <[email protected]>
-- changed vesion to 0.9.3 (new upstream release)
-- added cpl, pa and postgres to the modules list
-
-* Tue Nov 23 2004 Gabriel Somlo <[email protected]>
-- reworked spec file for fedora core 2
-- replaced absolute paths with macros wherever possible
-- globbed main package filelist
-
-* Fri Jul 23 2004 Andrei Pelinescu - Onciul <[email protected]>
-- changed vesion to 0.8.14 (new upstream release)
-- added ext to the modules list, removed the radius modules (they depend on radiusclient-ng now)
-
-* Fri Nov 14 2003 Andrei Pelinescu - Onciul <[email protected]>
-- changed vesion to 0.8.12 (new upstream release)
-- added auth_diameter, pdt & mangler to the modules list
-
-* Wed Aug 27 2003 Andrei Pelinescu - Onciul <[email protected]>
-- changed vesion to 0.8.11
-- gen_ha1 is now left in _sbindir
-- removed harv_ser.sh
-- added xlog to the modules list
-
-* Fri Jun 6 2003 Andrei Pelinescu - Onciul <[email protected]>
-- added Conflicts:, changed vesion to 0.8.11pre30
-
-* Mon Jun 2 2003 Daniel-Constantin Mierla <[email protected]>
-- added README files for ser-jabber and ser-radius packages
-- spec file updated to work with rpm v4.1+
-
-* Sun Jun 1 2003 Andrei Pelinescu - Onciul <[email protected]>
-- added a separate rpm for the radius modules
-- updated to the new makefile variables (removed lots of unnecessary stuff)
-
-* Thu Nov 14 2002 Jan Janak <[email protected]>
-- Installing harv_ser.sh again
-- quick hack to move gen_ha1 to bin directory instead of sbin (should
-  be done from the Makefile next time)
-
-* Tue Nov 12 2002 Andrei Pelinescu - Onciul <[email protected]>
-- added a separate rpm for the jabber modules
-- moved all the binaries to sbin
-- removed obsolete installs (make install installs everything now)
-
-* Fri Oct 25 2002 Jan Janak <[email protected]>
-- Minor description fixes
-
-* Fri Oct  4 2002 Jiri Kuthan <[email protected]>
-- exec module introduced
-
-* Wed Sep 25 2002 Andrei Pelinescu - Onciul  <[email protected]>
-- modified make install & make: added cfg-target & modules-target
-
-* Sun Sep 08 2002 Jan Janak <[email protected]>
-- Created subpackage containing mysql connectivity support.
-
-* Mon Sep 02 2002 Jan Janak <[email protected]>
-- gen_ha1 utility added, scripts added.
-
-* Tue Aug 28 2002 Jan Janak <[email protected]>
-- Finished the first version of the spec file.
-
-* Sun Aug 12 2002 Jan Janak <[email protected]>
-- First version of the spec file.

+ 0 - 9
pkg/ser/solaris/pkginfo

@@ -1,9 +0,0 @@
-PKG=IPTELser
-ARCH=sparc
-VERSION=0.9.4
-CATEGORY=application
[email protected]
-NAME= ser or SIP Express Router is a very fast and flexible SIP proxy server
-SUNW_ISA=sparcv9
-BASEDIR=/usr/local
-CLASSES=none

+ 0 - 106
pkg/ser/solaris/prototype

@@ -1,106 +0,0 @@
-# $Id$
-i pkginfo=pkginfo
-d none etc 0755 bin bin
-d none etc/ser 0755 bin bin
-e none etc/ser/dictionary.ser 0644 bin bin
-e none etc/ser/ser.cfg 0644 bin bin
-d none sbin 0755 bin bin
-f none sbin/ser 0755 bin bin
-f none sbin/ser_mysql.sh 0755 bin bin
-f none sbin/serctl 0755 bin bin
-f none sbin/serunix 0755 bin bin
-d none lib 0755 bin bin
-d none lib/ser 2755 bin bin
-d none lib/ser/modules 2755 bin bin
-f none lib/ser/modules/acc.so 0755 bin bin
-f none lib/ser/modules/auth.so 0755 bin bin
-f none lib/ser/modules/auth_db.so 0755 bin bin
-f none lib/ser/modules/auth_diameter.so 0755 bin bin
-f none lib/ser/modules/avp.so 0755 bin bin
-f none lib/ser/modules/avp_db.so 0755 bin bin
-f none lib/ser/modules/avpops.so 0755 bin bin
-f none lib/ser/modules/cpl-c.so 0755 bin bin
-f none lib/ser/modules/dbtext.so 0755 bin bin
-f none lib/ser/modules/dispatcher.so 0755 bin bin
-f none lib/ser/modules/diversion.so 0755 bin bin
-f none lib/ser/modules/domain.so 0755 bin bin
-f none lib/ser/modules/enum.so 0755 bin bin
-f none lib/ser/modules/exec.so 0755 bin bin
-f none lib/ser/modules/flatstore.so 0755 bin bin
-f none lib/ser/modules/gflags.so 0755 bin bin
-f none lib/ser/modules/group.so 0755 bin bin
-f none lib/ser/modules/jabber.so 0755 bin bin
-f none lib/ser/modules/mangler.so 0755 bin bin
-f none lib/ser/modules/maxfwd.so 0755 bin bin
-f none lib/ser/modules/mediaproxy.so 0755 bin bin
-f none lib/ser/modules/msilo.so 0755 bin bin
-f none lib/ser/modules/mysql.so 0755 bin bin
-f none lib/ser/modules/nathelper.so 0755 bin bin
-f none lib/ser/modules/options.so 0755 bin bin
-f none lib/ser/modules/pa.so 0755 bin bin
-f none lib/ser/modules/pdt.so 0755 bin bin
-f none lib/ser/modules/permissions.so 0755 bin bin
-f none lib/ser/modules/pike.so 0755 bin bin
-f none lib/ser/modules/print.so 0755 bin bin
-f none lib/ser/modules/registrar.so 0755 bin bin
-f none lib/ser/modules/rr.so 0755 bin bin
-f none lib/ser/modules/sl.so 0755 bin bin
-f none lib/ser/modules/sms.so 0755 bin bin
-f none lib/ser/modules/speeddial.so 0755 bin bin
-f none lib/ser/modules/textops.so 0755 bin bin
-f none lib/ser/modules/tm.so 0755 bin bin
-f none lib/ser/modules/uri.so 0755 bin bin
-f none lib/ser/modules/uri_db.so 0755 bin bin
-f none lib/ser/modules/usrloc.so 0755 bin bin
-f none lib/ser/modules/xlog.so 0755 bin bin
-d none doc 0755 bin bin
-d none doc/ser 0755 bin bin
-f none doc/ser/README 0644 bin bin
-f none doc/ser/INSTALL 0644 bin bin
-f none doc/ser/README-MODULES 0644 bin bin
-f none doc/ser/AUTHORS 0644 bin bin
-f none doc/ser/NEWS    0644 bin bin
-f none doc/ser/README.acc 0644 bin bin
-f none doc/ser/README.auth 0644 bin bin
-f none doc/ser/README.auth_db 0644 bin bin
-f none doc/ser/README.auth_diameter 0644 bin bin
-f none doc/ser/README.avp 0644 bin bin
-f none doc/ser/README.avp_db 0644 bin bin
-f none doc/ser/README.avpops 0644 bin bin
-f none doc/ser/README.cpl-c 0644 bin bin
-f none doc/ser/README.dbtext  0644 bin bin
-f none doc/ser/README.dispatcher  0644 bin bin
-f none doc/ser/README.diversion  0644 bin bin
-f none doc/ser/README.domain  0644 bin bin
-f none doc/ser/README.enum    0644 bin bin
-f none doc/ser/README.exec 0644 bin bin
-f none doc/ser/README.flatstore 0644 bin bin
-f none doc/ser/README.gflags 0644 bin bin
-f none doc/ser/README.group 0644 bin bin
-f none doc/ser/README.jabber 0644 bin bin
-f none doc/ser/README.mangler 0644 bin bin
-f none doc/ser/README.maxfwd 0644 bin bin
-f none doc/ser/README.msilo 0644 bin bin
-f none doc/ser/README.nathelper 0644 bin bin
-f none doc/ser/README.options 0644 bin bin
-f none doc/ser/README.pa 0644 bin bin
-f none doc/ser/README.pdt 0644 bin bin
-f none doc/ser/README.permissions 0644 bin bin
-f none doc/ser/README.pike 0644 bin bin
-f none doc/ser/README.print 0644 bin bin
-f none doc/ser/README.registrar 0644 bin bin
-f none doc/ser/README.rr 0644 bin bin
-f none doc/ser/README.sl 0644 bin bin
-f none doc/ser/README.sms 0644 bin bin
-f none doc/ser/README.speeddial 0644 bin bin
-f none doc/ser/README.textops 0644 bin bin
-f none doc/ser/README.tm 0644 bin bin
-f none doc/ser/README.uri 0644 bin bin
-f none doc/ser/README.uri_db 0644 bin bin
-f none doc/ser/README.usrloc 0644 bin bin
-f none doc/ser/README.xlog 0644 bin bin
-d none man 0755 bin bin
-d none man/man8 0755 bin bin
-f none man/man8/ser.8 0644 bin bin
-d none man/man5 0755 bin bin
-f none man/man5/ser.cfg.5 0644 bin bin

+ 0 - 136
pkg/ser/suse/ser.init

@@ -1,136 +0,0 @@
-#! /bin/sh
-# Copyright (c) 2002 Frauenhofer Gesellschaft FOKUS, Germany.
-# All rights reserved.
-#
-# Author: Nils Ohlmeier <[email protected]>
-#
-# /etc/init.d/ser
-#
-### BEGIN INIT INFO
-# Provides:          sip
-# Required-Start:    $network
-# X-UnitedLinux-Should-Start: $network
-# Required-Stop:     $network
-# X-UnitedLinux-Should-Stop: $network
-# Default-Start:     3 5
-# Default-Stop:      0 1 2 6
-# Short-Description: SIP Express Router
-# Description:       Start SER and provide the routing of SIP requests.
-### END INIT INFO
-
-
-# Check for missing binaries (stale symlinks should not happen)
-SER_BIN=/usr/sbin/ser
-test -x $SER_BIN || exit 5
-
-# Check for existence of needed config file and read it
-SER_CONFIG=/etc/ser/ser.cfg
-test -r $SER_CONFIG || exit 6
-#. $FOO_CONFIG
-
-# Shell functions sourced from /etc/rc.status:
-#      rc_check         check and set local and overall rc status
-#      rc_status        check and set local and overall rc status
-#      rc_status -v     ditto but be verbose in local rc status
-#      rc_status -v -r  ditto and clear the local rc status
-#      rc_status -s     display "skipped" and exit with status 3
-#      rc_status -u     display "unused" and exit with status 3
-#      rc_failed        set local and overall rc status to failed
-#      rc_failed <num>  set local and overall rc status to <num>
-#      rc_reset         clear local rc status (overall remains)
-#      rc_exit          exit appropriate to overall rc status
-#      rc_active	checks whether a service is activated by symlinks
-#      rc_splash arg    sets the boot splash screen to arg (if active)
-. /etc/rc.status
-
-# Reset status of this service
-rc_reset
-
-# Return values acc. to LSB for all commands but status:
-# 0	  - success
-# 1       - generic or unspecified error
-# 2       - invalid or excess argument(s)
-# 3       - unimplemented feature (e.g. "reload")
-# 4       - user had insufficient privileges
-# 5       - program is not installed
-# 6       - program is not configured
-# 7       - program is not running
-# 8--199  - reserved (8--99 LSB, 100--149 distrib, 150--199 appl)
-# 
-# Note that starting an already running service, stopping
-# or restarting a not-running service as well as the restart
-# with force-reload (in case signaling is not supported) are
-# considered a success.
-
-case "$1" in
-    start)
-	echo -n "Starting SIP Express Router "
-	## Start daemon with startproc(8). If this fails
-	## the return value is set appropriately by startproc.
-	startproc $SER_BIN -f $SER_CONFIG
-
-	# Remember status and be verbose
-	rc_status -v
-	;;
-    stop)
-	echo -n "Shutting down SIP Express Router "
-	## Stop daemon with killproc(8) and if this fails
-	## killproc sets the return value according to LSB.
-
-	killproc -TERM $SER_BIN
-
-	# Remember status and be verbose
-	rc_status -v
-	;;
-    restart)
-	## Stop the service and regardless of whether it was
-	## running or not, start it again.
-	$0 stop
-	$0 start
-
-	# Remember status and be quiet
-	rc_status
-	;;
-    force-reload)
-	## Signal the daemon to reload its config. Most daemons
-	## do this on signal 1 (SIGHUP).
-	## If it does not support it, restart.
-
-	echo -n "Reload service SIP Express Router "
-	## Otherwise:
-	$0 stop  &&  $0 start
-	rc_status
-	;;
-    reload)
-	## Like force-reload, but if daemon does not support
-	## signaling, do nothing (!)
-
-	## Otherwise if it does not support reload:
-	rc_failed 3
-	rc_status -v
-	;;
-    status)
-	echo -n "Checking for service SIP Express Router "
-	## Check status with checkproc(8), if process is running
-	## checkproc will return with exit status 0.
-
-	# Return value is slightly different for the status command:
-	# 0 - service up and running
-	# 1 - service dead, but /var/run/  pid  file exists
-	# 2 - service dead, but /var/lock/ lock file exists
-	# 3 - service not running (unused)
-	# 4 - service status unknown :-(
-	# 5--199 reserved (5--99 LSB, 100--149 distro, 150--199 appl.)
-	
-	# NOTE: checkproc returns LSB compliant status values.
-	checkproc $SER_BIN
-	# NOTE: rc_status knows that we called this init script with
-	# "status" option and adapts its messages accordingly.
-	rc_status -v
-	;;
-    *)
-	echo "Usage: $0 {start|stop|status|restart}"
-	exit 1
-	;;
-esac
-rc_exit

+ 0 - 341
pkg/ser/suse/ser.spec

@@ -1,341 +0,0 @@
-%define EXCLUDED_MODULES	mysql jabber auth_radius group_radius uri_radius postgres snmp cpl cpl-c extcmd 
-%define MYSQL_MODULES		mysql
-%define JABBER_MODULES		jabber
-%define RADIUS_MODULES		auth_radius group_radius uri_radius
-%define RADIUS_MOD_PATH		modules/auth_radius modules/group_radius modules/uri_radius
-
-%define distroversion generic
-%{!?suse_version:%define suse_version 0}
-%{!?sles_version:%define sles_version 0}
-%if %suse_version > 0
-	%define distroversion	suse%{suse_version}
-%endif
-%if %sles_version > 0
-	%define distroversion	sles%{sles_version}
-%endif
-
-
-Summary:      SIP Express Router, very fast and flexible SIP Proxy
-Name:         ser
-Version:      0.9.3
-Release:      0.%{distroversion}
-Packager:     Nils Ohlmeier <[email protected]>
-Copyright:    GPL
-Group:        Productivity/Telephony/SIP/Servers
-Source:       http://iptel.org/ser/stable/%{name}-%{version}_src.tar.gz
-Source2:      ser.init.SuSE
-URL:          http://www.iptel.org/ser
-Vendor:       FhG Fokus
-BuildRoot:    /var/tmp/%{name}-%{ver}-root
-Conflicts:    ser < %{version}, ser-mysql < %{version}, ser-jabber < %{version}, ser-radius < %{version}
-BuildPrereq:  make flex bison 
-
-%description
-Ser or SIP Express Router is a very fast and flexible SIP (RFC3621)
-proxy server. Written entirely in C, ser can handle thousands calls
-per second even on low-budget hardware. A C Shell like scripting language
-provides full control over the server's behaviour. It's modular
-architecture allows only required functionality to be loaded.
-Currently the following modules are available: digest authentication,
-CPL scripts, instant messaging, MySQL support, a presence agent, radius
-authentication, record routing, an SMS Gateway, a jabber gateway, a 
-transaction module, registrar and user location.
-
-%package  mysql
-Summary:  MySQL connectivity for the SIP Express Router.
-Group:    Productivity/Telephony/SIP/Servers
-Requires: ser = %{version}
-BuildPrereq: mysql-devel zlib-devel
-
-%description mysql
-The ser-mysql package contains MySQL database connectivity that you
-need to use digest authentication module or persistent user location
-entries.
-
-%package  jabber
-Summary:  sip jabber message translation support for the SIP Express Router.
-Group:    Productivity/Telephony/SIP/Servers
-Requires: ser = %{version}
-BuildPrereq: expat
-
-%description jabber
-The ser-jabber package contains a sip to jabber message translator.
-
-%package  radius
-Summary:  ser radius authentication, group and uri check modules.
-Group:    Productivity/Telephony/SIP/Servers
-Requires: ser = %{version}
-BuildPrereq:  radiusclient
-
-%description radius
-The ser-radius package contains modules for radius authentication, group
- membership and uri checking.
-
-%prep
-%setup
-
-%build
-make all skip_modules="%EXCLUDED_MODULES"      cfg-target=/%{_sysconfdir}/ser/
-make modules modules="modules/%MYSQL_MODULES"  cfg-target=/%{_sysconfdir}/ser/
-make modules modules="modules/%JABBER_MODULES" cfg-target=/%{_sysconfdir}/ser/
-make modules modules="%RADIUS_MOD_PATH"        cfg-target=/%{_sysconfdir}/ser/
-
-%install
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
-
-make install skip_modules="%EXCLUDED_MODULES" \
-		basedir=$RPM_BUILD_ROOT \
-		prefix=/usr \
-		cfg-prefix=$RPM_BUILD_ROOT \
-		cfg-target=/%{_sysconfdir}/ser/ \
-		doc-prefix=$RPM_BUILD_ROOT \
-		doc-dir=/%{_docdir}/ser/
-make install-modules modules="modules/%MYSQL_MODULES" \
-		basedir=$RPM_BUILD_ROOT \
-		prefix=/usr \
-		cfg-prefix=$RPM_BUILD_ROOT \
-		cfg-target=/%{_sysconfdir}/ser/ \
-		doc-prefix=$RPM_BUILD_ROOT \
-		doc-dir=/%{_docdir}/ser/
-make install-modules modules="modules/%JABBER_MODULES" \
-		basedir=$RPM_BUILD_ROOT \
-		prefix=/usr \
-		cfg-prefix=$RPM_BUILD_ROOT \
-		cfg-target=/%{_sysconfdir}/ser/ \
-		doc-prefix=$RPM_BUILD_ROOT \
-		doc-dir=/%{_docdir}/ser/
-make install-modules modules="%RADIUS_MOD_PATH" \
-		basedir=$RPM_BUILD_ROOT \
-		prefix=/usr \
-		cfg-prefix=$RPM_BUILD_ROOT \
-		cfg-target=/%{_sysconfdir}/ser/ \
-		doc-prefix=$RPM_BUILD_ROOT \
-		doc-dir=/%{_docdir}/ser/
-make install-doc modules="modules/%JABBER_MODULES %RADIUS_MOD_PATH" \
-		basedir=$RPM_BUILD_ROOT \
-		prefix=/usr \
-		doc-prefix=$RPM_BUILD_ROOT \
-		doc-dir=/%{_docdir}/ser/
-
-
-mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/init.d
-install -m755 $RPM_SOURCE_DIR/ser.init.SuSE \
-              $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/ser
-ln -sf ../../etc/init.d/ser $RPM_BUILD_ROOT/usr/sbin/rcser
-
-%clean
-rm -rf "$RPM_BUILD_ROOT"
-
-%post
-sbin/insserv etc/init.d/ser
-
-%preun
-if [ $1 = 0 ]; then
-    etc/init.d/ser stop > /dev/null 2>&1
-fi
-
-%postun
-sbin/insserv etc/init.d/
-
-%files
-%defattr(-,root,root)
-%dir %{_docdir}/ser
-%doc %{_docdir}/ser/AUTHORS
-%doc %{_docdir}/ser/NEWS
-%doc %{_docdir}/ser/INSTALL
-%doc %{_docdir}/ser/README
-%doc %{_docdir}/ser/README-MODULES
-%doc %{_docdir}/ser/README.acc
-%doc %{_docdir}/ser/README.auth
-%doc %{_docdir}/ser/README.auth_db
-%doc %{_docdir}/ser/README.auth_diameter
-%doc %{_docdir}/ser/README.avp
-%doc %{_docdir}/ser/README.avp_db
-%doc %{_docdir}/ser/README.avpops
-%doc %{_docdir}/ser/README.dbtext
-%doc %{_docdir}/ser/README.dispatcher
-%doc %{_docdir}/ser/README.diversion
-%doc %{_docdir}/ser/README.domain
-%doc %{_docdir}/ser/README.enum
-%doc %{_docdir}/ser/README.exec
-%doc %{_docdir}/ser/README.flatstore
-%doc %{_docdir}/ser/README.gflags
-%doc %{_docdir}/ser/README.group
-%doc %{_docdir}/ser/README.mangler
-%doc %{_docdir}/ser/README.maxfwd
-%doc %{_docdir}/ser/README.msilo
-%doc %{_docdir}/ser/README.nathelper
-%doc %{_docdir}/ser/README.options
-%doc %{_docdir}/ser/README.pdt
-%doc %{_docdir}/ser/README.permissions
-%doc %{_docdir}/ser/README.pike
-%doc %{_docdir}/ser/README.print
-%doc %{_docdir}/ser/README.registrar
-%doc %{_docdir}/ser/README.rr
-%doc %{_docdir}/ser/README.sl
-%doc %{_docdir}/ser/README.sms
-%doc %{_docdir}/ser/README.speeddial
-%doc %{_docdir}/ser/README.textops
-%doc %{_docdir}/ser/README.tm
-%doc %{_docdir}/ser/README.uri
-%doc %{_docdir}/ser/README.uri_db
-%doc %{_docdir}/ser/README.usrloc
-%doc %{_docdir}/ser/README.xlog
-
-%dir %{_sysconfdir}/ser
-%config(noreplace) %{_sysconfdir}/ser/*
-%config %{_sysconfdir}/init.d/*
-
-%dir %{_libdir}/ser
-%dir %{_libdir}/ser/modules
-%{_libdir}/ser/modules/acc.so
-%{_libdir}/ser/modules/auth.so
-%{_libdir}/ser/modules/auth_db.so
-%{_libdir}/ser/modules/auth_diameter.so
-%{_libdir}/ser/modules/dbtext.so
-%{_libdir}/ser/modules/domain.so
-%{_libdir}/ser/modules/enum.so
-%{_libdir}/ser/modules/exec.so
-%{_libdir}/ser/modules/group.so
-%{_libdir}/ser/modules/mangler.so
-%{_libdir}/ser/modules/maxfwd.so
-%{_libdir}/ser/modules/mediaproxy.so
-%{_libdir}/ser/modules/msilo.so
-%{_libdir}/ser/modules/nathelper.so
-%{_libdir}/ser/modules/pdt.so
-%{_libdir}/ser/modules/permissions.so
-%{_libdir}/ser/modules/pike.so
-%{_libdir}/ser/modules/print.so
-%{_libdir}/ser/modules/registrar.so
-%{_libdir}/ser/modules/rr.so
-%{_libdir}/ser/modules/sl.so
-%{_libdir}/ser/modules/sms.so
-%{_libdir}/ser/modules/textops.so
-%{_libdir}/ser/modules/tm.so
-%{_libdir}/ser/modules/uri.so
-%{_libdir}/ser/modules/usrloc.so
-%{_libdir}/ser/modules/xlog.so
-
-%{_libdir}/ser/modules/avp.so
-%{_libdir}/ser/modules/avp_db.so
-%{_libdir}/ser/modules/avpops.so
-%{_libdir}/ser/modules/dispatcher.so
-%{_libdir}/ser/modules/diversion.so
-%{_libdir}/ser/modules/flatstore.so
-%{_libdir}/ser/modules/gflags.so
-%{_libdir}/ser/modules/options.so
-%{_libdir}/ser/modules/speeddial.so
-%{_libdir}/ser/modules/uri_db.so
-
-%{_sbindir}/ser
-%{_sbindir}/serctl
-%{_sbindir}/serunix
-/usr/sbin/rcser
-
-%{_mandir}/man5/*
-%{_mandir}/man8/*
-
-
-%files mysql
-%defattr(-,root,root)
-
-%{_libdir}/ser/modules/mysql.so
-%{_sbindir}/ser_mysql.sh
-
-%files jabber
-%defattr(-,root,root)
-%{_libdir}/ser/modules/jabber.so
-%doc %{_docdir}/ser/README.jabber
-
-%files radius
-%defattr(-,root,root)
-#%{_libdir}/ser/modules/auth_radius.so
-#%{_libdir}/ser/modules/group_radius.so
-#%{_libdir}/ser/modules/uri_radius.so
-%doc %{_docdir}/ser/README.auth_radius
-%doc %{_docdir}/ser/README.group_radius
-%doc %{_docdir}/ser/README.uri_radius
-
-
-
-
-%changelog
-
-* Fri Aug 26 2005 Peter Nixon - Suntel Communications <[email protected]>
-- Remove some needless junk
-- Add a generic tag for non SUSE versions of linux so build doesnt fail on them
-
-* Tue Jul 26 2005 Peter Nixon - Suntel Communications <[email protected]>
-- changed version to 0.9.3 (new upstream release)
-- include SUSE version in the rpm filename(s)
-- update rpm package group to match SUSE 9.3
-- removed files no longer in tarball
-- enabled radius module
-- add symlink for rcser
-
-* Tue Jul 27 2004 Andrei Pelinescu - Onciul <[email protected]>
-- changed vesion to 0.8.14 (new upstream release)
-- added ext to the modules list, removed the radius modules (they depend on radiusclient-ng now)
-
-* Fri Nov 14 2003 Andrei Pelinescu - Onciul <[email protected]>
-- changed vesion to 0.8.12 (new upstream release)
-- added auth_diameter, pdt & mangler to the modules list
-
-* Wed Aug 28 2003 Nils Ohlmeier <[email protected]>
-- replaced modules Conflicts with required Ser version
-- fixed doc installation for SuSE pathes
-- added doc for jabber and radius
-
-* Wed Aug 28 2003 Andrei Pelinescu - Onciul <[email protected]>
-- added doc (READMEs, NEWS, AUTHORS a.s.o)
-- added xlog to the modules list
-
-* Wed Aug 27 2003 Nils Ohlmeier <[email protected]>
-- fixed module dependencys
-- added Conflicts for modules
-
-* Wed Aug 27 2003 Andrei Pelinescu - Onciul <[email protected]>
-- changed vesion to 0.8.11
-- gen_ha1 is now left in _sbindir
-- removed harv_ser.sh
-- added Conflicts
-
-* Mon Jun 2 2003 Andrei Pelinescu - Onciul <[email protected]>
-- added a separate rpm for the radius modules
-- updated to the new makefile variables (removed lots of unnecessary stuff)
-
-* Tue Nov 12 2002 Nils Ohlmeier <[email protected]>
-- replaced expat-devel with expat
-- removed leading + from a few lines
-
-* Tue Nov 12 2002 Andrei Pelinescu - Onciul <[email protected]>
-- added a separate rpm for the jabber modules
-- moved all the binaries to sbin
-- removed obsolete installs (make install installs everything now)
-
-* Mon Oct 28 2002 Nils Ohlmeier <[email protected]>
-- Added mysql and mysql-devel to the Req for the ser-mysql rpm.
-
-* Thu Sep 26 2002 Nils Ohlmeier <[email protected]>
-- Added library path to mysql/Makefile to build on SuSE 8.0
-
-* Thu Sep 26 2002 Nils Ohlmeier <[email protected]>
-- Added 'make [modules|modules-install]' to adapted Makefile changes
-
-* Wed Sep 25 2002 Andrei Pelinescu - Onciul  <[email protected]>
-- modified make install & make: added cfg-target & modules-target
-
-* Wed Sep 25 2002 Nils Ohlmeier <[email protected]>
-- Copyed mysql connectivity subpackage from orig rpm.spec.
-
-* Fri Sep 06 2002 Nils Ohlmeier <[email protected]>
-- Adaptation to SuSE.
-
-* Mon Sep 02 2002 Jan Janak <[email protected]>
-- gen_ha1 utility added, scripts added.
-
-* Tue Aug 28 2002 Jan Janak <[email protected]>
-- Finished the first version of the spec file.
-
-* Sun Aug 12 2002 Jan Janak <[email protected]>
-- First version of the spec file.