📄 thttpd.spec
字号:
Summary: Throttleable lightweight httpd serverName: thttpdVersion: 2.20Release: 1Group: NetworkingURL: http://www.acme.com/software/thttpdSource0: http://www.acme.com/software/thttpd/thttpd-%{PACKAGE_VERSION}.tar.gzCopyright: distributable (BSD)BuildRoot: /tmp/thttpd-root%descriptionThttpd is a very compact no-frills httpd serving daemon that can handlevery high loads. While lacking many of the advanced features ofApachee, thttpd operates without forking and is extremely efficient inmemory use. Basic support for cgi scripts, authentication, and ssi isprovided for. Advanced features include the ability to throttle traffic.%prep%setup./configure --prefix=/usr%buildmake \ WEBDIR=/home/httpd/html \ BINDIR=/usr/sbin prefix=/usr \ CGIBINDIR=/home/httpd/cgi-bin%installmkdir -p $RPM_BUILD_ROOT/home/httpd/{cgi-bin,logs}mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.dmkdir -p $RPM_BUILD_ROOT/usr/man/man{1,8}mkdir -p $RPM_BUILD_ROOT/usr/sbininstall contrib/redhat-rpm/thttpd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/thttpdinstall contrib/redhat-rpm/thttpd.conf $RPM_BUILD_ROOT/etc/make -i prefix=$RPM_BUILD_ROOT/usr install%pregrep '^httpd:' /etc/passwd >/dev/null || \ /usr/sbin/adduser -r httpd%post/sbin/chkconfig --add thttpd%preun/sbin/chkconfig --del thttpd%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,bin,bin)%doc [A-Z]*%attr(2755, httpd, httpd) /usr/sbin/makeweb/usr/sbin/htpasswd/usr/sbin/syslogtocern/usr/sbin/thttpd%attr(-, httpd, httpd) /home/httpd%attr(0755, root, root) /etc/rc.d/init.d/thttpd%config /etc/thttpd.conf%doc /usr/man/man*/*%changelog* Wed Sep 13 2000 Jef Poskanzer <jef@acme.com> - Updated to 2.20* Mon Sep 11 2000 Bennett Todd <bet@rahul.net> - added thttpd.conf, took config info out of init script - switched to logging in /var/log, used pidfile* Thu Jun 15 2000 Jef Poskanzer <jef@acme.com> - Updated to 2.19* Thu May 18 2000 Jef Poskanzer <jef@acme.com> - Updated to 2.18* Fri Mar 17 2000 Jef Poskanzer <jef@acme.com> - Updated to 2.17* Mon Feb 28 2000 Jef Poskanzer <jef@acme.com> - Updated to 2.16* Thu Feb 03 2000 Jef Poskanzer <jef@acme.com> - Updated to 2.15* Thu Jan 21 2000 Jef Poskanzer <jef@acme.com> - Updated to 2.14* Thu Jan 6 2000 Jef Poskanzer <jef@acme.com> - Updated to 2.13* Mon Jan 3 2000 Bennett Todd <bet@rahul.net> - updated to 2.12, tweaked to move thttpd.init into tarball* Mon Dec 13 1999 Bennett Todd <bet@mordor.net> - Updated to 2.09* Fri Dec 10 1999 Bennett Todd <bet@mordor.net> - Updated to 2.08* Wed Nov 24 1999 Bennett Todd <bet@mordor.net> - updated to 2.06, parameterized Version string in source url - changed to use "make install", simplified %files list* Wed Nov 10 1999 Bennett Todd <bet@mordor.net> - Version 2.05, reset release to 1 - dropped bugfix patch since Jef included that - streamlined install* Sun Jul 25 1999 Bennett Todd <bet@mordor.net> - Release 4, added mime type swf* Mon May 3 1999 Bennett Todd <bet@mordor.net> - Release 2, added patch to set cgi-timelimit up to 10 minutes fm default 30 seconds* Wed Feb 10 1999 Bennett Todd <bet@mordor.net> - based on 2.00-2, bumped to 2.04, reset release back to 1 - fixed a couple of broken entries in %install to reference $RPM_BUILD_ROOT - simplified %files to populate /usr/doc/... with just [A-Z]* (TODO had gone away, this simplification makes it liklier to be trivially portable to future releases). - added %doc tags for the man pages
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -