commit: 5ee71c63c75292cc6e75397913fa079899ef79b8 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sun Oct 8 12:48:27 2023 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun Oct 8 12:48:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ee71c63
app-backup/mylvmbackup: add 0.16 Closes: https://bugs.gentoo.org/534044 Signed-off-by: David Seifert <soap <AT> gentoo.org> app-backup/mylvmbackup/Manifest | 1 + .../files/mylvmbackup-0.16-fix-build-system.patch | 11 ++++++++ app-backup/mylvmbackup/mylvmbackup-0.16.ebuild | 31 ++++++++++++++++++++++ 3 files changed, 43 insertions(+) diff --git a/app-backup/mylvmbackup/Manifest b/app-backup/mylvmbackup/Manifest index e4b66dfb2adc..5bb27e48373c 100644 --- a/app-backup/mylvmbackup/Manifest +++ b/app-backup/mylvmbackup/Manifest @@ -1 +1,2 @@ DIST mylvmbackup-0.14.tar.gz 57338 BLAKE2B 2f3e85d73a08d8877f84c04e8a7368500fd10dd9ee5172110589175918c10d0e80dce17b842286aacb111d088c275138a87fcf46fb4b416d0697221735cc36b3 SHA512 e61f0c4e24b5482b2f7f4213e810a32776d1b39f589e27c309a4940943f3a9519041e53cf85a089a94100e2cc81715a033682bbe071220d755c14211b4177bfa +DIST mylvmbackup-0.16.tar.gz 58490 BLAKE2B 43f34e0e386c4cc4f8d30ce3fb3f9e93f4ce7c795d1b74a0e6c2bb74750c855b5eeb41a09d9c2f6e0532bb297d00519d99b356fa98dfb0fbc4fc8cfd25daa976 SHA512 c23dd47c7cb13883cddb161f12a1698a1108b65d01a0e6d6feafab2d92c98717e38d4bc4a23712cb2e23f624e8c4e6307a2b0f171024976b52a58a720fd01b8b diff --git a/app-backup/mylvmbackup/files/mylvmbackup-0.16-fix-build-system.patch b/app-backup/mylvmbackup/files/mylvmbackup-0.16-fix-build-system.patch new file mode 100644 index 000000000000..486f336e70c0 --- /dev/null +++ b/app-backup/mylvmbackup/files/mylvmbackup-0.16-fix-build-system.patch @@ -0,0 +1,11 @@ +--- a/Makefile ++++ b/Makefile +@@ -58,7 +58,7 @@ + README \ + TODO + CLEANFILES = $(NAME).spec $(NAME) $(MAN1) $(MAN1).html +-prefix = /usr/local ++prefix = /usr + sysconfdir = /etc + bindir = $(prefix)/bin + datadir = $(prefix)/share/mylvmbackup diff --git a/app-backup/mylvmbackup/mylvmbackup-0.16.ebuild b/app-backup/mylvmbackup/mylvmbackup-0.16.ebuild new file mode 100644 index 000000000000..12b6e0aecc11 --- /dev/null +++ b/app-backup/mylvmbackup/mylvmbackup-0.16.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Tool for creating backups of MySQL server's data files using LVM snapshots" +HOMEPAGE="http://lenzg.net/mylvmbackup/" +SRC_URI="http://lenzg.net/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=" + dev-perl/Config-IniFiles + dev-perl/DBD-mysql + dev-perl/TimeDate + sys-fs/lvm2 + virtual/mysql" + +PATCHES=( + "${FILESDIR}"/${PN}-0.16-fix-build-system.patch + "${FILESDIR}"/${PN}-0.14-fix-config.patch +) + +src_install() { + default + + keepdir /var/tmp/${PN}/{backup,mnt} + fperms 0700 /var/tmp/${PN}/ +}