summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dummer <martin.dummer@gmx.net>2024-05-31 21:50:47 +0200
committerSam James <sam@gentoo.org>2024-05-31 21:10:33 +0100
commitcedd984c19f43c2021fc7365cb848255b2fba5e0 (patch)
treeed93115ae9f3e886658eb92487022e1db9eb689c
parentapp-text/calibre: add 7.12.0 (diff)
downloadgentoo-cedd984c19f43c2021fc7365cb848255b2fba5e0.tar.gz
gentoo-cedd984c19f43c2021fc7365cb848255b2fba5e0.tar.bz2
gentoo-cedd984c19f43c2021fc7365cb848255b2fba5e0.zip
sys-fs/btrfsmaintenance: drop 0.4.2
Signed-off-by: Martin Dummer <martin.dummer@gmx.net> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--sys-fs/btrfsmaintenance/Manifest1
-rw-r--r--sys-fs/btrfsmaintenance/btrfsmaintenance-0.4.2.ebuild62
2 files changed, 0 insertions, 63 deletions
diff --git a/sys-fs/btrfsmaintenance/Manifest b/sys-fs/btrfsmaintenance/Manifest
index 80ba3e9881bb..c515387a7724 100644
--- a/sys-fs/btrfsmaintenance/Manifest
+++ b/sys-fs/btrfsmaintenance/Manifest
@@ -1,2 +1 @@
-DIST btrfsmaintenance-0.4.2.tar.gz 21826 BLAKE2B 0efc06b6780d7e75573958cd979b991580d518ab756ae80c9f4328f113ab7de87367c6730c23b408298919ac740da3b0ec85ae76face60ad97bf75d9aaa2a178 SHA512 802c131edfbc07bca13b89cd8bfc90923b2f23ba780dcb07009a4c4991a588c66a6ffe780938e66ab632201980e5087cd0751cd9185a8bae1a5faba84bf87233
DIST btrfsmaintenance-0.5.tar.gz 24602 BLAKE2B 313c904aa53fc237472256ae74c9eafaf2305b437e280b6bb9c79c2bbaffb6b273304e57d096a911e658fa41fe80308f2a7ad76ded62d79a7f72439163b36444 SHA512 fadab1cf33992c42d476649fd017ac4ae26d6bf6a814dc49d0b7b38e04861474c4e54e6ebe429a83e662b8e5c7be7f460b551c65788d960e2f8f0c7512deef41
diff --git a/sys-fs/btrfsmaintenance/btrfsmaintenance-0.4.2.ebuild b/sys-fs/btrfsmaintenance/btrfsmaintenance-0.4.2.ebuild
deleted file mode 100644
index ca54be1b39df..000000000000
--- a/sys-fs/btrfsmaintenance/btrfsmaintenance-0.4.2.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-DESCRIPTION="Scripts for btrfs maintenance tasks like periodic scrub, balance, trim or defrag"
-HOMEPAGE="https://github.com/kdave/btrfsmaintenance"
-SRC_URI="https://github.com/kdave/btrfsmaintenance/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64 x86"
-IUSE="systemd"
-
-RDEPEND="
- sys-fs/btrfs-progs
- systemd? ( sys-apps/systemd )
- !systemd? ( virtual/cron )
-"
-
-src_prepare() {
- # Fix config path into watching service
- sed -i 's%/etc/sysconfig/btrfsmaintenance%/etc/default/btrfsmaintenance%g' btrfsmaintenance-refresh.* || \
- die "Unable to patch btrfsmaintenance-refresh.*"
- default
-}
-
-src_install() {
- dodoc README.md CONTRIBUTING.md CHANGES.md
- insinto /etc/default
- newins sysconfig.btrfsmaintenance btrfsmaintenance
- insinto /usr/share/btrfsmaintenance
- doins btrfsmaintenance-functions
- exeinto /usr/share/btrfsmaintenance
- doexe btrfs*.sh
- systemd_dounit *.service *.timer *.path
-}
-
-pkg_postinst() {
- elog "Installing default btrfsmaintenance scripts"
- if use systemd; then
- "${EROOT}"/usr/share/btrfsmaintenance/btrfsmaintenance-refresh-cron.sh systemd-timer || die
- else
- "${EROOT}"/usr/share/btrfsmaintenance/btrfsmaintenance-refresh-cron.sh || die
- fi
- elog "Now edit cron periods and mount points in /etc/default/btrfsmaintenance "
- elog "then run /usr/share/btrfsmaintenance/btrfsmaintenance-refresh-cron.sh to"
- elog "update cron symlinks or run"
- elog "/usr/share/btrfsmaintenance/btrfsmaintenance-refresh-cron.sh systemd-timer"
- elog "to update systemd timers."
- elog "You can also enable btrfsmaintenance-refresh.path service in order to"
- elog "monitor the config files changes and update systemd timers accordly."
-}
-
-pkg_prerm() {
- if [[ -z ${REPLACED_BY_VERSION} ]] ; then
- elog "Removing symlinks from btrfsmaintenance cron tasks"
- "${EROOT}"/usr/share/btrfsmaintenance/btrfsmaintenance-refresh-cron.sh uninstall || die
- fi
-}