rt.spec 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  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. # FIXME: rse: Error: MM: mm:core: failed to open semaphore file (Permission denied): OS: No such file or directory
  26. # package versions
  27. %define V_real 3-0-2
  28. %define V_here 3.0.2
  29. %define V_log_dispatch 2.04
  30. %define V_html_mason 1.20
  31. %define V_libapreq 1.1
  32. %define V_www_mechanize 0.40
  33. %define V_mldbm 2.01
  34. %define V_html_format 2.03
  35. %define V_test_inline 0.15
  36. %define V_locale_maketext_lexicon 0.26
  37. %define V_locale_maketext_fuzzy 0.02
  38. %define V_regexp_common 2.113
  39. # package information
  40. Name: rt
  41. Summary: Request Tracker
  42. URL: http://www.fsck.com/projects/rt/
  43. Vendor: Fsck
  44. Packager: The OpenPKG Project
  45. Distribution: OpenPKG [EVAL]
  46. Group: Database
  47. License: GPL
  48. Version: %{V_here}
  49. Release: 20030517
  50. # package options
  51. %option with_color_primary 336699
  52. %option with_db_mysql yes
  53. %option with_db_postgresql no
  54. %option with_db_oracle no
  55. # fixing conflicting options
  56. %if "%{with_db_oracle}" == "yes"
  57. %undefine with_db_postgresql
  58. %define with_db_postgresql no
  59. %endif
  60. %if "%{with_db_oracle}" == "yes" || "%{with_db_postgresql}" == "yes"
  61. %undefine with_db_mysql
  62. %define with_db_mysql no
  63. %endif
  64. # list of sources
  65. Source0: http://www.cpan.org/modules/by-module/Log/Log-Dispatch-%{V_log_dispatch}.tar.gz
  66. Source1: http://www.cpan.org/modules/by-authors/id/J/JI/JIMW/libapreq-%{V_libapreq}.tar.gz
  67. Source2: http://www.cpan.org/modules/by-module/HTML/HTML-Mason-%{V_html_mason}.tar.gz
  68. Source3: http://www.cpan.org/modules/by-authors/id/P/PE/PETDANCE/WWW-Mechanize-%{V_www_mechanize}.tar.gz
  69. Source4: http://www.cpan.org/modules/by-authors/id/C/CH/CHAMAS/MLDBM-%{V_mldbm}.tar.gz
  70. Source5: http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/HTML-Format-%{V_html_format}.tar.gz
  71. Source6: http://www.cpan.org/modules/by-authors/id/M/MS/MSCHWERN/Test-Inline-%{V_test_inline}.tar.gz
  72. Source7: http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Maketext-Lexicon-%{V_locale_maketext_lexicon}.tar.gz
  73. Source8: http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Maketext-Fuzzy-%{V_locale_maketext_fuzzy}.tar.gz
  74. Source9: http://www.cpan.org/modules/by-authors/id/A/AB/ABIGAIL/Regexp-Common-%{V_regexp_common}.tar.gz
  75. Source10: http://www.fsck.com/pub/rt/release/rt-%{V_real}.tar.gz
  76. Source11: rc.rt
  77. Source12: rtsetup
  78. Source13: rtcleanup
  79. Source14: rtupgrade
  80. Source15: rtapachectl
  81. Source16: rtapache.conf
  82. Source17: config.layout
  83. Source18: rt-mailgate.sh
  84. Patch0: rt.patch
  85. # build information
  86. Prefix: %{l_prefix}
  87. BuildRoot: %{l_buildroot}
  88. BuildPreReq: OpenPKG, openpkg >= 20020206, perl, perl-openpkg >= 20030515
  89. BuildPreReq: perl-sys, perl-util, perl-ds, perl-text, perl-apache
  90. BuildPreReq: perl-dbi, perl-dbix, perl-mail, perl-www
  91. BuildPreReq: apache, apache::with_mod_perl = yes
  92. PreReq: OpenPKG, openpkg >= 20020206, perl, perl-openpkg
  93. PreReq: perl-sys, perl-util, perl-ds, perl-text, perl-apache
  94. PreReq: perl-dbi, perl-dbix, perl-mail, perl-www
  95. PreReq: apache, apache::with_mod_perl = yes
  96. %if "%{with_db_mysql}" == "yes"
  97. PreReq: MYSQL, perl-dbi::with_dbd_mysql = yes
  98. %endif
  99. %if "%{with_db_postgresql}" == "yes"
  100. PreReq: postgresql, perl-dbi::with_dbd_pg = yes
  101. %endif
  102. %if "%{with_db_oracle}" == "yes"
  103. PreReq: oracle, perl-dbi::with_dbd_oracle = yes
  104. %endif
  105. PreReq: MTA
  106. AutoReq: no
  107. AutoReqProv: no
  108. %description
  109. RT is an industrial-grade ticketing system. It lets a group of
  110. people intelligently and efficiently manage requests submitted by a
  111. community of users. RT is used by systems administrators, customer
  112. support staffs, NOCs, developers and even marketing departments at
  113. over a thousand sites around the world.
  114. %prep
  115. # unpack distribution tarballs
  116. %setup -q -c
  117. %setup -q -T -D -a 1
  118. %setup -q -T -D -a 2
  119. %setup -q -T -D -a 3
  120. %setup -q -T -D -a 4
  121. %setup -q -T -D -a 5
  122. %setup -q -T -D -a 6
  123. %setup -q -T -D -a 7
  124. %setup -q -T -D -a 8
  125. %setup -q -T -D -a 9
  126. %setup -q -T -D -a 10
  127. # patch RT distribution
  128. cd rt-%{V_real}
  129. %patch0 -p0
  130. %{l_shtool} install -c -m 0644 \
  131. -e 's;@l_prefix@;%{l_prefix};' \
  132. %{SOURCE config.layout} .
  133. %{l_shtool} subst \
  134. -e 's;chown;true;g' \
  135. -e 's;chgrp;true;g' \
  136. -e 's;chmod;true;g' \
  137. -e 's;mkdir -p;%{l_shtool} mkdir -p;g' \
  138. Makefile.in
  139. %{l_shtool} subst \
  140. -e 's;Locale::Maketext 1\.04;Locale::Maketext 1.03;' \
  141. lib/RT/I18N.pm
  142. %{l_shtool} subst \
  143. -e 's;/usr/sbin/sendmail;%{l_prefix}/sbin/sendmail;g' \
  144. etc/RT_Config.pm.in
  145. %build
  146. # configure RT part
  147. cd rt-%{V_real}
  148. PERL=%{l_prefix}/bin/perl
  149. ./configure \
  150. --enable-layout=OPKG \
  151. --with-db-type=mysql \
  152. --with-db-host=localhost \
  153. --with-db-home=%{l_prefix} \
  154. %if "%{with_db_mysql}" == "yes"
  155. --with-db-dba=root \
  156. --with-db-database=rt \
  157. --with-db-user=rt \
  158. --with-db-pass=XXX \
  159. %endif
  160. %if "%{with_db_postgresql}" == "yes"
  161. --with-db-dba=postgresql \
  162. --with-db-database=rt \
  163. --with-db-user=rt \
  164. --with-db-pass=XXX \
  165. %endif
  166. %if "%{with_db_oracle}" == "yes"
  167. --with-db-dba=system \
  168. --with-db-database=rt \
  169. --with-db-user=rt \
  170. --with-db-pass=XXX \
  171. %endif
  172. --with-web-user=%{l_nusr} \
  173. --with-web-group=%{l_ngrp} \
  174. --with-customdir=%{l_prefix}/etc/rt/local \
  175. --with-customhtmldir=%{l_prefix}/etc/rt/local/html \
  176. --with-customlibdir=%{l_prefix}/etc/rt/local/lib \
  177. --with-customlexdir=%{l_prefix}/etc/rt/local/po
  178. %install
  179. rm -rf $RPM_BUILD_ROOT
  180. # perform common Perl prolog operations
  181. rt=%{l_prefix}/libexec/rt
  182. %{l_shtool} mkdir -f -p -m 755 ${RPM_BUILD_ROOT}$rt
  183. %{l_prefix}/bin/perl-openpkg prolog
  184. # install remaining prerequisite Perl modules which
  185. # are not part of the OpenPKG perl-xxx packages.
  186. %{l_prefix}/bin/perl-openpkg install \
  187. -d Regexp-Common-%{V_regexp_common} \
  188. -p ${RPM_BUILD_ROOT}$rt
  189. %{l_prefix}/bin/perl-openpkg install \
  190. -d Log-Dispatch-%{V_log_dispatch} \
  191. -p ${RPM_BUILD_ROOT}$rt
  192. %{l_prefix}/bin/perl-openpkg install \
  193. -d libapreq-%{V_libapreq} \
  194. -p ${RPM_BUILD_ROOT}$rt
  195. %{l_prefix}/bin/perl-openpkg install \
  196. -d HTML-Mason-%{V_html_mason} \
  197. -p ${RPM_BUILD_ROOT}$rt
  198. %{l_prefix}/bin/perl-openpkg install \
  199. -d WWW-Mechanize-%{V_www_mechanize} \
  200. -p ${RPM_BUILD_ROOT}$rt
  201. %{l_prefix}/bin/perl-openpkg install \
  202. -d MLDBM-%{V_mldbm} \
  203. -p ${RPM_BUILD_ROOT}$rt
  204. %{l_prefix}/bin/perl-openpkg install \
  205. -d HTML-Format-%{V_html_format} \
  206. -p ${RPM_BUILD_ROOT}$rt
  207. %{l_prefix}/bin/perl-openpkg install \
  208. -d Test-Inline-%{V_test_inline} \
  209. -p ${RPM_BUILD_ROOT}$rt
  210. %{l_prefix}/bin/perl-openpkg install \
  211. -d Locale-Maketext-Lexicon-%{V_locale_maketext_lexicon} \
  212. -p ${RPM_BUILD_ROOT}$rt
  213. %{l_prefix}/bin/perl-openpkg install \
  214. -d Locale-Maketext-Fuzzy-%{V_locale_maketext_fuzzy} \
  215. -p ${RPM_BUILD_ROOT}$rt
  216. # perform common Perl epilog operations
  217. %{l_prefix}/bin/perl-openpkg epilog
  218. # create installation file hierarchy
  219. %{l_shtool} mkdir -f -p -m 0755 \
  220. $RPM_BUILD_ROOT%{l_prefix}/sbin \
  221. $RPM_BUILD_ROOT%{l_prefix}/etc/rt \
  222. $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
  223. $RPM_BUILD_ROOT%{l_prefix}/cgi/rt \
  224. $RPM_BUILD_ROOT%{l_prefix}/share/rt \
  225. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools \
  226. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/upgrade \
  227. $RPM_BUILD_ROOT%{l_prefix}/var/rt/mason-data \
  228. $RPM_BUILD_ROOT%{l_prefix}/var/rt/mason-session \
  229. $RPM_BUILD_ROOT%{l_prefix}/var/rt/log \
  230. $RPM_BUILD_ROOT%{l_prefix}/var/rt/run
  231. # perform RT installation procedure
  232. ( cd rt-%{V_real}
  233. %{l_make} %{l_mflags} \
  234. config-install dirs libs-install etc-install bin-install \
  235. sbin-install html-install 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. ) || exit $?
  245. # post-adjust installation hierarchy
  246. %{l_shtool} mkln -f -s \
  247. $RPM_BUILD_ROOT%{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. %{l_shtool} mkln -f -s \
  253. $RPM_BUILD_ROOT%{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. %{l_shtool} mkln -f -s \
  259. $RPM_BUILD_ROOT%{l_prefix}/etc/rt/local \
  260. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/local
  261. mv \
  262. $RPM_BUILD_ROOT%{l_prefix}/bin/webmux.pl \
  263. $RPM_BUILD_ROOT%{l_prefix}/bin/mason_handler.fcgi \
  264. $RPM_BUILD_ROOT%{l_prefix}/cgi/rt/
  265. mv \
  266. $RPM_BUILD_ROOT%{l_prefix}/bin/rt-crontool \
  267. $RPM_BUILD_ROOT%{l_prefix}/bin/rt-mailgate \
  268. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/
  269. %{l_shtool} install -c -m 755 \
  270. -e 's;@l_prefix@;%{l_prefix};g' \
  271. %{SOURCE rt-mailgate.sh} \
  272. $RPM_BUILD_ROOT%{l_prefix}/bin/rt-mailgate
  273. # strip installation hierarchy
  274. rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/*.svc
  275. rm -f $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/rt-test-dependencies
  276. rm -rf $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/t
  277. rm -f $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/RT.pm.in
  278. rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/xgettext.pl
  279. rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/pod2test
  280. rm -rf $RPM_BUILD_ROOT%{l_prefix}/man/man3
  281. rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/rt
  282. # install own setup/cleanup/upgrade script
  283. %if "%{with_db_mysql}" == "yes"
  284. rt_db_dba=root
  285. %endif
  286. %if "%{with_db_postgresql}" == "yes"
  287. rt_db_dba=postgresql
  288. %endif
  289. %if "%{with_db_oracle}" == "yes"
  290. rt_db_dba=system
  291. %endif
  292. %{l_shtool} install -c -m 755 \
  293. -e 's;@l_prefix@;%{l_prefix};g' \
  294. -e "s;@rt_db_dba@;$rt_db_dba;g" \
  295. %{SOURCE rtsetup} %{SOURCE rtcleanup} %{SOURCE rtupgrade} \
  296. $RPM_BUILD_ROOT%{l_prefix}/sbin/
  297. # install OpenPKG run-command script
  298. %{l_shtool} install -c -m 755 \
  299. -e 's;@l_prefix@;%{l_prefix};g' \
  300. -e 's;@l_rusr@;%{l_rusr};g' \
  301. -e 's;@l_rgrp@;%{l_rgrp};g' \
  302. %{SOURCE rc.rt} \
  303. $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
  304. # install Apache "apachectl" wrapper
  305. %{l_shtool} install -c -m 755 \
  306. -e 's;@l_prefix@;%{l_prefix};g' \
  307. %{SOURCE rtapachectl} \
  308. $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/
  309. # install Apache configuration
  310. l_hostname=`%{l_shtool} echo -e %h`
  311. l_domainname=`%{l_shtool} echo -e %d | cut -c2-`
  312. %{l_shtool} install -c -m 755 \
  313. -e 's;@l_prefix@;%{l_prefix};g' \
  314. -e 's;@l_rusr@;%{l_rusr};g' \
  315. -e 's;@l_rgrp@;%{l_rgrp};g' \
  316. -e "s;@l_hostname@;$l_hostname;g" \
  317. -e "s;@l_domainname@;$l_domainname;g" \
  318. %{SOURCE rtapache.conf} \
  319. $RPM_BUILD_ROOT%{l_prefix}/etc/rt/
  320. # final post-adjustments to installation hierarchy
  321. %{l_shtool} subst \
  322. -e 's;#336699;#%{with_color_primary};g' \
  323. `find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT \
  324. -type f -print | grep -v gif | grep -v jpg`
  325. # determine installation files
  326. %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
  327. %{l_files_std} \
  328. '%{l_prefix}/libexec/rt' \
  329. '%attr(755,%{l_musr},%{l_mgrp}) %{l_prefix}/libexec/rt/tools/rt-setup-database' \
  330. '%attr(755,%{l_musr},%{l_mgrp}) %{l_prefix}/libexec/rt/tools/rt-crontool' \
  331. '%config %attr(640,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/RT_SiteConfig.pm' \
  332. '%config %attr(640,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/rtapache.conf' \
  333. '%config %attr(644,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/webrt.css' \
  334. '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/mason-data' \
  335. '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/mason-data/*' \
  336. '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/mason-session' \
  337. '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/log' \
  338. '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/run'
  339. %files -f files
  340. %clean
  341. rm -rf $RPM_BUILD_ROOT
  342. %post
  343. if [ $1 -eq 1 ]; then
  344. # activate in MTA configuration
  345. mta_aliases_file=`%{l_prefix}/etc/rc --query mta_aliases_file`
  346. mta_aliases_update=`%{l_prefix}/etc/rc --query mta_aliases_update`
  347. if [ ".$mta_aliases_file" != . ]; then
  348. ( echo "rt: \"|%{l_prefix}/bin/rt-mailgate --action correspond --queue general --url http://127.0.0.1:8380/\""
  349. echo "rt-comment: \"|%{l_prefix}/bin/rt-mailgate --action comment --queue general --url http://127.0.0.1:8380/\""
  350. ) | %{l_rpmtool} config -a -i "%{l_prefix}:%{name}" $mta_aliases_file
  351. fi
  352. if [ ".$mta_aliases_update" != . ]; then
  353. eval $mta_aliases_update
  354. fi
  355. # display final hint after initial installation
  356. ( echo "To complete installation of the RT package please check the"
  357. echo "file $RPM_INSTALL_PREFIX/etc/rt/RT_SiteConfig.pm. In particular,"
  358. echo "you have to assign a password to the RT database user."
  359. echo "Then you have to create the RT database in the RDBMS with:"
  360. echo "\$ $RPM_INSTALL_PREFIX/sbin/rtsetup"
  361. ) | %{l_rpmtool} msg -b -t notice
  362. elif [ $1 -gt 1 ]; then
  363. # display final hint after upgrading
  364. ( echo "If you have an old RT database you can erase it with:"
  365. echo "\$ $RPM_INSTALL_PREFIX/sbin/rtcleanup"
  366. echo "Upgrading from an earlier RT 3.x database you can with:"
  367. echo "\$ $RPM_INSTALL_PREFIX/sbin/rtupgrade <old-rt-version>"
  368. ) | %{l_rpmtool} msg -b -t notice
  369. fi
  370. %preun
  371. if [ $1 -eq 0 ]; then
  372. # stop perhaps still running server
  373. $RPM_INSTALL_PREFIX/etc/rc rt stop
  374. # deactivate in MTA configuration
  375. mta_aliases_file=`%{l_prefix}/etc/rc --query mta_aliases_file`
  376. mta_aliases_update=`%{l_prefix}/etc/rc --query mta_aliases_update`
  377. if [ ".$mta_aliases_file" != . ]; then
  378. %{l_rpmtool} config -r -i "%{l_prefix}:%{name}" $mta_aliases_file
  379. fi
  380. if [ ".$mta_aliases_update" != . ]; then
  381. eval $mta_aliases_update
  382. fi
  383. # remove generated files
  384. rm -f $RPM_INSTALL_PREFIX/var/rt/mason-session/*
  385. rm -rf $RPM_INSTALL_PREFIX/var/rt/mason-data/*/*
  386. rm -f $RPM_INSTALL_PREFIX/var/rt/log/*
  387. rm -f $RPM_INSTALL_PREFIX/var/rt/run/apache.pid
  388. rm -f $RPM_INSTALL_PREFIX/var/rt/run/ssl_scache
  389. fi