rt.spec 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  1. ##
  2. ## rt.spec -- OpenPKG RPM Specification
  3. ## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
  4. ## Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
  5. ## Copyright (c) 2000-2003 Ralf S. Engelschall <rse@engelschall.com>
  6. ##
  7. ## Permission to use, copy, modify, and distribute this software for
  8. ## any purpose with or without fee is hereby granted, provided that
  9. ## the above copyright notice and this permission notice appear in all
  10. ## copies.
  11. ##
  12. ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  13. ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  14. ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  15. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
  16. ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  17. ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  18. ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  19. ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  20. ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  21. ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  22. ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  23. ## SUCH DAMAGE.
  24. ##
  25. # package versions
  26. %define V_real 3-0-2
  27. %define V_here 3.0.2
  28. %define V_log_dispatch 2.04
  29. %define V_html_mason 1.20
  30. %define V_libapreq 1.1
  31. %define V_www_mechanize 0.40
  32. %define V_mldbm 2.01
  33. %define V_html_format 2.03
  34. %define V_test_inline 0.15
  35. %define V_locale_maketext_lexicon 0.26
  36. %define V_locale_maketext_fuzzy 0.02
  37. %define V_regexp_common 2.113
  38. # package information
  39. Name: rt
  40. Summary: Request Tracker
  41. URL: http://www.fsck.com/projects/rt/
  42. Vendor: Fsck
  43. Packager: The OpenPKG Project
  44. Distribution: OpenPKG [EVAL]
  45. Group: Database
  46. License: GPL
  47. Version: %{V_here}
  48. Release: 20030516
  49. # package options
  50. %option with_color_primary 336699
  51. %option with_db_mysql yes
  52. %option with_db_postgresql no
  53. %option with_db_oracle no
  54. # fixing conflicting options
  55. %if "%{with_db_oracle}" == "yes"
  56. %undefine with_db_postgresql
  57. %define with_db_postgresql no
  58. %endif
  59. %if "%{with_db_oracle}" == "yes" || "%{with_db_postgresql}" == "yes"
  60. %undefine with_db_mysql
  61. %define with_db_mysql no
  62. %endif
  63. # list of sources
  64. Source0: http://www.cpan.org/modules/by-module/Log/Log-Dispatch-%{V_log_dispatch}.tar.gz
  65. Source1: http://www.cpan.org/modules/by-authors/id/J/JI/JIMW/libapreq-%{V_libapreq}.tar.gz
  66. Source2: http://www.cpan.org/modules/by-module/HTML/HTML-Mason-%{V_html_mason}.tar.gz
  67. Source3: http://www.cpan.org/modules/by-authors/id/P/PE/PETDANCE/WWW-Mechanize-%{V_www_mechanize}.tar.gz
  68. Source4: http://www.cpan.org/modules/by-authors/id/C/CH/CHAMAS/MLDBM-%{V_mldbm}.tar.gz
  69. Source5: http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/HTML-Format-%{V_html_format}.tar.gz
  70. Source6: http://www.cpan.org/modules/by-authors/id/M/MS/MSCHWERN/Test-Inline-%{V_test_inline}.tar.gz
  71. Source7: http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Maketext-Lexicon-%{V_locale_maketext_lexicon}.tar.gz
  72. Source8: http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Maketext-Fuzzy-%{V_locale_maketext_fuzzy}.tar.gz
  73. Source9: http://www.cpan.org/modules/by-authors/id/A/AB/ABIGAIL/Regexp-Common-%{V_regexp_common}.tar.gz
  74. Source10: http://www.fsck.com/pub/rt/release/rt-%{V_real}.tar.gz
  75. Source11: rc.rt
  76. Source12: rtsetup
  77. Source13: rtcleanup
  78. Source14: rtupgrade
  79. Source15: rtapachectl
  80. Source16: rtapache.conf
  81. Source17: config.layout
  82. Source18: rt-mailgate.sh
  83. Patch0: rt.patch
  84. # build information
  85. Prefix: %{l_prefix}
  86. BuildRoot: %{l_buildroot}
  87. BuildPreReq: OpenPKG, openpkg >= 20020206, perl, perl-openpkg
  88. BuildPreReq: perl-sys, perl-util, perl-ds, perl-text, perl-apache
  89. BuildPreReq: perl-dbi, perl-dbix, perl-mail, perl-www
  90. BuildPreReq: apache, apache::with_mod_perl = yes
  91. PreReq: OpenPKG, openpkg >= 20020206, perl, perl-openpkg
  92. PreReq: perl-sys, perl-util, perl-ds, perl-text, perl-apache
  93. PreReq: perl-dbi, perl-dbix, perl-mail, perl-www
  94. PreReq: apache, apache::with_mod_perl = yes
  95. %if "%{with_db_mysql}" == "yes"
  96. PreReq: MYSQL, perl-dbi::with_dbd_mysql = yes
  97. %endif
  98. %if "%{with_db_postgresql}" == "yes"
  99. PreReq: postgresql, perl-dbi::with_dbd_pg = yes
  100. %endif
  101. %if "%{with_db_oracle}" == "yes"
  102. PreReq: oracle, perl-dbi::with_dbd_oracle = yes
  103. %endif
  104. PreReq: MTA
  105. AutoReq: no
  106. AutoReqProv: no
  107. %description
  108. RT is an industrial-grade ticketing system. It lets a group of
  109. people intelligently and efficiently manage requests submitted by a
  110. community of users. RT is used by systems administrators, customer
  111. support staffs, NOCs, developers and even marketing departments at
  112. over a thousand sites around the world.
  113. %prep
  114. %setup -q -c
  115. %setup -q -T -D -a 1
  116. %setup -q -T -D -a 2
  117. %setup -q -T -D -a 3
  118. %setup -q -T -D -a 4
  119. %setup -q -T -D -a 5
  120. %setup -q -T -D -a 6
  121. %setup -q -T -D -a 7
  122. %setup -q -T -D -a 8
  123. %setup -q -T -D -a 9
  124. %setup -q -T -D -a 10
  125. ( cd rt-%{V_real}
  126. %patch0 -p0
  127. ) || exit $?
  128. %{l_shtool} install -c -m 0644 \
  129. -e 's;@l_prefix@;%{l_prefix};' \
  130. %{SOURCE config.layout} rt-%{V_real}/.
  131. %{l_shtool} subst \
  132. -e 's;chown;true;g' \
  133. -e 's;chgrp;true;g' \
  134. -e 's;chmod;true;g' \
  135. -e 's;mkdir -p;%{l_shtool} mkdir -p;g' \
  136. rt-%{V_real}/Makefile.in
  137. %{l_shtool} subst \
  138. -e 's;Locale::Maketext 1\.04;Locale::Maketext 1.03;' \
  139. rt-%{V_real}/lib/RT/I18N.pm
  140. %build
  141. ( cd rt-%{V_real}
  142. %{l_shtool} subst \
  143. -e 's;/usr/sbin/sendmail;%{l_prefix}/sbin/sendmail;g' \
  144. etc/RT_Config.pm.in
  145. PERL=%{l_prefix}/bin/perl
  146. ./configure \
  147. --enable-layout=OPKG \
  148. --with-db-type=mysql \
  149. --with-db-host=localhost \
  150. --with-db-home=%{l_prefix} \
  151. %if "%{with_db_mysql}" == "yes"
  152. --with-db-dba=root \
  153. --with-db-database=rt \
  154. --with-db-user=rt \
  155. --with-db-pass=XXX \
  156. %endif
  157. %if "%{with_db_postgresql}" == "yes"
  158. --with-db-dba=postgresql \
  159. --with-db-database=rt \
  160. --with-db-user=rt \
  161. --with-db-pass=XXX \
  162. %endif
  163. %if "%{with_db_oracle}" == "yes"
  164. --with-db-dba=system \
  165. --with-db-database=rt \
  166. --with-db-user=rt \
  167. --with-db-pass=XXX \
  168. %endif
  169. --with-web-user=%{l_nusr} \
  170. --with-web-group=%{l_ngrp} \
  171. --with-customdir=%{l_prefix}/etc/rt/local \
  172. --with-customhtmldir=%{l_prefix}/etc/rt/local/html \
  173. --with-customlibdir=%{l_prefix}/etc/rt/local/lib \
  174. --with-customlexdir=%{l_prefix}/etc/rt/local/po
  175. ) || exit $?
  176. %install
  177. rm -rf $RPM_BUILD_ROOT
  178. # perform common prolog operations
  179. rt=%{l_prefix}/libexec/rt
  180. %{l_shtool} mkdir -f -p -m 755 ${RPM_BUILD_ROOT}$rt
  181. %{l_prefix}/bin/perl-openpkg prolog
  182. %{l_prefix}/bin/perl-openpkg install \
  183. -d Log-Dispatch-%{V_log_dispatch} \
  184. -p ${RPM_BUILD_ROOT}$rt
  185. %{l_prefix}/bin/perl-openpkg install \
  186. -d HTML-Mason-%{V_html_mason} \
  187. -p ${RPM_BUILD_ROOT}$rt
  188. %{l_prefix}/bin/perl-openpkg install \
  189. -d libapreq-%{V_libapreq} \
  190. -p ${RPM_BUILD_ROOT}$rt
  191. %{l_prefix}/bin/perl-openpkg install \
  192. -d WWW-Mechanize-%{V_www_mechanize} \
  193. -p ${RPM_BUILD_ROOT}$rt
  194. %{l_prefix}/bin/perl-openpkg install \
  195. -d MLDBM-%{V_mldbm} \
  196. -p ${RPM_BUILD_ROOT}$rt
  197. %{l_prefix}/bin/perl-openpkg install \
  198. -d HTML-Format-%{V_html_format} \
  199. -p ${RPM_BUILD_ROOT}$rt
  200. %{l_prefix}/bin/perl-openpkg install \
  201. -d Test-Inline-%{V_test_inline} \
  202. -p ${RPM_BUILD_ROOT}$rt
  203. %{l_prefix}/bin/perl-openpkg install \
  204. -d Locale-Maketext-Lexicon-%{V_locale_maketext_lexicon} \
  205. -p ${RPM_BUILD_ROOT}$rt
  206. %{l_prefix}/bin/perl-openpkg install \
  207. -d Locale-Maketext-Fuzzy-%{V_locale_maketext_fuzzy} \
  208. -p ${RPM_BUILD_ROOT}$rt
  209. %{l_prefix}/bin/perl-openpkg install \
  210. -d Regexp-Common-%{V_regexp_common} \
  211. -p ${RPM_BUILD_ROOT}$rt
  212. # perform common epilog operations
  213. %{l_prefix}/bin/perl-openpkg epilog
  214. %{l_shtool} mkdir -f -p -m 0755 \
  215. $RPM_BUILD_ROOT%{l_prefix}/sbin \
  216. $RPM_BUILD_ROOT%{l_prefix}/etc/rt \
  217. $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
  218. $RPM_BUILD_ROOT%{l_prefix}/cgi/rt \
  219. $RPM_BUILD_ROOT%{l_prefix}/share/rt \
  220. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools \
  221. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/upgrade \
  222. $RPM_BUILD_ROOT%{l_prefix}/var/rt/mason-data \
  223. $RPM_BUILD_ROOT%{l_prefix}/var/rt/mason-session \
  224. $RPM_BUILD_ROOT%{l_prefix}/var/rt/log \
  225. $RPM_BUILD_ROOT%{l_prefix}/var/rt/run
  226. ( cd rt-%{V_real}
  227. %{l_make} \
  228. config-install \
  229. dirs \
  230. libs-install \
  231. etc-install \
  232. bin-install \
  233. sbin-install \
  234. html-install \
  235. doc-install \
  236. DESTDIR=$RPM_BUILD_ROOT
  237. %{l_shtool} install -c -m 0644 \
  238. etc/upgrade/* \
  239. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/upgrade/
  240. %{l_shtool} install -c -m 0644 \
  241. -e '/Set($WebBaseURL/s;"[^"]*";"";' \
  242. etc/RT_Config.pm \
  243. $RPM_BUILD_ROOT%{l_prefix}/etc/rt/RT_SiteConfig.pm
  244. rm -f \
  245. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/RT_SiteConfig.pm
  246. ln -s \
  247. %{l_prefix}/etc/rt/RT_SiteConfig.pm \
  248. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/RT_SiteConfig.pm
  249. mv \
  250. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT/html/NoAuth/webrt.css \
  251. $RPM_BUILD_ROOT%{l_prefix}/etc/rt/webrt.css
  252. ln -s \
  253. %{l_prefix}/etc/rt/webrt.css \
  254. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT/html/NoAuth/webrt.css
  255. mv \
  256. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/local \
  257. $RPM_BUILD_ROOT%{l_prefix}/etc/rt/local
  258. ln -s \
  259. %{l_prefix}/etc/rt/local \
  260. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/local
  261. ) || exit $?
  262. # cleanup installation area
  263. rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/*.svc
  264. rm -f $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/rt-test-dependencies
  265. rm -rf $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/t
  266. rm -f $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/RT.pm.in
  267. rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/xgettext.pl
  268. rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/pod2test
  269. # setup/cleanup/upgrade script
  270. %if "%{with_db_mysql}" == "yes"
  271. rt_db_dba=root
  272. %endif
  273. %if "%{with_db_postgresql}" == "yes"
  274. rt_db_dba=postgresql
  275. %endif
  276. %if "%{with_db_oracle}" == "yes"
  277. rt_db_dba=system
  278. %endif
  279. %{l_shtool} install -c -m 755 \
  280. -e 's;@l_prefix@;%{l_prefix};g' \
  281. -e "s;@rt_db_dba@;$rt_db_dba;g" \
  282. %{SOURCE rtsetup} \
  283. $RPM_BUILD_ROOT%{l_prefix}/sbin/
  284. %{l_shtool} install -c -m 755 \
  285. -e 's;@l_prefix@;%{l_prefix};g' \
  286. -e "s;@rt_db_dba@;$rt_db_dba;g" \
  287. %{SOURCE rtcleanup} \
  288. $RPM_BUILD_ROOT%{l_prefix}/sbin/
  289. %{l_shtool} install -c -m 755 \
  290. -e 's;@l_prefix@;%{l_prefix};g' \
  291. -e "s;@rt_db_dba@;$rt_db_dba;g" \
  292. %{SOURCE rtupgrade} \
  293. $RPM_BUILD_ROOT%{l_prefix}/sbin/
  294. # startup script
  295. %{l_shtool} install -c -m 755 \
  296. -e 's;@l_prefix@;%{l_prefix};g' \
  297. -e 's;@l_rusr@;%{l_rusr};g' \
  298. -e 's;@l_rgrp@;%{l_rgrp};g' \
  299. %{SOURCE rc.rt} \
  300. $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
  301. # apachectl wrapper
  302. %{l_shtool} install -c -m 755 \
  303. -e 's;@l_prefix@;%{l_prefix};g' \
  304. %{SOURCE rtapachectl} \
  305. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/
  306. # apache config
  307. l_hostname=`%{l_shtool} echo -e %h`
  308. l_domainname=`%{l_shtool} echo -e %d | cut -c2-`
  309. %{l_shtool} install -c -m 755 \
  310. -e 's;@l_prefix@;%{l_prefix};g' \
  311. -e 's;@l_rusr@;%{l_rusr};g' \
  312. -e 's;@l_rgrp@;%{l_rgrp};g' \
  313. -e "s;@l_hostname@;$l_hostname;g" \
  314. -e "s;@l_domainname@;$l_domainname;g" \
  315. %{SOURCE rtapache.conf} \
  316. $RPM_BUILD_ROOT%{l_prefix}/etc/rt/
  317. # better places
  318. mv \
  319. $RPM_BUILD_ROOT%{l_prefix}/bin/webmux.pl \
  320. $RPM_BUILD_ROOT%{l_prefix}/bin/mason_handler.fcgi \
  321. $RPM_BUILD_ROOT%{l_prefix}/cgi/rt/
  322. mv \
  323. $RPM_BUILD_ROOT%{l_prefix}/bin/rt-crontool \
  324. $RPM_BUILD_ROOT%{l_prefix}/bin/rt-mailgate \
  325. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/
  326. %{l_shtool} install -c -m 755 \
  327. -e 's;@l_prefix@;%{l_prefix};g' \
  328. %{SOURCE rt-mailgate.sh} \
  329. $RPM_BUILD_ROOT%{l_prefix}/bin/rt-mailgate
  330. # post-adjustments
  331. %{l_shtool} subst \
  332. -e 's;#336699;#%{with_color_primary};g' \
  333. `find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT -type f -print | grep -v gif | grep -v jpg`
  334. # determine installation files
  335. %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
  336. %{l_files_std} \
  337. '%{l_prefix}/libexec/rt' \
  338. '%attr(755,%{l_musr},%{l_mgrp}) %{l_prefix}/libexec/rt/tools/rt-setup-database' \
  339. '%attr(755,%{l_musr},%{l_mgrp}) %{l_prefix}/libexec/rt/tools/rt-crontool' \
  340. '%config %attr(640,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/RT_SiteConfig.pm' \
  341. '%config %attr(640,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/rtapache.conf' \
  342. '%config %attr(644,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/webrt.css' \
  343. '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/mason-data' \
  344. '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/mason-data/*' \
  345. '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/mason-session' \
  346. '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/log' \
  347. '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/run'
  348. %files -f files
  349. %clean
  350. rm -rf $RPM_BUILD_ROOT
  351. %post
  352. if [ $1 -eq 1 ]; then
  353. # activate in MTA configuration
  354. mta_aliases_file=`%{l_prefix}/etc/rc --query mta_aliases_file`
  355. mta_aliases_update=`%{l_prefix}/etc/rc --query mta_aliases_update`
  356. if [ ".$mta_aliases_file" != . ]; then
  357. (
  358. echo "rt: \"|%{l_prefix}/bin/rt-mailgate --action correspond --queue general --url http://127.0.0.1:8380/\""
  359. echo "rt-comment: \"|%{l_prefix}/bin/rt-mailgate --action comment --queue general --url http://127.0.0.1:8380/\""
  360. ) | %{l_rpmtool} config -a -i "%{l_prefix}:%{name}" $mta_aliases_file
  361. fi
  362. if [ ".$mta_aliases_update" != . ]; then
  363. eval $mta_aliases_update
  364. fi
  365. fi
  366. ( echo "To complete installation of the RT package please check the"
  367. echo "file '$RPM_INSTALL_PREFIX/etc/rt/RT_SiteConfig.pm'. In particular"
  368. echo "you have to assign a password to the RT database user."
  369. echo "If you have an old RT database you can erase it with:"
  370. echo "$RPM_INSTALL_PREFIX/sbin/rtcleanup"
  371. echo "If you start with a new installation of RT then run the command:"
  372. echo "$RPM_INSTALL_PREFIX/sbin/rtsetup"
  373. echo "DON'T FORGET TO SET A ADMINISTRATOR PASSWORD"
  374. echo "Default settings are: user 'root', password 'password'"
  375. echo "If you upgrade from an earlier 3.x-RT-Version then run:"
  376. echo "$RPM_INSTALL_PREFIX/sbin/rtupgrade old-rt-version"
  377. echo "to update RTs system tables"
  378. ) | %{l_rpmtool} msg -b -t notice
  379. %preun
  380. if [ $1 -eq 0 ]; then
  381. # stop perhaps still running server
  382. $RPM_INSTALL_PREFIX/etc/rc rt stop
  383. # deactivate in MTA configuration
  384. mta_aliases_file=`%{l_prefix}/etc/rc --query mta_aliases_file`
  385. mta_aliases_update=`%{l_prefix}/etc/rc --query mta_aliases_update`
  386. if [ ".$mta_aliases_file" != . ]; then
  387. %{l_rpmtool} config -r -i "%{l_prefix}:%{name}" $mta_aliases_file
  388. fi
  389. if [ ".$mta_aliases_update" != . ]; then
  390. eval $mta_aliases_update
  391. fi
  392. rm -f $RPM_INSTALL_PREFIX/var/rt/mason-session/*
  393. rm -rf $RPM_INSTALL_PREFIX/var/rt/mason-data/*/*
  394. rm -f $RPM_INSTALL_PREFIX/var/rt/log/*
  395. rm -f $RPM_INSTALL_PREFIX/var/rt/run/apache.pid
  396. rm -f $RPM_INSTALL_PREFIX/var/rt/run/ssl_scache
  397. fi