summaryrefslogtreecommitdiff
path: root/app-admin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-24 00:11:52 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-24 00:11:52 +0100
commit67e5603b2844a6657dd0438fa26626b013e5567f (patch)
treee7319631fdf1c41ddbe888e89a717d1ba42af992 /app-admin
parentbff543bb632933380da922cbfc07c67157d72d42 (diff)
gentoo auto-resync : 24:06:2024 - 00:11:52
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/Manifest.gzbin32021 -> 32011 bytes
-rw-r--r--app-admin/analog/Manifest4
-rw-r--r--app-admin/analog/analog-6.0.17.ebuild62
-rw-r--r--app-admin/analog/metadata.xml3
-rw-r--r--app-admin/fsvs/Manifest3
-rw-r--r--app-admin/fsvs/files/fsvs-1.2.12-makefile.patch68
-rw-r--r--app-admin/fsvs/fsvs-1.2.12.ebuild55
-rw-r--r--app-admin/genromfs/Manifest5
-rw-r--r--app-admin/genromfs/files/genromfs-0.5.7-build.patch28
-rw-r--r--app-admin/genromfs/genromfs-0.5.7.ebuild24
-rw-r--r--app-admin/genromfs/metadata.xml1
-rw-r--r--app-admin/lsyncd/Manifest3
-rw-r--r--app-admin/lsyncd/files/lsyncd-2.3.1-cmake_lua_version.patch20
-rw-r--r--app-admin/lsyncd/lsyncd-2.3.1.ebuild46
14 files changed, 320 insertions, 2 deletions
diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz
index 8c2883411ca4..0494433c5fa2 100644
--- a/app-admin/Manifest.gz
+++ b/app-admin/Manifest.gz
Binary files differ
diff --git a/app-admin/analog/Manifest b/app-admin/analog/Manifest
index 4a06c67f93da..40ba1310a1f0 100644
--- a/app-admin/analog/Manifest
+++ b/app-admin/analog/Manifest
@@ -2,6 +2,8 @@ AUX analog-5.1-gentoo.diff 799 BLAKE2B 66aae5e4f66ab232cdb98eef893ffe2794e06ecb7
AUX analog-6.0-bzip2.patch 3260 BLAKE2B a9bab8a2a7d070b59690606f393d80407f6ffcb38f2c40c30c22ffadcaf8de3f868c56660fbdf358e76ca342296305670b12d41cdefd5d03acb0ce22dea371c7 SHA512 ea256338713338043ccaa48ffd8344753811721cf42c8269a2c58c2a14f7ebe901b16131ff021163a02c570b1b902bb3ab6516e34570a7961bce716cf600920b
AUX analog-6.0-undefined-macro.patch 997 BLAKE2B 9ae68f90acfa81e861a6fddbd588ed4cbfdf9b4ad26355894bc3aaa0df50e5bbd180096c4baf393f6dcdd7d91d28b4e6a85e5b5c65714ff540e9ae127a08905b SHA512 759d6dfc2a09305a6178d1c147219487f988d432bf6d011e49776cec2de04ccc7ab27568638063f0ca723a92a75abeda82eddd5240a0b42bab3a2de3ae99007f
AUX analog.cfg 3992 BLAKE2B 8e68cc26a59a5bbed57f84e06ac8f5c9874cf1a36bdbb5c6f9144bc39df17ea380ebd323b2ddb891dd968078fd3d7bae6b29a90cb5ec2051a10722489d0d83d2 SHA512 af6e8eb3013fea513efcce2e57b2680850604552a8def8f3148cfc4b11bf01114778fc112ee562b7ce4cce6b496b37a53251d1061d67fe5748d39c5225f94141
+DIST analog-6.0.17.tar.gz 1593749 BLAKE2B 88a36128e9965ff99131c73025652be5585a77a5400df61526832e52c9faa6d81d89b16646678fee11680f4268380c54988186c7d82db3db66ded3530008551d SHA512 d4e324d4297069765896b877ce3190370ce85b6f06fd164887652aea1862cc8c3f40eb15b0964bc4435481b9ec61d50dd49961e1e75346414daf5dc979bddf32
DIST analog-src-6013ce.zip 4875246 BLAKE2B 6b0663f3367faf84a8c65a778a065165ddfba6cd902e5cc6c9e0e84d94e1600629b9f9f89b87ec293f4b81f4034e21941ad45784ae5f35352f71f7b0917eb731 SHA512 8f8dbf0bd95873132414f558deeff61fbe9ac6cac40936f00515ccaead86642613c3f0a5a88046eb4d1f4e263cb01d638291c9a1596ea36098b455572b7364ed
EBUILD analog-6.0.13.ebuild 1390 BLAKE2B b3eb4e5486b443a7eca97f0483ec231f0c14cab6b4e84d56a0c8dd82958f2df9150d4e780c7ca1b54e2ddb7088d02b0cbe8b536eb91877eb2a665b82259eeb30 SHA512 59de73c264d2c6ba6ad7ed5fbacc9fcca32004abe77a0df4bc2ef2a8625939c4b00eec97ae3bf4f9acb32fde003095802e849c8951060736da04dadc473d61dc
-MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a
+EBUILD analog-6.0.17.ebuild 1444 BLAKE2B e16a5b783a8446b586d967e5925f64afc1b3228387cd538137ce0ae2f71b25a4e365336511f4adf5522b45fc22990a48b38442559fcb7e8a85516d1999c631c4 SHA512 6f8666f8ffe3ed2686c5ce112081f6c3c9fab58ee553948f41d96bef78ceaf561bfbb066970f73741aa443e00f4fa99975282d17008020181257846132d71917
+MISC metadata.xml 246 BLAKE2B e24d8eafc30dbf95838af510c267afa9f0e01928d95b83fa08398bcbc0c3281993688c112f3a00824a52673d430cc95e31c8a25ad02f3ff2347a4be974ec9ed6 SHA512 01bbab46e3c7bbc01d5987c8c917d0278f882309091caa0c96d49c13457cb15fd9acf407b7701b422b1d954a69448842ccbb438b7b4fd076b538c04bde5eae8e
diff --git a/app-admin/analog/analog-6.0.17.ebuild b/app-admin/analog/analog-6.0.17.ebuild
new file mode 100644
index 000000000000..183e69685337
--- /dev/null
+++ b/app-admin/analog/analog-6.0.17.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Multi-purpose, multi-platform log file analyser"
+HOMEPAGE="
+ https://www.c-amie.co.uk/software/analog/
+ https://github.com/c-amie/analog-ce"
+SRC_URI="https://github.com/c-amie/${PN}-ce/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-ce-${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+DEPEND="
+ >=dev-libs/libpcre-3.4
+ >=media-libs/gd-1.8.4-r2[jpeg,png]
+ sys-libs/zlib"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.1-gentoo.diff
+ "${FILESDIR}"/${PN}-6.0-bzip2.patch
+ "${FILESDIR}"/${PN}-6.0-undefined-macro.patch
+)
+
+src_prepare() {
+ default
+ sed -i src/Makefile \
+ -e 's| -o | $(LDFLAGS)&|g' \
+ || die "sed Makefile"
+}
+
+src_compile() {
+ tc-export CC
+ # emake in main dir just executes "cd src && make",
+ # i.e. MAKEOPTS are ignored
+ emake -C src
+}
+
+src_install() {
+ newman analog.man analog.1
+
+ dodoc README.txt Licence.txt ${PN}.cfg-sample
+ dodoc -r examples
+ docinto html
+ dodoc docs/*.{html,gif,css,ico}
+ dodoc -r how-to
+ docinto cgi
+ dodoc anlgform.pl
+
+ insinto /usr/share/analog/images ; doins images/*
+ insinto /usr/share/analog/lang ; doins lang/*
+ dodir /var/log/analog
+ dosym ../../../usr/share/analog/images /var/log/analog/images
+ insinto /etc/analog ; doins "${FILESDIR}/analog.cfg"
+ dobin analog
+}
diff --git a/app-admin/analog/metadata.xml b/app-admin/analog/metadata.xml
index 85e4ed814fa2..ecc93bc3122d 100644
--- a/app-admin/analog/metadata.xml
+++ b/app-admin/analog/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
+<upstream>
+ <remote-id type="github">c-amie/analog-ce</remote-id>
+</upstream>
</pkgmetadata>
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\""
+}
diff --git a/app-admin/genromfs/Manifest b/app-admin/genromfs/Manifest
index c24bfbcd1cf6..dbe86930d9c4 100644
--- a/app-admin/genromfs/Manifest
+++ b/app-admin/genromfs/Manifest
@@ -1,4 +1,7 @@
AUX genromfs-0.5.2-build.patch 551 BLAKE2B 9574a6285b2d6335fe32894bf42a51822625498a3f6a3fa3c227195251903baefdd86f3a6106f4a10c45e7618a16b5160c9c4a64f9bc7eb3d8ced587903bd2a6 SHA512 d7cda99be9e675951bcf6c3dc42e9aeccea01fe5fb32c5c072798af5d700ba7126164105c6fb05eefefb63e69e3f6b8404d3d00655541155238465ba1f8e0d23
+AUX genromfs-0.5.7-build.patch 529 BLAKE2B db925e4e8d607ccda6e2827894d7a1189dac3e1f9bd0c80bc3967c3a323f55689844a2e350337160990a7ef34d042ab5cdff0508d82fa29edc5456f622ddb17c SHA512 39676f7e1a17cc47989bb7bd2f026cd57cedc7be2523447635a949f4810aabe28f07105a3e505d12d466b50179c1659d23485fffb8404ec4b643e485f2dded93
DIST genromfs-0.5.2.tar.gz 21069 BLAKE2B 350ebf11b8ef068053217b75ac995af1199e4c4c11823df584e8169c260dbd851d4f44ba6d23ac1f5f4cd9c2ca7ae7fd268d02ba19529da90003a697efc3e06a SHA512 7fa2f362e4a61ab38f5262fc5a716119312d3029f93cf0a514313c5a3c956d687d777a826da2f4ad95edaf5eab014464635b0afbaaa11f9b495efb6f03fbec2f
+DIST genromfs-0.5.7.gh.tar.gz 27929 BLAKE2B df556a3f4247ad12b441b245046177e56aca1460e92614528ced0c8f7b4df45ed3023d325d5140cc5e13a6f3187d4ee9143c33a9d25830c27a8d6c6b98ba741f SHA512 a37bbea5f7952194a417359f0a5d13f86d8ed3f75459281e4bd06a96a05840e5580a6d706342ddbd6e064e885b7991e636c7d638bf95e372a51abfcec7eb3c58
EBUILD genromfs-0.5.2.ebuild 559 BLAKE2B 3d116204f472d81ed8a24c949b51ce7dcc9b04b193174f4695469251a016617dd3bf6a58416c81efe2f79fd6ff79948c50761c7c8361aec83ac2b883def38240 SHA512 8b30fd18aa41ecb774585233ba95a3dc277c78a16736334c6385c93c01106c04b7204a98cd930c6e74b9d495c65b19a65057d6eb37343b8821ef70b0d0b0c806
-MISC metadata.xml 246 BLAKE2B dd0180df175df8366d06b55829df0326726901c54df87431f45d6cab61a88ee149e693d6d04aa597933727dd83753c68ded87ab2929e64e00d27614abf02c8b5 SHA512 5b146d97524ea1299df4a2c7cdeed3fdd7989793f8d247a6fb7e7e2fa60db47ad13048a0b4270c1ac2c103c035c0f2475791137e1e695ea47c044da31933f0a0
+EBUILD genromfs-0.5.7.ebuild 593 BLAKE2B 2ff4241b1c4dac24b54cf41a9740156a7b6bbe623597eb628d262365eef8d9e39ed92f4718c46c599871443bef8c0ab167638e03cb4bee0d5982d94507c6a925 SHA512 df3678f08d9161cc50cbffb7a0d0b60c30d6e1d0aac1f3e2fede1ca78168ab4e96cdc813c5d6bf810e64516f652cc12ebbc41a2c22c485d9cc14bb5cc5949766
+MISC metadata.xml 301 BLAKE2B 7ab617e486f216e6c8317c5b1cecc2e3bf21bd377c5e20cfa48e049e3391293a015e5d9325baf3a55dcd9bf22b87c6f5a41ad46b375206c5298efadd58e2b9b1 SHA512 f84a5f528011412b5df2b16c960fe50e32a71eebd6ab95d9e81ed66629d639045066cb0bc9fcadfb9a9c9db0523fa74b2d9fa579dd05dbd7ae78c7e403d41c37
diff --git a/app-admin/genromfs/files/genromfs-0.5.7-build.patch b/app-admin/genromfs/files/genromfs-0.5.7-build.patch
new file mode 100644
index 000000000000..f35b59e49cc6
--- /dev/null
+++ b/app-admin/genromfs/files/genromfs-0.5.7-build.patch
@@ -0,0 +1,28 @@
+--- a/Makefile
++++ b/Makefile
+@@ -5,9 +5,10 @@
+
+ PACKAGE = genromfs
+ VERSION = 0.5.7
+-CC = gcc
+-CFLAGS = -O2 -Wall -DVERSION=\"$(VERSION)\"#-g#
+-LDFLAGS = -s#-g
++CC ?= gcc
++CFLAGS ?= -O2
++CFLAGS += -Wall -DVERSION=\"$(VERSION)\"#-g#
++LDFLAGS ?= -s#-g
+
+ DISTDIR = $(PACKAGE)-$(VERSION)
+
+@@ -17,9 +18,9 @@
+ checkdist \
+ .gitignore selftest
+
+-prefix = /usr
++prefix = $(DESTDIR)/usr
+ bindir = $(prefix)/bin
+-mandir = $(prefix)/man
++mandir = $(prefix)/share/man
+
+ genromfs: genromfs.o
+ $(CC) $(LDFLAGS) genromfs.o -o genromfs
diff --git a/app-admin/genromfs/genromfs-0.5.7.ebuild b/app-admin/genromfs/genromfs-0.5.7.ebuild
new file mode 100644
index 000000000000..6415bb3bb4c5
--- /dev/null
+++ b/app-admin/genromfs/genromfs-0.5.7.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Create space-efficient, small, read-only romfs filesystems"
+HOMEPAGE="https://romfs.sourceforge.net/"
+SRC_URI="https://github.com/chexum/${PN}/archive/refs/tags/${PV}.tar.gz
+ -> ${P}.gh.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~s390 ~x86"
+
+PATCHES=( "${FILESDIR}"/${P}-build.patch )
+
+DOCS=( ChangeLog NEWS genromfs.lsm genrommkdev readme-kernel-patch romfs.txt )
+
+src_compile() {
+ tc-export CC
+ default
+}
diff --git a/app-admin/genromfs/metadata.xml b/app-admin/genromfs/metadata.xml
index caded186c5d3..0de3a697cece 100644
--- a/app-admin/genromfs/metadata.xml
+++ b/app-admin/genromfs/metadata.xml
@@ -4,5 +4,6 @@
<!-- maintainer-needed -->
<upstream>
<remote-id type="sourceforge">genromfs</remote-id>
+ <remote-id type="github">chexum/genromfs</remote-id>
</upstream>
</pkgmetadata>
diff --git a/app-admin/lsyncd/Manifest b/app-admin/lsyncd/Manifest
index b8b08bf7f1f3..498005280f81 100644
--- a/app-admin/lsyncd/Manifest
+++ b/app-admin/lsyncd/Manifest
@@ -1,5 +1,8 @@
AUX lsyncd-2.2.3-cmake_lua_version.patch 553 BLAKE2B a99c302a70c71b877fa9169138ff3789db21e3313b20c90ac8036bc07e33dd4a049481a27a10438754256d4c2be1981697e14967ba795fdce4c1769548d2cc56 SHA512 0ce7336f99224384a86bb3123a73cd79229d98049c117dd93a40501d10b86f4bb5656b31b495abf589990a709bb033febf05c1df7cb81b5e22b8bc182614c099
AUX lsyncd-2.2.3-mandir.patch 327 BLAKE2B a201734f5e93f33b39c175a98bba22c847761f667d0ffcf96c14c52e8fafe14718fb33ddf30f50bd5fb46af388283f23274e7ab6106885ffc0cec5cb5b9f8626 SHA512 a66a8d5469378917b9f6fce55ceb9b041d8973cb581a21c985eb39a682af5e04cfae30b8b1104a7664a3b918641eafbba38a4b323ecef7e6ca0e23a9506c8370
+AUX lsyncd-2.3.1-cmake_lua_version.patch 577 BLAKE2B 44fbc16d0b1f2e1a7ed07c5392e7f58c233f12d963e9a29173ce8d713baa3efbcc323ff714f14acf19be5afbeeea33d33cd4882abfa2cc41f0c590b3af2fa66f SHA512 431e575e7cca9ebed2c2ddabb998fd2ae38f7e4642c032468381a974a97eb7754c24fd6077387e2da3c3210d22b82234a03ef19b9252efbc053f592489a1c822
DIST lsyncd-2.2.3.tar.gz 85165 BLAKE2B 9b3ce9ad882f12a0cf800ca0418092807c5c30451fe273eae18486b2ab245fbdc77dee937983bf78f678e20448dda39771c4bca96d8efe010cc45d470a30eba3 SHA512 2193a342f8aa7d8cfb55378c9c59ca61d2d8e4026263fd6e6560c730c712cef1f189305a3f9bca58f5b9c9ffae5af12e1d75e5355d5bdae86a47ad9595b8169a
+DIST lsyncd-2.3.1.tar.gz 125126 BLAKE2B b966e2ea1887c93fe26b4fbaeedec50c4d6fd2a66eee0fbafc859a49a4b85eddc20d78ae6483be7a8f9acc66c67da3199dad757bc7b772dead2cccc9d60e621d SHA512 195cc46e00c58301aca6afb027eb0ad663254b3028bcf3e5d4fb7709bbcf2a6eb8ba9a39cae62c951eb4562795e0a147efb1ddcdd22a0b46742ec7c17f478fbe
EBUILD lsyncd-2.2.3.ebuild 898 BLAKE2B 378c44929da0ecede9524693a4a5e3718184728ee5d5005f066a685b8a6485b72dd5681868ac96753bd6c05ac9fe51bfa8311a2bde328091a58fcd1c17d61047 SHA512 8e6cce6a439c3ea475a9d4188b3b5c03556dea637ce77afc613ac1d4222b8bfdea886c93da22176b41954f7c596fbc893937f67d8403b580bf331079cd4fdb1b
+EBUILD lsyncd-2.3.1.ebuild 1026 BLAKE2B 45b94b0fe3e5912e8068ae58348fafb2f1721701018c401eab9405100d43ab9aafa053faeb62c424bba9ddf1f2b93f5210b1b96df32c14d8d6d8d8b8c45a6423 SHA512 c2ce08de2ae3193065d142d1a863b72912cf0cd277b5c4ddbb8fa0394862852a6a180d9e961797e6b0443fadddd821ebdcf95f13221539d2833f19167464bc9d
MISC metadata.xml 297 BLAKE2B b934f4875cae4b9a539690fcf9a2ae7e8c4dd0100307ed9abe3179fdb15a1d72dd7f38aa5d60fa7dad3cdbff235ee454a5081aaa3213470eb43e7c6fea853365 SHA512 134bc57b25c417df15f2c3ed04ab463071768d23b43b456aae684ef3cda416e8d2e596510fd6b2ce7a9fbd8f643e8fd89d70ee21d53c094212abf0dbc8e8c87b
diff --git a/app-admin/lsyncd/files/lsyncd-2.3.1-cmake_lua_version.patch b/app-admin/lsyncd/files/lsyncd-2.3.1-cmake_lua_version.patch
new file mode 100644
index 000000000000..e5cf18b371f0
--- /dev/null
+++ b/app-admin/lsyncd/files/lsyncd-2.3.1-cmake_lua_version.patch
@@ -0,0 +1,20 @@
+--- a/cmake/FindLua.cmake
++++ b/cmake/FindLua.cmake
+@@ -37,7 +37,7 @@
+ #SET(_POSSIBLE_LUA_LIBRARY lua)
+
+ # Determine possible naming suffixes (there is no standard for this)
+-SET(_POSSIBLE_SUFFIXES "54" "5.4" "-5.4" "53" "5.3" "-5.3" "52" "5.2" "-5.2" "")
++SET(_POSSIBLE_SUFFIXES "${LUA_ABI_VERSION}")
+
+ # Set up possible search names and locations
+ FOREACH(_SUFFIX IN LISTS _POSSIBLE_SUFFIXES)
+@@ -54,7 +54,7 @@
+
+ # Find the lua executable
+ FIND_PROGRAM(LUA_COMPILER
+- NAMES luac5.3 ${_POSSIBLE_LUA_COMPILER}
++ NAMES ${_POSSIBLE_LUA_COMPILER}
+ )
+
+ # Find the lua header
diff --git a/app-admin/lsyncd/lsyncd-2.3.1.ebuild b/app-admin/lsyncd/lsyncd-2.3.1.ebuild
new file mode 100644
index 000000000000..5986c0e42b44
--- /dev/null
+++ b/app-admin/lsyncd/lsyncd-2.3.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{3,4} )
+LUA_REQ_USE="deprecated"
+
+inherit cmake lua-single
+
+DESCRIPTION="Live Syncing (Mirror) Daemon"
+HOMEPAGE="https://github.com/lsyncd/lsyncd"
+SRC_URI="https://github.com/lsyncd/lsyncd/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-release-${PV}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+DEPEND="${LUA_DEPS}"
+RDEPEND="${LUA_DEPS}
+ net-misc/rsync"
+# Both lua and luac are invoked at build time
+BDEPEND="${LUA_DEPS}
+ app-text/asciidoc
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-cmake_lua_version.patch
+)
+
+src_prepare(){
+ cmake_src_prepare
+ # fix examples directory
+ sed -i "s@examples DESTINATION doc@examples DESTINATION share/doc/${PF}/examples@" \
+ CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DLUA_ABI_VERSION=$(ver_cut 1-2 $(lua_get_version))
+ )
+ cmake_src_configure
+}