Subject: [alpine-devel] [PATCH] main/rsyslog: update init.d script

From: Cameron Banta <[email-masked]>
Date: Thu, 26 Jul 2012 17:02:28 +0000

fix issue where rsyslog starts before
hostname is set up, and remote logs
are missing hostname
---
 main/rsyslog/APKBUILD      | 4 ++--
 main/rsyslog/rsyslog.initd | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/main/rsyslog/APKBUILD b/main/rsyslog/APKBUILD
index cdd4be2..4b7241b 100644
--- a/main/rsyslog/APKBUILD
+++ b/main/rsyslog/APKBUILD
@@ -2,7 +2,7 @@
 # Contributor: [email-masked]
 pkgname=rsyslog
 pkgver=6.2.2
-pkgrel=0
+pkgrel=1
 pkgdesc="Enhanced multi-threaded syslogd with database support and more."
 url="http://www.rsyslog.com/"
 arch="all"
@@ -86,7 +86,7 @@ snmp() {
 }
 
 md5sums="b797b8222d6ea4d5dfa007efe8aafa7f  rsyslog-6.2.2.tar.gz
-b3fcedb16f9de2d9434ce4c89004a73b  rsyslog.initd
+e2566e40938c054b61f873dd239d4856  rsyslog.initd
 0a0aef98f677364e6178c34274df7723  rsyslog.confd
 bc43debc9ffdf66bc1409025fd3d1176  rsyslog.logrotate
 65fbf5a7a81a53a70974e3085e96cb41  rsyslog.conf"
diff --git a/main/rsyslog/rsyslog.initd b/main/rsyslog/rsyslog.initd
index 9187fa5..459832e 100644
--- a/main/rsyslog/rsyslog.initd
+++ b/main/rsyslog/rsyslog.initd
@@ -6,6 +6,7 @@
 extra_started_commands="reload"
 
 depend() {
+	need clock hostname localmount
 	provide logger
 }
 
-- 
1.7.11.3

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---