diff options
Diffstat (limited to 'app-backup/mylvmbackup')
-rw-r--r-- | app-backup/mylvmbackup/Manifest | 5 | ||||
-rw-r--r-- | app-backup/mylvmbackup/files/mylvmbackup-0.14-fix-build-system.patch | 17 | ||||
-rw-r--r-- | app-backup/mylvmbackup/files/mylvmbackup-0.14-fix-config.patch | 11 | ||||
-rw-r--r-- | app-backup/mylvmbackup/metadata.xml | 8 | ||||
-rw-r--r-- | app-backup/mylvmbackup/mylvmbackup-0.14.ebuild | 33 |
5 files changed, 74 insertions, 0 deletions
diff --git a/app-backup/mylvmbackup/Manifest b/app-backup/mylvmbackup/Manifest new file mode 100644 index 000000000000..3b8f1ba309f2 --- /dev/null +++ b/app-backup/mylvmbackup/Manifest @@ -0,0 +1,5 @@ +AUX mylvmbackup-0.14-fix-build-system.patch 381 BLAKE2B 02c0af3b1809145bec8c48b4dceee08c78691b97e3a8df0e260cb2ea16e263bf01c6cc5d9a59217b09daa3e9ab5a2ca14ccbe3e154dad73c35eca5dda49d0c97 SHA512 aff25a3828187de79ccaa3b43189a2d2d89381f1628d47bb2fb6b9fe347009e34f2e26697f57ec08c62083596b0fc49dd59c130b1ceb40bf60012608aa09d306 +AUX mylvmbackup-0.14-fix-config.patch 160 BLAKE2B aa9fd816d76743131b59478acf6b7a0b0f1f735b5ec95c011fb0ff2f25452317766e780c0d051ac1c1b46a42e08342791c10748ed55d532e9adfb2f8c1dd37a8 SHA512 b79b0338563459e757ebf7a8b0cadb59847ab085d224904df3730d1c15827214b26246c27b05d098bfc2a0a8c0339cbcb69cf13407408e3befd5c25c26bdfd04 +DIST mylvmbackup-0.14.tar.gz 57338 BLAKE2B 2f3e85d73a08d8877f84c04e8a7368500fd10dd9ee5172110589175918c10d0e80dce17b842286aacb111d088c275138a87fcf46fb4b416d0697221735cc36b3 SHA512 e61f0c4e24b5482b2f7f4213e810a32776d1b39f589e27c309a4940943f3a9519041e53cf85a089a94100e2cc81715a033682bbe071220d755c14211b4177bfa +EBUILD mylvmbackup-0.14.ebuild 678 BLAKE2B b879f2a7701675784b211f3586f929246cdb45dcd2a205578a941f8b5a9f937cfdc39d6788ebc72e36ebef417a6fbffa6c07737dc981ab8659b85c424aa52d48 SHA512 0393f91e96ee75b9320e7b6ec4aa3d040b48a00542e3448f5a666d7a7bca512772b082d986f4796ee477baf2e99bc373c84aced40af433e28f1f45be7d8b3684 +MISC metadata.xml 250 BLAKE2B fe89695d5dcb55e3a59fe901cba061e1b73e5d09cc72d362bb3ec127aecdba741ba23920096bfad7a39c43e35ffbc006fe84f3e50a34c91097a32deceeb91e84 SHA512 c599b09b9aaf744dfe13d0707adde7d3dfd1a8a411e937fcba25e65c6045792cdcf6ceb9004e3dd38b014c486c9f1334bfc898419f59806ec6abebfc71bca382 diff --git a/app-backup/mylvmbackup/files/mylvmbackup-0.14-fix-build-system.patch b/app-backup/mylvmbackup/files/mylvmbackup-0.14-fix-build-system.patch new file mode 100644 index 000000000000..ebfeee6225e4 --- /dev/null +++ b/app-backup/mylvmbackup/files/mylvmbackup-0.14-fix-build-system.patch @@ -0,0 +1,17 @@ +--- a/Makefile ++++ b/Makefile +@@ -45,12 +45,12 @@ + README \ + TODO + CLEANFILES = $(NAME).spec $(NAME) $(MAN1) $(MAN1).html +-prefix = /usr/local ++prefix = /usr + sysconfdir = /etc + bindir = $(prefix)/bin + datadir = $(prefix)/share/mylvmbackup + distdir = $(NAME)-$(VERSION) +-mandir = $(prefix)/man ++mandir = $(prefix)/share/man + man1dir = $(mandir)/man1 + + all: $(DISTFILES) $(MAN1) diff --git a/app-backup/mylvmbackup/files/mylvmbackup-0.14-fix-config.patch b/app-backup/mylvmbackup/files/mylvmbackup-0.14-fix-config.patch new file mode 100644 index 000000000000..ed9ff25d6d20 --- /dev/null +++ b/app-backup/mylvmbackup/files/mylvmbackup-0.14-fix-config.patch @@ -0,0 +1,11 @@ +--- a/mylvmbackup.conf ++++ b/mylvmbackup.conf +@@ -18,7 +18,7 @@ + host= + port= + socket= +-mycnf=/etc/my.cnf ++mycnf=/etc/mysql/my.cnf + + # + # LVM-specific options diff --git a/app-backup/mylvmbackup/metadata.xml b/app-backup/mylvmbackup/metadata.xml new file mode 100644 index 000000000000..4073267daf2a --- /dev/null +++ b/app-backup/mylvmbackup/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>robbat2@gentoo.org</email> + <name>Robin H. Johnson</name> + </maintainer> +</pkgmetadata> diff --git a/app-backup/mylvmbackup/mylvmbackup-0.14.ebuild b/app-backup/mylvmbackup/mylvmbackup-0.14.ebuild new file mode 100644 index 000000000000..77f80942fdf2 --- /dev/null +++ b/app-backup/mylvmbackup/mylvmbackup-0.14.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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" +IUSE="" + +DEPEND="" +RDEPEND=" + dev-perl/Config-IniFiles + dev-perl/DBD-mysql + dev-perl/TimeDate + >=sys-fs/lvm2-2.02.06 + virtual/mysql" + +PATCHES=( + "${FILESDIR}"/${PN}-0.14-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}/ +} |