summaryrefslogtreecommitdiff
path: root/app-admin/clsync
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /app-admin/clsync
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'app-admin/clsync')
-rw-r--r--app-admin/clsync/Manifest1
-rw-r--r--app-admin/clsync/clsync-0.4.5.ebuild144
-rw-r--r--app-admin/clsync/clsync-9999.ebuild144
-rw-r--r--app-admin/clsync/files/clsync.conf18
-rw-r--r--app-admin/clsync/files/clsync.confd20
-rw-r--r--app-admin/clsync/files/clsync.initd17
-rw-r--r--app-admin/clsync/metadata.xml30
7 files changed, 0 insertions, 374 deletions
diff --git a/app-admin/clsync/Manifest b/app-admin/clsync/Manifest
deleted file mode 100644
index b9bb42368d70..000000000000
--- a/app-admin/clsync/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST clsync-0.4.5.tar.gz 276096 BLAKE2B 4fa534b342a806ca691f8a65455cb800800f7a943fa3f0913a26c37d2cd0f9d762630ad01eeb80bdd0d90a0731bed5f2aa60444a654972da9479c116e0e937aa SHA512 6568f3c49ac4fe11e54593ba23eed392d0b7d9b5bf052983c4a5a2befbb807dbd3f9d13412264f8909998702f869d1cd6db77d89bd9491414b1f3213437c5212
diff --git a/app-admin/clsync/clsync-0.4.5.ebuild b/app-admin/clsync/clsync-0.4.5.ebuild
deleted file mode 100644
index 84dc0971fc9d..000000000000
--- a/app-admin/clsync/clsync-0.4.5.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/clsync/clsync.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/clsync/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 x86"
-fi
-
-inherit autotools linux-info systemd
-
-DESCRIPTION="Live sync tool based on inotify, written in GNU C"
-HOMEPAGE="https://github.com/clsync/clsync http://ut.mephi.ru/oss/clsync"
-LICENSE="GPL-3+"
-SLOT="0"
-IUSE="apidoc +caps +clsync cluster control-socket cgroups doc debug
-examples extra-debug extra-hardened gio +hardened +highload-locks
-+inotify mhash namespaces seccomp socket-library static-libs"
-
-REQUIRED_USE="
- || ( clsync socket-library )
- || ( gio inotify )
- mhash? ( cluster )
- seccomp? ( caps )
-"
-BDEPEND="
- virtual/pkgconfig
- apidoc? ( app-text/doxygen[dot] )
-"
-DEPEND="
- caps? ( sys-libs/libcap )
- cgroups? ( dev-libs/libcgroup )
- clsync? ( dev-libs/glib:2 )
- mhash? ( app-crypt/mhash )
-"
-RDEPEND="${DEPEND}
- !app-doc/clsync-docs
- !dev-libs/libclsync
-"
-
-pkg_pretend() {
- if use clsync; then
- use inotify && CONFIG_CHECK+=" ~INOTIFY_USER"
- use namespaces && CONFIG_CHECK="~NAMESPACES ~UTS_NS ~IPC_NS ~USER_NS ~PID_NS ~NET_NS"
- use seccomp && CONFIG_CHECK+=" ~SECCOMP"
- check_extra_config
- fi
-}
-
-src_prepare() {
- eapply_user
- eautoreconf
-}
-
-src_configure() {
- local harden_level=0
- use hardened && harden_level=1
- use extra-hardened && harden_level=2
-
- local debug_level=0
- use debug && debug_level=1
- use extra-debug && debug_level=2
-
- # --enable-lto just appends -flto
- econf \
- --disable-lto \
- --enable-debug=${debug_level} \
- --enable-paranoid=${harden_level} \
- --without-bsm \
- --without-kqueue \
- $(use_enable caps capabilities) \
- $(use_enable clsync) \
- $(use_enable cluster) \
- $(use_enable control-socket socket) \
- $(use_enable highload-locks) \
- $(use_enable namespaces unshare) \
- $(use_enable seccomp) \
- $(use_enable socket-library) \
- $(use_with cgroups libcgroup) \
- $(use_with gio gio lib) \
- $(use_with inotify inotify native) \
- $(use_with mhash)
-}
-
-src_compile() {
- default
- if use apidoc; then
- doxygen .doxygen || die "doxygen failed"
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- if use socket-library; then
- find "${ED}" -name "*.la" -delete
- use static-libs || find "${ED}" -name "*.a" -delete || die "failed to remove static libs"
- fi
-
- if use clsync; then
- newinitd "${FILESDIR}/${PN}.initd" "${PN}"
- newconfd "${FILESDIR}/${PN}.confd" "${PN}"
-
- # filter rules and sync scripts are supposed to be here
- insinto /etc/${PN}
- newins "${FILESDIR}/${PN}.conf" "${PN}.conf"
- keepdir /etc/${PN}
-
- systemd_dounit "examples/clsync@.service"
- fi
-
- if use doc; then
- dodoc -r DEVELOPING NOTES PROTOCOL SHORTHANDS TODO doc/devel/*
- else
- rm "${ED}/usr/share/doc/${PF}/"{DEVELOPING,LICENSE,PROTOCOL,TODO}* || die
- fi
- use apidoc && dodoc -r doc/doxygen/html
- if ! use examples; then
- rm -r "${ED}/usr/share/doc/${PF}/examples" || die
- fi
-}
-
-pkg_postinst() {
- einfo "${PN} is just a convenient way to run synchronization tools on live data,"
- einfo "it doesn't copy data itself, so you need to install software to do actual"
- einfo "data transfer. Usually net-misc/rsync is a good choise, but ${PN} is"
- einfo "is flexible enough to use any user tool, see manual page for details."
- einfo
- einfo "${PN} init script can be multiplexed, to use symlink init script to"
- einfo "othername and use conf.d/othername to configure it."
- einfo
- einfo "If you're interested in improved security, enable"
- einfo "USE=\"caps cgroups extra-hardened namespaces seccomp\""
-
- if use socket-library; then
- einfo
- einfo "clsync instances you are going to use _must_ be compiled"
- einfo "with control-socket support"
- fi
-}
diff --git a/app-admin/clsync/clsync-9999.ebuild b/app-admin/clsync/clsync-9999.ebuild
deleted file mode 100644
index f97b3e7c2752..000000000000
--- a/app-admin/clsync/clsync-9999.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/clsync/clsync.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/clsync/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
-fi
-
-inherit autotools linux-info systemd
-
-DESCRIPTION="Live sync tool based on inotify, written in GNU C"
-HOMEPAGE="https://github.com/clsync/clsync http://ut.mephi.ru/oss/clsync"
-LICENSE="GPL-3+"
-SLOT="0"
-IUSE="apidoc +caps +clsync cluster control-socket cgroups doc debug
-examples extra-debug extra-hardened gio +hardened +highload-locks
-+inotify mhash namespaces seccomp socket-library static-libs"
-
-REQUIRED_USE="
- || ( clsync socket-library )
- || ( gio inotify )
- mhash? ( cluster )
- seccomp? ( caps )
-"
-BDEPEND="
- virtual/pkgconfig
- apidoc? ( app-text/doxygen[dot] )
-"
-DEPEND="
- caps? ( sys-libs/libcap )
- cgroups? ( dev-libs/libcgroup )
- clsync? ( dev-libs/glib:2 )
- mhash? ( app-crypt/mhash )
-"
-RDEPEND="${DEPEND}
- !app-doc/clsync-docs
- !dev-libs/libclsync
-"
-
-pkg_pretend() {
- if use clsync; then
- use inotify && CONFIG_CHECK+=" ~INOTIFY_USER"
- use namespaces && CONFIG_CHECK="~NAMESPACES ~UTS_NS ~IPC_NS ~USER_NS ~PID_NS ~NET_NS"
- use seccomp && CONFIG_CHECK+=" ~SECCOMP"
- check_extra_config
- fi
-}
-
-src_prepare() {
- eapply_user
- eautoreconf
-}
-
-src_configure() {
- local harden_level=0
- use hardened && harden_level=1
- use extra-hardened && harden_level=2
-
- local debug_level=0
- use debug && debug_level=1
- use extra-debug && debug_level=2
-
- # --enable-lto just appends -flto
- econf \
- --disable-lto \
- --enable-debug=${debug_level} \
- --enable-paranoid=${harden_level} \
- --without-bsm \
- --without-kqueue \
- $(use_enable caps capabilities) \
- $(use_enable clsync) \
- $(use_enable cluster) \
- $(use_enable control-socket socket) \
- $(use_enable highload-locks) \
- $(use_enable namespaces unshare) \
- $(use_enable seccomp) \
- $(use_enable socket-library) \
- $(use_with cgroups libcgroup) \
- $(use_with gio gio lib) \
- $(use_with inotify inotify native) \
- $(use_with mhash)
-}
-
-src_compile() {
- default
- if use apidoc; then
- doxygen .doxygen || die "doxygen failed"
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- if use socket-library; then
- find "${ED}" -name "*.la" -delete
- use static-libs || find "${ED}" -name "*.a" -delete || die "failed to remove static libs"
- fi
-
- if use clsync; then
- newinitd "${FILESDIR}/${PN}.initd" "${PN}"
- newconfd "${FILESDIR}/${PN}.confd" "${PN}"
-
- # filter rules and sync scripts are supposed to be here
- insinto /etc/${PN}
- newins "${FILESDIR}/${PN}.conf" "${PN}.conf"
- keepdir /etc/${PN}
-
- systemd_dounit "examples/clsync@.service"
- fi
-
- if use doc; then
- dodoc -r DEVELOPING NOTES PROTOCOL SHORTHANDS TODO doc/devel/*
- else
- rm "${ED}/usr/share/doc/${PF}/"{DEVELOPING,LICENSE,PROTOCOL,TODO}* || die
- fi
- use apidoc && dodoc -r doc/doxygen/html
- if ! use examples; then
- rm -r "${ED}/usr/share/doc/${PF}/examples" || die
- fi
-}
-
-pkg_postinst() {
- einfo "${PN} is just a convenient way to run synchronization tools on live data,"
- einfo "it doesn't copy data itself, so you need to install software to do actual"
- einfo "data transfer. Usually net-misc/rsync is a good choise, but ${PN} is"
- einfo "is flexible enough to use any user tool, see manual page for details."
- einfo
- einfo "${PN} init script can be multiplexed, to use symlink init script to"
- einfo "othername and use conf.d/othername to configure it."
- einfo
- einfo "If you're interested in improved security, enable"
- einfo "USE=\"caps cgroups extra-hardened namespaces seccomp\""
-
- if use socket-library; then
- einfo
- einfo "clsync instances you are going to use _must_ be compiled"
- einfo "with control-socket support"
- fi
-}
diff --git a/app-admin/clsync/files/clsync.conf b/app-admin/clsync/files/clsync.conf
deleted file mode 100644
index 91f38f17cd5c..000000000000
--- a/app-admin/clsync/files/clsync.conf
+++ /dev/null
@@ -1,18 +0,0 @@
-# clsync system configuration file
-#
-# General recommendations:
-# 1. Put --dir-lists on tmpfs.
-# 2. Use --uid and --gid to drop privileges whenever possible.
-# 3. Keeep your clsync rules and sync scripts in /etc/clsync/.
-
-[default]
-# Put your options here, see clsync man pages for a list of valid options.
-# Also check examples directory (/usr/share/doc/clsync-*/examples).
-#
-#watch-dir = /what/dir/to/sync
-#sync-handler = /etc/clsync/action.sh
-#rules-dir = /etc/clsync/rules
-#lists-dir = /tmp/clsync
-#threading = safe
-#delay-sync = 5
-#delay-collect = 5
diff --git a/app-admin/clsync/files/clsync.confd b/app-admin/clsync/files/clsync.confd
deleted file mode 100644
index 389f84e5d4b9..000000000000
--- a/app-admin/clsync/files/clsync.confd
+++ /dev/null
@@ -1,20 +0,0 @@
-# /etc/conf.d/clsync: config file for /etc/init.d/clsync
-
-# config file, default is /etc/clsync/clsync.conf.
-# to disable set to /dev/null
-#CLSYNC_CONF="/etc/clsync/clsync.conf"
-
-# clsync options, have precedence over config file,
-# see man clsync and $docdir/examples for details
-#CLSYNC_OPTS=""
-
-# Example of direct rsync usage:
-#CLSYNC_OPTS="--lists-dir /tmp/clsync --mode rsyncshell
-#--watch-dir /source/dir --sync-handler /usr/bin/rsync
-#--rules-file /etc/clsync/rules --distination-dir /destination/dir"
-
-# Change clsync nice level (default is unset)
-#CLSYNC_NICE="0"
-
-# Change clsync ionice level (default is unset)
-#CLSYNC_IONICE="2:7"
diff --git a/app-admin/clsync/files/clsync.initd b/app-admin/clsync/files/clsync.initd
deleted file mode 100644
index 28175a5fb696..000000000000
--- a/app-admin/clsync/files/clsync.initd
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-[ -n "${CLSYNC_CONF}" ] && conffile="--config-file ${CLSYNC_CONF}"
-[ -n "${CLSYNC_NICE}" ] && cmd_nice="--nice ${CLSYNC_NICE}"
-[ -n "${CLSYNC_IONICE}" ] && cmd_ionice="--ionice ${CLSYNC_IONICE}"
-
-command="/usr/bin/clsync"
-pidfile="/var/run/${SVCNAME}.pid"
-command_args="--background --output=syslog --pid-file=${pidfile} \
-${conffile} ${CLSYNC_OPTS}"
-start_stop_daemon_args="${cmd_nice} ${cmd_ionice}"
-
-depend() {
- use net
-}
diff --git a/app-admin/clsync/metadata.xml b/app-admin/clsync/metadata.xml
deleted file mode 100644
index b151837c352f..000000000000
--- a/app-admin/clsync/metadata.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription>
- Clsync recursively watches for source directory and executes external
- program to sync the changes. Clsync is adapted to be used together with rsync.
- This utility is much more lightweight than competitors and supports such
- features as separate queue for big files, regex file filter, multi-threading
- and multicast notifing clsync instances on another nodes to prevent loop
- syncing. Clsync can use advanced features for isolation: capabilities, cgroups,
- namespaces, seccomp, code hardening.
- </longdescription>
- <use>
- <flag name="apidoc">Provide doxygen generated API docs.</flag>
- <flag name="clsync">Build clsync binary. Most likely you want it. However it is possible to build only libclsync without clsync itself. </flag>
- <flag name="cluster">Enable clustering support (allows master-master clsync on multiple hosts). Not fully implemented yet.</flag>
- <flag name="control-socket">Enable AF_UNIX control socket support.</flag>
- <flag name="cgroups">Use cgroups to limit /dev access.</flag>
- <flag name="extra-debug">Enable extra debugging. This will hurt performance badly. Be ready for tons of output.</flag>
- <flag name="extra-hardened">Enable extra security checks. This will hurt performance.</flag>
- <flag name="gio">Enable GIO for FS monitoring (glib based alternative to inotify interface, not recommended; if both are compiled, may be selected at runtime).</flag>
- <flag name="highload-locks">Allows to use spinlocks for short delays instead of mutexes, but only on SMP systems.</flag>
- <flag name="namespaces">Enable namespaces isolation.</flag>
- <flag name="socket-library">Build the control and monitoring socket library: libclsync.</flag>
- </use>
- <upstream>
- <remote-id type="github">clsync/clsync</remote-id>
- </upstream>
-</pkgmetadata>