forked from jookies/jasmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nfpm.yaml
135 lines (135 loc) · 4.2 KB
/
nfpm.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
name: "jasmin-sms-gateway"
arch: "amd64"
platform: "linux"
version: "v0.10.9"
section: "default"
priority: "extra"
maintainer: "Jookies LTD <[email protected]>"
description: |
SMS Gateway
Jasmin is a very complete open source SMS Gateway with many enterprise-class
features such as:
.
- SMPP Client / Server
- HTTP Client / Server
- Console-based configuration, no service restart required
- Based on AMQP broker for store&forward mechanisms and other queuing systems
- Using Redis for in-memory DLR tracking and billing
- Advanced message routing/filtering
- Web and console ui for management
- Supports Unicode (UTF-8) for sending out multilingual SMS
- Supports easy creation and sending of specialized/binary SMS
- Supports concatenated SMS strings (long SMS)
.
Jasmin relies heavily on message queuing through message brokers
(Using AMQP), it is designed for performance, high traffic loads and full
in-memory execution.
vendor: "Jookies"
homepage: "https://jasminsms.com"
license: "Apache 2"
replaces:
- python-jasmin
- jasmin-sms-gateway
provides:
- jasmin-sms-gateway
empty_folders:
- /var/log/jasmin
- /etc/jasmin/store
contents:
- src: ./misc/config/jasmin.cfg
dst: "/etc/jasmin/jasmin.cfg"
type: config
- src: ./misc/config/interceptor.cfg
dst: "/etc/jasmin/interceptor.cfg"
type: config
- src: ./misc/config/dlr.cfg
dst: "/etc/jasmin/dlr.cfg"
type: config
- src: ./misc/config/dlrlookupd.cfg
dst: "/etc/jasmin/dlrlookupd.cfg"
type: config
- src: ./misc/config/resource/amqp0-9-1.xml
dst: "/etc/jasmin/resource/amqp0-9-1.xml"
type: config
- src: ./misc/config/resource/amqp0-8.stripped.rabbitmq.xml
dst: "/etc/jasmin/resource/amqp0-8.stripped.rabbitmq.xml"
type: config
- src: ./misc/config/systemd/jasmind.service
dst: "/usr/lib/systemd/system/jasmind.service"
type: config
- src: ./misc/config/systemd/jasmin-celery.service
dst: "/usr/lib/systemd/system/jasmin-celery.service"
type: config
- src: ./misc/config/systemd/jasmin-dlrd.service
dst: "/usr/lib/systemd/system/jasmin-dlrd.service"
type: config
- src: ./misc/config/systemd/jasmin-dlrlookupd.service
dst: "/usr/lib/systemd/system/jasmin-dlrlookupd.service"
type: config
- src: ./misc/config/systemd/jasmin-interceptord.service
dst: "/usr/lib/systemd/system/jasmin-interceptord.service"
type: config
- src: ./misc/config/systemd/jasmin-restapi.service
dst: "/usr/lib/systemd/system/jasmin-restapi.service"
type: config
- src: ./jasmin/bin/jasmind.py
dst: "/usr/local/bin/jasmind.py"
- src: ./jasmin/bin/interceptord.py
dst: "/usr/local/bin/interceptord.py"
- src: ./jasmin/bin/dlrd.py
dst: "/usr/local/bin/dlrd.py"
- src: ./jasmin/bin/dlrlookupd.py
dst: "/usr/local/bin/dlrlookupd.py"
scripts:
postinstall: ./misc/packaging/scripts/common-postinstall.sh
preremove: ./misc/packaging/scripts/common-preremove.sh
overrides:
deb:
depends:
- python3 (>= 3.7)
- adduser
- python3-twisted
- python3-dateutil
- python3-pyparsing
- python3-lockfile
- python3-requests
- python3-setuptools
- python3-mimeparse
- python3-celery
- python-celery-common
- python3-falcon
- python3-redis
- python3-amqp
- python3-tabulate
- python3-treq
# These dependencies come from Jookies package repository
- python3-jookies-messaging
- python3-txredisapi
- python3-txamqp3
- python3-smpp-pdu3
- python3-smpp-twisted3
rpm:
depends:
- epel-release
- python3 (>= 3.7)
- python3-twisted
- python3-dateutil
- python3-pyparsing
- python3-lockfile
- python3-requests
- python3-setuptools
- python3-mimeparse
- python3-celery
- python3-redis
- python3-amqp
- python3-tabulate
- python3-treq
# These dependencies come from Jookies package repository
- python3-jookies-messaging
- python3-txredisapi
- python3-txamqp3
- python3-smpp-pdu3
- python3-smpp-twisted3
# There's no python3-falcon package for CentOS/RHEL 8
# It will be handled by the pre/post scripts
#- python3-falcon