summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-proxy/ufdbguard')
-rw-r--r--net-proxy/ufdbguard/ChangeLog6
-rw-r--r--net-proxy/ufdbguard/files/ufdb.initd6
2 files changed, 8 insertions, 4 deletions
diff --git a/net-proxy/ufdbguard/ChangeLog b/net-proxy/ufdbguard/ChangeLog
index 5a4ea6d09999..5cb9486464d3 100644
--- a/net-proxy/ufdbguard/ChangeLog
+++ b/net-proxy/ufdbguard/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-proxy/ufdbguard
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/ChangeLog,v 1.19 2011/09/06 10:03:37 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/ChangeLog,v 1.20 2011/09/14 11:37:04 flameeyes Exp $
+
+ 14 Sep 2011; Diego E. Pettenò <flameeyes@gentoo.org> files/ufdb.initd:
+ Do not use bashism to reload ufdbGuard; use the new extra_started_commands
+ variable instead of opts.
06 Sep 2011; Diego E. Pettenò <flameeyes@gentoo.org>
ufdbguard-1.24-r1.ebuild, ufdbguard-1.26.ebuild, files/ufdb.initd:
diff --git a/net-proxy/ufdbguard/files/ufdb.initd b/net-proxy/ufdbguard/files/ufdb.initd
index 19ec14f1ca21..1ad58e89e470 100644
--- a/net-proxy/ufdbguard/files/ufdb.initd
+++ b/net-proxy/ufdbguard/files/ufdb.initd
@@ -1,11 +1,11 @@
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/files/ufdb.initd,v 1.3 2011/09/06 10:03:38 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/files/ufdb.initd,v 1.4 2011/09/14 11:37:04 flameeyes Exp $
# reconfig is what the upstream documentation suggests, so let's
# provide it for compatibility.
-opts="${opts} reload reconfig"
+extra_started_commands="reload reconfig"
depend() {
need net
@@ -74,7 +74,7 @@ reload() {
gentables
ebegin "Reloading ufdbGuard"
- kill -HUP $(</var/run/ufdbguard/ufdbguardd.pid)
+ kill -HUP "$(cat /var/run/ufdbguard/ufdbguardd.pid)"
eend $? "Failed to reload ufdbGuard"
}