[packages/lighttpd] - drop upstart support - rel 3
baggins
baggins at pld-linux.org
Tue Aug 18 15:58:36 CEST 2015
commit 75962c30e74500ae88fbc2b61767b19cb5760733
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Aug 18 22:58:01 2015 +0900
- drop upstart support
- rel 3
lighttpd.spec | 7 ++-----
lighttpd.upstart | 16 ----------------
2 files changed, 2 insertions(+), 21 deletions(-)
---
diff --git a/lighttpd.spec b/lighttpd.spec
index 4acdefe..b95cb90 100644
--- a/lighttpd.spec
+++ b/lighttpd.spec
@@ -30,7 +30,7 @@ Summary: Fast and light HTTP server
Summary(pl.UTF-8): Szybki i lekki serwer HTTP
Name: lighttpd
Version: 1.4.36
-Release: 2
+Release: 3
License: BSD
Group: Networking/Daemons/HTTP
Source0: http://download.lighttpd.net/lighttpd/releases-1.4.x/%{name}-%{version}.tar.xz
@@ -53,7 +53,6 @@ Source11: %{name}-pld.html
Source12: %{name}.monitrc
Source13: branch.sh
Source14: TODO
-Source15: %{name}.upstart
Source16: %{name}.tmpfiles
Source17: %{name}.service
Source100: %{name}-mod_access.conf
@@ -892,7 +891,7 @@ export LIGHTTPD_TEST_PORT=$((2048 + RANDOM % 10))
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_lighttpddir}/{cgi-bin,html},/etc/{logrotate.d,rc.d/init.d,sysconfig,init,monit}} \
+install -d $RPM_BUILD_ROOT{%{_lighttpddir}/{cgi-bin,html},/etc/{logrotate.d,rc.d/init.d,sysconfig,monit}} \
$RPM_BUILD_ROOT%{_sysconfdir}/{conf,vhosts,webapps}.d \
$RPM_BUILD_ROOT{/var/log/{%{name},archive/%{name}},/var/run/%{name}} \
$RPM_BUILD_ROOT%{_datadir}/lighttpd/errordocs \
@@ -908,7 +907,6 @@ cp -p %{SOURCE2} %{SOURCE3} mime.types.conf $RPM_BUILD_ROOT%{_sysconfdir}
cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
cp -p %{SOURCE12} $RPM_BUILD_ROOT/etc/monit/%{name}.monitrc
-cp -p %{SOURCE15} $RPM_BUILD_ROOT/etc/init/%{name}.conf
cp -p %{SOURCE16} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
cp -p %{SOURCE17} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
@@ -1118,7 +1116,6 @@ fi
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.types.conf
%attr(640,root,lighttpd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.user
-%config(noreplace) %verify(not md5 mtime size) /etc/init/%{name}.conf
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
%attr(750,root,root) %dir /var/log/archive/%{name}
diff --git a/lighttpd.upstart b/lighttpd.upstart
deleted file mode 100644
index 8bb9b70..0000000
--- a/lighttpd.upstart
+++ /dev/null
@@ -1,16 +0,0 @@
-description "Lighttpd Web Server"
-
-start on pld.network-started
-stop on pld.shutdown-started
-
-respawn
-
-console output
-
-env SHELL=/bin/sh
-
-script
- # Source old-style service configuration
- [ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
- exec /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf $HTTPD_OPTS
-end script
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lighttpd.git/commitdiff/75962c30e74500ae88fbc2b61767b19cb5760733
More information about the pld-cvs-commit
mailing list