diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-09-14 11:37:04 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-09-14 11:37:04 +0000 |
commit | aff46cd87f22774335a1d5981b7e3e2ff4364aef (patch) | |
tree | 5a505bd240eeaa58e2285c94156df7781014e95f /net-proxy | |
parent | Fix building with libpng15 wrt #381413 by Diego Elio Pettenò (diff) | |
download | historical-aff46cd87f22774335a1d5981b7e3e2ff4364aef.tar.gz historical-aff46cd87f22774335a1d5981b7e3e2ff4364aef.tar.bz2 historical-aff46cd87f22774335a1d5981b7e3e2ff4364aef.zip |
Do not use bashism to reload ufdbGuard; use the new extra_started_commands variable instead of opts.
Package-Manager: portage-2.2.0_alpha56/cvs/Linux x86_64
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/ufdbguard/ChangeLog | 6 | ||||
-rw-r--r-- | net-proxy/ufdbguard/files/ufdb.initd | 6 |
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" } |