app-admin/rsyslog: install examples into /usr/share/$PN to avoid false positive QA...
authorThomas Deutschmann <whissi@gentoo.org>
Sun, 17 Nov 2019 21:26:43 +0000 (22:26 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Sun, 17 Nov 2019 21:27:45 +0000 (22:27 +0100)
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@gentoo.org>
app-admin/rsyslog/rsyslog-8.1910.0-r1.ebuild [moved from app-admin/rsyslog/rsyslog-8.1910.0.ebuild with 98% similarity]
app-admin/rsyslog/rsyslog-8.1911.0-r1.ebuild [moved from app-admin/rsyslog/rsyslog-8.1911.0.ebuild with 99% similarity]

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 d8a51113e54caf48cf85f4a938609a340bb32c51..85601a397b5ffe042d715c8e5617f5fae36cbe1e 100644 (file)
@@ -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
 
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 09eed323e4582acb3b97a747ef25ff705fbfa3e4..b1ce46d2e2f273b6ede08f5a760bde75a5122fb4 100644 (file)
@@ -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