From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7275D158086 for ; Wed, 15 Dec 2021 08:20:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 409622BC024; Wed, 15 Dec 2021 08:20:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6E7F82BC00B for ; Wed, 15 Dec 2021 08:20:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 164CB342F50 for ; Wed, 15 Dec 2021 08:20:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 75F2223E for ; Wed, 15 Dec 2021 08:20:25 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1639556414.1054a71b039d2bf3e4b3dc207d2d7488e07a264f.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/csync2/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/csync2/Manifest sys-cluster/csync2/csync2-2.0.ebuild X-VCS-Directories: sys-cluster/csync2/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: 1054a71b039d2bf3e4b3dc207d2d7488e07a264f X-VCS-Branch: master Date: Wed, 15 Dec 2021 08:20:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6288d83a-efd9-4bce-8ce6-f89b7f27fed4 X-Archives-Hash: 428ec4c0074c0b9f0aff3699bf9997d3 commit: 1054a71b039d2bf3e4b3dc207d2d7488e07a264f Author: Jakov Smolić gentoo org> AuthorDate: Wed Dec 15 08:20:14 2021 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Wed Dec 15 08:20:14 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1054a71b sys-cluster/csync2: Drop EAPI-5 ebuild Signed-off-by: Jakov Smolić gentoo.org> sys-cluster/csync2/Manifest | 1 - sys-cluster/csync2/csync2-2.0.ebuild | 107 ----------------------------------- 2 files changed, 108 deletions(-) diff --git a/sys-cluster/csync2/Manifest b/sys-cluster/csync2/Manifest index 84048b643a72..bf90ba165632 100644 --- a/sys-cluster/csync2/Manifest +++ b/sys-cluster/csync2/Manifest @@ -1,2 +1 @@ DIST csync2-2.0-github.tar.gz 108299 BLAKE2B ec06cf1284adfe63abd6c329deb4e53474d8f97998e4e6f7f6404321a6970f783d38e9feb46c02925c947834227516d40c928a457d2b43bd2b353ab3385fd150 SHA512 7555e2d958d6213e29cfa8b3b7415eea9a9868036865c519d724ae404006d913fba4aeeb61a916d3fc95669a6ca12160d4f52dc7d15bd59403e8a7de50ee8094 -DIST csync2-2.0.tar.gz 411013 BLAKE2B b5c3da3a46168f8b9835e349a8d56070cd0e5aef3b951ba1cfe7e958f6c830336141a2d1eca6a2485d23f745b9ae907d46282aa8cc3078a60582dac8c3f286b8 SHA512 f91fd222f67affe9634471d341b43ff67854a6ed25b620301a454e98a79a9fb80b2a66eb8713546758fd08300d52751e5ca7472c696daa20ee11779b87a830f8 diff --git a/sys-cluster/csync2/csync2-2.0.ebuild b/sys-cluster/csync2/csync2-2.0.ebuild deleted file mode 100644 index 727751fad472..000000000000 --- a/sys-cluster/csync2/csync2-2.0.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils - -DESCRIPTION="Cluster synchronization tool" -HOMEPAGE="http://oss.linbit.com/csync2/" -SRC_URI="http://oss.linbit.com/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="amd64 ~arm x86" - -IUSE="mysql postgres sqlite ssl xinetd" - -RDEPEND=">=net-libs/librsync-0.9.5 - mysql? ( virtual/mysql ) - 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" - -src_configure() { - econf \ - --docdir=/usr/share/doc/${P} \ - --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 -}