Accepting request 102205 from home:vitezslav_cizek:branches:server:http

- fixed build and added -fpie for makeweb

OBS-URL: https://build.opensuse.org/request/show/102205
OBS-URL: https://build.opensuse.org/package/show/server:http/thttpd?expand=0&rev=4
This commit is contained in:
2012-03-09 11:33:10 +00:00
committed by Git OBS Bridge
parent c5b65cd6e6
commit 63feab6735
4 changed files with 48 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package thttpd
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,11 @@
#
Name: thttpd
License: BSD-3-Clause
Group: Productivity/Networking/Web/Servers
Provides: http_daemon
PreReq: %fillup_prereq %insserv_prereq permissions
Version: 2.25b
Release: 173
Release: 0
Source: %{name}-%{version}.tar.bz2
Source1: %{name}-SuSE.tar.bz2
Patch0: %{name}-%{version}-configure.patch
@@ -39,9 +36,12 @@ Patch9: %{name}-%{version}-chown.diff
Patch10: %{name}-%{version}-zerolen.patch
Patch11: %{name}-%{version}-strcpy.patch
Patch12: thttpd-2.25b-getline.patch
Patch13: thttpd-2.25b-x86_64_machine_not_recognized.patch
Url: http://www.acme.com/software/thttpd/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Small and very simple webserver
License: BSD-3-Clause
Group: Productivity/Networking/Web/Servers
BuildRequires: libtool
%description
@@ -75,6 +75,7 @@ Authors:
%patch10
%patch11
%patch12
%patch13 -p1
%build
# update server root path
@@ -85,7 +86,6 @@ sed -i "s@__PREFIX__@%{_prefix}@g;\
s@__VERSION__@%{version}@g" SuSE/etc/init.d/thttpd
chmod 744 SuSE/etc/init.d/thttpd
chmod 644 SuSE/etc/thttpd.conf
%{suse_update_config}
mv aclocal.m4 acinclude.m4
libtoolize --force
aclocal --force