From 43fe2e5cd3a2f232e2305505a116e1a1dc0da645 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Mon, 8 May 2023 22:56:03 +0200 Subject: app-backup/rsnapshot: switch to virtual/openssh Signed-off-by: David Seifert Signed-off-by: Sam James --- app-backup/rsnapshot/rsnapshot-1.4.4-r1.ebuild | 51 ++++++++++++++++++++++++ app-backup/rsnapshot/rsnapshot-1.4.4.ebuild | 50 ------------------------ app-backup/rsnapshot/rsnapshot-1.4.5-r1.ebuild | 54 ++++++++++++++++++++++++++ app-backup/rsnapshot/rsnapshot-1.4.5.ebuild | 54 -------------------------- 4 files changed, 105 insertions(+), 104 deletions(-) create mode 100644 app-backup/rsnapshot/rsnapshot-1.4.4-r1.ebuild delete mode 100644 app-backup/rsnapshot/rsnapshot-1.4.4.ebuild create mode 100644 app-backup/rsnapshot/rsnapshot-1.4.5-r1.ebuild delete mode 100644 app-backup/rsnapshot/rsnapshot-1.4.5.ebuild (limited to 'app-backup/rsnapshot') diff --git a/app-backup/rsnapshot/rsnapshot-1.4.4-r1.ebuild b/app-backup/rsnapshot/rsnapshot-1.4.4-r1.ebuild new file mode 100644 index 000000000000..7d9892a4c31b --- /dev/null +++ b/app-backup/rsnapshot/rsnapshot-1.4.4-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A filesystem backup utility based on rsync" +HOMEPAGE="https://www.rsnapshot.org" +SRC_URI="https://www.rsnapshot.org/downloads/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha amd64 ppc ppc64 sparc x86" + +RDEPEND=" + >=dev-lang/perl-5.8.2 + dev-perl/Lchown + >=sys-apps/util-linux-2.12-r4 + >=sys-apps/coreutils-5.0.91-r4 + virtual/openssh + >=net-misc/rsync-2.6.0" +DEPEND="${RDEPEND}" + +src_prepare() { + default + # remove '/etc/' since we don't place it here, bug #461554 + sed -i -e 's:/etc/rsnapshot.conf.default:rsnapshot.conf.default:' rsnapshot-program.pl || die +} + +src_install() { + docompress -x "/usr/share/doc/${PF}/rsnapshot.conf.default" + + # Change sysconfdir to install the template file as documentation + # rather than in /etc. + emake install DESTDIR="${D}" \ + sysconfdir="${EPREFIX}/usr/share/doc/${PF}" + + dodoc README.md AUTHORS ChangeLog \ + docs/Upgrading_from_1.1 + + docinto utils + dodoc utils/{README,rsnaptar,*.sh,*.pl} + + docinto utils/rsnapshotdb + dodoc utils/rsnapshotdb/* +} + +pkg_postinst() { + elog "The template configuration file has been installed as" + elog " /usr/share/doc/${PF}/rsnapshot.conf.default" + elog "Copy and edit the the above file as /etc/rsnapshot.conf" +} diff --git a/app-backup/rsnapshot/rsnapshot-1.4.4.ebuild b/app-backup/rsnapshot/rsnapshot-1.4.4.ebuild deleted file mode 100644 index ae093a14dfed..000000000000 --- a/app-backup/rsnapshot/rsnapshot-1.4.4.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="A filesystem backup utility based on rsync" -HOMEPAGE="https://www.rsnapshot.org" -SRC_URI="https://www.rsnapshot.org/downloads/${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~alpha amd64 ppc ppc64 sparc x86" - -RDEPEND=">=dev-lang/perl-5.8.2 - dev-perl/Lchown - >=sys-apps/util-linux-2.12-r4 - >=sys-apps/coreutils-5.0.91-r4 - >=net-misc/openssh-3.7.1_p2-r1 - >=net-misc/rsync-2.6.0" -DEPEND="${RDEPEND}" - -src_prepare() { - default - # remove '/etc/' since we don't place it here, bug #461554 - sed -i -e 's:/etc/rsnapshot.conf.default:rsnapshot.conf.default:' rsnapshot-program.pl || die -} - -src_install() { - docompress -x "/usr/share/doc/${PF}/rsnapshot.conf.default" - - # Change sysconfdir to install the template file as documentation - # rather than in /etc. - emake install DESTDIR="${D}" \ - sysconfdir="${EPREFIX}/usr/share/doc/${PF}" - - dodoc README.md AUTHORS ChangeLog \ - docs/Upgrading_from_1.1 - - docinto utils - dodoc utils/{README,rsnaptar,*.sh,*.pl} - - docinto utils/rsnapshotdb - dodoc utils/rsnapshotdb/* -} - -pkg_postinst() { - elog "The template configuration file has been installed as" - elog " /usr/share/doc/${PF}/rsnapshot.conf.default" - elog "Copy and edit the the above file as /etc/rsnapshot.conf" -} diff --git a/app-backup/rsnapshot/rsnapshot-1.4.5-r1.ebuild b/app-backup/rsnapshot/rsnapshot-1.4.5-r1.ebuild new file mode 100644 index 000000000000..0603ae32895c --- /dev/null +++ b/app-backup/rsnapshot/rsnapshot-1.4.5-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A filesystem backup utility based on rsync" +HOMEPAGE="https://www.rsnapshot.org" +SRC_URI="https://www.rsnapshot.org/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=">=dev-lang/perl-5.8.2 + dev-perl/Lchown + >=sys-apps/util-linux-2.12-r4 + >=sys-apps/coreutils-5.0.91-r4 + virtual/openssh + >=net-misc/rsync-2.6.0" +DEPEND="${RDEPEND}" + +src_prepare() { + default + # remove '/etc/' since we don't place it here, bug #461554 + sed -i -e 's:/etc/rsnapshot.conf.default:rsnapshot.conf.default:' rsnapshot-program.pl || die +} + +src_test() { + emake test +} + +src_install() { + docompress -x "/usr/share/doc/${PF}/rsnapshot.conf.default" + + # Change sysconfdir to install the template file as documentation + # rather than in /etc. + emake install DESTDIR="${D}" \ + sysconfdir="${EPREFIX}/usr/share/doc/${PF}" + + dodoc README.md AUTHORS ChangeLog \ + docs/Upgrading_from_1.1 + + docinto utils + dodoc utils/{README,rsnaptar,*.sh,*.pl} + + docinto utils/rsnapshotdb + dodoc utils/rsnapshotdb/* +} + +pkg_postinst() { + elog "The template configuration file has been installed as" + elog " ${EROOT}/usr/share/doc/${PF}/rsnapshot.conf.default" + elog "Copy and edit the the above file as ${EROOT}/etc/rsnapshot.conf" +} diff --git a/app-backup/rsnapshot/rsnapshot-1.4.5.ebuild b/app-backup/rsnapshot/rsnapshot-1.4.5.ebuild deleted file mode 100644 index 01fb77647b26..000000000000 --- a/app-backup/rsnapshot/rsnapshot-1.4.5.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="A filesystem backup utility based on rsync" -HOMEPAGE="https://www.rsnapshot.org" -SRC_URI="https://www.rsnapshot.org/downloads/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" - -RDEPEND=">=dev-lang/perl-5.8.2 - dev-perl/Lchown - >=sys-apps/util-linux-2.12-r4 - >=sys-apps/coreutils-5.0.91-r4 - >=net-misc/openssh-3.7.1_p2-r1 - >=net-misc/rsync-2.6.0" -DEPEND="${RDEPEND}" - -src_prepare() { - default - # remove '/etc/' since we don't place it here, bug #461554 - sed -i -e 's:/etc/rsnapshot.conf.default:rsnapshot.conf.default:' rsnapshot-program.pl || die -} - -src_test() { - emake test -} - -src_install() { - docompress -x "/usr/share/doc/${PF}/rsnapshot.conf.default" - - # Change sysconfdir to install the template file as documentation - # rather than in /etc. - emake install DESTDIR="${D}" \ - sysconfdir="${EPREFIX}/usr/share/doc/${PF}" - - dodoc README.md AUTHORS ChangeLog \ - docs/Upgrading_from_1.1 - - docinto utils - dodoc utils/{README,rsnaptar,*.sh,*.pl} - - docinto utils/rsnapshotdb - dodoc utils/rsnapshotdb/* -} - -pkg_postinst() { - elog "The template configuration file has been installed as" - elog " ${EROOT}/usr/share/doc/${PF}/rsnapshot.conf.default" - elog "Copy and edit the the above file as ${EROOT}/etc/rsnapshot.conf" -} -- cgit v1.2.3-65-gdbad