]> git.pld-linux.org Git - packages/apache.git/commitdiff
- removed /home/httpd/icons/README
authorkloczek <kloczek@pld-linux.org>
Thu, 3 Sep 1998 07:46:39 +0000 (07:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added devel subpackage,
- added pl translation (Wojtek Ślusarczyk <wojtek@shadow.eu.org>),
- removed Serial: filed,
- removed Packager: field (this must be placed in private ~/.rpmrc),
- simplification in %files and %install,
- /home/httpd/html/manual is now marked as %doc,
- added /etc/rc.d/rc*.d/* symlinks as a %config(missingok),
- changed permidssion on logrotate config file to 600,
- changed permidssion on /var/log/httpd to 700,
- added %ghost /var/log/httpd/*
- added striping modules.

Changed files:
    apache.spec -> 1.1

apache.spec [new file with mode: 0644]

diff --git a/apache.spec b/apache.spec
new file mode 100644 (file)
index 0000000..bf281ff
--- /dev/null
@@ -0,0 +1,263 @@
+Summary:     HTTP server daemon to provide WWW services
+Summary(de): Leading World Wide Web-Server
+Summary(fr): Serveur Web leader du marché
+Summary(pl): Serwer WWW (World Wide Web)
+Summary(tr): Lider WWW tarayýcý
+Name:        apache
+Version:     1.3.1
+Release:     2
+Group:       Networking/Daemons
+Source0:     ftp://ftp.apache.org/apache/dist/%{name}_%{version}.tar.gz
+Source1:     index.html
+Source2:     poweredby.gif
+Source3:     httpd.init
+Source4:     apache.log
+Patch0:      apache-1.3b8-htdocs.patch
+Patch1:      apache-1.3b8-suexec.patch
+Patch2:      apache-1.3b7-perlpath.patch
+Patch3:      apache-1.3b8-config.patch
+Patch4:      apache-1.3b8-mimetypes.patch
+Copyright:   BSD-like
+Obsoletes:   apache-suexec apache-extra apache-doc
+Requires:    /etc/mime.types
+Requires:    initscripts >= 3.25
+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.
+
+%description -l de
+Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
+erhältlich und weit verbreitet ist.
+
+%description -l fr
+Apache est un serveur Web complet, disponible librement, et se trouve être
+aussi le plus utilisé à travers le monde.
+
+%description -l pl
+Apache jest serwerem WWW (World Wide Web). Instaluj±c ten
+pakiet bêziesz móg³ prezentowaæ w³asne strony WWW w sieci internet
+Apache umozliwia równie¿ konfigurowanie serwerów wirtualnych.
+
+%description -l tr
+Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web sunucusudur.
+
+%package devel
+Summary:     Apache include files
+Summary(pl): Pliki nag³owkowe do serwera www Apache
+Group:       Networking/Development
+Requires:    %{name} = %{version}
+
+%description devel
+Apache include files.
+
+%description -l pl devel
+Pliki nag³owkowe do serwera www Apache.
+
+%prep 
+%setup -q -n apache_%{version}
+
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+#%patch4 -p1
+
+%build
+OPTIM="$RPM_OPT_FLAGS" ./configure --prefix=/usr --sysconfdir=/etc/httpd/conf \
+       --datadir=/home/httpd --libexecdir=/usr/libexec/apache \
+       --localstatedir=/var --runtimedir=/var/run --logfiledir=/var/log/httpd \
+       --without-confadjust \
+       --enable-module=auth_anon --enable-shared=auth_anon \
+       --enable-module=auth_db --enable-shared=auth_db \
+       --enable-module=digest --enable-shared=digest \
+       --enable-module=expires --enable-shared=expires \
+       --enable-module=headers --enable-shared=headers \
+       --enable-module=mime_magic --enable-shared=mime_magic \
+       --enable-module=mmap_static --enable-shared=mmap_static \
+       --enable-module=proxy --enable-shared=proxy \
+       --proxycachedir=/var/spool/proxy \
+       --enable-module=rewrite --enable-shared=rewrite \
+       --enable-module=speling --enable-shared=speling \
+       --enable-module=status --enable-shared=status \
+       --enable-module=unique_id --enable-shared=unique_id \
+       --enable-module=usertrack --enable-shared=usertrack \
+       --enable-suexec --suexec-caller=nobody \
+       --suexec-uidmin=500 --suexec-gidmin=500
+
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install-quiet root="$RPM_BUILD_ROOT"
+
+install -d $RPM_BUILD_ROOT/etc/{httpd/conf,logrotate.d,rc.d/{init,rc{0,1,2,3,4,5,6}}.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}
+
+mv $RPM_BUILD_ROOT/home/httpd/html/{index,index_apache}.html
+install $RPM_SOURCE_DIR/{index.html,poweredby.gif} \
+       $RPM_BUILD_ROOT/home/httpd/html
+
+install $RPM_SOURCE_DIR/apache.log $RPM_BUILD_ROOT/etc/logrotate.d/apache
+install $RPM_SOURCE_DIR/httpd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
+
+# Only needed for from_cvs tarballs, but doesn't hurt otherwise
+rm -f $RPM_BUILD_ROOT/home/httpd/html/manual/expand.pl
+
+strip --strip-debug $RPM_BUILD_ROOT/usr/libexec/apache/*.so
+
+for I in 0 1 2 6; do
+        ln -s ../init.d/httpd $RPM_BUILD_ROOT/etc/rc.d/rc$I.d/K15httpd
+done
+for I in 3 5; do
+        ln -s ../init.d/httpd $RPM_BUILD_ROOT/etc/rc.d/rc$I.d/S85httpd
+done
+
+touch $RPM_BUILD_ROOT/var/log/httpd/{access,error}_log
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/chkconfig --add httpd
+
+%preun
+if [ $1 = 0 ]; then
+   if [ -f /var/lock/subsys/httpd ]; then
+       /etc/rc.d/init.d/httpd stop
+   fi
+   /sbin/chkconfig --del httpd
+fi
+
+%files
+%defattr(644, root, root, 755)
+%doc ABOUT_APACHE src/CHANGES KEYS LICENSE README
+%doc src/support/suexec.[ch]
+%doc /home/httpd/html/manual
+
+%dir /etc/httpd
+%dir /etc/httpd/conf
+%config(noreplace) %verify(not size mtime md5) /etc/httpd/conf/*.conf
+/etc/httpd/conf/*.conf.default
+%config(missingok) /etc/rc.d/rc*.d/*
+/home/httpd/html/poweredby.gif
+%attr(600, root, root) %config /etc/logrotate.d/*
+%attr(755, root, root) %dir /home/httpd
+%attr(755, root, root) %dir /home/httpd/html
+%config(noreplace) /home/httpd/html/index.html
+%attr(755, root, root) /etc/rc.d/init.d/httpd
+%attr(755, root, root, 755) /home/httpd/cgi-bin
+%attr(755, root, root, 755) /usr/libexec/apache
+%dir /home/httpd/icons
+/home/httpd/icons/*.gif
+/usr/bin/*
+%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(4751,root, root) /usr/sbin/suexec
+%attr(644, root,  man) /usr/man/man[18]/*
+%attr(700, root, root) %dir /var/log/httpd
+%ghost /var/log/httpd/*
+
+%files devel
+%attr(644, root, root, 755) /usr/include/apache
+
+%changelog
+* Thu Sep  3 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
+  [1.3.1-2]
+- removed /home/httpd/icons/README
+- added devel subpackage,
+- added pl translation (Wojtek ¦lusarczyk <wojtek@shadow.eu.org>),
+- removed Serial: filed,
+- removed Packager: field (this must be placed in private ~/.rpmrc),
+- simplification in %files and %install,
+- /home/httpd/html/manual is now marked as %doc,
+- added /etc/rc.d/rc*.d/* symlinks as a %config(missingok),
+- changed permidssion on logrotate config file to 600,
+- changed permidssion on /var/log/httpd to 700,
+- added %ghost /var/log/httpd/*
+- added striping modules.
+
+* Sat Jul 18 1998 Manoj Kasichainula <manojk@io.com>
+  [1.3.1-1]
+some of the changes from 1.3.0-1 (mine was done independantly, so there are
+probably other changes)
+- /etc/rc.d/init.d/httpd includes reload
+- logrotate doesn't kill all httpd processes, just one. This is recommended.
+- Doesn't uses Red Hat MIME typesm since RH mime.types doesn't include .htm,
+  and there are other differences which will probably just cause lots of
+  annoying bug reports
+- Don't change ServerAdmin (this fake address is on purpose according
+  to the Apache Group)
+- don't enable mod_auth_dbm, since it can supposedly conflict with
+  mod_auth_db
+
+* Sun May 31 1998 Manoj Kasichainula <manojk@io.com>
+  [1.3b8_dev-1]
+- Updated to 1.3b8_dev
+- Deleted some patchwork because of improvements in APACI
+- Added translations from RH 5.1 Apache RPM
+- Loosened permissions to match RH 5.1 Apache RPM in /home
+- Allow index.htm
+- Collapsed doc package into main package (partly inspired by RPM bug)
+
+* Fri May 22 1998 Manoj Kasichainula <manojk@io.com>
+  [1.3b7-0]
+- Upgraded to 1.3b7
+- Uses APACI configuration interface -- radical rewrite
+- No more apache-extra, at least for now
+- more descriptive Copyright field
+- Now builds suEXEC
+- Explicitly decided not to use built-in mime.types, but included patch to do
+  so
+
+* Thu Apr 16 1998 Manoj Kasichainula <manojk@io.com>
+  [1.3b6-4]
+- Upgraded to 1.3b6
+- Split perl path patch from other config (saves a little time when upgrading
+  packages)
+- Started the process of separating out shared modules. So far, only the proxy
+  module has been done.
+- Yeah, I'm aware of 1.3b6-3 RPM in contrib. It has problems that I would
+  discuss with the packager if I could find out who that was.
+
+* Thu Mar 5 1998 Manoj Kasichainula <manojk@io.com>
+
+- Upgraded to 1.3b5
+- Buildable by non-root
+
+* Fri Jan 2 1998 Manoj Kasichainula <manojk@io.com>
+
+- Includes changes from Red Hat 5.0's Apache release
+  - added patch for backslash DoS attach
+  - made the default index.html be config(noreplace) so we no longer
+    blow away other folks' index.html
+  - added chkconfig support
+  - added restart|status options to initscript
+  - renamed httpd.init to httpd
+  - New index.html
+  - Now uses Red Hat's mime.types file (I may change my mind on this)
+  - No longer keeps an agent and referer log.
+  - Much more
+- Upgraded to 1.3b3
+- Fixed sillyness in /etc/rc.d/init.d/httpd
+- Now require recent version of initscripts with killproc fix.
+- Changed logrotate script
+- Undid Red Hat's ServerAdmin change (Red Hat's choice results in a
+  seemingly valid but nonsensical address)
+- suexec moved to /home/httpd/sbin/suexec
+- Replaced a reference to apache_pb.gif to /icons/apache_pb.gif, to save a
+  bit of space)
+
+* Thu Oct 16 1997 Manoj Kasichainula <manojk@io.com>
+- Upgraded to 1.3b2
+- MaxRequestsPerChild upped to 10000
+- apache-suexec absorbed into apache
+- Uncommented Serial: line. Now, it requires a recent version of RPM
This page took 0.132359 seconds and 4 git commands to generate.