app-admin/rsyslog: restructure FILESDIR
authorThomas Deutschmann <whissi@gentoo.org>
Fri, 3 Aug 2018 00:57:46 +0000 (02:57 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Fri, 3 Aug 2018 01:19:37 +0000 (03:19 +0200)
"8-stable" sub directory is not needed anymore since upstream
has changed release/version schema long time ago (in 2014).

Package-Manager: Portage-2.3.44, Repoman-2.3.10

app-admin/rsyslog/files/50-default-r1.conf [moved from app-admin/rsyslog/files/8-stable/50-default-r1.conf with 100% similarity]
app-admin/rsyslog/files/README.gentoo [moved from app-admin/rsyslog/files/8-stable/README.gentoo with 100% similarity]
app-admin/rsyslog/files/rsyslog-8.35.0-fix-issue2719.patch [moved from app-admin/rsyslog/files/8-stable/rsyslog-8.35.0-fix-issue2719.patch with 100% similarity]
app-admin/rsyslog/files/rsyslog-8.35.0-fix-issue2726.patch [moved from app-admin/rsyslog/files/8-stable/rsyslog-8.35.0-fix-issue2726.patch with 100% similarity]
app-admin/rsyslog/files/rsyslog-r1.logrotate [moved from app-admin/rsyslog/files/8-stable/rsyslog-r1.logrotate with 100% similarity]
app-admin/rsyslog/files/rsyslog.conf [moved from app-admin/rsyslog/files/8-stable/rsyslog.conf with 100% similarity]
app-admin/rsyslog/files/rsyslog.confd-r1 [moved from app-admin/rsyslog/files/8-stable/rsyslog.confd-r1 with 100% similarity]
app-admin/rsyslog/files/rsyslog.initd-r1 [moved from app-admin/rsyslog/files/8-stable/rsyslog.initd-r1 with 97% similarity]
app-admin/rsyslog/rsyslog-8.35.0-r1.ebuild
app-admin/rsyslog/rsyslog-8.36.0-r1.ebuild

similarity index 97%
rename from app-admin/rsyslog/files/8-stable/rsyslog.initd-r1
rename to app-admin/rsyslog/files/rsyslog.initd-r1
index 7d7aa4bc9313b96ac17f3e0e3e316c5c12e7a952..f34bacb7511b0511902ce4b66aa102b43acd1d90 100644 (file)
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 RSYSLOG_CONFIGFILE=${RSYSLOG_CONFIGFILE:-"/etc/rsyslog.conf"}
index 3ff1c28e0acdcc0ba99b1abae191274c9929d864..55f6815d83a2e27eb78de6e96ca7882468e7fa1e 100644 (file)
@@ -9,8 +9,6 @@ inherit autotools eutils linux-info python-any-r1 systemd
 DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
 HOMEPAGE="https://www.rsyslog.com/"
 
-BRANCH="8-stable"
-
 if [[ ${PV} == "9999" ]]; then
        EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git"
 
@@ -49,8 +47,8 @@ else
        "
 
        PATCHES=(
-               "${FILESDIR}"/${BRANCH}/${PN}-8.35.0-fix-issue2719.patch
-               "${FILESDIR}"/${BRANCH}/${PN}-8.35.0-fix-issue2726.patch
+               "${FILESDIR}"/${PN}-8.35.0-fix-issue2719.patch
+               "${FILESDIR}"/${PN}-8.35.0-fix-issue2726.patch
        )
 fi
 
@@ -183,7 +181,6 @@ src_configure() {
                --disable-generate-man-pages
                --without-valgrind-testbench
                $(use_enable test testbench)
-               $(use_enable curl libcurl)
                # Input Plugins without depedencies
                --enable-imdiag
                --enable-imfile
@@ -221,7 +218,6 @@ src_configure() {
                $(use_enable debug)
                $(use_enable debug diagtools)
                $(use_enable debug memcheck)
-               $(use_enable debug rtinst)
                $(use_enable debug valgrind)
                # Misc
                $(use_enable curl fmhttp)
@@ -298,15 +294,15 @@ src_install() {
        local DOCS=(
                AUTHORS
                ChangeLog
-               "${FILESDIR}"/${BRANCH}/README.gentoo
+               "${FILESDIR}"/README.gentoo
        )
 
        use doc && local HTML_DOCS=( "${S}/docs/build/." )
 
        default
 
-       newconfd "${FILESDIR}/${BRANCH}/${PN}.confd-r1" ${PN}
-       newinitd "${FILESDIR}/${BRANCH}/${PN}.initd-r1" ${PN}
+       newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
+       newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
 
        keepdir /var/empty/dev
        keepdir /var/spool/${PN}
@@ -314,13 +310,13 @@ src_install() {
        keepdir /etc/${PN}.d
 
        insinto /etc
-       newins "${FILESDIR}/${BRANCH}/${PN}.conf" ${PN}.conf
+       newins "${FILESDIR}/${PN}.conf" ${PN}.conf
 
        insinto /etc/rsyslog.d/
-       newins "${FILESDIR}/${BRANCH}/50-default-r1.conf" 50-default.conf
+       newins "${FILESDIR}/50-default-r1.conf" 50-default.conf
 
        insinto /etc/logrotate.d/
-       newins "${FILESDIR}/${BRANCH}/${PN}-r1.logrotate" ${PN}
+       newins "${FILESDIR}/${PN}-r1.logrotate" ${PN}
 
        if use mysql; then
                insinto /usr/share/doc/${PF}/scripts/mysql
index 27d2078ef8fd046ba55dc9b2d97315267ebe222b..7e8144dac25a2372ea38bebdc090677cbd8d0b05 100644 (file)
@@ -9,8 +9,6 @@ inherit autotools eutils linux-info python-any-r1 systemd
 DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
 HOMEPAGE="https://www.rsyslog.com/"
 
-BRANCH="8-stable"
-
 if [[ ${PV} == "9999" ]]; then
        EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git"
 
@@ -307,15 +305,15 @@ src_install() {
        local DOCS=(
                AUTHORS
                ChangeLog
-               "${FILESDIR}"/${BRANCH}/README.gentoo
+               "${FILESDIR}"/README.gentoo
        )
 
        use doc && local HTML_DOCS=( "${S}/docs/build/." )
 
        default
 
-       newconfd "${FILESDIR}/${BRANCH}/${PN}.confd-r1" ${PN}
-       newinitd "${FILESDIR}/${BRANCH}/${PN}.initd-r1" ${PN}
+       newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
+       newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
 
        keepdir /var/empty/dev
        keepdir /var/spool/${PN}
@@ -323,13 +321,13 @@ src_install() {
        keepdir /etc/${PN}.d
 
        insinto /etc
-       newins "${FILESDIR}/${BRANCH}/${PN}.conf" ${PN}.conf
+       newins "${FILESDIR}/${PN}.conf" ${PN}.conf
 
        insinto /etc/rsyslog.d/
-       newins "${FILESDIR}/${BRANCH}/50-default-r1.conf" 50-default.conf
+       newins "${FILESDIR}/50-default-r1.conf" 50-default.conf
 
        insinto /etc/logrotate.d/
-       newins "${FILESDIR}/${BRANCH}/${PN}-r1.logrotate" ${PN}
+       newins "${FILESDIR}/${PN}-r1.logrotate" ${PN}
 
        if use mysql; then
                insinto /usr/share/doc/${PF}/scripts/mysql