Well-tested values for <osname> include:
- * `debian-jessie` for Debian 8.0
- * `debian-wheezy` for Debian 7.0
+ * `debian-stretch` for Debian 9
+ * `debian-jessie` for Debian 8
+ * `debian-wheezy` for Debian 7
* `ubuntu-trusty` for Ubuntu 14.04
* `ubuntu-xenial` for Ubuntu 16.04
/etc/init.d/ejabberd stop
---------------------------------------------------------------------------
+
-.(Ubuntu Xenial) Stopping ejabberd
+.(Debian Stretch / Ubuntu Xenial) Stopping ejabberd
[source, bash]
---------------------------------------------------------------------------
systemctl stop ejabberd.service
##access_max_user_messages: max_user_offline_messages
-----------------------
+
-(Ubuntu Xenial) Ejabberd 16.x::
+(Debian Stretch / Ubuntu Xenial) Ejabberd 16.x::
Open `/etc/ejabberd/ejabberd.yml` and make the following
changes:
a. Define your public and private domains in the `hosts` directive. For
/etc/init.d/ejabberd start
---------------------------------------------------------------------------
+
-.(Ubuntu Xenial) Starting ejabberd
+.(Debian Stretch / Ubuntu Xenial) Starting ejabberd
[source, bash]
---------------------------------------------------------------------------
systemctl start ejabberd.service
sh /usr/share/doc/apache2.2-common/examples/setup-instance websockets
---------------------------------------------------------------------------
+
-.(Debian Jessie / Ubuntu Trusty / Xenial)
+.(Debian Jessie/Stretch, Ubuntu Trusty/Xenial)
[source, bash]
---------------------------------------------------------------------------
sh /usr/share/doc/apache2/examples/setup-instance websockets
cp examples/apache2/websockets/apache2.conf /etc/apache2-websockets/
---------------------------------------------------------------------------
+
-.(Debian Jessie / Ubuntu Trusty / Xenial)
+.(Debian Jessie/Stretch, Ubuntu Trusty/Xenial)
[source, bash]
---------------------------------------------------------------------------
cd /path/to/opensrf-OSRFVERSION
<keepalive>3</keepalive>
<stateless>1</stateless>
<language>c</language>
- <implementation>osrf_math.so</implementation>
+ <implementation>libosrf_math.so</implementation>
<unix_config>
<unix_sock>opensrf.math_unix.sock</unix_sock>
<unix_pid>opensrf.math_unix.pid</unix_pid>
<keepalive>3</keepalive>
<stateless>1</stateless>
<language>c</language>
- <implementation>osrf_dbmath.so</implementation>
+ <implementation>libosrf_dbmath.so</implementation>
<unix_config>
<max_requests>1000</max_requests>
<unix_log>opensrf.dbmath_unix.log</unix_log>
DISTCLEANFILES = Makefile.in Makefile
noinst_PROGRAMS = timejson
-lib_LTLIBRARIES = osrf_dbmath.la osrf_math.la osrf_version.la
+lib_LTLIBRARIES = libosrf_dbmath.la libosrf_math.la libosrf_version.la
timejson_SOURCES = timejson.c
timejson_LDADD = @top_builddir@/src/libopensrf/libopensrf.la
-osrf_dbmath_la_SOURCES = osrf_dbmath.c
-osrf_dbmath_la_LDFLAGS = $(AM_LDFLAGS) -module -version-info 2:0:2
-osrf_dbmath_la_LIBADD = @top_builddir@/src/libopensrf/libopensrf.la
+libosrf_dbmath_la_SOURCES = osrf_dbmath.c
+libosrf_dbmath_la_LDFLAGS = $(AM_LDFLAGS) -module -version-info 2:0:2
+libosrf_dbmath_la_LIBADD = @top_builddir@/src/libopensrf/libopensrf.la
-osrf_math_la_SOURCES = osrf_math.c
-osrf_math_la_LDFLAGS = $(AM_LDFLAGS) -module -version-info 2:0:2
-osrf_math_la_LIBADD = @top_builddir@/src/libopensrf/libopensrf.la
+libosrf_math_la_SOURCES = osrf_math.c
+libosrf_math_la_LDFLAGS = $(AM_LDFLAGS) -module -version-info 2:0:2
+libosrf_math_la_LIBADD = @top_builddir@/src/libopensrf/libopensrf.la
-osrf_version_la_SOURCES = osrf_version.c
-osrf_version_la_LDFLAGS = $(AM_LDFLAGS) -module -version-info 2:0:2
-osrf_version_la_LIBADD = @top_builddir@/src/libopensrf/libopensrf.la
+libosrf_version_la_SOURCES = osrf_version.c
+libosrf_version_la_LDFLAGS = $(AM_LDFLAGS) -module -version-info 2:0:2
+libosrf_version_la_LIBADD = @top_builddir@/src/libopensrf/libopensrf.la
# Installs Perl prereqs, libjs with Perl wrapper
#
# usage:
+# make -f Makefile.install debian-stretch
+# - or -
# make -f Makefile.install debian-jessie
# - or -
# make -f Makefile.install debian-wheezy
apache2-prefork-dev \
libncurses5-dev
+EXTRA_DEBS_DEBIAN_STRETCH = \
+ apache2 \
+ apache2-dev \
+ libncurses5-dev
+
EXTRA_DEBS_UBUNTU_TRUSTY = \
apache2-mpm-prefork \
apache2-prefork-dev \
@echo "please specify an OS" && exit 0
+debian-stretch: generic_debian stretch apache_mpm_prefork_mods apache_perl_mod
debian-jessie: generic_debian jessie apache_mpm_prefork_mods
debian-wheezy: generic_debian wheezy
+stretch: install_extra_debs install_extra_debs_stretch debian_sys_config
jessie: install_extra_debs_jessie debian_sys_config
wheezy: install_extra_debs_wheezy debian_sys_config
generic_debian: install_debs
install_extra_debs:
$(APT_TOOL) install $(EXTRA_DEBS)
+install_extra_debs_stretch:
+ $(APT_TOOL) install $(EXTRA_DEBS_DEBIAN_STRETCH)
+
install_extra_debs_jessie: install_extra_debs
$(APT_TOOL) install $(EXTRA_DEBS_JESSIE)
=head1 VERSION
-Version 2.1.2
+Version 3.0-dev
=cut
-our $VERSION = "2.12";
+our $VERSION = "3.000_000";
=head1 METHODS
from setuptools import setup
setup(name='OpenSRF',
- version='2.1.0',
+ version='3.0.dev0',
install_requires=[
'dnspython', # required by pyxmpp
'python-memcached',