forked from zammad/zammad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pkgr.yml
166 lines (166 loc) · 5.16 KB
/
.pkgr.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
name: zammad
description: Zammad is a web based open source helpdesk/customer support system
homepage: https://zammad.org
notifications: false
targets:
centos-7:
dependencies:
- curl
- elasticsearch
- nginx
# Only CentOS 7 has the old PostgreSQL 9.2, so explicitly require 9.3 here.
- "postgresql-server >= 9.3"
- which
- epel-release
- imlib2
- shared-mime-info
- redis
build_dependencies:
- https://download.fedoraproject.org/pub/epel/7/x86_64/Packages/i/imlib2-1.4.9-8.el7.x86_64.rpm
- https://download.fedoraproject.org/pub/epel/7/x86_64/Packages/i/imlib2-devel-1.4.9-8.el7.x86_64.rpm
- shared-mime-info
centos-8:
dependencies:
- curl
- elasticsearch
- nginx
- postgresql-server
- which
- epel-release
- imlib2
- shared-mime-info
- redis
build_dependencies:
- https://download.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/i/imlib2-1.4.9-8.el8.x86_64.rpm
- https://download.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/i/imlib2-devel-1.4.9-8.el8.x86_64.rpm
- shared-mime-info
debian-10:
dependencies:
- curl
- elasticsearch|elasticsearch-oss
- nginx|apache2
- postgresql|mariadb-server
- libimlib2
- shared-mime-info
- redis
build_dependencies:
- libimlib2
- libimlib2-dev
- shared-mime-info
debian-11:
dependencies:
- curl
- elasticsearch|elasticsearch-oss
- nginx|apache2
- postgresql|mariadb-server
- libimlib2
- shared-mime-info
- redis
build_dependencies:
- libimlib2
- libimlib2-dev
- shared-mime-info
ubuntu-16.04:
dependencies:
- curl
- elasticsearch|elasticsearch-oss
- nginx|apache2
- postgresql|mysql-server|mariadb-server
- libimlib2
- shared-mime-info
- redis
build_dependencies:
- libimlib2
- libimlib2-dev
- shared-mime-info
ubuntu-18.04:
dependencies:
- curl
- elasticsearch|elasticsearch-oss
- nginx|apache2
- postgresql|mysql-server|mariadb-server
- libimlib2
- shared-mime-info
- redis
build_dependencies:
- libimlib2
- libimlib2-dev
- shared-mime-info
ubuntu-20.04:
dependencies:
- curl
- elasticsearch|elasticsearch-oss
- nginx|apache2
- postgresql|mysql-server|mariadb-server
- libimlib2
- shared-mime-info
- redis
build_dependencies:
- libimlib2
- libimlib2-dev
- shared-mime-info
ubuntu-22.04:
dependencies:
- curl
- elasticsearch|elasticsearch-oss
- nginx|apache2
- postgresql|mysql-server|mariadb-server
- libimlib2
- shared-mime-info
- redis
build_dependencies:
- libimlib2
- libimlib2-dev
- shared-mime-info
sles-12:
dependencies:
- curl
- elasticsearch
- nginx
- postgresql-server
- libImlib2-1
- imlib2
- redis
build_dependencies:
# Add packages required for build that are not in the official SLES repo.
# Direct URLs must be used since we cannot add repos on packager.io
# (would require a paid SLES account and credential management on packager.io).
- https://ftp.gwdg.de/pub/opensuse/discontinued/distribution/12.3/repo/oss/suse/x86_64/imlib2-1.4.5-12.1.1.x86_64.rpm
- https://ftp.gwdg.de/pub/opensuse/discontinued/distribution/12.3/repo/oss/suse/x86_64/imlib2-devel-1.4.5-12.1.1.x86_64.rpm
- https://ftp.gwdg.de/pub/opensuse/discontinued/distribution/12.3/repo/oss/suse/x86_64/imlib2-filters-1.4.5-12.1.1.x86_64.rpm
- https://ftp.gwdg.de/pub/opensuse/discontinued/distribution/12.3/repo/oss/suse/x86_64/libImlib2-1-1.4.5-12.1.1.x86_64.rpm
- shared-mime-info
sles-15:
dependencies:
- curl
- elasticsearch
- nginx
- postgresql-server
- libImlib2-1
- imlib2
- shared-mime-info
- redis
build_dependencies:
# Add packages required for build that are not in the official SLES repo.
# Direct URLs must be used since we cannot add repos on packager.io
# (would require a paid SLES account and credential management on packager.io).
- https://ftp.lysator.liu.se/pub/opensuse/ports/aarch64/distribution/leap/15.4/repo/oss/x86_64/imlib2-1.4.10-1.28.x86_64.rpm
- https://ftp.lysator.liu.se/pub/opensuse/ports/aarch64/distribution/leap/15.4/repo/oss/x86_64/imlib2-devel-1.4.10-1.28.x86_64.rpm
- https://ftp.lysator.liu.se/pub/opensuse/ports/aarch64/distribution/leap/15.4/repo/oss/x86_64/imlib2-filters-1.4.10-1.28.x86_64.rpm
- https://ftp.lysator.liu.se/pub/opensuse/ports/aarch64/distribution/leap/15.4/repo/oss/x86_64/libImlib2-1-1.4.10-1.28.x86_64.rpm
- shared-mime-info
- libmariadb-devel
before:
- contrib/packager.io/before.sh
after:
- contrib/packager.io/after.sh
env:
- RAILS_ENV=production
- ZAMMAD_BIND_IP=127.0.0.1
- ZAMMAD_RAILS_PORT=3000
- ZAMMAD_WEBSOCKET_PORT=6042
services:
- postgres:13
- redis
before_install: contrib/packager.io/preinstall.sh
after_install: contrib/packager.io/postinstall.sh