summaryrefslogtreecommitdiff
path: root/app-admin/fsvs
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/fsvs')
-rw-r--r--app-admin/fsvs/Manifest7
-rw-r--r--app-admin/fsvs/files/fsvs-1.2.5-as-needed.patch31
-rw-r--r--app-admin/fsvs/fsvs-1.2.5-r1.ebuild55
-rw-r--r--app-admin/fsvs/fsvs-1.2.5-r2.ebuild60
-rw-r--r--app-admin/fsvs/metadata.xml5
5 files changed, 158 insertions, 0 deletions
diff --git a/app-admin/fsvs/Manifest b/app-admin/fsvs/Manifest
new file mode 100644
index 000000000000..c66fec191904
--- /dev/null
+++ b/app-admin/fsvs/Manifest
@@ -0,0 +1,7 @@
+AUX fsvs-1.2.5-as-needed.patch 1125 SHA256 b0d2dff26b3e13265da08bc50009b104cb88e1b3753ef092fe32d63118940692 SHA512 b477dc3525eac7cf3d4377f61e7b471c16f346e2fd357969bf40141ebab7eff817a7d122ac0c707ba4b12177fa849f6f193a18540f0f7e8d251ec468a5435848 WHIRLPOOL 6ae767362474af8ad296b5e7493e0cf5188fd853f838c53485c43fe4989650b1cd428e46dddcd3ab1462cb5d71498aa69cff47927fc6d8594fdc159b51393adb
+DIST fsvs-1.2.5.tar.bz2 427494 SHA256 3c957d29e0e568d46ce2fd659a88ed6ea93a05267bdc11dc93131a88b7cb44d2 SHA512 36ab5d04491d506b2891548f3ad458e7977bbd2e7d4b03e135b13d07adb22aedb261c28d5ddd3df895771806ef54c1bca6a1ef7bc5aa2e50e4b234ddf6cbe19c WHIRLPOOL c44213b5f2ce42ad67914fe07198a4f8404b9303d59806e521059d1f5b6335ef6ba3b84862bb9b890b8a29ef2b4543f2e897ef341c16ccb96e6e7a6d1ac8dd66
+EBUILD fsvs-1.2.5-r1.ebuild 1332 SHA256 f64171d04915b19739bf7b788597655644b26f643b1f4c7839083f3ce3696493 SHA512 6672d334845d606c4559249db6afb756e9fb7491b2a9f0466427e0017f222d5dc9cd9dcd2fac1eae13ece00f4043d4e0b6de20dbb176529c835c6b7102bbf471 WHIRLPOOL b46dcf729c8c4b83d633d98a9805f353243d53c7cc502e2f51fe6a8fc6a59cb250b2b7f6156506d7784e135da585c9ba9151933beed7ddff468dbe1af713c349
+EBUILD fsvs-1.2.5-r2.ebuild 1420 SHA256 f7f38bb17d2bb0775c9d0ac85f2947591518d35af3e495b4691aa4c92928684b SHA512 822aba3587ec4871be28300ce3de3c2da7b4b5882a719aa6c2cbb4f97cdcc5e4d2c554e291125c795ccb746a886cfac49120a8070aec936b775a7e0af42769bc WHIRLPOOL 02e2efd9e381396f9239fffe883a577c1ca7eeff7168c1e410d6543446db2cf621578153e0c3dca5c75a5c7a8dd7d692b4b6f6fb58336253b58e4bb793b1b10a
+MISC ChangeLog 2817 SHA256 e0914d79407a41a4439a89a0a787ac8b8a22f312a9eee26b20cd369a8fb417ac SHA512 796767ec18af7a04e611c9092cf198df790168bbbf0afb1fadf6defe6f2cbcf0720dfe3e29c8817330c8f87193c1f99d5eac250295b56ecc891cc5708d1b3cea WHIRLPOOL 84ad23eb7f7c99451f7ceea07559abffb8df8cd07e6e569d2f9a434cc97f726ef4d91d405ab5e71aa484152fca0086212a78f879c47fc9afd0a58a12eef50c69
+MISC ChangeLog-2015 1742 SHA256 0f77d5993ae17b7c7e9160e8ce7fc99c543afad8399a75c1a726d842a257996f SHA512 86d2422ddc3865b1d3a1f7b02d5184b143f0058e875aa16e17358a375977cfb6ef5f14083981bfec9b1d47a6dfeef137267b913eb8a143ec98c7d323160d9664 WHIRLPOOL 2350ddebe1c007d95ab55f4d64705483593f2347a155deb1c304a0b224102d257f44ee3e8c249108ef6fed847a6eab66e18718a3c1aeb2a703744a91d2c377d1
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-admin/fsvs/files/fsvs-1.2.5-as-needed.patch b/app-admin/fsvs/files/fsvs-1.2.5-as-needed.patch
new file mode 100644
index 000000000000..f06070f4beee
--- /dev/null
+++ b/app-admin/fsvs/files/fsvs-1.2.5-as-needed.patch
@@ -0,0 +1,31 @@
+Fixes --as-needed support(bug #294834)
+Verbose build
+Fixes underlinking(bug #463684) - patch went upstream
+
+--- fsvs-1.2.5/src/Makefile.in.orig 2011-11-11 22:19:12.000000000 +0400
++++ fsvs-1.2.5/src/Makefile.in 2013-08-19 13:30:16.186082295 +0400
+@@ -18,7 +18,7 @@
+ CFLAGS := @CFLAGS@ @NEED_FNESTED_FUNCTIONS@
+ CFLAGS += -Wall -funsigned-char -Os -DFSVS_VERSION='"$(VERSION)"'
+ LDFLAGS := @LDFLAGS@
+-FSVS_LDFLAGS = $(LDFLAGS) -lsvn_subr-1 -lsvn_delta-1 -lsvn_ra-1 -lpcre -lgdbm
++FSVS_LIBS = -lsvn_subr-1 -lsvn_delta-1 -lsvn_ra-1 -lpcre -lgdbm -ldl
+ EXTRALIBS := @EXTRALIBS@
+ WAA_CHARS?= @WAA_WC_MD5_CHARS@
+
+@@ -146,13 +146,13 @@
+ ################################ Rules ######################################
+ %.o: %.c
+ @echo " CC $<"
+- @$(CC) $(CFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) -c -o $@ $<
+
+ # if the Makefile has changed, the output will (at least sometimes)
+ # change, too.
+ $(DEST): $(C_FILES:%.c=%.o)
+ @echo " Link $@"
+- @$(CC) $(FSVS_LDFLAGS) $(LDLIBS) $(LIBS) $(EXTRALIBS) -o $@ $^
++ $(CC) -o $@ $^ $(LDFLAGS) $(LDLIBS) $(LIBS) $(FSVS_LIBS) $(EXTRALIBS)
+ ifeq (@ENABLE_RELEASE@, 1)
+ -strip $@
+ endif
diff --git a/app-admin/fsvs/fsvs-1.2.5-r1.ebuild b/app-admin/fsvs/fsvs-1.2.5-r1.ebuild
new file mode 100644
index 000000000000..70dbab7a23c0
--- /dev/null
+++ b/app-admin/fsvs/fsvs-1.2.5-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils 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}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-as-needed.patch"
+ epatch_user
+}
+
+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\""
+}
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\""
+}
diff --git a/app-admin/fsvs/metadata.xml b/app-admin/fsvs/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-admin/fsvs/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>