Skip to content

Commit

Permalink
- added dep on snmp-devel for the snmp BE.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jess Portnoy committed Dec 29, 2015
1 parent 425e65c commit 14b6b87
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,21 @@ const char *appname; // app identifier string, configured with the aware.appname


## RHEL/CentOS and friends
The JaM extensions are available from Kaltura's CE repo.
To add the repo, run:
```
# rpm -ihv http://installrepo.kaltura.org/releases/kaltura-release.noarch.rpm
```
To install the main JaM ext:
```
# yum install php-jam
```

To install the backends:
```
# yum install php-jam-email php-jam-elasticsearch
```
Then set proper values in /etc/php.d/jam\*.ini and reload Apache if needed.

## Compiling from source

Expand Down
7 changes: 4 additions & 3 deletions php-jam.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Available build options, you will need rpm-build >= 4.0.3 for this to work.
# Example: rpmbuild -ba --with email php-jam.spec
# Example: rpmbuild -ba --with email jam.spec
#
# Storage Options
# ===============
Expand All @@ -16,13 +16,13 @@
# These setup the storage backends to off by default
#
%bcond_with email
%bcond_with elasticsearch
%bcond_with snmp
%bcond_with files
%bcond_with snmp
%bcond_with spread
%bcond_with stomp
%bcond_with tokyo
%bcond_with zeromq2
%bcond_with elasticsearch


Name: php-jam
Expand Down Expand Up @@ -77,6 +77,7 @@ Requires: %{name} = %{version}-%{release}
Summary: SNMP storage engine for %{name}
Group: Web/Applications
Requires: %{name} = %{version}-%{release}
BuildRequires: net-snmp-devel

%description snmp
%{name} backend implementation which sends events as SNMP traps.
Expand Down

0 comments on commit 14b6b87

Please sign in to comment.