diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-admin/fsvs/fsvs-1.2.5-r2.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/fsvs/fsvs-1.2.5-r2.ebuild')
-rw-r--r-- | app-admin/fsvs/fsvs-1.2.5-r2.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/app-admin/fsvs/fsvs-1.2.5-r2.ebuild b/app-admin/fsvs/fsvs-1.2.5-r2.ebuild new file mode 100644 index 000000000000..35d79e90877b --- /dev/null +++ b/app-admin/fsvs/fsvs-1.2.5-r2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Backup/restore for subversion backends" +HOMEPAGE="http://fsvs.tigris.org/" +SRC_URI="http://download.fsvs-software.org/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-vcs/subversion + dev-libs/libpcre + sys-libs/gdbm + dev-libs/apr-util + dev-util/ctags" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-as-needed.patch" +) + +src_prepare() { + # fix #570596 by restoring pre-GCC5 inline semantics + append-cflags -std=gnu89 + default +} + +src_compile() { + # respect compiler + emake CC="$(tc-getCC)" +} + +src_install() { + dobin src/fsvs + dodir /etc/fsvs + keepdir /var/spool/fsvs + doman doc/*5 doc/*1 + dodoc doc/{FAQ,IGNORING,PERFORMANCE,USAGE} +} + +pkg_postinst() { + elog "Remember, this system works best when you're connecting to a remote" + elog "svn server." + elog + elog "Go to the base path for versioning:" + elog " cd /" + elog "Tell fsvs which URL it should use:" + elog " fsvs url svn+ssh://username@machine/path/to/repos" + elog "Define ignore patterns - all virtual filesystems (/proc, /sys, etc.)," + elog "and (assuming that you're in / currently) the temporary files in /tmp:" + elog " fsvs ignore DEVICE:0 ./tmp/*" + elog "And you're ready to play!" + elog "Check your data in:" + elog " fsvs commit -m \"First import\"" +} |