diff options
author | William Hubbs <williamh@gentoo.org> | 2012-09-22 18:08:04 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-09-22 18:08:04 +0000 |
commit | 0c62932fb4331a74fc0d331f973c227ad98c5873 (patch) | |
tree | b966518104c42830586721e728d4b8712548641b /net-misc/badvpn | |
parent | Revision bump to use gmime-2.6 instead of old 2.4 slot. (diff) | |
download | gentoo-2-0c62932fb4331a74fc0d331f973c227ad98c5873.tar.gz gentoo-2-0c62932fb4331a74fc0d331f973c227ad98c5873.tar.bz2 gentoo-2-0c62932fb4331a74fc0d331f973c227ad98c5873.zip |
Fix init scripts to use logger if syslogging is enabled.
(Portage version: 2.2.0_alpha131/cvs/Linux i686)
Diffstat (limited to 'net-misc/badvpn')
-rw-r--r-- | net-misc/badvpn/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/badvpn/badvpn-1.999.123-r3.ebuild (renamed from net-misc/badvpn/badvpn-1.999.123-r2.ebuild) | 2 | ||||
-rw-r--r-- | net-misc/badvpn/files/badvpn-ncd.init | 3 | ||||
-rw-r--r-- | net-misc/badvpn/files/badvpn-server.init | 3 |
4 files changed, 14 insertions, 3 deletions
diff --git a/net-misc/badvpn/ChangeLog b/net-misc/badvpn/ChangeLog index 46e69da5d93c..0c59e8dcd484 100644 --- a/net-misc/badvpn/ChangeLog +++ b/net-misc/badvpn/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/badvpn # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/badvpn/ChangeLog,v 1.5 2012/08/23 01:37:21 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/badvpn/ChangeLog,v 1.6 2012/09/22 18:08:04 williamh Exp $ + +*badvpn-1.999.123-r3 (22 Sep 2012) + + 22 Sep 2012; William Hubbs <williamh@gentoo.org> +badvpn-1.999.123-r3.ebuild, + -badvpn-1.999.123-r2.ebuild, files/badvpn-ncd.init, files/badvpn-server.init: + Fix init scripts to use logger if syslogging is enabled. *badvpn-1.999.123-r2 (23 Aug 2012) @@ -25,4 +31,3 @@ +files/badvpn-ncd.conf, +files/badvpn-ncd.init, +files/badvpn-server.conf, +files/badvpn-server.init, +metadata.xml: initial commit with Ambroz Bizjak - diff --git a/net-misc/badvpn/badvpn-1.999.123-r2.ebuild b/net-misc/badvpn/badvpn-1.999.123-r3.ebuild index ba62b8c090db..de3eb6e60634 100644 --- a/net-misc/badvpn/badvpn-1.999.123-r2.ebuild +++ b/net-misc/badvpn/badvpn-1.999.123-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/badvpn/badvpn-1.999.123-r2.ebuild,v 1.1 2012/08/23 01:37:21 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/badvpn/badvpn-1.999.123-r3.ebuild,v 1.1 2012/09/22 18:08:04 williamh Exp $ EAPI=4 inherit eutils cmake-utils user diff --git a/net-misc/badvpn/files/badvpn-ncd.init b/net-misc/badvpn/files/badvpn-ncd.init index ce35ba351716..e07af6773567 100644 --- a/net-misc/badvpn/files/badvpn-ncd.init +++ b/net-misc/badvpn/files/badvpn-ncd.init @@ -12,6 +12,9 @@ depend() { need localmount after bootmisc before netmount + if yesno "${ncd_syslog:-NO}"; then + use logger + fi } start_pre() { diff --git a/net-misc/badvpn/files/badvpn-server.init b/net-misc/badvpn/files/badvpn-server.init index b4200c3ad096..94e3518854cd 100644 --- a/net-misc/badvpn/files/badvpn-server.init +++ b/net-misc/badvpn/files/badvpn-server.init @@ -12,6 +12,9 @@ start_stop_daemon_args="--user \"${vpn_user:-badvpn}\"" depend() { need localmount after bootmisc + if yesno "${vpn_syslog:-NO}"; then + use logger + fi } start_pre() { |