From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7C467139694 for ; Wed, 29 Mar 2017 07:36:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B51121C088; Wed, 29 Mar 2017 07:36:51 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5991D21C088 for ; Wed, 29 Mar 2017 07:36:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E1F2F34162B for ; Wed, 29 Mar 2017 07:36:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A824F7300 for ; Wed, 29 Mar 2017 07:36:48 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1490772994.2a8aa5f3e4847d8f79a9e25597745e5ba5128205.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/opendmarc/files/, mail-filter/opendmarc/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/opendmarc/files/opendmarc.initd mail-filter/opendmarc/opendmarc-1.1.3.ebuild mail-filter/opendmarc/opendmarc-1.3.0.ebuild mail-filter/opendmarc/opendmarc-1.3.1.ebuild mail-filter/opendmarc/opendmarc-1.3.2.ebuild X-VCS-Directories: mail-filter/opendmarc/ mail-filter/opendmarc/files/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 2a8aa5f3e4847d8f79a9e25597745e5ba5128205 X-VCS-Branch: master Date: Wed, 29 Mar 2017 07:36:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: af10a700-393e-4a2a-9322-5f4ccec9f508 X-Archives-Hash: 51d68b5a16da08e9d9ba69411744a485 commit: 2a8aa5f3e4847d8f79a9e25597745e5ba5128205 Author: Fabian Groffen gentoo org> AuthorDate: Wed Mar 29 07:36:34 2017 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Wed Mar 29 07:36:34 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a8aa5f3 mail-filter/opendmarc: create /var/run/opendmarc at runtime, bug #605512 Package-Manager: Portage-2.3.3, Repoman-2.3.1 mail-filter/opendmarc/files/opendmarc.initd | 5 ++++- mail-filter/opendmarc/opendmarc-1.1.3.ebuild | 2 +- mail-filter/opendmarc/opendmarc-1.3.0.ebuild | 4 +--- mail-filter/opendmarc/opendmarc-1.3.1.ebuild | 4 +--- mail-filter/opendmarc/opendmarc-1.3.2.ebuild | 2 -- 5 files changed, 7 insertions(+), 10 deletions(-) diff --git a/mail-filter/opendmarc/files/opendmarc.initd b/mail-filter/opendmarc/files/opendmarc.initd index 0f248fcb86c..6a8300f145d 100644 --- a/mail-filter/opendmarc/files/opendmarc.initd +++ b/mail-filter/opendmarc/files/opendmarc.initd @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 CONFFILE="/etc/opendmarc/${SVCNAME}.conf" @@ -14,6 +14,9 @@ check_cfg() { eerror "Configuration file ${CONFFILE} is missing" return 1 fi + # create /var/run/opendmarc + mkdir -p /var/run/opendmarc >& /dev/null + chown ${OPENDMARC_USER}:${OPENDMARC_GROUP} /var/run/opendmarc >& /dev/null PIDFILE=$(sed -ne 's/^[[:space:]]*PidFile[[:space:]]\+//p' "${CONFFILE}") local PIDDIR="${PIDFILE%/*}" if [ ! -d "${PIDDIR}" ] ; then diff --git a/mail-filter/opendmarc/opendmarc-1.1.3.ebuild b/mail-filter/opendmarc/opendmarc-1.1.3.ebuild index b1320258961..776550c0112 100644 --- a/mail-filter/opendmarc/opendmarc-1.1.3.ebuild +++ b/mail-filter/opendmarc/opendmarc-1.1.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 diff --git a/mail-filter/opendmarc/opendmarc-1.3.0.ebuild b/mail-filter/opendmarc/opendmarc-1.3.0.ebuild index e646fa51722..7a751418a03 100644 --- a/mail-filter/opendmarc/opendmarc-1.3.0.ebuild +++ b/mail-filter/opendmarc/opendmarc-1.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -39,8 +39,6 @@ src_install() { newconfd "${FILESDIR}"/opendmarc.confd opendmarc dodir /etc/opendmarc - dodir /var/run/opendmarc - fowners milter:milter /var/run/opendmarc # create config file sed \ diff --git a/mail-filter/opendmarc/opendmarc-1.3.1.ebuild b/mail-filter/opendmarc/opendmarc-1.3.1.ebuild index 6c4e05392bb..22347bba539 100644 --- a/mail-filter/opendmarc/opendmarc-1.3.1.ebuild +++ b/mail-filter/opendmarc/opendmarc-1.3.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -39,8 +39,6 @@ src_install() { newconfd "${FILESDIR}"/opendmarc.confd opendmarc dodir /etc/opendmarc - dodir /var/run/opendmarc - fowners milter:milter /var/run/opendmarc # create config file sed \ diff --git a/mail-filter/opendmarc/opendmarc-1.3.2.ebuild b/mail-filter/opendmarc/opendmarc-1.3.2.ebuild index 0e47fc1dc99..5b2effd5d43 100644 --- a/mail-filter/opendmarc/opendmarc-1.3.2.ebuild +++ b/mail-filter/opendmarc/opendmarc-1.3.2.ebuild @@ -40,8 +40,6 @@ src_install() { newconfd "${FILESDIR}"/opendmarc.confd opendmarc dodir /etc/opendmarc - dodir /var/run/opendmarc - fowners milter:milter /var/run/opendmarc # create config file sed \