diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-10-01 16:12:34 -0600 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-10 04:03:05 +0100 |
commit | bd68e7bfc7a1b925936fd60d6600e3e2c670a54f (patch) | |
tree | 62602de6bb9d28ec20349710999850fa1752f27b /app-backup/mylvmbackup | |
parent | app-backup/mylvmbackup: use HTTPS (diff) | |
download | gentoo-bd68e7bfc7a1b925936fd60d6600e3e2c670a54f.tar.gz gentoo-bd68e7bfc7a1b925936fd60d6600e3e2c670a54f.tar.bz2 gentoo-bd68e7bfc7a1b925936fd60d6600e3e2c670a54f.zip |
app-backup/mylvmbackup: do not install files into /var/tmp
Closes: https://bugs.gentoo.org/840960
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-backup/mylvmbackup')
-rw-r--r-- | app-backup/mylvmbackup/files/mylvmbackup.conf | 2 | ||||
-rw-r--r-- | app-backup/mylvmbackup/mylvmbackup-0.16-r1.ebuild | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/app-backup/mylvmbackup/files/mylvmbackup.conf b/app-backup/mylvmbackup/files/mylvmbackup.conf new file mode 100644 index 000000000000..555c4853a4b6 --- /dev/null +++ b/app-backup/mylvmbackup/files/mylvmbackup.conf @@ -0,0 +1,2 @@ +d /var/tmp/mylvmbackup/backup 0700 - - - - +d /var/tmp/mylvmbackup/mnt 0700 - - - - diff --git a/app-backup/mylvmbackup/mylvmbackup-0.16-r1.ebuild b/app-backup/mylvmbackup/mylvmbackup-0.16-r1.ebuild new file mode 100644 index 000000000000..a54c4ea48eb2 --- /dev/null +++ b/app-backup/mylvmbackup/mylvmbackup-0.16-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit tmpfiles + +DESCRIPTION="Tool for creating backups of MySQL server's data files using LVM snapshots" +HOMEPAGE="https://lenzg.net/mylvmbackup/" +SRC_URI="https://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 + + dotmpfiles "${FILESDIR}/${PN}.conf" +} + +pkg_postinst() { + tmpfiles_process "${PN}.conf" +} |