summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-05-07 05:45:56 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-05-07 05:45:56 -0700
commit0af6108fdfc47dc7127a6a9f8e01e7cae14e6c18 (patch)
tree3ff440f030426cfde072971c095066291eee4deb /sys-fs
parentsys-fs/zfs-auto-snapshot: arm64 stable (diff)
downloadgentoo-0af6108fdfc47dc7127a6a9f8e01e7cae14e6c18.tar.gz
gentoo-0af6108fdfc47dc7127a6a9f8e01e7cae14e6c18.tar.bz2
gentoo-0af6108fdfc47dc7127a6a9f8e01e7cae14e6c18.zip
sys-fs/zfs-auto-snapshot: drop old
Closes: https://bugs.gentoo.org/788001 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/zfs-auto-snapshot/zfs-auto-snapshot-1.2.4.ebuild52
1 files changed, 0 insertions, 52 deletions
diff --git a/sys-fs/zfs-auto-snapshot/zfs-auto-snapshot-1.2.4.ebuild b/sys-fs/zfs-auto-snapshot/zfs-auto-snapshot-1.2.4.ebuild
deleted file mode 100644
index 0975c6425fc7..000000000000
--- a/sys-fs/zfs-auto-snapshot/zfs-auto-snapshot-1.2.4.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit readme.gentoo-r1
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
-else
- MY_P="${PN}-upstream-${PV}"
- SRC_URI="https://github.com/zfsonlinux/${PN}/archive/upstream/${PV}.tar.gz -> ${MY_P}.tar.gz"
- KEYWORDS="amd64 ~arm64 ppc64"
- S="${WORKDIR}/${MY_P}"
-fi
-
-DESCRIPTION="ZFS Automatic Snapshot Service for Linux"
-HOMEPAGE="https://github.com/zfsonlinux/zfs-auto-snapshot"
-
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="+default-exclude"
-
-RDEPEND="sys-fs/zfs
- virtual/cron"
-
-src_install() {
- if use default-exclude; then
- for cronfile in etc/"${PN}".cron.{daily,hourly,monthly,weekly}; do
- sed -i "s/\(^exec ${PN}\)/\1 --default-exclude/" "${cronfile}" || die
- done
- sed -i "s/\(; ${PN}\)/\1 --default-exclude/" etc/"${PN}".cron.frequent || die
- fi
- readme.gentoo_create_doc
- emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-
- if ! use default-exclude; then
- ewarn "snapshots are enabled by default for ALL zfs datasets"
- ewarn "set com.sun:auto-snapshot=false or enable 'default-exclude' flag"
- elog
- fi
-
- if has_version sys-process/fcron; then
- ewarn "frequent snapshot may not work if you are using fcron"
- ewarn "you should add frequent job to crontab manually"
- fi
-}