]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache.spec
new apache ready for ipv6 - but untested
[packages/apache.git] / apache.spec
index ff31f74815d109a78812f58f3dbf66690ed882a0..5c607a76404d483d2f5993f2b763f166d8ca4c48 100644 (file)
@@ -1,32 +1,35 @@
-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:       5d
+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
 Provides:      httpd
+Provides:      webserver
 Prereq:                /sbin/chkconfig
 URL:           http://www.apache.org/
 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
@@ -39,17 +42,17 @@ 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.
 
 %package suexec
 Summary:       Apache suexec wrapper
+Summary(pl):   Suexec wrapper do serwera www Apache
 Group:         Networking/Development
 Group(pl):     Sieci/Programowanie
 Requires:      %{name} = %{version}
-Summary(pl):   Suexec wrapper do serwera www Apache
 
 %description suexec
 The suEXEC feature provides Apache users the ability to run CGI and SSI
@@ -64,24 +67,24 @@ jako taki sam u
 
 %package devel
 Summary:       Apache include files
+Summary(pl):   Pliki nag³ówkowe do serwera www Apache
 Group:         Networking/Development
 Group(pl):     Sieci/Programowanie
 Requires:      %{name} = %{version}
-Summary(pl):   Pliki nag³ówkowe do serwera www Apache
 
 %description devel
 Apache include files.
 
 %description -l pl devel
-Pliki nag³ówkowe do serwera www Apache.
+Pliki nag³ówkowe dla serwera WWW Apache.
 
 %package doc
 Summary:       Apache dokumentation
+Summary(pl):   Dokumentacja do Apache
 Group:         Documentation
 Group(pl):     Dokumentacja
 Requires:      %{name} = %{version}
 URL:           http://www.apache.org/
-Summary(pl):   Dokumentacja do Apache
 
 %description doc
 Documentation for apache in HTML format.
@@ -95,7 +98,7 @@ Dokumentacja do Apache w formacie HTML
 %patch1 -p1
 
 %build
-OPTIM=$RPM_OPT_FLAGS \
+OPTIM=$RPM_OPT_FLAGS LDFLAGS=-s\
     ./configure \
        --prefix=/usr \
        --sysconfdir=/etc/httpd/conf \
@@ -108,44 +111,48 @@ OPTIM=$RPM_OPT_FLAGS \
        --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
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 make install-quiet root="$RPM_BUILD_ROOT"
 
 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
 
-bzip2 -9 $RPM_BUILD_ROOT/usr/man/{man1/*,man8/*}
-bzip2 -9 ABOUT_APACHE src/CHANGES KEYS README
+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
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -163,7 +170,7 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc ABOUT_APACHE.bz2 src/CHANGES.bz2 KEYS.bz2 README.bz2
+%doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
 %doc conf/mime.types
 
 %attr(750,root,root) %dir /etc/httpd
@@ -178,45 +185,52 @@ 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) /usr/man/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)
 /home/httpd/html/manual
 
 %changelog
+* Thu Feb 10 1999 Micha³ Kuratczyk <kurkens@polbox.com>
+  [1.3.4-6d]
+- added LDFLAGS=-s
+- gzipping instead bzipping
+- cosmetic changes
+
 * Tue Jan 26 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
   [1.3.4-5d]
 - rebuild against new kernel-2.2.0 ;)  
This page took 0.036404 seconds and 4 git commands to generate.