public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/csync2/files/, profiles/, sys-cluster/csync2/
@ 2022-07-15  7:42 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2022-07-15  7:42 UTC (permalink / raw
  To: gentoo-commits

commit:     8a0f7840e4eacb424e9e45803a18d5142e843ac3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 15 07:41:07 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 15 07:41:30 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a0f7840

sys-cluster/csync2: treeclean

Bug: https://bugs.gentoo.org/718550
Bug: https://bugs.gentoo.org/837083
Bug: https://bugs.gentoo.org/830089
Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/package.mask                   |   5 --
 sys-cluster/csync2/Manifest             |   1 -
 sys-cluster/csync2/csync2-2.0-r2.ebuild | 113 --------------------------------
 sys-cluster/csync2/files/csync2.initd   |  25 -------
 sys-cluster/csync2/files/csync2.xinetd  |  15 -----
 sys-cluster/csync2/metadata.xml         |   8 ---
 6 files changed, 167 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 72ab56ae5c15..17e2f96f6fae 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -294,11 +294,6 @@ dev-util/cligh
 # Masked for removal in 30 days. Bug #851708.
 media-gfx/jpeg2ps
 
-# John Helmert III <ajak@gentoo.org> (2022-06-15)
-# Open security bug with patches for years. Upstream seems dead since
-# 2020. Removal on 2022-07-15.  Bug #718550.
-sys-cluster/csync2
-
 # Matt Turner <mattst88@gentoo.org> (2022-05-30)
 # libwacom-2 broke ABI compatibility; reverse dependencies need to be updated.
 # Bug #848501

diff --git a/sys-cluster/csync2/Manifest b/sys-cluster/csync2/Manifest
deleted file mode 100644
index bf90ba165632..000000000000
--- a/sys-cluster/csync2/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST csync2-2.0-github.tar.gz 108299 BLAKE2B ec06cf1284adfe63abd6c329deb4e53474d8f97998e4e6f7f6404321a6970f783d38e9feb46c02925c947834227516d40c928a457d2b43bd2b353ab3385fd150 SHA512 7555e2d958d6213e29cfa8b3b7415eea9a9868036865c519d724ae404006d913fba4aeeb61a916d3fc95669a6ca12160d4f52dc7d15bd59403e8a7de50ee8094

diff --git a/sys-cluster/csync2/csync2-2.0-r2.ebuild b/sys-cluster/csync2/csync2-2.0-r2.ebuild
deleted file mode 100644
index 6f71f731e737..000000000000
--- a/sys-cluster/csync2/csync2-2.0-r2.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-DESCRIPTION="Cluster synchronization tool"
-HOMEPAGE="https://github.com/LINBIT/csync2"
-SRC_URI="https://github.com/LINBIT/${PN}/archive/${P}.tar.gz -> ${P}-github.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm x86"
-
-IUSE="mysql postgres sqlite ssl xinetd"
-
-RDEPEND=">=net-libs/librsync-0.9.5
-	mysql? ( dev-db/mysql-connector-c:0= )
-	postgres? ( dev-db/postgresql:= )
-	sqlite? ( >=dev-db/sqlite-3.0 )
-	ssl? ( >=net-libs/gnutls-2.7.3 )
-	xinetd? ( sys-apps/xinetd )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
-
-REQUIRED_USE="|| ( mysql postgres sqlite )"
-SLOT="0"
-
-S="${WORKDIR}/${PN}-${P}"
-
-src_prepare() {
-	default
-	eautoreconf
-}
-
-src_configure() {
-	econf \
-		--localstatedir=/var \
-		--sysconfdir=/etc/csync2 \
-		$(use_enable mysql) \
-		$(use_enable postgres) \
-		$(use_enable sqlite sqlite3) \
-		$(use_enable ssl gnutls)
-}
-
-src_install() {
-	# Parallel install fails, bug #561382
-	emake -j1 DESTDIR="${D}" install
-
-	if use xinetd ; then
-		insinto /etc/xinetd.d
-		newins "${FILESDIR}"/${PN}.xinetd ${PN}
-	fi
-
-	keepdir /var/lib/csync2
-
-	newinitd "${FILESDIR}"/${PN}.initd ${PN}
-}
-
-pkg_postinst() {
-	if use xinetd; then
-		echo
-		einfo "After you setup your conf file, edit the xinetd"
-		einfo "entry in /etc/xinetd.d/${PN} to enable, then"
-		einfo "start xinetd: /etc/init.d/xinetd start"
-	fi
-	echo
-	einfo "To add ${PN} to your services file"
-	if use ssl; then
-		einfo "and to generate the SSL certificates,"
-	fi
-	einfo "just run this command after you install:"
-	echo
-	einfo "emerge  --config =${PF}"
-	echo
-	einfo "Now you can find csync2.cfg under /etc/${PN}"
-	einfo "Please move you old config to the right location"
-	echo
-	einfo "To start csync2 as a standalone daemon, simply run:"
-	einfo "/etc/init.d/csync2 start"
-	echo
-}
-
-pkg_config() {
-	einfo "Updating ${ROOT}/etc/services"
-	{ grep -v ^${PN} "${ROOT}"/etc/services;
-	echo "csync2  30865/tcp"
-	} > "${ROOT}"/etc/services.new
-	mv -f "${ROOT}"/etc/services.new "${ROOT}"/etc/services
-
-	if use ssl; then
-		if [ ! -f "${ROOT}"/etc/${PN}/csync2_ssl_key.pem ]; then
-			einfo "Creating default certificate in ${ROOT}/etc/${PN}"
-
-			openssl genrsa -out "${ROOT}"/etc/${PN}/csync2_ssl_key.pem 1024 &> /dev/null
-
-			yes '' | \
-			openssl req -new \
-				-key "${ROOT}"/etc/${PN}/csync2_ssl_key.pem \
-				-out "${ROOT}"/etc/${PN}/csync2_ssl_cert.csr \
-				&> "${ROOT}"/dev/null
-
-			openssl x509 -req -days 600 \
-				-in "${ROOT}"/etc/${PN}/csync2_ssl_cert.csr \
-				-signkey "${ROOT}"/etc/${PN}/csync2_ssl_key.pem \
-				-out "${ROOT}"/etc/${PN}/csync2_ssl_cert.pem \
-				&> "${ROOT}"/dev/null
-
-			rm "${ROOT}"/etc/${PN}/csync2_ssl_cert.csr
-			chmod 400 "${ROOT}"/etc/${PN}/csync2_ssl_key.pem "${ROOT}"/etc/${PN}/csync2_ssl_cert.pem
-		fi
-	fi
-}

diff --git a/sys-cluster/csync2/files/csync2.initd b/sys-cluster/csync2/files/csync2.initd
deleted file mode 100644
index d718a4990921..000000000000
--- a/sys-cluster/csync2/files/csync2.initd
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-PIDFILE=/var/run/csync2.pid
-BINARY=/usr/sbin/csync2
-
-start() {
-   ebegin "Starting csync2"
-   start-stop-daemon --start --pidfile "${PIDFILE}" -m -x ${BINARY} -b -- -ii
-   eend $?
-}
-
-stop() {
-   ebegin "Stopping csync2"
-   start-stop-daemon --stop --pidfile "${PIDFILE}"
-   eend $?
-}
-
-restart() {
-   ebegin "Restarting csync2"
-   svc_stop
-   svc_start
-   eend $?
-}

diff --git a/sys-cluster/csync2/files/csync2.xinetd b/sys-cluster/csync2/files/csync2.xinetd
deleted file mode 100644
index d2a7adb8f5b9..000000000000
--- a/sys-cluster/csync2/files/csync2.xinetd
+++ /dev/null
@@ -1,15 +0,0 @@
-# default: on
-# description: csync2
-service csync2
-{
-       	flags           = REUSE
-        socket_type     = stream        
-       	wait            = no
-        user            = root
-	group		= root
-       	server          = /usr/sbin/csync2
-        server_args     =  -i
-       	#log_on_failure  += USERID
-        disable         = yes
-	only_from       = 192.168.199.3 192.168.199.4
-}

diff --git a/sys-cluster/csync2/metadata.xml b/sys-cluster/csync2/metadata.xml
deleted file mode 100644
index f5fb83321f9e..000000000000
--- a/sys-cluster/csync2/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="project">
-		<email>cluster@gentoo.org</email>
-		<name>Gentoo Cluster Project</name>
-	</maintainer>
-</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-15  7:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-15  7:42 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/csync2/files/, profiles/, sys-cluster/csync2/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox