summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-05-14 11:50:24 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-05-14 11:55:32 +0200
commitf5cad1dc885bf5fce971a9a514bcc6776cd842c9 (patch)
tree03b2180d9622c3709b419fa0a8be15958d4bc9d9 /sys-fs/e2fsprogs
parentarch/riscv/package.use.mask: Masked "cron" USE for sys-fs/e2fsprogs (diff)
downloadgentoo-f5cad1dc885bf5fce971a9a514bcc6776cd842c9.tar.gz
gentoo-f5cad1dc885bf5fce971a9a514bcc6776cd842c9.tar.bz2
gentoo-f5cad1dc885bf5fce971a9a514bcc6776cd842c9.zip
sys-fs/e2fsprogs: Revbump to make cron script optional
because of its dependency to sys-fs/lvm2 Also remove trailing slash from --with-root-prefix configure option Closes: https://bugs.gentoo.org/685934 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-fs/e2fsprogs')
-rw-r--r--sys-fs/e2fsprogs/e2fsprogs-1.45.1-r1.ebuild (renamed from sys-fs/e2fsprogs/e2fsprogs-1.45.1.ebuild)7
-rw-r--r--sys-fs/e2fsprogs/metadata.xml1
2 files changed, 5 insertions, 3 deletions
diff --git a/sys-fs/e2fsprogs/e2fsprogs-1.45.1.ebuild b/sys-fs/e2fsprogs/e2fsprogs-1.45.1-r1.ebuild
index 67447c7617e2..c0ce32929e1b 100644
--- a/sys-fs/e2fsprogs/e2fsprogs-1.45.1.ebuild
+++ b/sys-fs/e2fsprogs/e2fsprogs-1.45.1-r1.ebuild
@@ -14,10 +14,11 @@ SRC_URI="mirror://sourceforge/e2fsprogs/${P}.tar.xz
LICENSE="GPL-2 BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 -x86-fbsd ~amd64-linux ~x86-linux ~m68k-mint"
-IUSE="fuse nls static-libs elibc_FreeBSD"
+IUSE="cron fuse nls static-libs elibc_FreeBSD"
RDEPEND="~sys-libs/${PN}-libs-${PV}
>=sys-apps/util-linux-2.16
+ cron? ( sys-fs/lvm2[-device-mapper-only(-)] )
fuse? ( sys-fs/fuse:0 )
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}"
@@ -71,8 +72,8 @@ src_configure() {
append-cppflags -D_GNU_SOURCE
local myeconfargs=(
- --with-root-prefix="${EPREFIX}/"
- --with-crond-dir="${EPREFIX}/etc/cron.d"
+ --with-root-prefix="${EPREFIX}"
+ $(use_with cron crond-dir "${EPREFIX}/etc/cron.d")
--with-systemd-unit-dir="$(systemd_get_systemunitdir)"
--with-udev-rules-dir="${EPREFIX}$(get_udevdir)/rules.d"
--enable-symlink-install
diff --git a/sys-fs/e2fsprogs/metadata.xml b/sys-fs/e2fsprogs/metadata.xml
index ba8429b814c1..4ffc67ac95a7 100644
--- a/sys-fs/e2fsprogs/metadata.xml
+++ b/sys-fs/e2fsprogs/metadata.xml
@@ -6,6 +6,7 @@
<name>Gentoo Base System</name>
</maintainer>
<use>
+ <flag name="cron">Install e2scrub_all cron script</flag>
<flag name='fuse'>Build fuse2fs, a FUSE file system client for ext2/ext3/ext4 file systems</flag>
</use>
<upstream>