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 88B98138359 for ; Sat, 19 Sep 2020 23:46:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE267E0828; Sat, 19 Sep 2020 23:46:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B410FE0828 for ; Sat, 19 Sep 2020 23:46:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 86B1333E5E4 for ; Sat, 19 Sep 2020 23:46:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 318D9EC for ; Sat, 19 Sep 2020 23:46:23 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1600559143.1c4a51032de933388a99d7500c667a9bc83dba17.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/syslog-notify/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/syslog-notify/syslog-notify-0.2.ebuild X-VCS-Directories: sys-apps/syslog-notify/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 1c4a51032de933388a99d7500c667a9bc83dba17 X-VCS-Branch: master Date: Sat, 19 Sep 2020 23:46:23 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 81ed14a4-7905-4ead-9c4a-2c73bf7cd0ed X-Archives-Hash: 51903a09fac0a1a49de9c3da9de34956 commit: 1c4a51032de933388a99d7500c667a9bc83dba17 Author: David Seifert gentoo org> AuthorDate: Sat Sep 19 23:45:43 2020 +0000 Commit: David Seifert gentoo org> CommitDate: Sat Sep 19 23:45:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c4a5103 sys-apps/syslog-notify: Port to EAPI 7 Closes: https://bugs.gentoo.org/670528 Closes: https://bugs.gentoo.org/742092 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: David Seifert gentoo.org> sys-apps/syslog-notify/syslog-notify-0.2.ebuild | 34 ++++++++++++++----------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/sys-apps/syslog-notify/syslog-notify-0.2.ebuild b/sys-apps/syslog-notify/syslog-notify-0.2.ebuild index 35fc40806b2..c77dd707397 100644 --- a/sys-apps/syslog-notify/syslog-notify-0.2.ebuild +++ b/sys-apps/syslog-notify/syslog-notify-0.2.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 -inherit readme.gentoo +EAPI=7 + +inherit readme.gentoo-r1 DESCRIPTION="Notifications for syslog entries via libnotify" HOMEPAGE="https://jtniehof.github.com/syslog-notify/" @@ -11,26 +12,29 @@ SRC_URI="https://github.com/downloads/jtniehof/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" DEPEND=">=x11-libs/libnotify-0.7" -RDEPEND="${DEPEND} - || ( app-admin/syslog-ng app-admin/rsyslog )" +RDEPEND=" + ${DEPEND} + || ( + app-admin/syslog-ng + app-admin/rsyslog + )" + +src_install() { + default + dodoc HACKING + + dodir /var/spool + keepdir /var/spool -pkg_setup() { - DOCS="AUTHORS CHANGELOG HACKING README" - DISABLE_AUTOFORMATTING="yes" - DOC_CONTENTS="Add the following options on your /etc/syslog-ng/syslog-ng.conf + local DISABLE_AUTOFORMATTING="yes" + local DOC_CONTENTS="Add the following options on your /etc/syslog-ng/syslog-ng.conf file: # destination notify { pipe("/var/spool/syslog-notify"); }; # log { source(src); destination(notify);}; Remember to restart syslog-ng before starting syslog-notify." -} - -src_install() { - default - dodir /var/spool readme.gentoo_create_doc }