diff options
author | Martin Dummer <martin.dummer@gmx.net> | 2018-07-08 15:10:55 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-07-08 18:15:29 +0200 |
commit | 6d442f534584f01ea2b3a1b918526fff108ccbd5 (patch) | |
tree | dcc413467d09cb4890dd8332b8eb8c6786b9d772 /sys-fs | |
parent | www-client/firefox: Work around broken system-hunspell support, bug (diff) | |
download | gentoo-6d442f534584f01ea2b3a1b918526fff108ccbd5.tar.gz gentoo-6d442f534584f01ea2b3a1b918526fff108ccbd5.tar.bz2 gentoo-6d442f534584f01ea2b3a1b918526fff108ccbd5.zip |
sys-fs/btrfsmaintenance: remove old
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9142
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/btrfsmaintenance/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/btrfsmaintenance/btrfsmaintenance-0.3.1.ebuild | 45 | ||||
-rw-r--r-- | sys-fs/btrfsmaintenance/btrfsmaintenance-0.4.1.ebuild | 60 |
3 files changed, 0 insertions, 106 deletions
diff --git a/sys-fs/btrfsmaintenance/Manifest b/sys-fs/btrfsmaintenance/Manifest index 7e4a806204ce..a921a74949d7 100644 --- a/sys-fs/btrfsmaintenance/Manifest +++ b/sys-fs/btrfsmaintenance/Manifest @@ -1,3 +1,2 @@ -DIST btrfsmaintenance-0.3.1.tar.gz 19698 BLAKE2B f792d7e55dd738b4be2f18aa4047c8b2c092244b71c50e32cf881a7862b14a2d897a170515388fcee40a89763c4c91d357ca3ceb559e372ca3c673d0b1d3aec2 SHA512 89be6da3d6bb3f85f645ac899f173d19cb787e938dd2fc91be16b3202a6784ca33dc4a4d9f9ee78ac6a96468dbaa4f4dc7a2f2e6998d550ea44d7af24198dbfb DIST btrfsmaintenance-0.4.1.tar.gz 21621 BLAKE2B 36632d64022c7bf64548b0f6076640ee41cc9a6705b521fdc841f72f46808006ea6888476e05bb18bc51c44cb29eb444f816f34a1f251a8254156959aa178cdd SHA512 9a7ccc874e5c62689a0c899e8cc40d0b61625a492d28d8a0fe6c8a32be5990600d55094cb203d81a66488ff363fb960208bda5c19cf2948b51ba1b2764e34000 DIST btrfsmaintenance-0.4.tar.gz 21622 BLAKE2B 844d467b7712093370c1d6391e26d5046deb84cee6fd60b5774743415c75ad00a1e27c0be21004c260680b72b5615dcfd01b84f1eba3d57f7c9c5d22b6750d8d SHA512 2d19e82c03b291d157dc5f763dcb094330fd1a4aaee6215dbe576a5da44f71f4adee55fd06c60409e4699ac671d2fc73628f202f4f68270910eeba782f0ad153 diff --git a/sys-fs/btrfsmaintenance/btrfsmaintenance-0.3.1.ebuild b/sys-fs/btrfsmaintenance/btrfsmaintenance-0.3.1.ebuild deleted file mode 100644 index 7e5966d6ecfd..000000000000 --- a/sys-fs/btrfsmaintenance/btrfsmaintenance-0.3.1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -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 x86" -IUSE="" - -DEPEND="" -RDEPEND="${DEPEND} - sys-fs/btrfs-progs - virtual/cron" - -src_install() { - dodoc README.md CONTRIBUTING.md btrfsmaintenance.changes - insinto /etc/default - newins sysconfig.btrfsmaintenance btrfsmaintenance - insinto /usr/share/btrfsmaintenance - doins btrfsmaintenance-functions - exeinto /usr/share/btrfsmaintenance - doexe btrfs*.sh - insinto /usr/lib/systemd/system - doins btrfsmaintenance-refresh.service -} - -pkg_postinst() { - elog "Installing default btrfsmaintenance scripts" - "${EROOT%/}"/usr/share/btrfsmaintenance/btrfsmaintenance-refresh-cron.sh || die - 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" -} - -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 -} diff --git a/sys-fs/btrfsmaintenance/btrfsmaintenance-0.4.1.ebuild b/sys-fs/btrfsmaintenance/btrfsmaintenance-0.4.1.ebuild deleted file mode 100644 index 1a84583a1cbd..000000000000 --- a/sys-fs/btrfsmaintenance/btrfsmaintenance-0.4.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -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 ~x86" -IUSE="systemd" - -RDEPEND="systemd? ( sys-apps/systemd ) - sys-fs/btrfs-progs - 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 -} |