summaryrefslogtreecommitdiff
path: root/sys-fs/sanoid
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
commit290aebdea65a02557706eaeda477fef0437b6a48 (patch)
treef87a939169a508a2e943570501b64cc16b411cda /sys-fs/sanoid
parent6783ddcd4b73d9ce586a71770caed352bec93b16 (diff)
downloadbaldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip
Adding metadata
Diffstat (limited to 'sys-fs/sanoid')
-rw-r--r--sys-fs/sanoid/Manifest1
-rw-r--r--sys-fs/sanoid/metadata.xml30
-rw-r--r--sys-fs/sanoid/sanoid-2.3.0-r1.ebuild117
-rw-r--r--sys-fs/sanoid/sanoid-2.3.0-r2.ebuild117
-rw-r--r--sys-fs/sanoid/sanoid-9999.ebuild117
5 files changed, 0 insertions, 382 deletions
diff --git a/sys-fs/sanoid/Manifest b/sys-fs/sanoid/Manifest
deleted file mode 100644
index fb05cd6662cf..000000000000
--- a/sys-fs/sanoid/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST sanoid-2.3.0.gh.tar.gz 86514 BLAKE2B bb1d7284875ba6654ddebe712423f27f5b0ff2eaeacc759a301c7c75552aabf172b639504dfcd31b2bbc78a1f2eaf290c120509b1acdebdc79ee2978a809267a SHA512 b1201cddd5aa04474307e2984a6d3625c54135730663e973c11834bc34c544f7771b1870dcf2820f774817ad2a689c5a2bc602d84b3b8f48db61acb3224edb72
diff --git a/sys-fs/sanoid/metadata.xml b/sys-fs/sanoid/metadata.xml
deleted file mode 100644
index b1c6cf106d30..000000000000
--- a/sys-fs/sanoid/metadata.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="proxy">
- <email>mschiff@gentoo.org</email>
- <name>Marc Schiffbauer</name>
- </maintainer>
- <maintainer type="person" proxied="yes">
- <email>johnmh@johnmh.me</email>
- <name>John M. Harris, Jr.</name>
- </maintainer>
- <use>
- <flag name="cron">Installs cron file</flag>
- </use>
- <upstream>
- <changelog>https://github.com/jimsalterjrs/sanoid/releases</changelog>
- <bugs-to>https://github.com/jimsalterjrs/sanoid/issues</bugs-to>
- </upstream>
- <longdescription lang="en">
- Sanoid is a policy-driven snapshot management tool for ZFS filesystems.
- When combined with the Linux KVM hypervisor, you can use it to make your
- systems functionally immortal.
- More prosaically, you can use Sanoid to create, automatically thin, and
- monitor snapshots and pool health from a single eminently human-readable
- TOML config file at /etc/sanoid/sanoid.conf.
- (Sanoid also requires a "defaults" file located at
- /etc/sanoid/sanoid.defaults.conf, which is not user-editable.)
- </longdescription>
- <origin>baldeagleos-repo</origin>
-</pkgmetadata>
diff --git a/sys-fs/sanoid/sanoid-2.3.0-r1.ebuild b/sys-fs/sanoid/sanoid-2.3.0-r1.ebuild
deleted file mode 100644
index 49b9d35cf295..000000000000
--- a/sys-fs/sanoid/sanoid-2.3.0-r1.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 2023-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd optfeature
-
-DESCRIPTION="Policy-driven snapshot management and replication tools for OpenZFS"
-HOMEPAGE="https://github.com/jimsalterjrs/sanoid"
-
-if [[ "${PV}" = *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/jimsalterjrs/${PN^}.git"
-else
- SRC_URI="https://github.com/jimsalterjrs/${PN^}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="cron"
-
-BDEPEND="
- dev-lang/perl
- sys-apps/groff
-"
-
-RDEPEND="
- dev-lang/perl
- app-arch/gzip
- app-arch/lz4
- cron? ( virtual/cron )
- dev-perl/Capture-Tiny
- dev-perl/Config-IniFiles
- sys-apps/pv
- sys-block/mbuffer
- sys-fs/zfs
- virtual/perl-Data-Dumper
- virtual/perl-Getopt-Long
- virtual/ssh
-"
-
-DEPEND="${RDEPEND}"
-
-src_compile() {
- perldoc -onroff -dsanoid.1 sanoid || die "Failed to compile sanoid.1"
- perldoc -onroff -dsyncoid.1 syncoid || die "Failed to compile syncoid.1"
-}
-
-DOCS="CHANGELIST LICENSE README.md"
-
-src_prepare() {
- default
- sed -i 's|/usr/sbin|/usr/bin|g' \
- "packages/debian/sanoid.timer" \
- "packages/debian/sanoid.service" \
- "packages/debian/sanoid.sanoid-prune.service" || die
-}
-
-src_install() {
- dobin sanoid
- dobin syncoid
- doman sanoid.1 syncoid.1
-
- # Documents
- einstalldocs
-
- # Configs
- insinto /etc/sanoid
- doins sanoid.defaults.conf
- doins sanoid.conf
-
- # Binaries
- dobin sanoid syncoid findoid sleepymutex
-
- # Cron?
- if use cron; then
- insinto /etc/cron.d
- echo "#* * * * * root TZ=UTC /usr/bin/sanoid --cron" > "${PN}.cron" || die
- newins "${PN}.cron" "${PN}"
- fi
-
- # Systemd units
- systemd_dounit "packages/debian/sanoid.service"
- systemd_dounit "packages/debian/sanoid.timer"
- systemd_dounit "packages/debian/sanoid.sanoid-prune.service"
-}
-
-pkg_postinst() {
- optfeature "lzop compression support" app-arch/lzop
- optfeature "pigz compression support" app-arch/pigz
- optfeature "zstd compression support" app-arch/zstd
-
- if [[ -z ${REPLACING_VERSIONS} ]]; then
- elog "You will need to set up your ${EROOT}/etc/sanoid/sanoid.conf file before"
- elog "running sanoid for the first time. For details, please consult the"
- elog "documentation on https://github.com/jimsalterjrs/sanoid."
- if systemd_is_booted; then
- elog ""
- elog "To enable sanoid via systemd timer, run:"
- elog " systemctl enable --now sanoid.timer"
- if use cron; then
- elog ""
- elog "or"
- elog ""
- fi
- fi
- if use cron; then
- elog "To enable sanoid via cron, uncomment the cron job in /etc/cron.d/sanoid."
- fi
- else
- elog "Removing old cache files (if any)"
- [[ -f /var/cache/sanoidsnapshots.txt ]] && rm -v /var/cache/sanoidsnapshots.txt
- [[ -f /var/cache/sanoid/snapshots.txt ]] && rm -v /var/cache/sanoid/snapshots.txt
- [[ -f /var/cache/sanoid/datasets.txt ]] && rm -v /var/cache/sanoid/datasets.txt
- fi
-}
diff --git a/sys-fs/sanoid/sanoid-2.3.0-r2.ebuild b/sys-fs/sanoid/sanoid-2.3.0-r2.ebuild
deleted file mode 100644
index 006ee9d4a9af..000000000000
--- a/sys-fs/sanoid/sanoid-2.3.0-r2.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 2023-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd optfeature
-
-DESCRIPTION="Policy-driven snapshot management and replication tools for OpenZFS"
-HOMEPAGE="https://github.com/jimsalterjrs/sanoid"
-
-if [[ "${PV}" = *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/jimsalterjrs/${PN^}.git"
-else
- SRC_URI="https://github.com/jimsalterjrs/${PN^}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="cron"
-
-BDEPEND="
- dev-lang/perl
- sys-apps/groff
-"
-
-RDEPEND="
- dev-lang/perl
- app-arch/gzip
- app-arch/lz4
- cron? ( virtual/cron )
- dev-perl/Capture-Tiny
- dev-perl/Config-IniFiles
- sys-apps/pv
- sys-block/mbuffer
- sys-fs/zfs
- virtual/perl-Data-Dumper
- virtual/perl-Getopt-Long
- virtual/ssh
-"
-
-DEPEND="${RDEPEND}"
-
-src_compile() {
- perldoc -onroff -dsanoid.1 sanoid || die "Failed to compile sanoid.1"
- perldoc -onroff -dsyncoid.1 syncoid || die "Failed to compile syncoid.1"
-}
-
-DOCS="CHANGELIST LICENSE README.md"
-
-src_prepare() {
- default
- sed -i 's|/usr/sbin|/usr/bin|g' \
- "packages/debian/sanoid.timer" \
- "packages/debian/sanoid.service" \
- "packages/debian/sanoid.sanoid-prune.service" || die
-}
-
-src_install() {
- dobin sanoid
- dobin syncoid
- doman sanoid.1 syncoid.1
-
- # Documents
- einstalldocs
-
- # Configs
- insinto /etc/sanoid
- doins sanoid.defaults.conf
- doins sanoid.conf
-
- # Binaries
- dobin sanoid syncoid findoid sleepymutex
-
- # Cron?
- if use cron; then
- insinto /etc/cron.d
- echo "#* * * * * root TZ=UTC /usr/bin/sanoid --cron" > "${PN}.cron" || die
- newins "${PN}.cron" "${PN}"
- fi
-
- # Systemd units
- systemd_dounit "packages/debian/sanoid.service"
- systemd_dounit "packages/debian/sanoid.timer"
- systemd_newunit "packages/debian/sanoid.sanoid-prune.service" "sanoid-prune.service"
-}
-
-pkg_postinst() {
- optfeature "lzop compression support" app-arch/lzop
- optfeature "pigz compression support" app-arch/pigz
- optfeature "zstd compression support" app-arch/zstd
-
- if [[ -z ${REPLACING_VERSIONS} ]]; then
- elog "You will need to set up your ${EROOT}/etc/sanoid/sanoid.conf file before"
- elog "running sanoid for the first time. For details, please consult the"
- elog "documentation on https://github.com/jimsalterjrs/sanoid."
- if systemd_is_booted; then
- elog ""
- elog "To enable sanoid via systemd timer, run:"
- elog " systemctl enable --now sanoid.timer"
- if use cron; then
- elog ""
- elog "or"
- elog ""
- fi
- fi
- if use cron; then
- elog "To enable sanoid via cron, uncomment the cron job in /etc/cron.d/sanoid."
- fi
- else
- elog "Removing old cache files (if any)"
- [[ -f /var/cache/sanoidsnapshots.txt ]] && rm -v /var/cache/sanoidsnapshots.txt
- [[ -f /var/cache/sanoid/snapshots.txt ]] && rm -v /var/cache/sanoid/snapshots.txt
- [[ -f /var/cache/sanoid/datasets.txt ]] && rm -v /var/cache/sanoid/datasets.txt
- fi
-}
diff --git a/sys-fs/sanoid/sanoid-9999.ebuild b/sys-fs/sanoid/sanoid-9999.ebuild
deleted file mode 100644
index 49b9d35cf295..000000000000
--- a/sys-fs/sanoid/sanoid-9999.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 2023-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd optfeature
-
-DESCRIPTION="Policy-driven snapshot management and replication tools for OpenZFS"
-HOMEPAGE="https://github.com/jimsalterjrs/sanoid"
-
-if [[ "${PV}" = *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/jimsalterjrs/${PN^}.git"
-else
- SRC_URI="https://github.com/jimsalterjrs/${PN^}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="cron"
-
-BDEPEND="
- dev-lang/perl
- sys-apps/groff
-"
-
-RDEPEND="
- dev-lang/perl
- app-arch/gzip
- app-arch/lz4
- cron? ( virtual/cron )
- dev-perl/Capture-Tiny
- dev-perl/Config-IniFiles
- sys-apps/pv
- sys-block/mbuffer
- sys-fs/zfs
- virtual/perl-Data-Dumper
- virtual/perl-Getopt-Long
- virtual/ssh
-"
-
-DEPEND="${RDEPEND}"
-
-src_compile() {
- perldoc -onroff -dsanoid.1 sanoid || die "Failed to compile sanoid.1"
- perldoc -onroff -dsyncoid.1 syncoid || die "Failed to compile syncoid.1"
-}
-
-DOCS="CHANGELIST LICENSE README.md"
-
-src_prepare() {
- default
- sed -i 's|/usr/sbin|/usr/bin|g' \
- "packages/debian/sanoid.timer" \
- "packages/debian/sanoid.service" \
- "packages/debian/sanoid.sanoid-prune.service" || die
-}
-
-src_install() {
- dobin sanoid
- dobin syncoid
- doman sanoid.1 syncoid.1
-
- # Documents
- einstalldocs
-
- # Configs
- insinto /etc/sanoid
- doins sanoid.defaults.conf
- doins sanoid.conf
-
- # Binaries
- dobin sanoid syncoid findoid sleepymutex
-
- # Cron?
- if use cron; then
- insinto /etc/cron.d
- echo "#* * * * * root TZ=UTC /usr/bin/sanoid --cron" > "${PN}.cron" || die
- newins "${PN}.cron" "${PN}"
- fi
-
- # Systemd units
- systemd_dounit "packages/debian/sanoid.service"
- systemd_dounit "packages/debian/sanoid.timer"
- systemd_dounit "packages/debian/sanoid.sanoid-prune.service"
-}
-
-pkg_postinst() {
- optfeature "lzop compression support" app-arch/lzop
- optfeature "pigz compression support" app-arch/pigz
- optfeature "zstd compression support" app-arch/zstd
-
- if [[ -z ${REPLACING_VERSIONS} ]]; then
- elog "You will need to set up your ${EROOT}/etc/sanoid/sanoid.conf file before"
- elog "running sanoid for the first time. For details, please consult the"
- elog "documentation on https://github.com/jimsalterjrs/sanoid."
- if systemd_is_booted; then
- elog ""
- elog "To enable sanoid via systemd timer, run:"
- elog " systemctl enable --now sanoid.timer"
- if use cron; then
- elog ""
- elog "or"
- elog ""
- fi
- fi
- if use cron; then
- elog "To enable sanoid via cron, uncomment the cron job in /etc/cron.d/sanoid."
- fi
- else
- elog "Removing old cache files (if any)"
- [[ -f /var/cache/sanoidsnapshots.txt ]] && rm -v /var/cache/sanoidsnapshots.txt
- [[ -f /var/cache/sanoid/snapshots.txt ]] && rm -v /var/cache/sanoid/snapshots.txt
- [[ -f /var/cache/sanoid/datasets.txt ]] && rm -v /var/cache/sanoid/datasets.txt
- fi
-}