-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy path.shipyard.yml
206 lines (194 loc) · 6.83 KB
/
.shipyard.yml
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
name: kazoo-configs-freeswitch
custom_files: null
exposure: private
base_branch: origin/master
base_core: null
template: spec.tmpl
package:
centos7:
name: kazoo-configs-freeswitch
group: Productivity/Telephony
license: MPL1.1
build_arch: noarch
build_requires:
- rpm-build
summary: 'Kazoo specific configuration for FreeSWITCH'
description: |
In the Kazoo platform FreeSWITCH is utilized as simple
media server, so this configures a minimal number of
modules and a single SIP interface. Kazoo will
connect to FreeSWITCH and issue any necessary commands
for call control or dynamic configuration. If you
need help you can contact us via the dev mailing
list or on IRC at #2600hz on FreeNode.
dist: .el7.centos
requires:
sudo: { }
source: '%{_build_tar}'
prep: '%setup -q'
install: |
mkdir -p %{buildroot}/etc/kazoo
cp -r freeswitch %{buildroot}/etc/kazoo
cp CHANGELOG VERSION %{buildroot}/etc/kazoo/freeswitch
mkdir -p %{buildroot}/usr/sbin
cp -r system/sbin/* %{buildroot}/usr/sbin
chmod +x %{buildroot}/usr/sbin/*
mkdir -p %{buildroot}/etc/logrotate.d
if [ -f "system/logrotate.d/freeswitch.conf" ]; then
if ! grep -qE '^\s+missingok' system/logrotate.d/freeswitch.conf; then
sed -i -re 's/^[^{]+\{/&\n missingok/' system/logrotate.d/freeswitch.conf
fi
fi
cp -r system/logrotate.d/*.conf %{buildroot}/etc/logrotate.d
mkdir -p %{buildroot}/etc/security/limits.d
cp -r system/security/limits.d/*.conf %{buildroot}/etc/security/limits.d
mkdir -p %{buildroot}/usr/lib/systemd/system
cp system/systemd/* %{buildroot}/usr/lib/systemd/system
files:
doc:
- CHANGELOG
- VERSION
config:
-
mode: noreplace
path: /etc/kazoo/freeswitch
-
mode: noreplace
path: '/etc/logrotate.d/*freeswitch*'
-
mode: noreplace
path: '/etc/security/limits.d/*freeswitch*'
path:
- /usr/sbin/kazoo-freeswitch
- /usr/lib/systemd/system/kazoo-freeswitch.service
- /usr/lib/systemd/system/kazoo-freeswitch-logrotate.service
- /usr/lib/systemd/system/kazoo-freeswitch-logrotate.timer
url: 'http://www.2600hz.org'
vendor: 2600Hz
rockylinux8:
name: kazoo-configs-freeswitch
group: Productivity/Telephony
license: MPL1.1
build_arch: noarch
build_requires:
- rpm-build
summary: 'Kazoo specific configuration for FreeSWITCH'
description: |
In the Kazoo platform FreeSWITCH is utilized as simple
media server, so this configures a minimal number of
modules and a single SIP interface. Kazoo will
connect to FreeSWITCH and issue any necessary commands
for call control or dynamic configuration. If you
need help you can contact us via the dev mailing
list or on IRC at #2600hz on FreeNode.
dist: .el8
requires:
sudo: { }
source: '%{_build_tar}'
prep: '%setup -q'
install: |
mkdir -p %{buildroot}/etc/kazoo
cp -r freeswitch %{buildroot}/etc/kazoo
cp CHANGELOG VERSION %{buildroot}/etc/kazoo/freeswitch
mkdir -p %{buildroot}/usr/sbin
cp -r system/sbin/* %{buildroot}/usr/sbin
chmod +x %{buildroot}/usr/sbin/*
mkdir -p %{buildroot}/etc/logrotate.d
if [ -f "system/logrotate.d/freeswitch.conf" ]; then
if ! grep -qE '^\s+missingok' system/logrotate.d/freeswitch.conf; then
sed -i -re 's/^[^{]+\{/&\n missingok/' system/logrotate.d/freeswitch.conf
fi
fi
cp -r system/logrotate.d/*.conf %{buildroot}/etc/logrotate.d
mkdir -p %{buildroot}/etc/security/limits.d
cp -r system/security/limits.d/*.conf %{buildroot}/etc/security/limits.d
mkdir -p %{buildroot}/usr/lib/systemd/system
cp system/systemd/* %{buildroot}/usr/lib/systemd/system
files:
doc:
- CHANGELOG
- VERSION
config:
-
mode: noreplace
path: /etc/kazoo/freeswitch
-
mode: noreplace
path: '/etc/logrotate.d/*freeswitch*'
-
mode: noreplace
path: '/etc/security/limits.d/*freeswitch*'
path:
- /usr/sbin/kazoo-freeswitch
- /usr/lib/systemd/system/kazoo-freeswitch.service
- /usr/lib/systemd/system/kazoo-freeswitch-logrotate.service
- /usr/lib/systemd/system/kazoo-freeswitch-logrotate.timer
url: 'http://www.2600hz.org'
vendor: 2600Hz
rockylinux9:
name: kazoo-configs-freeswitch
group: Productivity/Telephony
license: MPL1.1
build_arch: noarch
build_requires:
- rpm-build
summary: 'Kazoo specific configuration for FreeSWITCH'
description: |
In the Kazoo platform FreeSWITCH is utilized as simple
media server, so this configures a minimal number of
modules and a single SIP interface. Kazoo will
connect to FreeSWITCH and issue any necessary commands
for call control or dynamic configuration. If you
need help you can contact us via the dev mailing
list or on IRC at #2600hz on FreeNode.
dist: .el9
requires:
sudo: { }
source: '%{_build_tar}'
prep: '%setup -q'
install: |
mkdir -p %{buildroot}/etc/kazoo
cp -r freeswitch %{buildroot}/etc/kazoo
cp CHANGELOG VERSION %{buildroot}/etc/kazoo/freeswitch
mkdir -p %{buildroot}/usr/sbin
cp -r system/sbin/* %{buildroot}/usr/sbin
chmod +x %{buildroot}/usr/sbin/*
mkdir -p %{buildroot}/etc/logrotate.d
if [ -f "system/logrotate.d/freeswitch.conf" ]; then
if ! grep -qE '^\s+missingok' system/logrotate.d/freeswitch.conf; then
sed -i -re 's/^[^{]+\{/&\n missingok/' system/logrotate.d/freeswitch.conf
fi
fi
cp -r system/logrotate.d/*.conf %{buildroot}/etc/logrotate.d
mkdir -p %{buildroot}/etc/security/limits.d
cp -r system/security/limits.d/*.conf %{buildroot}/etc/security/limits.d
mkdir -p %{buildroot}/usr/lib/systemd/system
cp system/systemd/* %{buildroot}/usr/lib/systemd/system
files:
doc:
- CHANGELOG
- VERSION
config:
-
mode: noreplace
path: /etc/kazoo/freeswitch
-
mode: noreplace
path: '/etc/logrotate.d/*freeswitch*'
-
mode: noreplace
path: '/etc/security/limits.d/*freeswitch*'
path:
- /usr/sbin/kazoo-freeswitch
- /usr/lib/systemd/system/kazoo-freeswitch.service
- /usr/lib/systemd/system/kazoo-freeswitch-logrotate.service
- /usr/lib/systemd/system/kazoo-freeswitch-logrotate.timer
url: 'http://www.2600hz.org'
vendor: 2600Hz
metapackage:
-
name: meta-kazoo-freeswitch
package: kazoo-configs-freeswitch
type: required
branch: master
dependencies: null