3cfc539
%if 0%{?rhel}
3cfc539
# copied from lm_sensors exclusive arch
3cfc539
%ifnarch alpha i386 i486 i586 i686 pentium3 pentium4 athlon x86_64
3cfc539
%define disable_snmpstats snmpstats
3cfc539
%endif
3cfc539
%endif
3cfc539
2e1bb2e
%define EXCLUDE_MODULES mi_xmlrpc osp json %{?disable_snmpstats} %{!?_with_oracle:db_oracle} %{?rhel:memcached}
3cfc539
3cfc539
Summary:  Open Source SIP Server
3cfc539
Name:     opensips
John Khvatov 5cf7aa0
Version:  1.7.1
John Khvatov d36a4bc
Release:  1%{?dist}
3cfc539
License:  GPLv2+
3cfc539
Group:    System Environment/Daemons
John Khvatov d36a4bc
Source0:  http://opensips.org/pub/%{name}/%{version}/src/%{name}-%{version}_src.tar.gz
3cfc539
Source1:  %{name}.sysconfig
06ffbc5
Patch1:   opensips-0001-Check-for-stale-nonce-in-pre_auth.patch
3cfc539
URL:      http://opensips.org
3cfc539
3cfc539
BuildRequires:  expat-devel
3cfc539
BuildRequires:  libxml2-devel
3cfc539
BuildRequires:  bison
3cfc539
BuildRequires:  flex
3cfc539
#BuildRequires:  subversion
3cfc539
# needed by snmpstats
3cfc539
BuildRequires:  radiusclient-ng-devel
3cfc539
BuildRequires:  mysql-devel
3cfc539
BuildRequires:  postgresql-devel
3cfc539
3cfc539
# required by snmpstats module
3cfc539
%if %{undefined disable_snmpstats}
3cfc539
BuildRequires:  lm_sensors-devel
3cfc539
%endif
3cfc539
BuildRequires:  net-snmp-devel
3cfc539
BuildRequires:  unixODBC-devel
3cfc539
BuildRequires:  openssl-devel
3cfc539
BuildRequires:  expat-devel
3cfc539
#BuildRequires: xmlrpc-c-devel
3cfc539
BuildRequires:  libconfuse-devel
3cfc539
BuildRequires:  db4-devel
3cfc539
BuildRequires:  openldap-devel
3cfc539
BuildRequires:  curl-devel
3cfc539
BuildRequires:  GeoIP-devel
3cfc539
BuildRequires:  pcre-devel
John Khvatov ec28d5b
BuildRequires:  python-devel
3cfc539
3cfc539
3cfc539
Requires(post): chkconfig
3cfc539
Requires(preun):chkconfig
3cfc539
# for /sbin/service
3cfc539
Requires(preun):initscripts
3cfc539
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3cfc539
3cfc539
%description
3cfc539
OpenSIPS or Open SIP Server is a very fast and flexible SIP (RFC3261)
3cfc539
proxy server. Written entirely in C, opensips can handle thousands calls
3cfc539
per second even on low-budget hardware. A C Shell like scripting language
3cfc539
provides full control over the server's behaviour. It's modular
3cfc539
architecture allows only required functionality to be loaded.
3cfc539
Currently the following modules are available: digest authentication,
3cfc539
CPL scripts, instant messaging, MySQL and UNIXODBC support, a presence agent,
3cfc539
radius authentication, record routing, an SMS gateway, a jabber gateway, a
3cfc539
transaction and dialog module, OSP module, statistics support,
3cfc539
registrar and user location.
3cfc539
3cfc539
%package  aaa_radius
3cfc539
Summary:  RADIUS backend for AAA api
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  aaa_radius
3cfc539
This module provides the RADIUS backend for the AAA API - group, auth, uri
3cfc539
module use the AAA API for performing RADIUS ops.
3cfc539
3cfc539
%package  acc
3cfc539
Summary:  Accounts transactions information to different backends
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  acc
3cfc539
ACC module is used to account transactions information to different backends
3cfc539
like syslog, SQL, AAA.
3cfc539
3cfc539
%package  auth_aaa
3cfc539
Summary:  Performs authentication using an AAA server
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  auth_aaa
3cfc539
This module contains functions that are used to perform authentication using
3cfc539
an AAA server.  Basically the proxy will pass along the credentials to the
3cfc539
AAA server which will in turn send a reply containing result of the
3cfc539
authentication. So basically the whole authentication is done in the AAA
3cfc539
server.
3cfc539
3cfc539
%package  auth_diameter
3cfc539
Summary:  Performs authentication using a Diameter server
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  auth_diameter
3cfc539
This module implements SIP authentication and authorization with DIAMETER
3cfc539
server, namely DIameter Server Client (DISC).
3cfc539
3cfc539
%package  b2bua
3cfc539
Summary:  Back-2-Back User Agent
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  b2bua
3cfc539
B2BUA is an implementation of the behavior of a B2BUA as defined in RFC 3261
3cfc539
that offers the possibility to build certain services on top of it.
3cfc539
3cfc539
%package  carrierroute
3cfc539
Summary:  Routing extension suitable for carriers
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description	carrierroute
3cfc539
A module which provides routing, balancing and blacklisting capabilities.
3cfc539
3cfc539
%package  cpl-c
3cfc539
Summary:  Call Processing Language interpreter
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description	cpl-c
3cfc539
This module implements a CPL (Call Processing Language) interpreter.
3cfc539
Support for uploading/downloading/removing scripts via SIP REGISTER method
3cfc539
is present.
3cfc539
3cfc539
%package  db_berkeley
3cfc539
Summary:  Berkley DB backend support
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  db_berkeley
3cfc539
This is a module which integrates the Berkeley DB into OpenSIPS. It implements
3cfc539
the DB API defined in OpenSIPS.
3cfc539
3cfc539
%package  db_http
3cfc539
Summary:  HTTP DB backend support
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  db_http
3cfc539
This module provides access to a database that is implemented as a
3cfc539
HTTP server.
3cfc539
3cfc539
%package  h350
3cfc539
Summary:  H350 implementation
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  h350
3cfc539
The OpenSIPS H350 module enables an OpenSIPS SIP proxy server to access SIP
3cfc539
account data stored in an LDAP [RFC4510] directory  containing H.350 [H.350]
3cfc539
commObjects.
3cfc539
3cfc539
%package  jabber
3cfc539
Summary:  Gateway between OpenSIPS and a jabber server
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  jabber
3cfc539
Jabber module that integrates XODE XML parser for parsing Jabber messages.
3cfc539
3cfc539
%package  ldap
3cfc539
Summary:  LDAP connector
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  ldap
3cfc539
The LDAP module implements an LDAP search interface for OpenSIPS.
3cfc539
2e1bb2e
%if %{undefined rhel}
3cfc539
%package  memcached
3cfc539
Summary:  Memcached connector
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
2e1bb2e
BuildRequires:  libmemcached-devel
3cfc539
3cfc539
%description  memcached
3cfc539
Memcached module is an implementation of a cache system designed to
3cfc539
work with a memcached server.
2e1bb2e
%endif
3cfc539
3cfc539
%package  mmgeoip
3cfc539
Summary:  Wrapper for the MaxMind GeoIP API
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  mmgeoip
3cfc539
Mmgeoip is a lightweight wrapper for the MaxMind GeoIP API. It adds
3cfc539
IP address-to-location lookup capability to OpenSIPS scripts.
3cfc539
3cfc539
%if %{defined db_oracle}
3cfc539
%package  oracle
3cfc539
Summary:  Oracle Storage Support for the OpenSIPS
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  oracle
3cfc539
The %{name}-oracle package contains the Oracle plugin for %{name}, which allows
3cfc539
a Oracle-Database to be used for persistent storage.
3cfc539
%endif
3cfc539
3cfc539
%package  mysql
3cfc539
Summary:  MySQL Storage Support for the OpenSIPS
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
3cfc539
%description  mysql
3cfc539
The %{name}-mysql package contains the MySQL plugin for %{name}, which allows
3cfc539
a MySQL-Database to be used for persistent storage.
3cfc539
3cfc539
%package  perl
3cfc539
Summary:  Helps implement your own OpenSIPS extensions in Perl
3cfc539
Group:    System Environment/Daemons
3cfc539
# require perl-devel for >F7 and perl for <=F6
3cfc539
BuildRequires:  perl(ExtUtils::MakeMaker)
3cfc539
%if 0%{?rhel}
3cfc539
BuildRequires:  perl(ExtUtils::Embed)
3cfc539
%else
3cfc539
BuildRequires:  perl(ExtUtils::Embed), perl-devel
3cfc539
%endif
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
3cfc539
3cfc539
%description  perl
3cfc539
The time needed when writing a new OpenSIPS module unfortunately is quite
3cfc539
high, while the options provided by the configuration file are limited to
3cfc539
the features implemented in the modules. With this Perl module, you can
3cfc539
easily implement your own OpenSIPS extensions in Perl.  This allows for
3cfc539
simple access to the full world of CPAN modules. SIP URI rewriting could be
3cfc539
implemented based on regular expressions; accessing arbitrary data backends,
3cfc539
e.g. LDAP or Berkeley DB files, is now extremely simple.
3cfc539
3cfc539
%package  perlvdb
3cfc539
Summary:  Perl virtual database engine
3cfc539
Group:    System Environment/Daemons
3cfc539
# require perl-devel for >F7 and perl for <=F6
3cfc539
BuildRequires:  perl(ExtUtils::MakeMaker)
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
Requires: %{name}-perl
3cfc539
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
3cfc539
3cfc539
%description  perlvdb
3cfc539
The Perl Virtual Database (VDB) provides a virtualization framework for
3cfc539
OpenSIPS's database access. It does not handle a particular database engine
3cfc539
itself but lets the user relay database requests to arbitrary Perl functions.
3cfc539
3cfc539
%package  peering
3cfc539
Summary:  Radius peering
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  peering
3cfc539
Peering module allows SIP providers (operators or organizations)
3cfc539
to verify from a broker if source or destination  of a SIP request
3cfc539
is a trusted peer.
3cfc539
3cfc539
%package  postgresql
3cfc539
Summary:  PostgreSQL Storage Support for the OpenSIPS
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  postgresql
3cfc539
The %{name}-postgresql package contains the PostgreSQL plugin for %{name},
3cfc539
which allows a PostgreSQL-Database to be used for persistent storage.
3cfc539
3cfc539
%package  presence
3cfc539
Summary:  Presence server
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  presence
3cfc539
This module implements a presence server. It handles PUBLISH and SUBSCRIBE
3cfc539
messages and generates NOTIFY messages. It offers support for aggregation
3cfc539
of published presence information for the same presentity using more devices.
3cfc539
It can also filter the information provided to watchers according to privacy
3cfc539
rules.
3cfc539
3cfc539
%package  presence_dialoginfo
3cfc539
Summary:  Extension to Presence server for Dialog-Info
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
Requires: %{name}-presence
3cfc539
3cfc539
%description  presence_dialoginfo
3cfc539
The module enables the handling of "Event: dialog" (as defined
3cfc539
in RFC 4235) inside of the presence module. This can be used
3cfc539
distribute the dialog-info status to the subscribed watchers.
3cfc539
3cfc539
%package  presence_mwi
3cfc539
Summary:  Extension to Presence server for Message Waiting Indication
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
Requires: %{name}-presence
3cfc539
3cfc539
%description  presence_mwi
3cfc539
The module does specific handling for notify-subscribe message-summary
3cfc539
(message waiting indication) events as specified in RFC 3842. It is used
3cfc539
with the general event handling module, presence. It constructs and adds
3cfc539
message-summary event to it.
3cfc539
3cfc539
%package  presence_xcapdiff
3cfc539
Summary:  Extension to Presence server for XCAP-DIFF event
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
Requires: %{name}-presence
f83dac4
Requires: %{name}-pua_mi
3cfc539
3cfc539
%description  presence_xcapdiff
3cfc539
The presence_xcapdiff is an OpenSIPS module that adds support
3cfc539
for the "xcap-diff" event to presence and pua.
3cfc539
3cfc539
%package  presence_xml
3cfc539
Summary:  SIMPLE Presence extension
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
Requires: %{name}-presence
3cfc539
Requires: %{name}-xcap_client
3cfc539
3cfc539
%description  presence_xml
3cfc539
The module does specific handling for notify-subscribe events using xml bodies.
3cfc539
It is used with the general event handling module, presence.
3cfc539
John Khvatov 1a094eb
%package  presence_callinfo
John Khvatov 1a094eb
Summary:  SIMPLE Presence extension
John Khvatov 1a094eb
Group:    System Environment/Daemons
John Khvatov 1a094eb
Requires: %{name} = %{version}-%{release}
John Khvatov 1a094eb
Requires: %{name}-presence
John Khvatov 1a094eb
John Khvatov 1a094eb
%description  presence_callinfo
John Khvatov 1a094eb
The module enables the handling of "call-info" and "line-seize" events inside
John Khvatov 1a094eb
the presence module. It is used with the general event handling module:
John Khvatov 1a094eb
presence and it constructs and adds "Call-Info" headers to notification events.
John Khvatov 1a094eb
To send "call-info" notification to watchers, a third-party application must
John Khvatov 1a094eb
publish "call-info" events to the presence server.
John Khvatov 1a094eb
3cfc539
%package  pua
3cfc539
Summary:  Offer the functionality of a presence user agent client
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  pua
3cfc539
This module offer the functionality of a presence user agent client, sending
3cfc539
Subscribe and Publish messages.
3cfc539
3cfc539
%package  pua_dialoginfo
3cfc539
Summary:  Dialog-Info extension for PUA
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
Requires: %{name}-pua
3cfc539
3cfc539
%description  pua_dialoginfo
3cfc539
The pua_dialoginfo retrieves dialog state information from the
3cfc539
dialog module and PUBLISHes the dialog-information using the
3cfc539
pua module. Thus, in combination with the presence_xml module
3cfc539
this can be used to derive dialog-info from the dialog module
3cfc539
and NOTIFY the subscribed watchers about dialog-info changes.
3cfc539
3cfc539
%package  pua_bla
3cfc539
Summary:  BLA extension for PUA
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
Requires: %{name}-pua
3cfc539
Requires: %{name}-presence
3cfc539
3cfc539
%description  pua_bla
3cfc539
The pua_bla module enables Bridged Line Appearances support according to the
3cfc539
specifications in draft-anil-sipping-bla-03.txt.
3cfc539
3cfc539
%package  pua_mi
3cfc539
Summary:  Connector between usrloc and MI interface
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
Requires: %{name}-pua
3cfc539
3cfc539
%description  pua_mi
3cfc539
The pua_mi sends offer the possibility to publish presence information
3cfc539
via MI transports.  Using this module you can create independent
3cfc539
applications/scripts to publish not sip-related information (e.g., system
3cfc539
resources like CPU-usage, memory, number of active subscribers ...)
3cfc539
3cfc539
%package  pua_usrloc
3cfc539
Summary:  Connector between usrloc and pua modules
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
Requires: %{name}-pua
3cfc539
3cfc539
%description  pua_usrloc
3cfc539
This module is the connector between usrloc and pua modules. It creates the
3cfc539
environment to send PUBLISH requests for user location records, on specific
3cfc539
events (e.g., when new record is added in usrloc, a PUBLISH with status open
3cfc539
(online) is issued; when expires, it sends closed (offline)). Using this
3cfc539
module, phones which have no support for presence can be seen as
3cfc539
online/offline.
3cfc539
3cfc539
%package  pua_xmpp
3cfc539
Summary:  SIMPLE-XMPP Presence gateway
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
Requires: %{name}-pua
3cfc539
Requires: %{name}-presence
3cfc539
Requires: %{name}-xmpp
3cfc539
3cfc539
%description  pua_xmpp
3cfc539
This module is a gateway for presence between SIP and XMPP. It translates one
3cfc539
format into another and uses xmpp, pua and presence modules to manage the
3cfc539
transmition of presence state information.
3cfc539
3cfc539
%package  regex
3cfc539
Summary:  RegExp via PCRE library
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  regex
3cfc539
This module offers matching operations against regular
3cfc539
expressions using the powerful PCRE library.
3cfc539
3cfc539
%package  rls
3cfc539
Summary:  Resource List Server
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
John Khvatov 7d2bf4b
Requires: %{name}-pua
John Khvatov 7d2bf4b
Requires: %{name}-presence
3cfc539
3cfc539
%description  rls
3cfc539
The modules is a Resource List Server implementation following the
3cfc539
specification in RFC 4662 and RFC 4826.
3cfc539
3cfc539
%package  seas
3cfc539
Summary:  Transfers the execution logic control to a given external entity
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  seas
3cfc539
SEAS module enables OpenSIPS to transfer the execution logic control of a sip
3cfc539
message to a given external entity, called the Application Server. When the
3cfc539
OpenSIPS script is being executed on an incoming SIP message, invocation of
3cfc539
the as_relay_t() function makes this module send the message along with some
3cfc539
transaction information to the specified Application Server. The Application
3cfc539
Server then executes some call-control logic code, and tells OpenSIPS to take
3cfc539
some actions, ie. forward the message downstream, or respond to the message
3cfc539
with a SIP repy, etc
3cfc539
3cfc539
%package  sms
3cfc539
Summary:  Gateway between SIP and GSM networks via sms
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  sms
3cfc539
This module provides a way of communication between SIP network (via SIP
3cfc539
MESSAGE) and GSM networks (via ShortMessageService). Communication is
3cfc539
possible from SIP to SMS and vice versa.  The module provides facilities
3cfc539
like SMS confirmation--the gateway can confirm to the SIP user if his
3cfc539
message really reached its destination as a SMS--or multi-part messages--if
3cfc539
a SIP messages is too long it will be split and sent as multiple SMS.
3cfc539
3cfc539
%if %{undefined disable_snmpstats}
3cfc539
%package  snmpstats
3cfc539
Summary:  SNMP management interface for the OpenSIPS
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
3cfc539
3cfc539
%description  snmpstats
3cfc539
The %{name}-snmpstats package provides an SNMP management interface to
3cfc539
OpenSIPS.  Specifically, it provides general SNMP queryable scalar statistics,
3cfc539
table representations of more complicated data such as user and contact
3cfc539
information, and alarm monitoring capabilities.
3cfc539
%endif
3cfc539
3cfc539
%package  tlsops
3cfc539
Summary:  TLS-relating functions for the OpenSIPS
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  tlsops
3cfc539
The %{name}-tlsops package implements TLS related functions to use in the
3cfc539
routing script, and exports pseudo variables with certificate and TLS
3cfc539
parameters.
3cfc539
3cfc539
%package  unixodbc
3cfc539
Summary:  OpenSIPS unixODBC Storage support
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  unixodbc
3cfc539
The %{name}-unixodbc package contains the unixODBC plugin for %{name}, which
3cfc539
allows a unixODBC to be used for persistent storage
3cfc539
3cfc539
%package  xcap_client
3cfc539
Summary:  XCAP client
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  xcap_client
3cfc539
The modules is an XCAP client for OpenSIPS that can be used by other modules.
3cfc539
It fetches XCAP elements, either documents or part of them, by sending HTTP
3cfc539
GET requests. It also offers support for conditional queries. It uses libcurl
3cfc539
library as a client-side HTTP transfer library.
3cfc539
3cfc539
%package  xmpp
3cfc539
Summary:  Gateway between OpenSIPS and a jabber server
3cfc539
Group:    System Environment/Daemons
3cfc539
Requires: %{name} = %{version}-%{release}
3cfc539
3cfc539
%description  xmpp
3cfc539
This modules is a gateway between Openser and a jabber server. It enables
3cfc539
the exchange of instant messages between SIP clients and XMPP(jabber)
3cfc539
clients.
3cfc539
John Khvatov d36a4bc
%package  python
John Khvatov d36a4bc
Summary:  Python scripting support
John Khvatov d36a4bc
Group:    System Environment/Daemons
John Khvatov d36a4bc
Requires: %{name} = %{version}-%{release}
John Khvatov d36a4bc
John Khvatov d36a4bc
%description  python
John Khvatov d36a4bc
Helps implement your own OpenSIPS extensions in Python
John Khvatov d36a4bc
John Khvatov d36a4bc
%package  event_datagram
John Khvatov d36a4bc
Summary:  Event datagram module
John Khvatov d36a4bc
Group:    System Environment/Daemons
John Khvatov d36a4bc
Requires: %{name} = %{version}-%{release}
John Khvatov d36a4bc
John Khvatov d36a4bc
%description  event_datagram
John Khvatov d36a4bc
This is a module which provides a UNIX/UDP SOCKET transport layer
John Khvatov d36a4bc
implementation for the Event Interface.
John Khvatov d36a4bc
3cfc539
%prep
John Khvatov d36a4bc
%setup -q -n %{name}-%{version}-tls
06ffbc5
%patch1 -p1 -b .nonce
3cfc539
3cfc539
%build
3cfc539
LOCALBASE=/usr CFLAGS="%{optflags}" %{__make} all %{?_smp_mflags} TLS=1 \
3cfc539
  exclude_modules="%EXCLUDE_MODULES" \
3cfc539
  cfg-target=%{_sysconfdir}/opensips/ \
3cfc539
  modules-prefix=%{buildroot}/%{_prefix} \
3cfc539
  modules-dir=%{_lib}/%{name}/modules
3cfc539
3cfc539
%install
3cfc539
rm -rf $RPM_BUILD_ROOT
3cfc539
%{__make} install TLS=1 LIBDIR=%{_lib} \
3cfc539
  exclude_modules="%EXCLUDE_MODULES" \
3cfc539
  basedir=%{buildroot} prefix=%{_prefix} \
3cfc539
  cfg-prefix=%{buildroot} \
3cfc539
  modules-prefix=%{buildroot}/%{_prefix} \
3cfc539
  modules-dir=%{_lib}/%{name}/modules \
3cfc539
  DBTEXTON=yes # fixed dbtext documentation installation
3cfc539
3cfc539
# clean some things
3cfc539
mkdir -p $RPM_BUILD_ROOT/%{perl_vendorlib}
3cfc539
if [ -d "$RPM_BUILD_ROOT/%{_prefix}/perl" ]; then
3cfc539
  # for fedora>=11
3cfc539
  mv $RPM_BUILD_ROOT/%{_prefix}/perl/* \
3cfc539
    $RPM_BUILD_ROOT/%{perl_vendorlib}/
3cfc539
else
3cfc539
  # for fedora<=10
3cfc539
  mv $RPM_BUILD_ROOT/%{_libdir}/opensips/perl/* \
3cfc539
    $RPM_BUILD_ROOT/%{perl_vendorlib}/
3cfc539
fi
3cfc539
mv $RPM_BUILD_ROOT/%{_sysconfdir}/opensips/tls/README \
3cfc539
  $RPM_BUILD_ROOT/%{_docdir}/opensips/README.tls
3cfc539
rm -f $RPM_BUILD_ROOT%{_docdir}/opensips/INSTALL
3cfc539
mv $RPM_BUILD_ROOT/%{_docdir}/opensips docdir
3cfc539
3cfc539
# recode documentation
3cfc539
for i in docdir/*; do
3cfc539
  mv -f $i $i.old
3cfc539
  iconv -f iso8859-1 -t UTF-8 $i.old > $i
3cfc539
  rm -f $i.old
3cfc539
done
3cfc539
3cfc539
mkdir -p $RPM_BUILD_ROOT%{_initrddir}
3cfc539
%{__install} -p -D -m 755 packaging/fedora/opensips.init \
3cfc539
  $RPM_BUILD_ROOT%{_initrddir}/opensips
3cfc539
echo -e "\nETCDIR=\"%{_sysconfdir}/opensips\"\n" \
3cfc539
  >> $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/opensipsctlrc
3cfc539
3cfc539
#install sysconfig file
3cfc539
install -D -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name}
3cfc539
3cfc539
%clean
3cfc539
rm -rf $RPM_BUILD_ROOT
3cfc539
3cfc539
%post
3cfc539
/sbin/chkconfig --add opensips
3cfc539
3cfc539
%preun
3cfc539
if [ $1 = 0 ]; then
3cfc539
 /sbin/service opensips stop > /dev/null 2>&1
3cfc539
 /sbin/chkconfig --del opensips
3cfc539
fi
3cfc539
3cfc539
%files
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_sbindir}/opensips
3cfc539
%{_sbindir}/opensipsctl
3cfc539
%{_sbindir}/opensipsdbctl
3cfc539
%{_sbindir}/opensipsunix
3cfc539
%{_sbindir}/osipsconsole
3cfc539
3cfc539
%attr(750,root,root) %dir %{_sysconfdir}/opensips
3cfc539
%attr(750,root,root) %dir %{_sysconfdir}/opensips/tls
3cfc539
%attr(750,root,root) %dir %{_sysconfdir}/opensips/tls/rootCA
3cfc539
%attr(750,root,root) %dir %{_sysconfdir}/opensips/tls/rootCA/certs
3cfc539
%attr(750,root,root) %dir %{_sysconfdir}/opensips/tls/rootCA/private
3cfc539
%attr(750,root,root) %dir %{_sysconfdir}/opensips/tls/user
3cfc539
%dir %{_libdir}/opensips/
3cfc539
%dir %{_libdir}/opensips/modules/
3cfc539
%dir %{_libdir}/opensips/opensipsctl/
3cfc539
%dir %{_libdir}/opensips/opensipsctl/dbtextdb
3cfc539
3cfc539
%attr(755,root,root) %{_initrddir}/opensips
3cfc539
3cfc539
%config(noreplace) %{_sysconfdir}/opensips/dictionary.opensips
3cfc539
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
3cfc539
%attr(640,root,root) %config(noreplace) %{_sysconfdir}/opensips/opensips.cfg
3cfc539
%attr(640,root,root) %config(noreplace) %{_sysconfdir}/opensips/opensipsctlrc
3cfc539
%attr(640,root,root) %config(noreplace) %{_sysconfdir}/opensips/osipsconsolerc
3cfc539
# these files are just an example so no need to restrict access to them
3cfc539
%config(noreplace) %{_sysconfdir}/opensips/tls/ca.conf
3cfc539
%config(noreplace) %{_sysconfdir}/opensips/tls/request.conf
3cfc539
%config(noreplace) %{_sysconfdir}/opensips/tls/rootCA/cacert.pem
3cfc539
%config(noreplace) %{_sysconfdir}/opensips/tls/rootCA/certs/01.pem
3cfc539
%config(noreplace) %{_sysconfdir}/opensips/tls/rootCA/index.txt
3cfc539
%config(noreplace) %{_sysconfdir}/opensips/tls/rootCA/private/cakey.pem
3cfc539
%config(noreplace) %{_sysconfdir}/opensips/tls/rootCA/serial
3cfc539
%config(noreplace) %{_sysconfdir}/opensips/tls/user.conf
3cfc539
%config(noreplace) %{_sysconfdir}/opensips/tls/user/user-calist.pem
3cfc539
%config(noreplace) %{_sysconfdir}/opensips/tls/user/user-cert.pem
3cfc539
%config(noreplace) %{_sysconfdir}/opensips/tls/user/user-cert_req.pem
3cfc539
%config(noreplace) %{_sysconfdir}/opensips/tls/user/user-privkey.pem
3cfc539
3cfc539
%{_libdir}/opensips/opensipsctl/opensipsctl.*
3cfc539
%{_libdir}/opensips/opensipsctl/opensipsdbctl.base
3cfc539
%{_libdir}/opensips/opensipsctl/opensipsdbctl.dbtext
3cfc539
%{_libdir}/opensips/opensipsctl/dbtextdb/dbtextdb.py*
3cfc539
3cfc539
%dir %{_datadir}/opensips
3cfc539
%dir %{_datadir}/opensips/dbtext
3cfc539
%dir %{_datadir}/opensips/dbtext/opensips
3cfc539
%{_datadir}/opensips/dbtext/opensips/*
3cfc539
3cfc539
%{_mandir}/man5/opensips.cfg.5*
3cfc539
%{_mandir}/man8/opensips.8*
3cfc539
%{_mandir}/man8/opensipsctl.8*
3cfc539
%{_mandir}/man8/opensipsunix.8*
3cfc539
3cfc539
%doc docdir/AUTHORS
3cfc539
%doc docdir/NEWS
3cfc539
%doc docdir/README
3cfc539
%doc docdir/README-MODULES
3cfc539
%doc docdir/README.tls
3cfc539
%doc COPYING
3cfc539
3cfc539
%{_libdir}/opensips/modules/acc.so
3cfc539
%{_libdir}/opensips/modules/alias_db.so
3cfc539
%{_libdir}/opensips/modules/auth.so
3cfc539
%{_libdir}/opensips/modules/auth_db.so
3cfc539
%{_libdir}/opensips/modules/avpops.so
3cfc539
%{_libdir}/opensips/modules/benchmark.so
3cfc539
%{_libdir}/opensips/modules/call_control.so
3cfc539
%{_libdir}/opensips/modules/closeddial.so
3cfc539
%{_libdir}/opensips/modules/cfgutils.so
3cfc539
%{_libdir}/opensips/modules/db_flatstore.so
3cfc539
%{_libdir}/opensips/modules/db_virtual.so
3cfc539
%{_libdir}/opensips/modules/db_text.so
3cfc539
%{_libdir}/opensips/modules/dialog.so
3cfc539
%{_libdir}/opensips/modules/dialplan.so
3cfc539
%{_libdir}/opensips/modules/dispatcher.so
3cfc539
%{_libdir}/opensips/modules/diversion.so
3cfc539
%{_libdir}/opensips/modules/domain.so
3cfc539
%{_libdir}/opensips/modules/domainpolicy.so
3cfc539
%{_libdir}/opensips/modules/drouting.so
3cfc539
%{_libdir}/opensips/modules/enum.so
3cfc539
%{_libdir}/opensips/modules/exec.so
3cfc539
%{_libdir}/opensips/modules/gflags.so
3cfc539
%{_libdir}/opensips/modules/group.so
3cfc539
%{_libdir}/opensips/modules/identity.so
3cfc539
%{_libdir}/opensips/modules/imc.so
3cfc539
%{_libdir}/opensips/modules/load_balancer.so
3cfc539
%{_libdir}/opensips/modules/localcache.so
3cfc539
%{_libdir}/opensips/modules/mangler.so
3cfc539
%{_libdir}/opensips/modules/maxfwd.so
3cfc539
%{_libdir}/opensips/modules/mediaproxy.so
3cfc539
%{_libdir}/opensips/modules/mi_fifo.so
3cfc539
%{_libdir}/opensips/modules/mi_datagram.so
3cfc539
%{_libdir}/opensips/modules/msilo.so
3cfc539
%{_libdir}/opensips/modules/nathelper.so
3cfc539
%{_libdir}/opensips/modules/nat_traversal.so
John Khvatov d36a4bc
%{_libdir}/opensips/modules/rtpproxy.so
3cfc539
%{_libdir}/opensips/modules/options.so
3cfc539
%{_libdir}/opensips/modules/path.so
3cfc539
%{_libdir}/opensips/modules/pdt.so
3cfc539
%{_libdir}/opensips/modules/permissions.so
3cfc539
%{_libdir}/opensips/modules/pike.so
3cfc539
%{_libdir}/opensips/modules/qos.so
3cfc539
%{_libdir}/opensips/modules/ratelimit.so
3cfc539
%{_libdir}/opensips/modules/registrar.so
3cfc539
%{_libdir}/opensips/modules/rr.so
3cfc539
%{_libdir}/opensips/modules/signaling.so
3cfc539
%{_libdir}/opensips/modules/siptrace.so
3cfc539
%{_libdir}/opensips/modules/sl.so
3cfc539
%{_libdir}/opensips/modules/speeddial.so
3cfc539
%{_libdir}/opensips/modules/sst.so
3cfc539
%{_libdir}/opensips/modules/statistics.so
3cfc539
%{_libdir}/opensips/modules/stun.so
3cfc539
%{_libdir}/opensips/modules/textops.so
3cfc539
%{_libdir}/opensips/modules/tm.so
3cfc539
%{_libdir}/opensips/modules/uac.so
3cfc539
%{_libdir}/opensips/modules/uac_redirect.so
3cfc539
%{_libdir}/opensips/modules/userblacklist.so
3cfc539
%{_libdir}/opensips/modules/uri.so
3cfc539
%{_libdir}/opensips/modules/usrloc.so
John Khvatov d36a4bc
%{_libdir}/opensips/modules/uac_auth.so
John Khvatov d36a4bc
%{_libdir}/opensips/modules/uac_registrant.so
John Khvatov d36a4bc
3cfc539
3cfc539
%doc docdir/README.acc
3cfc539
%doc docdir/README.alias_db
3cfc539
%doc docdir/README.auth
3cfc539
%doc docdir/README.auth_db
3cfc539
%doc docdir/README.avpops
3cfc539
%doc docdir/README.benchmark
3cfc539
%doc docdir/README.cfgutils
3cfc539
%doc docdir/README.db_text
3cfc539
%doc docdir/README.dialog
3cfc539
%doc docdir/README.dialplan
3cfc539
%doc docdir/README.dispatcher
3cfc539
%doc docdir/README.diversion
3cfc539
%doc docdir/README.domain
3cfc539
%doc docdir/README.domainpolicy
3cfc539
%doc docdir/README.drouting
3cfc539
%doc docdir/README.enum
3cfc539
%doc docdir/README.exec
3cfc539
#%doc docdir/README.flatstore
3cfc539
%doc docdir/README.gflags
3cfc539
%doc docdir/README.group
3cfc539
%doc docdir/README.imc
3cfc539
%doc docdir/README.mangler
3cfc539
%doc docdir/README.maxfwd
3cfc539
%doc docdir/README.mediaproxy
3cfc539
%doc docdir/README.mi_fifo
3cfc539
%doc docdir/README.mi_datagram
3cfc539
%doc docdir/README.msilo
3cfc539
%doc docdir/README.nathelper
3cfc539
%doc docdir/README.options
3cfc539
%doc docdir/README.path
3cfc539
%doc docdir/README.pdt
3cfc539
%doc docdir/README.permissions
3cfc539
%doc docdir/README.pike
3cfc539
%doc docdir/README.registrar
3cfc539
%doc docdir/README.rr
3cfc539
%doc docdir/README.siptrace
3cfc539
%doc docdir/README.sl
3cfc539
%doc docdir/README.speeddial
3cfc539
%doc docdir/README.sst
3cfc539
%doc docdir/README.statistics
John Khvatov d36a4bc
%doc docdir/README.textops
3cfc539
%doc docdir/README.tm
3cfc539
%doc docdir/README.uac
3cfc539
%doc docdir/README.uac_redirect
3cfc539
%doc docdir/README.uri
3cfc539
%doc docdir/README.usrloc
John Khvatov d36a4bc
%doc docdir/README.rtpproxy
John Khvatov d36a4bc
%doc docdir/README.uac_auth
John Khvatov d36a4bc
%doc docdir/README.uac_registrant
3cfc539
3cfc539
%files aaa_radius
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/aaa_radius.so
3cfc539
%doc docdir/README.aaa_radius
3cfc539
3cfc539
%files acc
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/acc.so
3cfc539
%doc docdir/README.acc
3cfc539
3cfc539
%files auth_aaa
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/auth_aaa.so
3cfc539
%doc docdir/README.auth_aaa
3cfc539
3cfc539
%files auth_diameter
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/auth_diameter.so
3cfc539
%doc docdir/README.auth_diameter
3cfc539
3cfc539
%files b2bua
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/b2b_entities.so
3cfc539
%{_libdir}/opensips/modules/b2b_logic.so
3cfc539
%doc docdir/README.b2b_entities
3cfc539
%doc docdir/README.b2b_logic
3cfc539
3cfc539
%files carrierroute
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/carrierroute.so
3cfc539
%doc docdir/README.carrierroute
3cfc539
3cfc539
%files cpl-c
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/cpl-c.so
3cfc539
%doc docdir/README.cpl-c
3cfc539
3cfc539
%files db_berkeley
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_sbindir}/bdb_recover
3cfc539
%{_libdir}/opensips/modules/db_berkeley.so
3cfc539
%{_libdir}/opensips/opensipsctl/opensipsdbctl.db_berkeley
3cfc539
%dir %{_datadir}/opensips/db_berkeley
3cfc539
%dir %{_datadir}/opensips/db_berkeley/opensips
3cfc539
%{_datadir}/opensips/db_berkeley/opensips/*
3cfc539
%doc docdir/README.db_berkeley
3cfc539
3cfc539
%files db_http
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/db_http.so
3cfc539
%doc docdir/README.db_http
3cfc539
3cfc539
%files h350
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/h350.so
3cfc539
%doc docdir/README.h350
3cfc539
3cfc539
%files jabber
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/jabber.so
3cfc539
%doc docdir/README.jabber
3cfc539
3cfc539
%files ldap
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/ldap.so
3cfc539
%doc docdir/README.ldap
3cfc539
2e1bb2e
%if %{undefined rhel}
3cfc539
%files memcached
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/memcached.so
3cfc539
%doc docdir/README.memcached
2e1bb2e
%endif
3cfc539
3cfc539
%files mmgeoip
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/mmgeoip.so
3cfc539
%doc docdir/README.mmgeoip
3cfc539
3cfc539
%files mysql
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/db_mysql.so
3cfc539
%{_libdir}/opensips/opensipsctl/opensipsdbctl.mysql
3cfc539
%dir %{_datadir}/opensips/mysql
3cfc539
%{_datadir}/opensips/mysql/*.sql
3cfc539
%doc docdir/README.db_mysql
3cfc539
3cfc539
%if %{defined db_oracle}
3cfc539
%files oracle
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/db_oracle.db
3cfc539
%{_libdir}/opensips/opensipsctl/opensipsdbctl.oracle
3cfc539
%dir %{_datadir}/opensips/oracle
3cfc539
%{_datadir}/opensips/oracle/*
3cfc539
%doc docdir/README.db_oracle
3cfc539
%endif
3cfc539
3cfc539
%files perl
3cfc539
%defattr(-,root,root,-)
3cfc539
%dir %{perl_vendorlib}/OpenSIPS
3cfc539
%dir %{perl_vendorlib}/OpenSIPS/LDAPUtils
3cfc539
%dir %{perl_vendorlib}/OpenSIPS/Utils
3cfc539
%{_libdir}/opensips/modules/perl.so
3cfc539
%{perl_vendorlib}/OpenSIPS.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/Constants.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/LDAPUtils/LDAPConf.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/LDAPUtils/LDAPConnection.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/Message.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/Utils/PhoneNumbers.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/Utils/Debug.pm
3cfc539
%doc docdir/README.perl
3cfc539
3cfc539
%files perlvdb
3cfc539
%defattr(-,root,root,-)
3cfc539
%dir %{perl_vendorlib}/OpenSIPS/VDB
3cfc539
%dir %{perl_vendorlib}/OpenSIPS/VDB/Adapter
3cfc539
%{_libdir}/opensips/modules/perlvdb.so
3cfc539
%{perl_vendorlib}/OpenSIPS/VDB.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/VDB/Adapter/AccountingSIPtrace.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/VDB/Adapter/Alias.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/VDB/Adapter/Auth.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/VDB/Adapter/Describe.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/VDB/Adapter/Speeddial.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/VDB/Adapter/TableVersions.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/VDB/Column.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/VDB/Pair.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/VDB/ReqCond.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/VDB/Result.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/VDB/VTab.pm
3cfc539
%{perl_vendorlib}/OpenSIPS/VDB/Value.pm
3cfc539
%doc docdir/README.perlvdb
3cfc539
3cfc539
%files peering
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/peering.so
3cfc539
%doc docdir/README.peering
3cfc539
3cfc539
%files postgresql
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/db_postgres.so
3cfc539
%{_libdir}/opensips/opensipsctl/opensipsdbctl.pgsql
3cfc539
%dir %{_datadir}/opensips/postgres
3cfc539
%{_datadir}/opensips/postgres/*.sql
3cfc539
%doc docdir/README.db_postgres
3cfc539
3cfc539
%files presence
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/presence.so
3cfc539
%doc docdir/README.presence
3cfc539
3cfc539
%files presence_dialoginfo
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/presence_dialoginfo.so
3cfc539
%doc docdir/README.presence_dialoginfo
3cfc539
3cfc539
%files presence_mwi
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/presence_mwi.so
3cfc539
%doc docdir/README.presence_mwi
3cfc539
3cfc539
%files presence_xcapdiff
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/presence_xcapdiff.so
3cfc539
3cfc539
%files presence_xml
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/presence_xml.so
3cfc539
%doc docdir/README.presence_xml
3cfc539
John Khvatov 1a094eb
%files presence_callinfo
John Khvatov 1a094eb
%defattr(-,root,root,-)
John Khvatov 1a094eb
%{_libdir}/opensips/modules/presence_callinfo.so
John Khvatov 1a094eb
%doc docdir/README.presence_callinfo
John Khvatov 1a094eb
3cfc539
%files pua
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/pua.so
3cfc539
%doc docdir/README.pua
3cfc539
3cfc539
%files pua_dialoginfo
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/pua_dialoginfo.so
3cfc539
%doc docdir/README.pua_dialoginfo
3cfc539
3cfc539
%files pua_bla
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/pua_bla.so
3cfc539
%doc docdir/README.pua_bla
3cfc539
3cfc539
%files pua_mi
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/pua_mi.so
3cfc539
%doc docdir/README.pua_mi
3cfc539
3cfc539
%files pua_usrloc
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/pua_usrloc.so
3cfc539
%doc docdir/README.pua_usrloc
3cfc539
3cfc539
%files pua_xmpp
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/pua_xmpp.so
3cfc539
%doc docdir/README.pua_xmpp
3cfc539
3cfc539
%files regex
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/regex.so
3cfc539
%doc docdir/README.regex
3cfc539
3cfc539
%files rls
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/rls.so
3cfc539
%doc docdir/README.rls
3cfc539
3cfc539
%files seas
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/seas.so
3cfc539
%doc docdir/README.seas
3cfc539
3cfc539
%files sms
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/sms.so
3cfc539
%doc docdir/README.sms
3cfc539
3cfc539
%if %{undefined disable_snmpstats}
3cfc539
%files snmpstats
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/snmpstats.so
3cfc539
%doc docdir/README.snmpstats
3cfc539
%dir %{_datadir}/snmp
3cfc539
%dir %{_datadir}/snmp/mibs
3cfc539
%{_datadir}/snmp/mibs/OPENSER-MIB
3cfc539
%{_datadir}/snmp/mibs/OPENSER-REG-MIB
3cfc539
%{_datadir}/snmp/mibs/OPENSER-SIP-COMMON-MIB
3cfc539
%{_datadir}/snmp/mibs/OPENSER-SIP-SERVER-MIB
3cfc539
%{_datadir}/snmp/mibs/OPENSER-TC
3cfc539
%endif
3cfc539
3cfc539
%files tlsops
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/tlsops.so
3cfc539
%doc docdir/README.tlsops
3cfc539
3cfc539
%files unixodbc
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/db_unixodbc.so
3cfc539
%doc docdir/README.db_unixodbc
3cfc539
3cfc539
%files xcap_client
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/xcap_client.so
3cfc539
%doc docdir/README.xcap_client
3cfc539
3cfc539
%files xmpp
3cfc539
%defattr(-,root,root,-)
3cfc539
%{_libdir}/opensips/modules/xmpp.so
3cfc539
%doc docdir/README.xmpp
3cfc539
John Khvatov d36a4bc
%files python
John Khvatov d36a4bc
%defattr(-,root,root,-)
John Khvatov d36a4bc
%{_libdir}/opensips/modules/python.so
John Khvatov d36a4bc
John Khvatov d36a4bc
%files event_datagram
John Khvatov d36a4bc
%defattr(-,root,root,-)
John Khvatov d36a4bc
%{_libdir}/opensips/modules/event_datagram.so
John Khvatov d36a4bc
%doc docdir/README.event_datagram
John Khvatov d36a4bc
3cfc539
%changelog
John Khvatov 5cf7aa0
* Thu Nov 24 2011 John Khvatov <ivaxer@fedoraproject.org> - 1.7.1-1
John Khvatov 5cf7aa0
- update to 1.7.1 (bugfix release).
John Khvatov 5cf7aa0
John Khvatov d36a4bc
* Mon Nov 07 2011 John Khvatov <ivaxer@fedoraproject.org> - 1.7.0-1
John Khvatov d36a4bc
- update to 1.7.0
John Khvatov d36a4bc
- dropped upstreamed patches
John Khvatov d36a4bc
- added new modules: event_datagram and python
John Khvatov d36a4bc
- removed lcr module
John Khvatov d36a4bc
ffe3f71
* Sat Sep 17 2011  Remi Collet <remi@fedoraproject.org> - 1.6.4-13
ffe3f71
- rebuild against libmemcached.so.8
ffe3f71
John Khvatov e35d470
* Mon Aug 22 2011 John Khvatov <ivaxer@fedoraproject.org> - 1.6.4-12
John Khvatov e35d470
- rebuild against new libnetsnmp
John Khvatov e35d470
Petr Sabata 495f887
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.6.4-11
Petr Sabata 495f887
- Perl mass rebuild
Petr Sabata 495f887
Petr Sabata f47711b
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.6.4-10
Petr Sabata f47711b
- Perl mass rebuild
Petr Sabata f47711b
aaa6bfa
* Mon Jul 11 2011 Peter Lemenkov <lemenkov@gmail.com> - 1.6.4-9
aaa6bfa
- Updated init-script
aaa6bfa
06ffbc5
* Mon Jul 11 2011 Peter Lemenkov <lemenkov@gmail.com> - 1.6.4-8
06ffbc5
- Upstream re-released traball with several new patches (API compatible)
06ffbc5
7925752
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.6.4-7
7925752
- Perl mass rebuild
7925752
4e6b5f2
* Wed Mar 23 2011 Dan Horák <dan@danny.cz> - 1.6.4-6
4e6b5f2
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
4e6b5f2
5bc538f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.4-5
5bc538f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5bc538f
John Khvatov 1a094eb
* Wed Dec 22 2010 John Khvatov <ivaxer@fedoraproject.org> - 1.6.4-1
John Khvatov 1a094eb
- dropped upstreamed patch (opensips-build.patch)
John Khvatov 1a094eb
- update to 1.6.4
John Khvatov 1a094eb
- added new module: presence_callinfo
John Khvatov 1a094eb
John Khvatov 7d2bf4b
* Sat Oct 30 2010 John Khvatov <ivaxer@fedoraproject.org> - 1.6.3-4
John Khvatov 7d2bf4b
- rebuild against new libnetsnmp
John Khvatov 7d2bf4b
9369e57
* Wed Oct 06 2010 Remi Collet <fedora@famillecollet.com> - 1.6.3-3
9369e57
- rebuilt against new libmemcached
9369e57
3a4848f
* Wed Sep 08 2010 Dan Horák <dan[at]danny.cz> - 1.6.3-2
3a4848f
- fix a build issue
3a4848f
John Khvatov c4ad32e
* Thu Aug 12 2010 John Khvatov <ivaxer@gmail.com> - 1.6.3-1
John Khvatov c4ad32e
- update to 1.6.3
John Khvatov c4ad32e
0ccf23c
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 1.6.2-5
0ccf23c
- recompiling .py files against Python 2.7 (rhbz#623343)
0ccf23c
76af8c8
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.6.2-4
76af8c8
- Mass rebuild with perl-5.12.0
76af8c8
670328e
* Wed May 05 2010 Remi Collet <fedora@famillecollet.com> - 1.6.2-3
670328e
- rebuilt against new libmemcached
670328e
2e1bb2e
* Thu Apr 15 2010 John Khvatov <ivaxer@fedoraproject.org> - 1.6.2-2
2e1bb2e
- Disabled build of the memcached subpackage for EPEL
2e1bb2e
5cef3cf
* Thu Apr 15 2010 John Khvatov <ivaxer@fedoraproject.org> - 1.6.2-1
5cef3cf
- Updated to 1.6.2
5cef3cf
324a9cd
* Sun Feb 07 2010 Remi Collet <fedora@famillecollet.com> - 1.6.1-2
20210a5
- rebuilt against new libmemcached
20210a5
5cef3cf
* Thu Dec 22 2009 John Khvatov <ivaxer@fedoraproject.org> - 1.6.1-1
1a0021e
- Updated to 1.6.1
1a0021e
- Dropped upstreamed patches
1a0021e
5cef3cf
* Wed Nov 04 2009 John Khvatov <ivaxer@fedoraproject.org> - 1.6.0-4
f83dac4
- Fixed typo: pia_mi to pua_mi in presence_xcapdiff dependencies
f83dac4
fbcf934
* Thu Nov 03 2009 John Khvatov <ivaxer@fedoraproject.org> - 1.6.0-3
fbcf934
- Added patch for compatibility with new openssl
fbcf934
3cfc539
* Thu Oct 29 2009 John Khvatov <ivaxer@fedoraproject.org> - 1.6.0-2
3cfc539
- Added patch for init script to fix malformed comment block
3cfc539
- Added COPYING file
3cfc539
- Fixed not-capitalized summory of memcached subpackage
3cfc539
3cfc539
* Mon Oct 19 2009 John Khvatov <ivaxer@fedoraproject.org> - 1.6.0-1
3cfc539
- Created new package from openser package
3cfc539
- Upgrade to OpenSIPS 1.6
3cfc539
- New modules
3cfc539
- Added osipconsole tool
3cfc539
3cfc539
* Tue Aug 25 2009 Tomas Mraz <tmraz@redhat.com> - 1.3.4-8
3cfc539
- rebuilt with new openssl
3cfc539
3cfc539
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-7
3cfc539
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3cfc539
3cfc539
* Mon Mar 02 2009 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.3.4-6
3cfc539
- allow build of this package on fedora<=10
3cfc539
3cfc539
* Sat Feb 28 2009 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.3.4-5
3cfc539
- fix module path
3cfc539
3cfc539
* Sat Feb 28 2009 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.3.4-3
3cfc539
- addedd subversion build dependency to avoid svnversion error messages
3cfc539
- fixed installation of perl modules in rawhide
3cfc539
3cfc539
* Fri Jan 23 2009 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> 1.3.4-2
3cfc539
- Rebuild for new mysql.
3cfc539
3cfc539
* Mon Dec  8 2008 Peter Lemenkov <lemenkov@gmail.com> 1.3.4-1
3cfc539
- Ver. 1.3.4
3cfc539
- Added sysconfig-file
3cfc539
3cfc539
* Thu Aug 28 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 1.3.3-3
3cfc539
- Include lots of unowned directories.
3cfc539
3cfc539
* Thu Aug 28 2008 Peter Lemenkov <lemenkov@gmail.com> 1.3.3-2
3cfc539
- Removed dialplan and drouting modules from upstream
3cfc539
3cfc539
* Thu Aug 28 2008 Peter Lemenkov <lemenkov@gmail.com> 1.3.3-1
3cfc539
- Ver. 1.3.3
3cfc539
- Dropped upstreamed patch
3cfc539
3cfc539
* Mon Aug 11 2008 Peter Lemenkov <lemenkov@gmail.com> 1.3.2-5
3cfc539
- Typo fix
3cfc539
3cfc539
* Mon Aug 11 2008 Peter Lemenkov <lemenkov@gmail.com> 1.3.2-4
3cfc539
- Fix build with --fuzz=0
3cfc539
3cfc539
* Mon Aug 11 2008 Peter Lemenkov <lemenkov@gmail.com> 1.3.2-3
3cfc539
- Fixed urls
3cfc539
- Restricted access to openser.cfg and openserctl.cfg
3cfc539
- Service won't start by default (BZ# 441297)
3cfc539
3cfc539
* Fri May 16 2008 Peter Lemenkov <lemenkov@gmail.com> 1.3.2-2
3cfc539
- New modules - dialplan and drouting (this one still has no README)
3cfc539
3cfc539
* Thu May 15 2008 Peter Lemenkov <lemenkov@gmail.com> 1.3.2-1
3cfc539
- Ver. 1.3.2
3cfc539
3cfc539
* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.1-3
3cfc539
- add Requires for versioned perl (libperl.so)
3cfc539
- drop silly file Requires
3cfc539
3cfc539
* Fri Mar 14 2008 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.3.1-2
3cfc539
- removed perl patch, which is not necessary
3cfc539
3cfc539
* Thu Mar 13 2008 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.3.1-1
3cfc539
- update to upstream
3cfc539
- removed obsolete patches
3cfc539
3cfc539
* Fri Mar  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.0-12
3cfc539
- patch perl code to use PERL_SYS_INIT3_BODY
3cfc539
3cfc539
* Fri Mar  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.0-11
3cfc539
- fix perl build requires
3cfc539
3cfc539
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.0-10
3cfc539
- Rebuild for new perl
3cfc539
3cfc539
* Sat Feb 23 2008 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> 1.3.0-9
3cfc539
- ia64 build fix
3cfc539
3cfc539
* Sat Feb  9 2008 Peter Lemenkov <lemenkov@gmail.com> 1.3.0-8.1
3cfc539
- typo fix
3cfc539
3cfc539
* Sat Feb  9 2008 Peter Lemenkov <lemenkov@gmail.com> 1.3.0-8
3cfc539
- Rebuild for GCC 4.3
3cfc539
3cfc539
* Sat Jan 26 2008 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> 1.3.0-7
3cfc539
- Updated syntax error in default config
3cfc539
3cfc539
* Sat Jan 26 2008 Peter Lemenkov <lemenkov@gmail.com> 1.3.0-5
3cfc539
- Merge of acc module into main package
3cfc539
3cfc539
* Fri Jan 25 2008 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> 1.3.0-4
3cfc539
- modify and apply forgotten patch4
3cfc539
3cfc539
* Thu Jan 17 2008 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> 1.3.0-2
3cfc539
- removed openser.init and replaced by upstream version
3cfc539
- fixed configuration path for openserdbctl (#428799)
3cfc539
3cfc539
* Sun Jan 13 2008 Peter Lemenkov <lemenkov@gmail.com> 1.3.0-1.4
3cfc539
- 4th try to remove lm_sensors-devel from EL-[45] at ppc{64}
3cfc539
3cfc539
* Thu Dec 13 2007 Peter Lemenkov <lemenkov@gmail.com> 1.3.0-1
3cfc539
- Final ver. 1.3.0
3cfc539
- Removed some leftovers from spec-file
3cfc539
3cfc539
* Wed Dec 12 2007 Peter Lemenkov <lemenkov@gmail.com> 1.3.0-0.1.pre1
3cfc539
- Latest snapshot - 1.3.0pre1
3cfc539
3cfc539
* Mon Dec 10 2007 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> 1.2.2-11
3cfc539
- added ETCDIR into openserctlrc (need openser-1.3 to work)
3cfc539
3cfc539
* Mon Sep 24 2007 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> 1.2.2-10
3cfc539
- perl scripts moved to perl_vendorlib directory
3cfc539
- added LDAPUtils and Utils subdirectories
3cfc539
- changed perl module BuildRequires
3cfc539
3cfc539
* Mon Sep 24 2007 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> 1.2.2-9
3cfc539
- added reload section to init script
3cfc539
- init script specified with initrddir macro
3cfc539
- documentation converted to UTF-8
3cfc539
- added doc macro for documentation
3cfc539
- documentation moved do proper place (/usr/share/doc/NAME-VERSION/)
3cfc539
- which removed from BuildRequires, it's in guidelines exceptions
3cfc539
- unixodbc subpackage summary update
3cfc539
3cfc539
* Thu Sep  6 2007 Peter Lemenkov <lemenkov@gmail.com> 1.2.2-8
3cfc539
- Added another one missing BR - which (needs by snmpstats module)
3cfc539
- Cosmetic: dropped commented out 'Requires'
3cfc539
 
3cfc539
* Thu Sep 06 2007 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> 1.2.2-7
3cfc539
- added attr macro for init script
3cfc539
- added -p to install arguments to preserve timestamp
3cfc539
- parallel make used
3cfc539
3cfc539
* Sun Aug 26 2007 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> 1.2.2-6
3cfc539
- Fedora Core 6 build updates
3cfc539
- changed attributes for openser.init to be rpmlint more silent
3cfc539
3cfc539
* Sun Aug 26 2007 Peter Lemenkov <lemenkov@gmail.com> 1.2.2-5
3cfc539
- fixed paths for openssl libs and includes
3cfc539
3cfc539
* Sun Aug 26 2007 Peter Lemenkov <lemenkov@gmail.com> 1.2.2-4
3cfc539
- Introduced acc and acc_radius modules (Jan Ondrej)
3cfc539
- Dropped radius_accounting condition
3cfc539
3cfc539
* Sat Aug 25 2007 Peter Lemenkov <lemenkov@gmail.com> 1.2.2-3
3cfc539
- Changed license according to Fedora's policy
3cfc539
- Make rpmlint more silent
3cfc539
3cfc539
* Fri Aug 24 2007 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> 1.2.2-2
3cfc539
- added openser.init script
3cfc539
- removed Patch0: openser--Makefile.diff and updated build section
3cfc539
- spec file is 80 characters wide
3cfc539
- added radius_accounting condition
3cfc539
3cfc539
* Wed Aug 22 2007 Peter Lemenkov <lemenkov@gmail.com> 1.2.2-1
3cfc539
- Ver. 1.2.2
3cfc539
3cfc539
* Tue Jul 24 2007 Peter Lemenkov <lemenkov@gmail.com> 1.2.1-1
3cfc539
- Initial spec.