From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 47F4613835A for ; Fri, 7 May 2021 12:46:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 487D1E0826; Fri, 7 May 2021 12:46:28 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31BCAE081A for ; Fri, 7 May 2021 12:46:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0C26133BEB2 for ; Fri, 7 May 2021 12:46:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8896C74C for ; Fri, 7 May 2021 12:46:25 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1620391556.0af6108fdfc47dc7127a6a9f8e01e7cae14e6c18.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs-auto-snapshot/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/zfs-auto-snapshot/zfs-auto-snapshot-1.2.4.ebuild X-VCS-Directories: sys-fs/zfs-auto-snapshot/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 0af6108fdfc47dc7127a6a9f8e01e7cae14e6c18 X-VCS-Branch: master Date: Fri, 7 May 2021 12:46:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b52a21db-52c2-4110-90f2-035fb23ba451 X-Archives-Hash: 5ae5f9561184c497bd0adb228605cb79 commit: 0af6108fdfc47dc7127a6a9f8e01e7cae14e6c18 Author: Georgy Yakovlev gentoo org> AuthorDate: Fri May 7 12:45:56 2021 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Fri May 7 12:45:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0af6108f 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 gentoo.org> .../zfs-auto-snapshot-1.2.4.ebuild | 52 ---------------------- 1 file changed, 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 0975c6425fc..00000000000 --- 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 -}