Accepting request 45553 from home:ghaskins:erlang
Copy from home:ghaskins:erlang/yaws via accept of submit request 45553 revision 5. Request was accepted with message: reviewed ok. OBS-URL: https://build.opensuse.org/request/show/45553 OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/yaws?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
39c7fa966f
commit
8e901b5f47
34
lsb.patch
Normal file
34
lsb.patch
Normal file
@@ -0,0 +1,34 @@
|
||||
Add proper LSB header to the suse init.d script
|
||||
|
||||
From: Gregory Haskins <ghaskins@novell.com>
|
||||
|
||||
Signed-off-by: Gregory Haskins <ghaskins@novell.com>
|
||||
---
|
||||
|
||||
scripts/suse/yaws.init.d | 14 +++++++++++++-
|
||||
1 files changed, 13 insertions(+), 1 deletions(-)
|
||||
|
||||
|
||||
diff --git a/scripts/suse/yaws.init.d b/scripts/suse/yaws.init.d
|
||||
index f0605d3..be98000 100644
|
||||
--- a/scripts/suse/yaws.init.d
|
||||
+++ b/scripts/suse/yaws.init.d
|
||||
@@ -1,5 +1,17 @@
|
||||
#! /bin/sh
|
||||
-
|
||||
+### BEGIN INIT INFO
|
||||
+# Provides: yaws
|
||||
+# Required-Start: $network $remote_fs
|
||||
+# Should-Start: $null
|
||||
+# Required-Stop: $network $remote_fs
|
||||
+# Should-Stop: $null
|
||||
+# Default-Start: 3 5
|
||||
+# Default-Stop: 0 1 2 6
|
||||
+# Short-Description: A high performance HTTP 1.1 webserver
|
||||
+# Description: Yaws is a HTTP high perfomance 1.1 webserver
|
||||
+# particularly well suited for dynamic-content
|
||||
+# webapplications.
|
||||
+### END INIT INFO
|
||||
|
||||
YAWS_BIN=%prefix%bin/yaws
|
||||
|
@@ -17,6 +17,7 @@ BuildRequires: erlang
|
||||
URL: http://yaws.hyber.org/
|
||||
Source0: http://yaws.hyber.org/download/%{name}-%{version}.tar.gz
|
||||
Patch0: setuid_drv.patch
|
||||
Patch1: lsb.patch
|
||||
#
|
||||
Summary: A high performance HTTP 1.1 webserver
|
||||
%description
|
||||
@@ -32,6 +33,7 @@ modes of operations are supported.
|
||||
%prep
|
||||
%setup -q %{name}-%{version}
|
||||
%patch0 -p1 -b .setuid_drv
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
@@ -56,7 +58,6 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/%{name}-*.pem
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
|
||||
%{_sysconfdir}/init.d/%{pkg_name}
|
||||
%{_sbindir}/rc%{pkg_name}
|
||||
%{_sysconfdir}/%{pkg_name}
|
||||
%{_prefix}/lib/%{name}
|
||||
%{_mandir}/man1/%{name}.1.*
|
||||
@@ -67,6 +68,8 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Aug 12 2010 ghaskins@novell.com
|
||||
- fix LSB header in ./scripts/suse/yaws.init.d
|
||||
* Fri Jun 4 2010 alex@simonov.in.ua 1.88
|
||||
- version bump to 1.88
|
||||
* Thu Aug 27 2009 alex@simonov.in.ua 1.84
|
||||
|
Reference in New Issue
Block a user