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