summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-11-19 12:01:03 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-11-19 12:01:25 +0100
commit6f1411bf1ff98767714833224103aaf4215e22b9 (patch)
treee11184809da5fbb6f8b1ec58d937e082ecfd71dd /app-admin/sysklogd
parentx11-misc/lightdm-gtk-greeter: Replaced gnome2-utils with xdg-utils (diff)
downloadgentoo-6f1411bf1ff98767714833224103aaf4215e22b9.tar.gz
gentoo-6f1411bf1ff98767714833224103aaf4215e22b9.tar.bz2
gentoo-6f1411bf1ff98767714833224103aaf4215e22b9.zip
app-admin/sysklogd: Introduced "logger" USE flag
Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-admin/sysklogd')
-rw-r--r--app-admin/sysklogd/metadata.xml1
-rw-r--r--app-admin/sysklogd/sysklogd-2.0.ebuild8
2 files changed, 5 insertions, 4 deletions
diff --git a/app-admin/sysklogd/metadata.xml b/app-admin/sysklogd/metadata.xml
index 868e8ae726d..be89c65a5ee 100644
--- a/app-admin/sysklogd/metadata.xml
+++ b/app-admin/sysklogd/metadata.xml
@@ -7,6 +7,7 @@
</maintainer>
<use>
<flag name="klogd">Build and install (deprecated) kernel logging daemon</flag>
+ <flag name="logger">Build the logger program</flag>
<flag name="logrotate">use app-admin/logrotate for rotating logs rather than custom cron scripts</flag>
</use>
</pkgmetadata>
diff --git a/app-admin/sysklogd/sysklogd-2.0.ebuild b/app-admin/sysklogd/sysklogd-2.0.ebuild
index 60df329feb5..b1caf749a27 100644
--- a/app-admin/sysklogd/sysklogd-2.0.ebuild
+++ b/app-admin/sysklogd/sysklogd-2.0.ebuild
@@ -12,11 +12,11 @@ SRC_URI="https://github.com/troglobit/sysklogd/releases/download/v$(ver_cut 1-2)
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="klogd logrotate systemd"
+IUSE="klogd logger logrotate systemd"
RESTRICT="test"
-DEPEND=""
-RDEPEND=""
+DEPEND="!sys-apps/util-linux[logger]"
+RDEPEND="${DEPEND}"
DOCS=( ChangeLog.md README.md )
@@ -37,8 +37,8 @@ src_prepare() {
src_configure() {
local myeconfargs=(
# we have logger from sys-apps/util-linux
- --without-logger
$(use_with klogd)
+ $(use_with logger)
$(use_with systemd systemd $(systemd_get_systemunitdir))
)
econf "${myeconfargs[@]}"