From 49567fc79f0c249741923272ef7edba49d0fa983 Mon Sep 17 00:00:00 2001 From: Micha Glave Date: Thu, 18 Feb 2021 14:24:40 +0100 Subject: [PATCH] remove sys-fs/zfs-auto-snap use upstream. --- sys-fs/zfs-auto-snapshot/Manifest | 4 -- sys-fs/zfs-auto-snapshot/files/README.gentoo | 22 -------- sys-fs/zfs-auto-snapshot/metadata.xml | 24 -------- .../zfs-auto-snapshot-1.2.4-r1.ebuild | 56 ------------------- 4 files changed, 106 deletions(-) delete mode 100644 sys-fs/zfs-auto-snapshot/Manifest delete mode 100644 sys-fs/zfs-auto-snapshot/files/README.gentoo delete mode 100644 sys-fs/zfs-auto-snapshot/metadata.xml delete mode 100644 sys-fs/zfs-auto-snapshot/zfs-auto-snapshot-1.2.4-r1.ebuild diff --git a/sys-fs/zfs-auto-snapshot/Manifest b/sys-fs/zfs-auto-snapshot/Manifest deleted file mode 100644 index 4a23243..0000000 --- a/sys-fs/zfs-auto-snapshot/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX README.gentoo 684 BLAKE2B 7175ddfbb8dd5b209fa4fa5e5a3aeecac3fdd102e240f93b640f91bbf0204f9101801a94087383d7087bec08ae490e9769dfcf4f7f218d6daa4779087a8a0d23 SHA512 e77c3a573c2d4499df902b68909c186e4c80ba8b451b493c7e08e5e96ebe281933ce4b5fc11c201e33f27b14a02a35fd85270baf7ddece42a2fcbc6c3c421146 -DIST zfs-auto-snapshot-upstream-1.2.4.zip 18484 BLAKE2B 684bb39471a61a7725fee181125745f94dcd70363cec277bf399d287830e71b2555f85f276f4309ca27eeaa4807fb2beca0f101b9bad7501c286d1687f38a9c8 SHA512 3a3e9180888d7225826770976bd6d66614d582179700d4efeb7ee3bc392cd60c81a970ff4c94204865490a0a4f47ec7c07586a6dd47590637c263666a07c53a3 -EBUILD zfs-auto-snapshot-1.2.4-r1.ebuild 1524 BLAKE2B 97e855593ca53ad6a2f9b4ba83f79ee44e6e3a3552b7c9b7774c7cf2b177e06eb5dd0be5637792ed6b1ad8a3adee8b803017a844f33893e53b0c840f28a6a0fa SHA512 ac8cd8f74158ba08281fe082e1cbcc451321ca157a3b35bb70c4557a6b1a50373da8450b6efda7388a62380f83a4f0da7750aa4b9bc8ff586f8c3ba846ffd99f -MISC metadata.xml 909 BLAKE2B 74eeac781ab385dfd962c316d6792c79ebdffed9084f3c7b071a13b502edb881555e4e9525a1c8c5f2fe0ca51241afbe430f7ce07fdbd4b2554c841f1837af85 SHA512 d98be1718d600b6a04af37294de1eb47e814c74ddf24d4e119d037554baf3f9b551ab43dabd1dcd70b35b65e9fb687325c04371d078757d26c07385ac72143c8 diff --git a/sys-fs/zfs-auto-snapshot/files/README.gentoo b/sys-fs/zfs-auto-snapshot/files/README.gentoo deleted file mode 100644 index cb712d3..0000000 --- a/sys-fs/zfs-auto-snapshot/files/README.gentoo +++ /dev/null @@ -1,22 +0,0 @@ -Use com.sun:auto-snapshot attribute to enable snapshots for datasets -the syntax is: - -zfs set com.sun:auto-snapshot=[true|false] - -or: - -zfs set com.sun:auto-snapshot:=[true|false] - -for example: - -# zfs set com.sun:auto-snapshot=false zroot -Will disalbe all snapshots for zroot and all nested datasets will inherit the property. - -# zfs set com.sun:auto-snapshot=true zroot/ROOT/default -Will enable all types of snapshots for given dataset. - -# zfs set com.sun:auto-snapshot:weekly=true pool/var -Will enable only weekly snapshots for given dataset. - -for details please visit: -https://docs.oracle.com/cd/E19120-01/open.solaris/817-2271/ghzuk/index.html diff --git a/sys-fs/zfs-auto-snapshot/metadata.xml b/sys-fs/zfs-auto-snapshot/metadata.xml deleted file mode 100644 index 7ee701b..0000000 --- a/sys-fs/zfs-auto-snapshot/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - gyakovlev@gentoo.org - Georgy Yakovlev - - - An alternative implementation of the zfs-auto-snapshot service for Linux - that is compatible with zfs-linux and zfs-fuse. - - Automatically create, rotate, and destroy periodic ZFS snapshots. This is - the utility that creates the @zfs-auto-snap_frequent, @zfs-auto-snap_hourly, - @zfs-auto-snap_daily, @zfs-auto-snap_weekly, and @zfs-auto-snap_monthly - snapshots if it is installed. - - - Only take snapshots if dataset has com.sun:auto-snapshot=true property set - - - - zfsonlinux/zfs-auto-snapshot - - diff --git a/sys-fs/zfs-auto-snapshot/zfs-auto-snapshot-1.2.4-r1.ebuild b/sys-fs/zfs-auto-snapshot/zfs-auto-snapshot-1.2.4-r1.ebuild deleted file mode 100644 index 8482128..0000000 --- a/sys-fs/zfs-auto-snapshot/zfs-auto-snapshot-1.2.4-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit readme.gentoo-r1 - -# https://github.com/zfsonlinux/zfs-auto-snapshot/archive/92db087bb019957166ee70c88c6c967e5fd28a70.zip - -REV=92db087bb019957166ee70c88c6c967e5fd28a70 -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/${REV}.zip -> ${MY_P}.zip" - KEYWORDS="~amd64 ~ppc64" - S="${WORKDIR}/${PN}-${REV}" -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 -}