commit:     900c85f11a6b64428e1f5545c1f60e46b014105b
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 17 21:26:43 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Nov 17 21:27:45 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=900c85f1

app-admin/rsyslog: install examples into /usr/share/$PN to avoid false positive 
QA check

BadInsIntoDir check is going crazy when it finds "doc" in path and want you
to use dodoc functions.

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 .../rsyslog/{rsyslog-8.1910.0.ebuild => rsyslog-8.1910.0-r1.ebuild} | 6 +++---
 .../rsyslog/{rsyslog-8.1911.0.ebuild => rsyslog-8.1911.0-r1.ebuild} | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/app-admin/rsyslog/rsyslog-8.1910.0.ebuild 
b/app-admin/rsyslog/rsyslog-8.1910.0-r1.ebuild
similarity index 98%
rename from app-admin/rsyslog/rsyslog-8.1910.0.ebuild
rename to app-admin/rsyslog/rsyslog-8.1910.0-r1.ebuild
index d8a51113e54..85601a397b5 100644
--- a/app-admin/rsyslog/rsyslog-8.1910.0.ebuild
+++ b/app-admin/rsyslog/rsyslog-8.1910.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == "9999" ]]; then
 
        inherit git-r3
 else
-       KEYWORDS="amd64 arm ~arm64 ~hppa x86"
+       KEYWORDS="amd64 arm ~arm64 hppa x86"
 
        SRC_URI="
                https://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
@@ -318,12 +318,12 @@ src_install() {
        newins "${FILESDIR}/${PN}-r1.logrotate" ${PN}
 
        if use mysql; then
-               insinto /usr/share/doc/${PF}/scripts/mysql
+               insinto /usr/share/${PN}/scripts/mysql
                doins plugins/ommysql/createDB.sql
        fi
 
        if use postgres; then
-               insinto /usr/share/doc/${PF}/scripts/pgsql
+               insinto /usr/share/${PN}/scripts/pgsql
                doins plugins/ompgsql/createDB.sql
        fi
 

diff --git a/app-admin/rsyslog/rsyslog-8.1911.0.ebuild 
b/app-admin/rsyslog/rsyslog-8.1911.0-r1.ebuild
similarity index 99%
rename from app-admin/rsyslog/rsyslog-8.1911.0.ebuild
rename to app-admin/rsyslog/rsyslog-8.1911.0-r1.ebuild
index 09eed323e45..b1ce46d2e2f 100644
--- a/app-admin/rsyslog/rsyslog-8.1911.0.ebuild
+++ b/app-admin/rsyslog/rsyslog-8.1911.0-r1.ebuild
@@ -318,12 +318,12 @@ src_install() {
        newins "${FILESDIR}/${PN}-r1.logrotate" ${PN}
 
        if use mysql; then
-               insinto /usr/share/doc/${PF}/scripts/mysql
+               insinto /usr/share/${PN}/scripts/mysql
                doins plugins/ommysql/createDB.sql
        fi
 
        if use postgres; then
-               insinto /usr/share/doc/${PF}/scripts/pgsql
+               insinto /usr/share/${PN}/scripts/pgsql
                doins plugins/ompgsql/createDB.sql
        fi
 

Reply via email to