OBS User unknown
2007-02-15 17:15:34 +00:00
committed by Git OBS Bridge
parent afe8a98648
commit 1239c51977
3 changed files with 40 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package thttpd (Version 2.25b)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -10,13 +10,13 @@
Name: thttpd
License: Other License(s), see package, X11/MIT
License: X11/MIT
Group: Productivity/Networking/Web/Servers
Provides: http_daemon
PreReq: %fillup_prereq %insserv_prereq permissions
Autoreqprov: on
Version: 2.25b
Release: 38
Release: 68
Source: %{name}-%{version}.tar.bz2
Source1: %{name}-SuSE.tar.bz2
Patch0: %{name}-%{version}-configure.patch
@@ -28,6 +28,7 @@ Patch5: %{name}-%{version}-static.patch
Patch6: %{name}-%{version}-pie.patch
Patch7: %{name}-%{version}-syslogtocern.diff
Patch8: %{name}-%{version}-overflow.diff
Patch9: %{name}-%{version}-chown.diff
URL: http://www.acme.com/software/thttpd/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Small and very simple webserver
@@ -60,11 +61,11 @@ Authors:
%patch6
%patch7
%patch8
%patch9
%build
for i in README.SuSE SuSE/etc/init.d/thttpd; do
sed "s @SRVROOT@ %{serverroot}/htdocs " $i >$i.new
mv $i.new $i
sed -i "s @SRVROOT@ %{serverroot}/htdocs " $i
done
chmod 744 SuSE/etc/init.d/thttpd
%{suse_update_config}
@@ -85,7 +86,6 @@ make F_PIE="-fpie"
%endif
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/usr/bin \
$RPM_BUILD_ROOT/usr/sbin \
$RPM_BUILD_ROOT/%{_mandir}/man1 \
@@ -129,6 +129,8 @@ rm -rf $RPM_BUILD_ROOT
%config /etc/init.d/thttpd
%changelog -n thttpd
* Wed Feb 14 2007 - schwab@suse.de
- Fix building as non-root.
* Fri Mar 10 2006 - anicka@suse.cz
- fix buffer overflows in htpasswd (#156978)
* Wed Jan 25 2006 - mls@suse.de