diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-24 00:11:52 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-24 00:11:52 +0100 |
commit | 67e5603b2844a6657dd0438fa26626b013e5567f (patch) | |
tree | e7319631fdf1c41ddbe888e89a717d1ba42af992 /app-admin/fsvs | |
parent | bff543bb632933380da922cbfc07c67157d72d42 (diff) |
gentoo auto-resync : 24:06:2024 - 00:11:52
Diffstat (limited to 'app-admin/fsvs')
-rw-r--r-- | app-admin/fsvs/Manifest | 3 | ||||
-rw-r--r-- | app-admin/fsvs/files/fsvs-1.2.12-makefile.patch | 68 | ||||
-rw-r--r-- | app-admin/fsvs/fsvs-1.2.12.ebuild | 55 |
3 files changed, 126 insertions, 0 deletions
diff --git a/app-admin/fsvs/Manifest b/app-admin/fsvs/Manifest index 408c0c47e8bc..8748d2265ea5 100644 --- a/app-admin/fsvs/Manifest +++ b/app-admin/fsvs/Manifest @@ -1,4 +1,7 @@ AUX fsvs-1.2.11-makefile.patch 1838 BLAKE2B f86b2d8129ff815da9747732bb9746343b750f492eb594214454200fc1f98e53639fce6aad5af2f6267f60bb4dc88270974a682366d51eb6f3340eabe01a4349 SHA512 20f8279060bdfb82a1123d369ff455dd6a3e8678d95b7607c51268a444910e1efb65a8e4b1d309aee8c27bfc4aa10d9fc0c651727af9f3e0f22487cc1696dfbf +AUX fsvs-1.2.12-makefile.patch 1838 BLAKE2B 0cf30b4bf63ddf21c77ab3c2949da334895646e8de263e17b2b513888336faa32d1176a40f5933d6e743516639cedd9d5d92e1fabf031e6c143e8b04407b243c SHA512 650a4d1dad1167ac5570bb8f414609e2f7f7f25b1d1b3666543908f6c553fcba0f6758e31a970df8eefcb90e5068dea138ed68c64e3e8b4b8e1bc3149a681357 DIST fsvs-1.2.11.tar.gz 498514 BLAKE2B 8683fe3c22a0ea0d4762d631e520596dc02d69059f4ff5d8719bd44405134e5b5100c594a260d1b55a9dd7c6d240a84a0c5e05a18006a7a5f193ce76178d934c SHA512 72f883dfef85cb8aeb4d3baf3a2de5bfb6b5479273027f86b52edfdd2ea6dac4b2271b83a9879add3d7c9008f80a2fef13671b9e5ed61958c72ff144d9fad086 +DIST fsvs-1.2.12.tar.gz 526284 BLAKE2B db0a9f7cd60db7544ca44e4404c2ca844e035a8bb6db61d1880b19b26114f5c1c545b7d74e2e407d4a5961225d700851aaa95f3a6e395a5d9e92d21ade9ba0be SHA512 a06e6d6de242dfe117d3e2b1f18d117b77350ed2d398370d198110fc074dd352bac956acc2870586477cc6d2db404fefc5a5bcca3884cdd1477020f4297c1a81 EBUILD fsvs-1.2.11.ebuild 1331 BLAKE2B 19f0186c036709c6fc787dbfd6eff0b457360a5274ea6d7167ab517e747f01098e21820ed283699b94305a3649cdf1f7175b7dd09428e4265bad7cabe3efa7c3 SHA512 34f6098226273cdeaec8fb1270cecf1af328c33839facc78963ea8a6cc00fb4e26546e923e99294c105cc3a7cb2dc54366d9427c92619d2a4c69c3e066b22f29 +EBUILD fsvs-1.2.12.ebuild 1331 BLAKE2B c05986350be10197227d28a7b74f69c8d51536bf5a4960c046d42e57e249d5170beb114d0bdcc85686c0ed9b722af2743dbb79e7c3d3996ac620e622dbee20c9 SHA512 9a47ddf31e1ae200cf66f4111e9134dbdd22f51dec7368443e6091f2609e50d60f853bdd6c09a1bbdc9c3044cdb47dcf02e3c23cd16a0e06bff36188399abf48 MISC metadata.xml 245 BLAKE2B da4ea0774c6d8be05dee52714052bb2f9aedff682da3eb2f4f85cd688e126f5512d062fc3a7b2235c52d2cefc5613e68898612afef71477ba0406e75c8b3a251 SHA512 263015528da2df5f412f57b9d7298d5960a44da10de3b0c7edeae2fd7350350a2704ae2221a8db865b950841cd213fee175c37670422dce25fba0c83a3a5a2c5 diff --git a/app-admin/fsvs/files/fsvs-1.2.12-makefile.patch b/app-admin/fsvs/files/fsvs-1.2.12-makefile.patch new file mode 100644 index 000000000000..ff4969d58146 --- /dev/null +++ b/app-admin/fsvs/files/fsvs-1.2.12-makefile.patch @@ -0,0 +1,68 @@ +--- a/Makefile ++++ b/Makefile +@@ -13,7 +13,7 @@ + @echo '' + @false + +-configure: configure.in ++configure: configure.ac + @echo Generating configure. + autoconf + +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -11,10 +11,11 @@ + ################################ Definitions ################################ + DIR := /usr/share/doc + +-VERSION := $(shell git describe --tags --always) ++VERSION := 1.2.12 + ++CC := @CC@ + CFLAGS := @CFLAGS@ +-CFLAGS += -Wall -funsigned-char -Os -DFSVS_VERSION='"$(VERSION)"' -Wno-deprecated-declarations ++CFLAGS += -Wall -funsigned-char -DFSVS_VERSION='"$(VERSION)"' -Wno-deprecated-declarations + LDFLAGS := @LDFLAGS@ + FSVS_LDFLAGS = $(LDFLAGS) + BASELIBS := -lsvn_subr-1 -lsvn_delta-1 -lsvn_ra-1 -lpcre2-8 -lgdbm -ldl +@@ -48,11 +49,7 @@ + + + ################################ Targets ################################### +-ifeq (@CHROOTER_JAIL@, ) +-all: deps tags check-version check-dox $(DEST) lsDEST +-else +-all: tools/fsvs-chrooter +-endif ++all: fsvs + + + check-version: config.h fsvs.c +@@ -145,18 +142,11 @@ + + + ################################ Rules ###################################### +-%.o: %.c +- @echo " CC $<" +- @$(CC) $(CPPFLAGS) $(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) -o $@ $^ $(BASELIBS) $(EXTRALIBS) +-ifeq (@ENABLE_RELEASE@, 1) +- -strip $@ +-endif ++ $(CC) $(FSVS_LDFLAGS) $(LDLIBS) $(LIBS) -o $@ $^ $(BASELIBS) $(EXTRALIBS) + + + # For debugging: generate preprocessed, generate assembler +@@ -171,7 +161,6 @@ + .%.d: %.c + @echo " deps for $<" + @$(CC) $(CPPFLAGS) $(CFLAGS) -MM $< | perl -pe 's#\bdoc.g-c\b##' > $@ +-include $(D_FILES) + + tools/fsvs-chrooter: tools/fsvs-chrooter.c + tools/fsvs-chrooter: interface.h config.h diff --git a/app-admin/fsvs/fsvs-1.2.12.ebuild b/app-admin/fsvs/fsvs-1.2.12.ebuild new file mode 100644 index 000000000000..c136006d7b06 --- /dev/null +++ b/app-admin/fsvs/fsvs-1.2.12.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Backup/restore for subversion backends" +HOMEPAGE="https://github.com/phmarek/fsvs" +SRC_URI="https://github.com/phmarek/fsvs/archive/refs/tags/${P}.tar.gz" +S="${WORKDIR}/fsvs-${P}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/apr-util + dev-libs/libpcre + dev-util/ctags + dev-vcs/subversion + sys-libs/db:* + sys-libs/gdbm" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) + +src_prepare() { + default + eautoreconf +} + +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\"" +} |