]>
Commit | Line | Data |
---|---|---|
4f9f35cf ER |
1 | # TODO |
2 | # - packages for *.renametojar files (-cgi and -ssi in server/lib) | |
3 | # | |
eca62e60 | 4 | # Conditional build: |
eca62e60 ER |
5 | %bcond_without javadoc # skip building javadocs |
6 | # | |
7 | Summary: Apache Servlet/JSP Engine, RI for Servlet 2.4/JSP 2.0 API | |
f045ab88 | 8 | Summary(pl.UTF-8): Silnik Servlet/JSP Apache będący wzorcową implementacją API Servlet 2.4/JSP 2.0 |
51bcbcd2 | 9 | Name: apache-tomcat |
f9d6e42f | 10 | Version: 5.5.27 |
cc4b6deb | 11 | Release: 0.1 |
802a649b | 12 | License: Apache |
623f0978 | 13 | Group: Development/Languages/Java |
51bcbcd2 | 14 | Source0: http://www.apache.org/dist/tomcat/tomcat-5/v%{version}/src/%{name}-%{version}-src.tar.gz |
f9d6e42f | 15 | # Source0-md5: eb3f196013550b9b1684e4ff18593a8e |
9ba83a1b | 16 | Source1: %{name}.init |
51bcbcd2 ER |
17 | Patch0: %{name}-skip-servletapi.patch |
18 | Patch1: %{name}-nsis.patch | |
19 | Patch2: %{name}-native.patch | |
20 | Patch3: %{name}-skip-jdt.patch | |
d61c5134 | 21 | Patch4: %{name}-no-connectors.patch |
f9d6e42f | 22 | Patch5: %{name}-dbcp.patch |
aef723ef | 23 | URL: http://tomcat.apache.org/ |
498e9275 | 24 | BuildRequires: ant >= 1.5.3 |
7ea1b4e7 ER |
25 | BuildRequires: ant-trax |
26 | BuildRequires: eclipse-jdt | |
6c0937ca | 27 | BuildRequires: jaas |
ac4a959f ER |
28 | BuildRequires: jakarta-commons-beanutils >= 1.7 |
29 | BuildRequires: jakarta-commons-collections >= 0:3.1 | |
17e20534 | 30 | BuildRequires: jakarta-commons-collections-tomcat5 >= 0:3.1 |
ac4a959f ER |
31 | BuildRequires: jakarta-commons-daemon >= 1.0 |
32 | BuildRequires: jakarta-commons-dbcp >= 0:1.2.1 | |
17e20534 | 33 | BuildRequires: jakarta-commons-dbcp-tomcat5 >= 0:1.2.1 |
ac4a959f ER |
34 | BuildRequires: jakarta-commons-digester >= 0:1.7 |
35 | BuildRequires: jakarta-commons-el >= 0:1.0 | |
36 | BuildRequires: jakarta-commons-fileupload >= 0:1.0 | |
7bfc9a0d | 37 | BuildRequires: jakarta-commons-httpclient |
ac4a959f ER |
38 | BuildRequires: jakarta-commons-launcher >= 0:0.9 |
39 | BuildRequires: jakarta-commons-logging >= 0:1.0.4 | |
7bfc9a0d | 40 | BuildRequires: jakarta-commons-modeler >= 2.0 |
ac4a959f | 41 | BuildRequires: jakarta-commons-pool >= 0:1.2 |
17e20534 | 42 | BuildRequires: jakarta-commons-pool-tomcat5 >= 0:1.2 |
ac4a959f | 43 | BuildRequires: jakarta-regexp >= 0:1.3 |
7bfc9a0d | 44 | BuildRequires: jakarta-servletapi5 |
ac4a959f | 45 | #BuildRequires: jakarta-struts >= 0:1.2.7 |
834c4a58 | 46 | BuildRequires: jakarta-struts >= 1.0.2 |
ac4a959f ER |
47 | BuildRequires: javamail >= 0:1.3.1 |
48 | BuildRequires: jaxp_parser_impl >= 0:2.7.1 | |
49 | BuildRequires: jdbc-stdext >= 0:2.0 | |
7ea1b4e7 | 50 | BuildRequires: jdk >= 1.5 |
a97a4eb2 | 51 | BuildRequires: jmx |
ac4a959f | 52 | BuildRequires: jndi >= 0:1.2.1 |
7ea1b4e7 | 53 | BuildRequires: jpackage-utils |
ac4a959f ER |
54 | BuildRequires: jsse >= 0:1.0.3 |
55 | BuildRequires: jta >= 0:1.0.1 | |
56 | BuildRequires: junit >= 0:3.8.1 | |
7ea1b4e7 | 57 | BuildRequires: logging-log4j |
ac4a959f | 58 | #BuildRequires: mx4j >= 0:3.0.1 |
7ea1b4e7 ER |
59 | BuildRequires: mx4j >= 1.1.1 |
60 | BuildRequires: puretls | |
61 | BuildRequires: rpmbuild(macros) >= 1.300 | |
ac4a959f | 62 | BuildRequires: xerces-j >= 0:2.7.1 |
f271c61b | 63 | BuildRequires: xml-commons |
ac4a959f | 64 | #BuildRequires: xml-commons >= 1.3 |
8129909e ER |
65 | Requires(post,postun): /sbin/ldconfig |
66 | Requires(post,preun): /sbin/chkconfig | |
67 | Requires(postun): /usr/sbin/groupdel | |
68 | Requires(postun): /usr/sbin/userdel | |
69 | Requires(pre): /bin/id | |
70 | Requires(pre): /usr/bin/getgid | |
71 | Requires(pre): /usr/sbin/groupadd | |
72 | Requires(pre): /usr/sbin/useradd | |
73 | Requires: jaas | |
7ea1b4e7 | 74 | #Requires: jaf >= 1.0.1 |
4f9f35cf ER |
75 | #Requires: jakarta-commons-beanutils |
76 | #Requires: jakarta-commons-collections | |
77 | #Requires: jakarta-commons-dbcp-tomcat5 | |
78 | #Requires: jakarta-commons-digester | |
79 | Requires: jakarta-commons-el | |
80 | #Requires: jakarta-commons-fileupload | |
81 | #Requires: jakarta-commons-logging | |
a0446376 | 82 | Requires: jakarta-regexp |
8129909e ER |
83 | Requires: jakarta-servletapi >= 4 |
84 | Requires: javamail >= 1.2 | |
85 | Requires: jaxp_parser_impl | |
a0446376 | 86 | Requires: jdbc-stdext >= 2.0 |
a0446376 | 87 | Requires: jndi >= 1.2.1 |
8129909e | 88 | Requires: jre >= 1.2 |
a0446376 JB |
89 | Requires: jsse >= 1.0.2 |
90 | Requires: jta >= 1.0.1 | |
8129909e | 91 | Requires: mx4j >= 1.1.1 |
eca62e60 | 92 | Requires: rc-scripts |
f271c61b | 93 | Requires: xml-commons |
834c4a58 | 94 | Provides: group(http) |
95 | Provides: user(http) | |
51bcbcd2 | 96 | Obsoletes: jakarta-tomcat |
623f0978 | 97 | BuildArch: noarch |
98 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
99 | ||
a97a4eb2 | 100 | %define _tomcatdir %{_datadir}/tomcat |
623f0978 | 101 | %define _logdir %{_var}/log |
a0446376 | 102 | %define _vardir %{_var}/lib/tomcat |
a97a4eb2 | 103 | %define _sysconfdir /etc/tomcat |
623f0978 | 104 | |
105 | %description | |
eca62e60 ER |
106 | Tomcat is the servlet container that is used in the official Reference |
107 | Implementation for the Java Servlet and JavaServer Pages technologies. | |
108 | The Java Servlet and JavaServer Pages specifications are developed by | |
109 | Sun under the Java Community Process. | |
623f0978 | 110 | |
eca62e60 ER |
111 | Tomcat is developed in an open and participatory environment and |
112 | released under the Apache Software License. Tomcat is intended to be a | |
113 | collaboration of the best-of-breed developers from around the world. | |
114 | We invite you to participate in this open development project. | |
115 | ||
f045ab88 JB |
116 | %description -l pl.UTF-8 |
117 | Tomcat to kontener serwletowy używany przez oficjalną implementację | |
118 | wzorcową technologii Java Servlet i JavaServer Pages. Specyfikacje | |
51bcbcd2 ER |
119 | Java Servlet i JavaServer Pages są rozwijane przez Suna zgodnie z Java |
120 | Community Process. | |
623f0978 | 121 | |
122 | %package doc | |
51bcbcd2 | 123 | Summary: The Apache Tomcat Servlet/JSP Container documentation |
f045ab88 | 124 | Summary(pl.UTF-8): Dokumentacja do Tomcata - kontekera Servlet/JSP |
623f0978 | 125 | Group: Development/Languages/Java |
51bcbcd2 | 126 | Obsoletes: jakarta-tomcat-doc |
623f0978 | 127 | |
128 | %description doc | |
e1f70dd8 JB |
129 | The Tomcat Servlet/JSP Container documentation. |
130 | ||
f045ab88 JB |
131 | %description doc -l pl.UTF-8 |
132 | Dokumentacja do Tomcata - kontekera Servlet/JSP. | |
623f0978 | 133 | |
134 | %prep | |
51bcbcd2 | 135 | %setup -q -n %{name}-%{version}-src |
7bfc9a0d ER |
136 | %patch0 -p1 |
137 | %patch1 -p1 | |
138 | %patch2 -p1 | |
139 | %patch3 -p1 | |
d61c5134 | 140 | %patch4 -p1 |
e40b89eb | 141 | %patch5 -p1 |
7bfc9a0d | 142 | |
d61c5134 | 143 | # servletapi built from jakarta-servletapi5.spec |
7bfc9a0d | 144 | rm -rf servletapi |
eca62e60 ER |
145 | |
146 | # Remove pre-built jars | |
147 | find -name '*.jar' | xargs rm -fv | |
623f0978 | 148 | |
149 | %build | |
eca62e60 ER |
150 | TOPDIR=$(pwd) |
151 | ||
7bfc9a0d ER |
152 | %if 0 |
153 | # build jasper javadocs | |
154 | cd jasper | |
155 | CLASSPATH=$(build-classpath xml-commons-apis) | |
4f9f35cf | 156 | # building jasper needs eclipse classes |
eca62e60 | 157 | cat > build.properties <<EOF |
4f9f35cf ER |
158 | ant.jar=$(find-jar ant) |
159 | servlet-api.jar=$(find-jar servlet-api) | |
160 | jsp-api.jar=$(find-jar jsp-api) | |
eca62e60 | 161 | tools.jar=%{java_home}/lib/tools.jar |
4f9f35cf ER |
162 | xercesImpl.jar=$(find-jar jaxp_parser_impl) |
163 | xmlParserAPIs.jar=$(find-jar xml-commons-apis) | |
164 | commons-collections.jar=$(find-jar commons-collections) | |
165 | commons-logging.jar=$(find-jar commons-logging) | |
166 | commons-daemon.jar=$(find-jar commons-daemon) | |
167 | junit.jar=$(find-jar junit) | |
168 | commons-el.jar=$(find-jar commons-el) | |
eca62e60 | 169 | EOF |
7bfc9a0d ER |
170 | #%ant dist |
171 | ||
172 | %if %{with javadoc} | |
173 | %ant javadoc \ | |
174 | -Dcompile.source=1.4 \ | |
175 | -Dbuild.compiler=modern \ | |
176 | ||
177 | %endif | |
178 | cd - | |
179 | %endif | |
eca62e60 ER |
180 | |
181 | # build tomcat 5.5 | |
7bfc9a0d | 182 | cat > build.properties <<EOF |
4f9f35cf ER |
183 | commons-beanutils.jar=$(find-jar commons-beanutils) |
184 | commons-launcher.jar=$(find-jar commons-launcher) | |
185 | commons-daemon.jar=$(find-jar commons-daemon) | |
186 | commons-digester.jar=$(find-jar commons-digester) | |
187 | commons-el.jar=$(find-jar commons-el) | |
188 | commons-logging-api.jar=$(find-jar commons-logging-api) | |
189 | commons-logging.jar=$(find-jar commons-logging) | |
190 | commons-modeler.jar=$(find-jar commons-modeler) | |
191 | xercesImpl.jar=$(find-jar jaxp_parser_impl) | |
192 | xml-apis.jar=$(find-jar xml-commons-apis) | |
193 | jdt.jar=$(find-jar org.eclipse.jdt.core) | |
c2e39bad | 194 | jasper-compiler-jdt.home=$TOPDIR/tomcat-deps |
4f9f35cf ER |
195 | commons-httpclient.jar=$(find-jar commons-httpclient) |
196 | commons-collections.jar=$(find-jar commons-collections) | |
197 | commons-fileupload.jar=$(find-jar commons-fileupload) | |
198 | jmx.jar=$(find-jar jmx) | |
199 | jmx-tools.jar=$(find-jar jmx) | |
200 | junit.jar=$(find-jar junit) | |
201 | struts.jar=$(find-jar struts) | |
202 | jcert.jar=$(find-jar jcert) | |
203 | jnet.jar=$(find-jar jnet) | |
204 | jsse.jar=$(find-jar jsse) | |
205 | jta.jar=$(find-jar jta) | |
206 | puretls.jar=$(find-jar puretls) | |
207 | servlet-api.jar=$(find-jar servlet-api) | |
7bfc9a0d | 208 | servletapi.build.notrequired=true |
4f9f35cf | 209 | jsp-api.jar=$(find-jar jsp-api) |
7bfc9a0d | 210 | jspapi.build.notrequired=true |
4f9f35cf ER |
211 | log4j.jar=$(find-jar log4j) |
212 | tomcat-dbcp.jar=$(find-jar jakarta-commons-dbcp-tomcat5) | |
eca62e60 ER |
213 | EOF |
214 | ||
d61c5134 ER |
215 | %ant \ |
216 | -Dcompile.source=1.4 | |
eca62e60 | 217 | |
623f0978 | 218 | %install |
219 | rm -rf $RPM_BUILD_ROOT | |
a97a4eb2 ER |
220 | cd build/build |
221 | TOMCATDIR=$RPM_BUILD_ROOT%{_tomcatdir} | |
222 | CATALINADIR=$RPM_BUILD_ROOT/var/lib/tomcat | |
623f0978 | 223 | |
a97a4eb2 ER |
224 | # we don't need dos scripts |
225 | rm -f bin/*.bat | |
f271c61b | 226 | |
a97a4eb2 | 227 | randpw=$(echo $RANDOM$$ | md5sum | cut -c 1-15) |
4f9f35cf | 228 | %{__sed} -i -e "s:SHUTDOWN:${randpw}:" conf/{server,server-minimal}.xml |
a97a4eb2 ER |
229 | |
230 | install -d $TOMCATDIR/bin \ | |
231 | $TOMCATDIR/common/{lib,classes,endorsed} \ | |
232 | $TOMCATDIR/server/{lib,classes} \ | |
233 | $TOMCATDIR/webapps \ | |
234 | $RPM_BUILD_ROOT%{_sysconfdir} \ | |
a0446376 JB |
235 | $RPM_BUILD_ROOT%{_logdir}/tomcat \ |
236 | $RPM_BUILD_ROOT%{_vardir}/work \ | |
237 | $RPM_BUILD_ROOT/etc/rc.d/init.d | |
389e46b9 | 238 | |
a97a4eb2 | 239 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/tomcat |
623f0978 | 240 | |
a97a4eb2 ER |
241 | cp -pR conf/* $RPM_BUILD_ROOT%{_sysconfdir} |
242 | cp -HR bin common server $TOMCATDIR | |
eca62e60 | 243 | |
4f9f35cf ER |
244 | cp -rf server/webapps $TOMCATDIR/server |
245 | cp -rf webapps $TOMCATDIR | |
246 | cp -rf shared $TOMCATDIR | |
247 | cp -rf temp $TOMCATDIR | |
a97a4eb2 | 248 | |
4f9f35cf ER |
249 | ln -sf %{_logdir}/tomcat $TOMCATDIR/logs |
250 | ln -sf %{_vardir}/work $TOMCATDIR/work | |
251 | ln -sf %{_sysconfdir} $TOMCATDIR/conf | |
a97a4eb2 ER |
252 | |
253 | # symlinks instead of copies | |
4f9f35cf ER |
254 | ln -sf $(find-jar commons-el) $TOMCATDIR/common/lib/commons-el.jar |
255 | ln -sf $(find-jar jakarta-commons-dbcp-tomcat5) $TOMCATDIR/common/lib/jakarta-commons-dbcp-tomcat5.jar | |
256 | ln -sf $(find-jar servlet-api) $TOMCATDIR/common/lib/servlet-api.jar | |
257 | ||
258 | ln -sf $(find-jar commons-modeler) $TOMCATDIR/server/lib/commons-modeler.jar | |
259 | ||
260 | %if 0 | |
261 | # do not make these symlinks as ant didn't do | |
262 | ln -sf $(find-jar commons-daemon) $TOMCATDIR/bin/commons-daemon.jar | |
263 | ln -sf $(find-jar activation) $TOMCATDIR/common/lib/activation.jar | |
264 | ln -sf $(find-jar ant) $TOMCATDIR/common/lib/ant.jar | |
265 | ln -sf $(find-jar commons-collections) $TOMCATDIR/common/lib/commons-collections.jar | |
266 | ln -sf $(find-jar commons-dbcp) $TOMCATDIR/common/lib/commons-dbcp.jar | |
267 | ln -sf $(find-jar commons-logging-api) $TOMCATDIR/common/lib/commons-logging-api.jar | |
268 | ln -sf $(find-jar commons-pool) $TOMCATDIR/common/lib/commons-pool.jar | |
269 | ln -sf $(find-jar servlet) $TOMCATDIR/common/lib/servlet.jar | |
270 | ln -sf $(find-jar servlet) $TOMCATDIR/common/lib/servletapi4.jar | |
271 | ln -sf $(find-jar jdbc-stdext) $TOMCATDIR/common/lib/jdbc-stdext.jar | |
272 | ln -sf jdbc-stdext.jar $TOMCATDIR/common/lib/jdbc2_0-stdext.jar | |
273 | ln -sf jdbc-stdext.jar $TOMCATDIR/common/lib/jdbc-stdext-2.0.jar | |
274 | ln -sf $(find-jar jmxri) $TOMCATDIR/common/lib/jmxri.jar | |
275 | ln -sf $(find-jar jndi) $TOMCATDIR/common/lib/jndi.jar | |
276 | ln -sf $(find-jar jta) $TOMCATDIR/common/lib/jta.jar | |
277 | ln -sf $(find-jar mail) $TOMCATDIR/common/lib/mail.jar | |
278 | ln -sf $(find-jar jsse) $TOMCATDIR/common/lib/jsse.jar | |
279 | ln -sf $(find-jar junit) $TOMCATDIR/common/lib/junit.jar | |
280 | ln -sf $(find-jar mailapi) $TOMCATDIR/common/lib/mailapi.jar | |
281 | ln -sf $(find-jar pop3) $TOMCATDIR/common/lib/pop3.jar | |
282 | ln -sf pop3.jar $TOMCATDIR/common/lib/pop.jar | |
283 | ln -sf $(find-jar smtp) $TOMCATDIR/common/lib/smtp.jar | |
284 | ln -sf $(find-jar imap) $TOMCATDIR/common/lib/imap.jar | |
285 | ln -sf $(find-jar commons-beanutils) $TOMCATDIR/server/lib/commons-beanutils.jar | |
286 | ln -sf $(find-jar commons-digester) $TOMCATDIR/server/lib/commons-digester.jar | |
287 | ln -sf $(find-jar commons-fileupload) $TOMCATDIR/server/lib/commons-fileupload.jar | |
288 | ln -sf $(find-jar commons-logging) $TOMCATDIR/server/lib/commons-logging.jar | |
289 | ln -sf $(find-jar jaas) $TOMCATDIR/server/lib/jaas.jar | |
290 | ln -sf $(find-jar mx4j-jmx) $TOMCATDIR/server/lib/mx4j-jmx.jar | |
291 | ln -sf $(find-jar regexp) $TOMCATDIR/server/lib/regexp.jar | |
292 | ln -sf $(find-jar regexp) $TOMCATDIR/server/lib/jakarta-regexp-1.2.jar | |
293 | ln -sf $(find-jar regexp) $TOMCATDIR/server/lib/regexp-1.2.jar | |
294 | %endif | |
295 | ||
296 | ln -sf $(find-jar jaxp_parser_impl) $TOMCATDIR/common/endorsed/jaxp_parser_impl.jar | |
297 | ln -sf $(find-jar xml-commons-apis) $TOMCATDIR/common/endorsed/xml-commons-apis.jar | |
298 | ln -sf $(find-jar struts) $TOMCATDIR/server/webapps/admin/WEB-INF/lib/struts.jar | |
a0446376 | 299 | |
623f0978 | 300 | %clean |
301 | rm -rf $RPM_BUILD_ROOT | |
302 | ||
2b56d949 | 303 | %pre |
37375245 ER |
304 | %groupadd -g 51 -r -f http |
305 | %useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http | |
2b56d949 | 306 | |
307 | %post | |
308 | /sbin/chkconfig --add tomcat | |
6c0937ca | 309 | %service tomcat restart |
2b56d949 | 310 | |
311 | %preun | |
312 | if [ "$1" = "0" ]; then | |
6c0937ca | 313 | %service tomcat stop |
2b56d949 | 314 | /sbin/chkconfig --del tomcat |
315 | fi | |
316 | ||
317 | %postun | |
318 | if [ "$1" = "0" ]; then | |
834c4a58 | 319 | %userremove http |
320 | %groupremove http | |
2b56d949 | 321 | fi |
322 | ||
623f0978 | 323 | %files |
324 | %defattr(644,root,root,755) | |
a97a4eb2 ER |
325 | %doc build/{RELEASE-NOTES,RUNNING.txt} |
326 | # tomcat wants to regenerate tomcat-users.xml | |
327 | %dir %attr(775,root,http) %{_sysconfdir} | |
328 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/* | |
329 | %attr(754,root,root) /etc/rc.d/init.d/tomcat | |
a0446376 JB |
330 | %dir %{_tomcatdir} |
331 | %dir %{_tomcatdir}/bin | |
a97a4eb2 ER |
332 | %{_tomcatdir}/bin/catalina-tasks.xml |
333 | %{_tomcatdir}/bin/jkstatus-tasks.xml | |
334 | %{_tomcatdir}/bin/jmxaccessor-tasks.xml | |
389e46b9 | 335 | %attr(755,root,root) %{_tomcatdir}/bin/*.sh |
389e46b9 | 336 | %{_tomcatdir}/bin/*.jar |
a0446376 JB |
337 | %dir %{_tomcatdir}/common |
338 | %dir %{_tomcatdir}/common/classes | |
2b56d949 | 339 | %dir %{_tomcatdir}/common/endorsed |
a97a4eb2 | 340 | %dir %{_tomcatdir}/common/i18n |
f271c61b | 341 | %{_tomcatdir}/common/endorsed/*.jar |
a97a4eb2 ER |
342 | %{_tomcatdir}/common/i18n/tomcat-i18n-en.jar |
343 | %lang(es) %{_tomcatdir}/common/i18n/tomcat-i18n-es.jar | |
344 | %lang(fr) %{_tomcatdir}/common/i18n/tomcat-i18n-fr.jar | |
345 | %lang(ja) %{_tomcatdir}/common/i18n/tomcat-i18n-ja.jar | |
623f0978 | 346 | %{_tomcatdir}/common/lib |
347 | %{_tomcatdir}/conf | |
623f0978 | 348 | %{_tomcatdir}/logs |
a0446376 JB |
349 | %dir %{_tomcatdir}/server |
350 | %dir %{_tomcatdir}/server/classes | |
623f0978 | 351 | %{_tomcatdir}/server/lib |
2b56d949 | 352 | %{_tomcatdir}/server/webapps |
a0446376 JB |
353 | %{_tomcatdir}/webapps |
354 | %{_tomcatdir}/work | |
2b56d949 | 355 | %{_tomcatdir}/shared |
356 | %{_tomcatdir}/temp | |
a0446376 | 357 | %dir %{_vardir} |
a97a4eb2 ER |
358 | %dir %attr(1730,root,http) %{_vardir}/work |
359 | %dir %attr(1730,root,http) %{_logdir}/tomcat | |
623f0978 | 360 | |
a97a4eb2 | 361 | %if 0 |
623f0978 | 362 | %files doc |
ff740076 | 363 | %defattr(644,root,root,755) |
623f0978 | 364 | %doc catalina/docs/* |
a97a4eb2 | 365 | %endif |