summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-backup/mylvmbackup/mylvmbackup-0.16.ebuild')
-rw-r--r--app-backup/mylvmbackup/mylvmbackup-0.16.ebuild31
1 files changed, 31 insertions, 0 deletions
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}/
+}