apache2-vl.spec 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792
  1. %define contentdir /var/www
  2. %define suexec_caller apache
  3. %define mmn 20051115
  4. %define pkgname apache2
  5. Summary: Apache HTTP Server
  6. Name: %{pkgname}
  7. Version: 2.2.25
  8. Release: 1%{_dist_release}
  9. URL: http://httpd.apache.org/
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. Packager: daisuke
  13. Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
  14. Source1: index.html.ja
  15. Source3: apache2.logrotate
  16. Source4: apache2.init
  17. Source5: README.confd
  18. Source6: vine.png
  19. Source10: httpd.conf
  20. Source11: apache-ssl.conf
  21. Source12: migration.html
  22. Source13: migration.css
  23. Source14: mod_ssl-Makefile.crt
  24. Source15: mod_ssl-Makefile.crl
  25. # add vine entry to config.layout
  26. Source100: vine-config.layout
  27. # man files
  28. Source101: apache2.8
  29. Source102: apache2ctl.8
  30. #Source103: config_vars.mk
  31. # build/scripts patches
  32. Patch1: httpd-2.1.10-apctl.patch
  33. Patch2: httpd-2.2.3-apxs.patch
  34. Patch3: httpd-2.0.45-deplibs.patch
  35. Patch4: httpd-2.1.10-disablemods.patch
  36. # features/functional changes
  37. Patch21: httpd-2.0.40-xfsz.patch
  38. # Patch22: httpd-2.1.10-pod.patch
  39. Patch22: httpd-2.2.23-pod.patch
  40. Patch23: httpd-2.0.45-export.patch
  41. Patch24: httpd-2.0.48-corelimit.patch
  42. # Bug fixes
  43. Patch54: httpd-2.2.0-authnoprov.patch
  44. Patch60: httpd-2.2.3-sslusername.patch
  45. # Security fixes
  46. License: Apache Software License
  47. Group: System Environment/Daemons
  48. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  49. BuildRequires: db4-devel, expat-devel
  50. BuildRequires: findutils, perl, openldap-devel, zlib-devel
  51. BuildRequires: apr-devel, apr-util-devel
  52. BuildRequires: pcre-devel, sqlite3-devel
  53. Requires: mailcap, gawk, file, findutils, apr, apr-util
  54. Requires(pre): chkconfig, mktemp, fileutils
  55. Requires(pre): sh-utils, textutils, shadow-utils
  56. Requires(post): alternatives
  57. Provides: webserver
  58. Provides: httpd = %{version}
  59. Provides: httpd-mmn = %{mmn}
  60. Obsoletes: apache2-apr, apache2-apr-devel
  61. %description
  62. Apache is a powerful, full-featured, efficient, and freely-available
  63. Web server. Apache is also the most popular Web server on the
  64. Internet.
  65. %package devel
  66. Group: Development/Libraries
  67. Summary: Development tools for the Apache HTTP server.
  68. Requires: libtool, httpd = %{version}
  69. Requires: apr-devel, apr-util-devel
  70. %description devel
  71. The httpd-devel package contains the APXS binary and other files
  72. that you need to build Dynamic Shared Objects (DSOs) for Apache.
  73. If you are installing the Apache HTTP server and you want to be
  74. able to compile or develop additional modules for Apache, you need
  75. to install this package.
  76. %package manual
  77. Group: Applications/Documentation
  78. Summary: Documentation for the Apache HTTP server.
  79. %description manual
  80. The httpd-manual package contains the complete manual and
  81. reference guide for the Apache HTTP server. The information can
  82. also be found at http://httpd.apache.org/docs/.
  83. %package -n mod_ssl-apache2
  84. Group: System Environment/Daemons
  85. Summary: SSL/TLS module for the Apache HTTP server
  86. Epoch: 1
  87. BuildRequires: openssl-devel
  88. Requires(pre): openssl, dev, /bin/cat
  89. Requires: httpd, make, httpd-mmn = %{mmn}
  90. %description -n mod_ssl-apache2
  91. The mod_ssl module provides strong cryptography for the Apache Web
  92. server via the Secure Sockets Layer (SSL) and Transport Layer
  93. Security (TLS) protocols.
  94. %prep
  95. %setup -q -n httpd-%{version}
  96. %patch1 -p1 -b .apctl
  97. %patch2 -p1 -b .apxs
  98. #patch3 -p1 -b .deplibs
  99. %patch4 -p1 -b .disablemods
  100. %patch21 -p0 -b .xfsz
  101. %patch22 -p1 -b .pod
  102. %patch23 -p1 -b .export
  103. %patch24 -p1 -b .corelimit
  104. %patch54 -p1 -b .authnoprov
  105. %patch60 -p1 -b .sslusername
  106. # copy across the migration guide and sed it's location into apachectl
  107. cp $RPM_SOURCE_DIR/migration.{html,css} .
  108. %{__perl} -pi -e "s:\@docdir\@:%{_docdir}/%{name}-%{version}:g" \
  109. support/apachectl.in
  110. # add Vine configure's option to config.layout
  111. sed -e "s|${prefix}/lib|${prefix}/%{_lib}|" \
  112. < $RPM_SOURCE_DIR/vine-config.layout >> config.layout
  113. # regenerate configure scripts
  114. ./buildconf
  115. %build
  116. # remove bundled apr, apr-util, pcre
  117. rm -rf srclib/{apr,apr-util,pcre}
  118. #CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
  119. #AP_LIBS="-lssl -lcrypto"
  120. #export CFLAGS AP_LIBS
  121. CFLAGS="$RPM_OPT_FLAGS"
  122. SH_LDFLAGS="-Wl,-z,relro"
  123. export CFLAGS SH_LDFLAGS
  124. %define mpms worker prefork
  125. %define prefer_mpm prefork
  126. AP_CONFOPTS="\
  127. --prefix=%{_sysconfdir}/apache2 \
  128. --exec-prefix=%{_prefix} \
  129. --bindir=%{_bindir} \
  130. --sbindir=%{_sbindir} \
  131. --mandir=%{_mandir} \
  132. --libdir=%{_libdir} \
  133. --sysconfdir=%{_sysconfdir}/apache2/conf \
  134. --includedir=%{_includedir}/apache2 \
  135. --libexecdir=%{_libdir}/apache2/modules \
  136. --datadir=%{contentdir} \
  137. --with-installbuilddir=%{_libdir}/apache2/build \
  138. --enable-layout=Vine \
  139. --with-program-name=apache2 \
  140. --with-ldap \
  141. --enable-ldap --enable-authnz-ldap \
  142. --enable-mods-shared=all \
  143. --enable-cache=shared \
  144. --enable-cgi=shared \
  145. --enable-cgid=shared \
  146. --enable-rewrite=shared \
  147. --enable-disk-cache=shared \
  148. --enable-file-cache=shared \
  149. --enable-mem-cache=shared \
  150. --enable-authn-anon --enable-authn-alias \
  151. --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
  152. --enable-suexec --with-suexec \
  153. --with-suexec-caller=%{suexec_caller} \
  154. --with-suexec-docroot=%{contentdir} \
  155. --with-suexec-logfile=%{_localstatedir}/log/apache2/suexec.log \
  156. --with-suexec-bin=%{_libdir}/%{pkgname}/suexec \
  157. --with-suexec-uidmin=500 --with-suexec-gidmin=500 \
  158. --with-pcre \
  159. --enable-ssl --with-ssl \
  160. --enable-deflate \
  161. --enable-proxy --enable-proxy-connect \
  162. --enable-proxy-http --enable-proxy-ftp"
  163. #all mpm build
  164. for mpm in %{mpms}; do
  165. mkdir mpm-$mpm;
  166. cd mpm-$mpm;
  167. ../configure $AP_CONFOPTS --with-mpm=$mpm --srcdir=../ ;
  168. make %{?_smp_mflags} ;
  169. # mv apache2 apache2.$mpm ;
  170. cd ../
  171. done
  172. %install
  173. rm -rf $RPM_BUILD_ROOT
  174. # install mpms binary
  175. pushd mpm-prefork
  176. make DESTDIR=$RPM_BUILD_ROOT install
  177. rm -f $RPM_BUILD_ROOT/%{_sbindir}/apache2
  178. popd
  179. for mpm in %{mpms}; do
  180. install -m755 mpm-$mpm/apache2 $RPM_BUILD_ROOT/%{_sbindir}/apache2.$mpm
  181. done
  182. # install conf file/directory
  183. mkdir $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.d
  184. install -m 644 $RPM_SOURCE_DIR/README.confd \
  185. $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.d/README
  186. install -m 644 $RPM_SOURCE_DIR/apache-ssl.conf \
  187. $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.d/ssl.conf
  188. rm $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf/*.conf
  189. install -m 644 $RPM_SOURCE_DIR/httpd.conf \
  190. $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf/httpd.conf
  191. # mod_ssl bits
  192. for suffix in crl crt csr key prm; do
  193. mkdir $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf/ssl.${suffix}
  194. done
  195. # Makefiles for certificate management
  196. for ext in crt crl; do
  197. install -m 644 $RPM_SOURCE_DIR/mod_ssl-Makefile.${ext} \
  198. $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf/ssl.${ext}/Makefile.${ext}
  199. done
  200. ln -s ../../../usr/share/ssl/certs/Makefile $RPM_BUILD_ROOT/etc/apache2/conf
  201. # for holding mod_dav lock database
  202. mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/dav
  203. # create a prototype session cache
  204. mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/mod_ssl
  205. touch $RPM_BUILD_ROOT%{_localstatedir}/cache/mod_ssl/scache.{dir,pag,sem}
  206. # move utilities to /usr/bin
  207. mv $RPM_BUILD_ROOT%{_sbindir}/{ab,htdbm,logresolve,htpasswd,htdigest} \
  208. $RPM_BUILD_ROOT%{_bindir}
  209. # Make the MMN accessible to module packages
  210. echo %{mmn} > $RPM_BUILD_ROOT%{_includedir}/apache2/.mmn
  211. # docroot
  212. # mkdir $RPM_BUILD_ROOT%{contentdir}/html
  213. install -m 644 $RPM_SOURCE_DIR/index.html.ja \
  214. $RPM_BUILD_ROOT%{contentdir}/error/noindex.html
  215. rm -r $RPM_BUILD_ROOT%{contentdir}/manual/style
  216. install -m 644 $RPM_SOURCE_DIR/vine.png \
  217. $RPM_BUILD_ROOT%{contentdir}/icons
  218. # logs
  219. # rmdir $RPM_BUILD_ROOT%{_sysconfdir}/apache2/logs
  220. mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/apache2
  221. ln -sf %{_sysconfdir}/%{pkgname}/conf/httpd.conf $RPM_BUILD_ROOT/%{_sysconfdir}/%{pkgname}/conf/apache2.conf
  222. # symlinks for /etc/apache2
  223. ln -s ../..%{_localstatedir}/log/apache2 $RPM_BUILD_ROOT/etc/apache2/logs
  224. ln -s ../..%{_localstatedir}/run $RPM_BUILD_ROOT/etc/apache2/run
  225. ln -s ../..%{_libdir}/apache2/modules $RPM_BUILD_ROOT/etc/apache2/modules
  226. ln -s ../..%{_libdir}/apache2/build $RPM_BUILD_ROOT/etc/apache2/build
  227. # install SYSV init stuff
  228. mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
  229. install -m755 $RPM_SOURCE_DIR/apache2.init \
  230. $RPM_BUILD_ROOT/etc/rc.d/init.d/apache2
  231. %{__perl} -pi -e "s:\@docdir\@:%{_docdir}/%{name}-%{version}:g" \
  232. $RPM_BUILD_ROOT/etc/rc.d/init.d/apache2
  233. # install log rotation stuff
  234. mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
  235. install -m644 $RPM_SOURCE_DIR/apache2.logrotate \
  236. $RPM_BUILD_ROOT/etc/logrotate.d/apache2
  237. mv $RPM_BUILD_ROOT/%{_sbindir}/apachectl $RPM_BUILD_ROOT/%{_sbindir}/apache2ctl
  238. # fix man page paths
  239. sed -e "s|/usr/local/apache2/conf/httpd.conf|/etc/apache2/conf/httpd.conf|" \
  240. -e "s|/usr/local/apache2/conf/mime.types|/etc/mime.types|" \
  241. -e "s|/usr/local/apache2/conf/magic|/etc/apache2/conf/magic|" \
  242. -e "s|/usr/local/apache2/logs/error_log|/var/log/apache2/error_log|" \
  243. -e "s|/usr/local/apache2/logs/access_log|/var/log/apache2/access_log|" \
  244. -e "s|/usr/local/apache2/logs/httpd.pid|/var/run/apache2.pid|" \
  245. -e "s|/usr/local/apache2|/etc/httpd|" < $RPM_SOURCE_DIR/apache2.8 \
  246. > $RPM_BUILD_ROOT%{_mandir}/man8/apache2.8
  247. install -m644 $RPM_SOURCE_DIR/apache2ctl.8 \
  248. $RPM_BUILD_ROOT%{_mandir}/man8/apache2ctl.8
  249. # change command name to avoid conflict with apache1 pacjage
  250. %define cflcmd /usr/bin/htdigest /usr/bin/htpasswd /usr/sbin/rotatelogs
  251. for i in %{cflcmd}; do \
  252. echo $i
  253. mv $RPM_BUILD_ROOT$i $RPM_BUILD_ROOT$i"2";
  254. done;
  255. mv $RPM_BUILD_ROOT/%{_sbindir}/apxs $RPM_BUILD_ROOT/%{_bindir}/apxs
  256. %define cflman usr/share/man/man1/dbmmanage.1 usr/share/man/man1/htdigest.1 usr/share/man/man1/htpasswd.1 usr/share/man/man8/rotatelogs.8 usr/share/man/man8/suexec.8 usr/share/man/man8/apxs.8 usr/share/man/man8/httpd.8
  257. (cd $RPM_BUILD_ROOT;
  258. for i in %{cflman}; do \
  259. echo $i | sed -e "s|\.1|2\.1|" -e "s|\.8|2\.8|" | xargs mv $i ;
  260. done;
  261. )
  262. #cp $RPM_SOURCE_DIR/config_vars.mk $RPM_BUILD_ROOT/%{_sysconfdir}/%{pkgname}/build/.
  263. mv $RPM_BUILD_ROOT/%{_sbindir}/suexec $RPM_BUILD_ROOT/%{_libdir}/%{pkgname}/suexec
  264. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/ab*
  265. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/logresolve*
  266. # conflict with apache 1, so removed...
  267. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/ab*
  268. rm -f $RPM_BUILD_ROOT%{_mandir}/man8/logresolve*
  269. # remove unpackaged files
  270. rm -f $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf/mime.types \
  271. $RPM_BUILD_ROOT%{_libdir}/*.la \
  272. $RPM_BUILD_ROOT%{_libdir}/*.exp \
  273. $RPM_BUILD_ROOT%{_libdir}/apache2/modules/*.exp \
  274. $RPM_BUILD_ROOT%{_libdir}/apache2/build/config.nice \
  275. $RPM_BUILD_ROOT%{_sbindir}/{apache2,checkgid,dbmmanage,envvars*} \
  276. $RPM_BUILD_ROOT%{contentdir}/html/* \
  277. $RPM_BUILD_ROOT%{contentdir}/cgi-bin/*
  278. %pre
  279. # Add the "apache" user
  280. /usr/sbin/useradd -c "Apache" -u 48 \
  281. -s /sbin/nologin -r -d %{contentdir} apache 2> /dev/null || :
  282. %triggerpostun -- apache < 2.0
  283. /sbin/chkconfig --add apache2
  284. %post
  285. # Register the httpd service
  286. for mpm in %{mpms}; do
  287. /sbin/update-alternatives --install %{_sbindir}/apache2 apache2 %{_sbindir}/apache2.$mpm 20;
  288. done
  289. /sbin/update-alternatives --install %{_sbindir}/apache2 apache2 %{_sbindir}/apache2.%{prefer_mpm} 30
  290. /sbin/chkconfig --add apache2
  291. %preun
  292. if [ $1 = 0 ]; then
  293. /sbin/service apache2 stop > /dev/null 2>&1
  294. /sbin/chkconfig --del apache2
  295. for mpm in %{mpms}; do
  296. /sbin/update-alternatives --remove apache2 %{_sbindir}/apache2.$mpm;
  297. done
  298. fi
  299. %postun
  300. if [ "$1" -ge 1 ]; then
  301. /sbin/service apache2 condrestart
  302. fi
  303. /sbin/ldconfig
  304. %post -n mod_ssl-apache2
  305. /sbin/ldconfig ### is this needed?
  306. umask 077
  307. if [ ! -f %{_sysconfdir}/apache2/conf/ssl.key/server.key ] ; then
  308. %{_bindir}/openssl genrsa -rand /proc/apm:/proc/cpuinfo:/proc/dma:/proc/filesystems:/proc/interrupts:/proc/ioports:/proc/pci:/proc/rtc:/proc/uptime 1024 > %{_sysconfdir}/apache2/conf/ssl.key/server.key 2> /dev/null
  309. fi
  310. FQDN=`hostname`
  311. if [ "x${FQDN}" = "x" ]; then
  312. FQDN=localhost.localdomain
  313. fi
  314. if [ ! -f %{_sysconfdir}/apache2/conf/ssl.crt/server.crt ] ; then
  315. cat << EOF | %{_bindir}/openssl req -new -key %{_sysconfdir}/apache2/conf/ssl.key/server.key -x509 -days 365 -out %{_sysconfdir}/apache2/conf/ssl.crt/server.crt 2>/dev/null
  316. --
  317. SomeState
  318. SomeCity
  319. SomeOrganization
  320. SomeOrganizationalUnit
  321. ${FQDN}
  322. root@${FQDN}
  323. EOF
  324. fi
  325. %clean
  326. rm -rf $RPM_BUILD_ROOT
  327. %files
  328. %defattr(-,root,root)
  329. %doc ABOUT_APACHE README CHANGES LAYOUT LICENSE
  330. %doc migration.html migration.css
  331. %dir %{_sysconfdir}/apache2
  332. %{_sysconfdir}/apache2/modules
  333. %{_sysconfdir}/apache2/logs
  334. %{_sysconfdir}/apache2/run
  335. %dir %{_sysconfdir}/apache2/conf
  336. %config(noreplace) %{_sysconfdir}/apache2/conf/*.conf
  337. %config(noreplace) %{_sysconfdir}/apache2/conf/magic
  338. %config %{_sysconfdir}/logrotate.d/apache2
  339. %config %{_sysconfdir}/rc.d/init.d/apache2
  340. %dir %{_sysconfdir}/apache2/conf.d
  341. %{_sysconfdir}/apache2/conf.d/README
  342. %dir %{_sysconfdir}/apache2/conf/extra
  343. %config %{_sysconfdir}/apache2/conf/extra/*
  344. %dir %{_sysconfdir}/apache2/conf/original
  345. %{_sysconfdir}/apache2/conf/original/*
  346. %{_bindir}/ab
  347. %{_bindir}/ht*
  348. %{_bindir}/logresolve
  349. %{_sbindir}/ht*
  350. %{_sbindir}/apache2.*
  351. %{_sbindir}/apache2ctl
  352. %{_sbindir}/rotatelogs2
  353. %attr(4510,root,%{suexec_caller}) %{_libdir}/%{pkgname}/suexec
  354. %dir %{_libdir}/apache2
  355. %dir %{_libdir}/apache2/modules
  356. # everything but mod_ssl.so:
  357. %{_libdir}/apache2/modules/mod_[a-r]*.so
  358. %{_libdir}/apache2/modules/mod_s[petu]*.so
  359. %{_libdir}/apache2/modules/mod_[t-z]*.so
  360. %dir %{contentdir}
  361. %dir %{contentdir}/cgi-bin
  362. %dir %{contentdir}/html
  363. %dir %{contentdir}/icons
  364. %dir %{contentdir}/error
  365. %dir %{contentdir}/error/include
  366. %{contentdir}/icons/*
  367. %{contentdir}/error/README
  368. %{contentdir}/error/noindex.html
  369. %config(noreplace) %{contentdir}/error/*.var
  370. %config(noreplace) %{contentdir}/error/include/*.html
  371. %attr(0700,root,root) %dir %{_localstatedir}/log/apache2
  372. %attr(0700,apache,apache) %dir %{_localstatedir}/lib/dav
  373. %{_mandir}/man1/*
  374. %{_mandir}/man8/*
  375. %files manual
  376. %defattr(-,root,root)
  377. %{contentdir}/manual
  378. %files -n mod_ssl-apache2
  379. %defattr(-,root,root)
  380. %{_libdir}/apache2/modules/mod_ssl.so
  381. %config(noreplace) %{_sysconfdir}/apache2/conf.d/ssl.conf
  382. %attr(0700,root,root) %dir %{_sysconfdir}/apache2/conf/ssl.*
  383. %config %{_sysconfdir}/apache2/conf/Makefile
  384. %config %{_sysconfdir}/apache2/conf/ssl.*/*
  385. %attr(0700,apache,root) %dir %{_localstatedir}/cache/mod_ssl
  386. %attr(0600,apache,root) %ghost %{_localstatedir}/cache/mod_ssl/scache.dir
  387. %attr(0600,apache,root) %ghost %{_localstatedir}/cache/mod_ssl/scache.pag
  388. %attr(0600,apache,root) %ghost %{_localstatedir}/cache/mod_ssl/scache.sem
  389. %files devel
  390. %defattr(-,root,root)
  391. %{_includedir}/apache2
  392. %{_sysconfdir}/apache2/build
  393. %{_bindir}/apxs
  394. %{_mandir}/man?/apxs*
  395. %{_libdir}/apache2/build/*.mk
  396. %{_libdir}/apache2/build/*.sh
  397. %changelog
  398. * Sat Sep 28 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.25-1
  399. - new upstream release with security fix (CVE-2013-1862,1896)
  400. - drop patch100 (is included in new release)
  401. * Fri May 17 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.24-2
  402. - add patch100 for fix CVE-2013-1862 (mod_rewrite)
  403. * Wed Feb 27 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.24-1
  404. - new upstream release with security fix (CVE-2012-3499, 4558)
  405. * Sun Sep 16 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.23-1
  406. - new upstream release with security fix (CVE-2012-3502,CVE-2012-2687)
  407. - update patch22 to fit new release
  408. - update man filename convert list
  409. * Wed Mar 21 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.22-1
  410. - update to 2.2.22
  411. - CVE-2012-0021 (mod_log_config)
  412. - CVE-2012-0031
  413. - CVE-2012-0053
  414. - remove upstreamed patches
  415. * Fri Dec 9 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.21-5
  416. - add patch120 for fix CVE-2011-4317 (mod_rewrite/mod_proxy)
  417. * Fri Nov 18 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.21-4
  418. - add patch110 for fix CVE-2011-3607-4415 (ModSetEnvIf)
  419. * Wed Oct 12 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.21-3
  420. - add patch70 for fix byterange filter
  421. * Tue Oct 11 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.21-2
  422. - add Patch100 for fix CVE-2011-3368 (mod_proxy)
  423. * Wed Sep 14 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.21-1
  424. - new upstream release with security fix (CVE-2011-3348)
  425. - regression fixes of CVE-2011-3192 byterange fix in 2.2.20
  426. * Tue Sep 6 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.20-3
  427. - update Patch101 (Thanks to debian team)
  428. * Sat Sep 3 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.20-2
  429. - add Patch101 for fix CVE-2011-3192 regression
  430. * Thu Sep 1 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.20-1
  431. - new upstream release with security fix (CVE-2011-3192)
  432. - drop patch100 (is included in new release)
  433. * Thu Aug 25 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.19-2
  434. - add patch100 for fix CVE-2011-3192 (Range Header DoS)
  435. * Mon May 23 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.19-1
  436. - update to 2.2.19
  437. * Sat Apr 30 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.14-9
  438. - remove old Obsoletes/Conflicts
  439. * Tue Jan 11 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.14-8
  440. - rebuild with openssl-1.0.0c
  441. * Sat Aug 21 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.14-7
  442. - add patch120 for fix CVE-2010-1452 (mod_dav/mod_cache) from mdk2010
  443. * Wed Aug 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.14-6
  444. - add R(post): alternatives
  445. * Sat Mar 20 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 2.2.14-5
  446. - add patch110 for fix CVE-2010-0434 from mdk 2010
  447. * Sun Mar 7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 2.2.14-4
  448. - add patch100 for fix CVE-2010-0408 (mod_proxy_ajp)
  449. * Fri Feb 5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.2.14-3
  450. - rebuilt with rpm-4.8.0-3 (on ppc)
  451. * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.14-2
  452. - rebuild with db4-4.8.0
  453. * Tue Jan 05 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.14-1
  454. - new upstream release with security fix
  455. (CVE-2009-2699, CVE-2009-3095, CVE-2009-3094)
  456. - fix ssl.conf (2.2.13-1 includes wrong file)
  457. * Sun Aug 09 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.13-1
  458. - new upstream release
  459. * Wed Jul 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.12-1
  460. - new upstream release
  461. (including security fix for CVE-2009-1890, CVE-2009-1191,
  462. CVE-2009-1195, CVE-2009-1955, CVE-2009-1956, CVE-2009-0023)
  463. * Fri Jan 09 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.11-2
  464. - rebuilt with openldap-2.4.11
  465. * Fri Jan 2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.11-1
  466. - new upstream release
  467. * Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.10-1
  468. - new upstream release (including security fix for CVE-2008-2939)
  469. * Fri Jun 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.9-1
  470. - new upstream release (including security fix for CVE-2008-2364, CVE-2007-6420)
  471. - built with db4-4.6.21, apr 1.3.0
  472. * Sun Apr 27 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8-1
  473. - add Patch60 (to fix bug#31418).
  474. * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.8-0vl2
  475. - rebuild with expat-2.0.1
  476. * Tue Jan 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8-0vl1
  477. - new upstream release
  478. * Sat Nov 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.6-0vl2
  479. - added postun script from VinePlus/4.0 package
  480. * Tue Sep 11 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.3-0vl3.2
  481. - add postun script to restart daemon with message
  482. * Sun Jul 01 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.3-0vl8
  483. - updated Patch2: httpd-2.2.3-apxs.patch
  484. * Sun Jun 24 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.3-0vl7
  485. - modified libdir in config.layout for lib64 architecture
  486. * Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl6
  487. - rebuilt with openssl-0.9.8e
  488. * Thu May 10 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2.3-0vl5
  489. - rebuilt with new toolchain and db4-4.3.x
  490. * Wed Feb 7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl4
  491. - added BuildRequires: pcre-devel, sqlite3-devel <BTS:VineLinux:474>
  492. * Mon Sep 11 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.2.3-0vl3
  493. - change manual Group to Applications/Documentation. <BTS:VineLinux:163>
  494. * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.3-0vl2
  495. - rebuilt with openldap-2.3.27-0vl1
  496. * Sat Jul 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl1
  497. - new upstream release including security fix (CVE-2006-3747)
  498. * Sun May 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl1
  499. - new upstream release
  500. - update to 2.2.2
  501. - remove apr/apr-devel subpackage,
  502. use external apr/apr-util instead of internal one.
  503. * Sun May 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.58-0vl1
  504. - new upstream release
  505. - use apache2.prefork as default.
  506. * Thu Mar 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.55-0vl3
  507. - rebuild to use new _localstatedir (rpm-4.4.2-0vl11)
  508. - remove unpackaged files in %%install section
  509. * Fri Jan 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.55-0vl2
  510. - fix logrotate configuration (use apache2.pid instead of httpd.pid)
  511. (BTS:10)
  512. - use Epoch instead of Serial
  513. * Sat Oct 15 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.55-0vl1
  514. - new upstream release
  515. - drop obsolete security patches which is merged in upstream
  516. * Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.54-0vl1
  517. - new upstream release
  518. * Sun Sep 11 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.53-0vl2
  519. - added Patch122 to 125 for secutiry fix
  520. (CAN-2004-{1268,2088,2700,2728})
  521. - fix %install section
  522. * Sun Apr 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.53-0vl1
  523. - new upstream release
  524. * Sat Nov 06 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.52-0vl1
  525. - new upstream release
  526. * Sun Oct 24 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.0.50-0vl4
  527. - rebuilt with db4-4.2.52
  528. * Sat Sep 4 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.0.50-0vl3
  529. - separate apr, apr-devel packages
  530. - add BuildPreReq: zlib-devel
  531. * Sun Jul 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.50-0vl2
  532. - fix %%files to include instdso.sh
  533. thanks to jax <jax AT morejams DOT no-ip DOT com>
  534. - add %%{?_smp_mflags} to make option.
  535. * Sun Jul 4 2004 IWAI, Masaharu <iwai@alib.jp> 2.0.50-0vl1
  536. - new upstream version
  537. * Sun Nov 23 2003 IWAI, Masaharu <iwai@alib.jp> 2.0.48-0vl1
  538. - new upstream version
  539. * Mon Sep 15 2003 IWAI, Masaharu <iwai@alib.jp> 2.0.47-0vl1
  540. - new upstream version
  541. - update apxs patch (Patch101)
  542. - fix dependency:
  543. - change file name to package name in Requires and {Build,}Prereq
  544. - add BuildPrereq: openldap-devel
  545. - update %%files section
  546. - rename httpd.8 manpage
  547. * Mon May 12 2003 Satoshi MACHINO <machino@vinelinux.org> 2.0.45-0vl1
  548. - new upstream version
  549. - used vine-config.layout in srclib
  550. * Mon May 12 2003 Satoshi MACHINO <machino@vinelinux.org> 2.0.44-0vl9
  551. - rebuild
  552. * Sun Apr 6 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl8
  553. - change pkg name from mod_ssl to mod_ssl-apache2
  554. - remove "apache-manual" entry from Obsoletes:
  555. * Thu Apr 3 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl7
  556. - remove "mod_dav" and "apache-devel" from Obsoletes:
  557. - enable MPMS(worker %mpms )
  558. * Sun Mar 30 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl6
  559. - add correct config_vars.mk
  560. * Sun Mar 30 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl5
  561. - apply apxs's patch ( from Debian)
  562. * Sun Mar 30 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl4
  563. - add apr-config,apu-config to devel's %file
  564. * Sun Mar 30 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl3
  565. - change apxs path ( /usr/sbin -> /usr/bin
  566. - add symlink under /etc/apache2/conf
  567. (logs, run), httpd.conf -> apache2.conf
  568. - fixed apache2 initscript.
  569. * Sat Mar 29 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl2
  570. - build Vine Linux
  571. - new upstream version
  572. - sharing with apache1
  573. * Wed Sep 4 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.40-8
  574. - link httpd with libssl to avoid library loading/unloading weirdness
  575. * Tue Sep 3 2002 Joe Orton <jorton@redhat.com> 2.0.40-7
  576. - add LoadModule lines for proxy modules in httpd.conf (#73349)
  577. - fix permissions of conf/ssl.*/ directories; add Makefiles for
  578. certificate management (#73352)
  579. * Mon Sep 2 2002 Joe Orton <jorton@redhat.com> 2.0.40-6
  580. - provide "httpd-mmn" to manage module ABI compatibility
  581. * Sun Sep 1 2002 Joe Orton <jorton@redhat.com> 2.0.40-5
  582. - fix SSL session cache (#69699)
  583. - revert addition of LDAP support to apr-util
  584. * Mon Aug 26 2002 Joe Orton <jorton@redhat.com> 2.0.40-4
  585. - set SIGXFSZ disposition to "ignored" (#69520)
  586. - make dummy connections to the first listener in config (#72692)
  587. * Mon Aug 26 2002 Joe Orton <jorton@redhat.com> 2.0.40-3
  588. - allow "apachectl configtest" on a 1.3 httpd.conf
  589. - add mod_deflate
  590. - enable LDAP support in apr-util
  591. - don't package everything in /var/www/error as config(noreplace)
  592. * Wed Aug 21 2002 Bill Nottingham <notting@redhat.com> 2.0.40-2
  593. - add trigger (#68657)
  594. * Mon Aug 12 2002 Joe Orton <jorton@redhat.com> 2.0.40-1
  595. - update to 2.0.40
  596. * Wed Jul 24 2002 Joe Orton <jorton@redhat.com> 2.0.36-8
  597. - improve comment on use of UserDir in default config (#66886)
  598. * Wed Jul 10 2002 Joe Orton <jorton@redhat.com> 2.0.36-7
  599. - use /sbin/nologin as shell for apache user (#68371)
  600. - add patch from CVS to fix possible infinite loop when processing
  601. internal redirects
  602. * Wed Jun 26 2002 Gary Benson <gbenson@redhat.com> 2.0.36-6
  603. - modify init script to detect 1.3.x httpd.conf's and direct users
  604. to the migration guide
  605. * Tue Jun 25 2002 Gary Benson <gbenson@redhat.com> 2.0.36-5
  606. - patch apachectl to detect 1.3.x httpd.conf's and direct users
  607. to the migration guide
  608. - ship the migration guide
  609. * Fri Jun 21 2002 Joe Orton <jorton@redhat.com>
  610. - move /etc/httpd2 back to /etc/httpd
  611. - add noindex.html page and poweredby logo; tweak default config
  612. to load noindex.html if no default "/" page is present.
  613. - add patch to prevent mutex errors on graceful restart
  614. * Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.0.36-4
  615. - automated rebuild
  616. * Wed Jun 12 2002 Joe Orton <jorton@redhat.com> 2.0.36-3
  617. - add patch to fix SSL mutex handling
  618. * Wed Jun 12 2002 Joe Orton <jorton@redhat.com> 2.0.36-2
  619. - improved config directory patch
  620. * Mon May 20 2002 Joe Orton <jorton@redhat.com>
  621. - initial build; based heavily on apache.spec and mod_ssl.spec
  622. - fixes: #65214, #58490, #57376, #61265, #65518, #58177, #57245