]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache.spec
new apache ready for ipv6 - but untested
[packages/apache.git] / apache.spec
index 31386ca696f8a952b81b4ece00475eb1a1eae969..5c607a76404d483d2f5993f2b763f166d8ca4c48 100644 (file)
@@ -1,21 +1,23 @@
-Summary:       HTTP server daemon to provide WWW services
+Summary:       HTTP server daemon to provide WWW services with IPv6 support
 Summary(de):   Leading World Wide Web-Server
 Summary(fr):   Serveur Web leader du marché
-Summary(pl):   Serwer WWW (World Wide Web)
+Summary(pl):   Serwer WWW (World Wide Web) ze wsparciem dla IPv6
 Summary(tr):   Lider WWW tarayýcý
 Name:          apache
-Version:       1.3.4
-Release:       6d
+Version:       1.3.6
+Release:       1
 Group:         Networking/Daemons
 Group(pl):     Sieci/Demony
 Source0:       ftp://ftp.apache.org/apache/dist/%{name}_%{version}.tar.gz
-Source1:       httpd.init
-Source2:       %{name}.log
+Source1:       apache.init
+Source2:       %{name}.logrotate
 Source3:       %{name}-extra.tar.bz2
-########       http://www.eos.ncsu.edu/apache
-Source5:       mod_auth_kerb-3.6.tar.gz
-Patch0:                %{name}-1.3.2-suexec.patch
-Patch1:                %{name}-ndbm.patch
+########       http://stonecold.unity.ncsu.edu/software/mod_auth_kerb/index.html
+Source5:       mod_auth_kerb-4.3.tar.gz
+Source6:       apache_1.3.6.tar.gz.asc
+Source7:       apache_1.3.6.tar.gz.md5
+Patch0:                %{name}-suexec.patch
+Patch1:                %{name}_1.3.6.ipv6.patch
 Copyright:     BSD-like
 Obsoletes:     apache-extra
 Obsoletes:     apache6
@@ -27,7 +29,7 @@ BuildRoot:    /tmp/%{name}-%{version}-root
 
 %description
 Apache is a full featured web server that is freely available, and also
-happens to be the most widely used.
+happens to be the most widely used. This version supports IPv6.
 
 %description -l de
 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
@@ -40,7 +42,7 @@ aussi le plus utilis
 %description -l pl
 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet bêdziesz 
 móg³ prezentowaæ w³asne strony WWW w sieci internet. Apache umo¿liwia równie¿
-konfigurowanie serwerów wirtualnych.
+konfigurowanie serwerów wirtualnych. Ta wersja wspiera IPv6.
 
 %description -l tr
 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web sunucusudur.
@@ -97,7 +99,7 @@ Dokumentacja do Apache w formacie HTML
 
 %build
 OPTIM=$RPM_OPT_FLAGS LDFLAGS=-s\
-    ./configure %{_target} \
+    ./configure \
        --prefix=/usr \
        --sysconfdir=/etc/httpd/conf \
        --datadir=/home/httpd \
@@ -109,14 +111,15 @@ OPTIM=$RPM_OPT_FLAGS LDFLAGS=-s\
        --enable-module=all \
        --enable-shared=max \
        --disable-module=auth_db \
-       --proxycachedir=/var/spool/proxy \
-       --with-perl=/usr/bin/perl \
+       --proxycachedir=/var/cache/www/apache \
+       --with-perl=%{_bindir}/perl \
        --enable-suexec \
        --suexec-caller=http \
        --suexec-uidmin=500 \
        --suexec-gidmin=500 \
-       --sbindir=/usr/sbin \
-       --includedir=/usr/include/apache
+       --sbindir=%{_sbindir} \
+       --includedir=%{_includedir}/apache \
+       --enable-rule=INET6
 
 make
 
@@ -129,23 +132,25 @@ mv $RPM_BUILD_ROOT/home/httpd/htdocs $RPM_BUILD_ROOT/home/httpd/html
 
 install -d $RPM_BUILD_ROOT/etc/{httpd/conf,logrotate.d,rc.d/init.d}
 install -d $RPM_BUILD_ROOT/home/httpd/{html/manual,icons,cgi-bin}
-install -d $RPM_BUILD_ROOT/{usr/{lib/apache,sbin,man/man{1,8}},var/log/httpd}
+install -d $RPM_BUILD_ROOT/{usr/{share,lib/apache,sbin,man/man{1,8}},var/log/httpd}
 
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
 
-install -d $RPM_BUILD_ROOT/usr/include/apache
+install -d $RPM_BUILD_ROOT%{_includedir}/apache
 
 rm -f $RPM_BUILD_ROOT/etc/httpd/conf/*
 rm -f $RPM_BUILD_ROOT/home/httpd/html/manual/expand.pl
 
 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error}_log
 
-mv -f apache-extra/errordocs   $RPM_BUILD_ROOT/home/httpd/
+cp -a apache-extra/errordocs   $RPM_BUILD_ROOT/home/httpd/
 cp -a apache-extra/icons/*     $RPM_BUILD_ROOT/home/httpd/icons
 cp -a apache-extra/*.conf      $RPM_BUILD_ROOT/etc/httpd/conf
 cp -a apache-extra/m*          $RPM_BUILD_ROOT/etc/httpd/conf
 
+mv $RPM_BUILD_ROOT/usr/man $RPM_BUILD_ROOT%{_mandir}
+
 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/{man1/*,man8/*}
 gzip -9nf ABOUT_APACHE src/CHANGES KEYS README
 
@@ -180,39 +185,40 @@ fi
 %attr(644,root,root) /home/httpd/html/*.gif
 %attr(700,root,root) %config %verify(not size mtime md5) /etc/rc.d/init.d/*
 
-%attr(755,root,root,755) /home/httpd/cgi-bin
-%attr(755,root,root,755) /usr/libexec/apache
+%attr(755,root,root) /home/httpd/cgi-bin
+%attr(755,root,root) /usr/libexec/apache
 
-%attr(755,root,root,755) %dir /home/httpd/icons
+%attr(755,root,root) %dir /home/httpd/icons
 /home/httpd/icons/*.gif
 
-%attr(755,root,root,755) %dir /home/httpd/errordocs
+%attr(755,root,root) %dir /home/httpd/errordocs
 /home/httpd/errordocs/*
 
-%attr(755,root,root) /usr/bin/dbmmanage 
-%attr(755,root,root) /usr/bin/htdigest
-%attr(755,root,root) /usr/bin/htpasswd
+%attr(755,root,root) %{_bindir}/dbmmanage 
+%attr(755,root,root) %{_bindir}/htdigest
+%attr(755,root,root) %{_bindir}/htpasswd
 
-%attr(755,root,root) /usr/sbin/ab
-%attr(755,root,root) /usr/sbin/apachectl
-%attr(755,root,root) /usr/sbin/apxs
-%attr(755,root,root) /usr/sbin/httpd
-%attr(755,root,root) /usr/sbin/logresolve
-%attr(755,root,root) /usr/sbin/rotatelogs
+%attr(755,root,root) %{_sbindir}/ab
+%attr(755,root,root) %{_sbindir}/apachectl
+%attr(755,root,root) %{_sbindir}/apxs
+%attr(755,root,root) %{_sbindir}/httpd
+%attr(755,root,root) %{_sbindir}/logresolve
+%attr(755,root,root) %{_sbindir}/rotatelogs
+%dir %attr(750,http,http) /var/cache/www/apache
 
-%attr(644,root, man) %{_mandir}/man[18]/*
+%{_mandir}/man[18]/*
 
 %attr(750,root,root) %dir /var/log/httpd
 %attr(640,root,root) %config %verify(not size mtime md5) /var/log/httpd/*
 
 %files suexec
-%attr(4711,root,root) /usr/sbin/suexec
+%attr(4711,root,root) %{_sbindir}/suexec
 
 %files devel
 %defattr(644,root,root,755) 
 
-%dir /usr/include/apache
-/usr/include/apache/*
+%dir %{_includedir}/apache
+%{_includedir}/apache/*
 
 %files doc
 %defattr(644,root,root,755)
This page took 0.054017 seconds and 4 git commands to generate.