Skip to content

Commit

Permalink
Debian: update dependencies to build on Jessie.
Browse files Browse the repository at this point in the history
Unfortunately, the lua module doesn't build anymore because it depends
on libmemcache, which is not present in Jessie. The other
memcached-related modules depend on libmemcached, which is fine.

See #580
  • Loading branch information
nud authored and razvancrainea committed Sep 11, 2015
1 parent eeeadd3 commit 185c15d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/debian/control
Expand Up @@ -181,7 +181,7 @@ Description: SIMPLE presence modules for OpenSIPS

Package: opensips-xmlrpc-module
Architecture: any
Depends: opensips (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
Depends: opensips (= ${binary:Version}), opensips-http-modules (= ${binary:Version})
Description: XMLRPC support for OpenSIPS's Management Interface
OpenSIPS is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, OpenSIPS can handle thousands calls
Expand Down
6 changes: 6 additions & 0 deletions packaging/debian/rules
Expand Up @@ -26,6 +26,9 @@ URL := https://github.com/OpenSIPS/opensips/archive/$(UPVERSION).tar.gz

# List of all debian module packages we will build
# Used to index the make variable below, which has details about each package
#
# LUA has been removed due to libmemcache dependency.
# See https://github.com/OpenSIPS/opensips/issues/580
ALL_MODPKG_LIST := \
MYSQL POSTGRES UNIXODBC JABBER CPL RADIUS \
PRESENCE XMLRPC PERL SNMPSTATS XMPP CROUTE BERKELEY LDAP \
Expand Down Expand Up @@ -183,6 +186,9 @@ LDFLAGS += $(shell dpkg-buildflags --get LDFLAGS)
# force lib (versus lib64) and SMP support all the time
VARS = LIBDIR=lib ISSMP=yes

# Debian Jessie doesn't package radius-ng, so use freeradius instead
VARS += FREERADIUS=yes

ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
Expand Down

0 comments on commit 185c15d

Please sign in to comment.