]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.debian-buster
LP1615805 No inputs after submit in patron search (AngularJS)
[Evergreen.git] / Open-ILS / src / extras / install / Makefile.debian-buster
1 # install files for Debian Buster
2
3 DIR = $(dir $(lastword $(MAKEFILE_LIST)))
4
5 export DEB_PGSQL_COMMON_MODS = \
6         gcc \
7         libbusiness-isbn-perl \
8         libjson-xs-perl \
9         liblibrary-callnumber-lc-perl \
10         libmarc-record-perl \
11         libmarc-xml-perl \
12         librose-uri-perl \
13         libuuid-tiny-perl \
14         libxml-libxml-perl \
15         libxml-libxslt-perl
16
17 # NOTE: The 4 '*redis*' packages are also installed by OpenSRF+Redis
18 export DEBS = \
19         $(DEB_PGSQL_COMMON_MODS) \
20         redis-server\
21         redis-tools\
22         libredis-perl\
23         libhiredis-dev\
24         apache2-dev\
25         aspell\
26         aspell-en\
27         libapache2-mod-perl2\
28         libbusiness-creditcard-perl\
29         libbusiness-isbn-data-perl\
30         libbusiness-issn-perl\
31         libbusiness-onlinepayment-authorizenet-perl\
32         libbusiness-onlinepayment-payflowpro-perl\
33         libbusiness-onlinepayment-perl\
34         libdate-manip-perl\
35         libdatetime-format-builder-perl\
36         libdatetime-format-iso8601-perl\
37         libdatetime-format-mail-perl\
38         libdatetime-perl\
39         libdatetime-set-perl\
40         libdatetime-timezone-perl\
41         libdbd-pg-perl\
42         libdbd-pgsql\
43         libdbi-dev\
44         libdbi1\
45         libemail-simple-perl\
46         libemail-mime-perl\
47         libexcel-writer-xlsx-perl\
48         libgd-graph3d-perl\
49         libhttp-oai-perl\
50         libgeo-coder-osm-perl\
51         libhttp-async-perl\
52         libhttp-oai-perl\
53         liblocale-maketext-lexicon-perl\
54         liblog-log4perl-perl\
55         libmarc-charset-perl \
56         libncurses5-dev\
57         libnet-https-nb-perl\
58         libnet-ip-perl\
59         libnet-ldap-perl \
60         libnet-server-perl\
61         libnet-ssh2-perl\
62         libnet-sftp-foreign-perl\
63         libnet-z3950-simple2zoom-perl\
64         libnet-z3950-simpleserver-perl\
65         libnet-z3950-zoom-perl \
66         libnspr4-dev\
67         libole-storage-lite-perl\
68         libparent-perl\
69         libpq5\
70         libpq-dev\
71         libpcre3-dev\
72         librpc-xml-perl\
73         libsru-perl\
74         libssh2-1-dev\
75         libtemplate-plugin-posix-perl\
76         libtest-mockobject-perl\
77         libtest-warn-perl\
78         libtest-output-perl\
79         libtext-aspell-perl\
80         libtext-csv-perl\
81         libuniversal-require-perl\
82         libunix-syslog-perl\
83         libyaz-dev\
84         postgresql-client-15\
85         libsoap-lite-perl\
86         libbz2-dev\
87         libparse-recdescent-perl\
88         libhtml-defang-perl\
89         libconfig-general-perl\
90         yaz
91
92 export DEB_APACHE_MODS = \
93     expires\
94     headers\
95     include\
96     proxy\
97     proxy_http\
98     rewrite\
99     cgi\
100     perl\
101     remoteip
102
103 export DEB_APACHE_DISMODS = \
104     deflate
105
106 export DEB_APACHE_DISCONF = \
107     serve-cgi-bin
108
109 export CPAN_MODULES = \
110         Geo::Coder::Google \
111         Geo::Coder::Bing \
112         Business::OnlinePayment::PayPal \
113         String::KeyboardDistance \
114         Test::MockModule \
115         Text::Levenshtein::Damerau::XS \
116         Email::Send
117
118 export CPAN_MODULES_FORCE = \
119         Business::Stripe \
120         Class::DBI::Frozen::301
121
122 export CPAN_MODULES_PGSQL = \
123         String::KeyboardDistance \
124         Text::Levenshtein::Damerau::XS
125
126 PGSQL_SERVER_DEBS_10 = \
127         $(DEB_PGSQL_COMMON_MODS) \
128         postgresql-10 \
129         postgresql-plperl-10 \
130         postgresql-server-dev-10
131
132 PGSQL_SERVER_DEBS_11 = \
133         $(DEB_PGSQL_COMMON_MODS) \
134         postgresql-11 \
135         postgresql-plperl-11 \
136         postgresql-server-dev-11
137
138 PGSQL_SERVER_DEBS_12 = \
139         $(DEB_PGSQL_COMMON_MODS) \
140         postgresql-12 \
141         postgresql-plperl-12 \
142         postgresql-server-dev-12
143
144 PGSQL_SERVER_DEBS_13 = \
145         $(DEB_PGSQL_COMMON_MODS) \
146         postgresql-13 \
147         postgresql-plperl-13 \
148         postgresql-server-dev-13
149
150 PGSQL_SERVER_DEBS_14 = \
151         $(DEB_PGSQL_COMMON_MODS) \
152         postgresql-14 \
153         postgresql-plperl-14 \
154         postgresql-server-dev-14
155
156 PGSQL_SERVER_DEBS_15 = \
157         $(DEB_PGSQL_COMMON_MODS) \
158         postgresql-15 \
159         postgresql-plperl-15 \
160         postgresql-server-dev-15
161
162 # note: some prereqs are repeated in the developer/packager 
163 # sections to support building Evergreen packages on servers
164 # where Evergreen and its prereqs are not installed.
165
166 DEVELOPER_DEBS = \
167         automake \
168         autoconf \
169         libtool
170
171 PACKAGER_DEBS = \
172         asciidoc \
173         source-highlight \
174         zip \
175         unzip \
176         nsis
177
178 TRANSLATOR_DEBS = \
179         libtemplate-perl \
180         liblocale-maketext-lexicon-perl \
181         translate-toolkit \
182         python3-dev \
183         python3-levenshtein \
184         python3-polib \
185         python3-setuptools \
186         python3-simplejson \
187         python3-lxml \
188         bzr
189
190 all:
191         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
192         make -f $(DIR)/Makefile.debian debian_postgresql_repo
193         make -f $(DIR)/Makefile.debian install_debs
194         make -f $(DIR)/Makefile.common install_cpan
195         make -f $(DIR)/Makefile.common install_cpan_force
196         make -f $(DIR)/Makefile.debian debian_sys_config
197
198 install_postgres_server_10:
199         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
200         make -f $(DIR)/Makefile.debian debian_postgresql_repo
201         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_10)"
202         make -f $(DIR)/Makefile.common install_cpan_pgsql
203
204 install_postgres_server_11:
205         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
206         make -f $(DIR)/Makefile.debian debian_postgresql_repo
207         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_11)"
208         make -f $(DIR)/Makefile.common install_cpan_pgsql
209
210 install_postgres_server_12:
211         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
212         make -f $(DIR)/Makefile.debian debian_postgresql_repo
213         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_12)"
214         make -f $(DIR)/Makefile.common install_cpan_pgsql
215
216 install_postgres_server_13:
217         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
218         make -f $(DIR)/Makefile.debian debian_postgresql_repo
219         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_13)"
220         make -f $(DIR)/Makefile.common install_cpan_pgsql
221
222 install_postgres_server_14:
223         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
224         make -f $(DIR)/Makefile.debian debian_postgresql_repo
225         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_14)"
226         make -f $(DIR)/Makefile.common install_cpan_pgsql
227
228 install_postgres_server_15:
229         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
230         make -f $(DIR)/Makefile.debian debian_postgresql_repo
231         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_15)"
232         make -f $(DIR)/Makefile.common install_cpan_pgsql
233
234 # note: if/when grunt-cli is available as a
235 # package, use the packaged version instead.
236 install_developer:
237         make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
238         make -f $(DIR)/Makefile.common install_nodejs_from_source
239
240 install_translator: install_developer
241         make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"
242
243 install_packager: install_developer install_translator
244         make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
245
246 clean:
247         make -f $(DIR)/Makefile.common clean
248         make -f $(DIR)/Makefile.debian clean
249
250 # vim:noet:sw=4:ts=4: