diff options
author | Pacho Ramos <pacho@gentoo.org> | 2015-11-09 10:33:20 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2015-11-09 10:33:20 +0100 |
commit | 619351cd30191298f62d1ca4399af373d89ecbe7 (patch) | |
tree | b995295afd4ef0443107ce3eebd712d7296cd00a /sys-cluster/csync2 | |
parent | dev-tex/europecv: Drop obsolete RDEPEND (diff) | |
download | gentoo-619351cd30191298f62d1ca4399af373d89ecbe7.tar.gz gentoo-619351cd30191298f62d1ca4399af373d89ecbe7.tar.bz2 gentoo-619351cd30191298f62d1ca4399af373d89ecbe7.zip |
sys-cluster/csync2: Drop old version still using sqlite2
Package-Manager: portage-2.2.24
Diffstat (limited to 'sys-cluster/csync2')
-rw-r--r-- | sys-cluster/csync2/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/csync2/csync2-1.34-r2.ebuild | 109 |
2 files changed, 0 insertions, 110 deletions
diff --git a/sys-cluster/csync2/Manifest b/sys-cluster/csync2/Manifest index 3d811b314dae..e6f1f231b7e1 100644 --- a/sys-cluster/csync2/Manifest +++ b/sys-cluster/csync2/Manifest @@ -1,2 +1 @@ -DIST csync2-1.34.tar.gz 222765 SHA256 32b250dd4a0353f71015c5c3961174b975dd5e799e4a084e8f6d00792bd8c833 SHA512 a24154446740f3362c10a23d526c29e96292f2ad56a9ed2f11ca0a6d7afed3730d0e96f8ebc2c6cdcc17031aa0e368f6ba93084ad3cf5f4828fbc279e6f004d8 WHIRLPOOL 795be9f3a5451a065993911ff84215cf144ba5d5fd9c81060491f6c247937c96f1a7a362b2547ffa6753201d5afd31fb56afb3edf363210f6c53bcdb55f16233 DIST csync2-2.0.tar.gz 411013 SHA256 11cb37380fb185bce0c22b804fec9b01c385d9d83cc528cfd48d748453834fa2 SHA512 f91fd222f67affe9634471d341b43ff67854a6ed25b620301a454e98a79a9fb80b2a66eb8713546758fd08300d52751e5ca7472c696daa20ee11779b87a830f8 WHIRLPOOL 6cbe49b5dd36d455d2c2b15089cc8e766aa3f9ebc2d5ebbd0528379123ae280850972b07279075a38dc328391633bd63f1a5dc8a2403b1d4faac295e27d1d920 diff --git a/sys-cluster/csync2/csync2-1.34-r2.ebuild b/sys-cluster/csync2/csync2-1.34-r2.ebuild deleted file mode 100644 index 5d3672ebed53..000000000000 --- a/sys-cluster/csync2/csync2-1.34-r2.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit autotools 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 x86" - -IUSE="ssl xinetd" - -RDEPEND=">=net-libs/librsync-0.9.5 - =dev-db/sqlite-2.8* - ssl? ( >=net-libs/gnutls-2.7.3 ) - xinetd? ( sys-apps/xinetd )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -SLOT="0" - -src_prepare() { - if use ssl; then - epatch "${FILESDIR}"/${P}-gnutls.patch #274213 - eautoreconf - fi -} - -src_configure() { - econf \ - --localstatedir=/var \ - --sysconfdir=/etc/csync2 \ - $(use_enable ssl gnutls) -} - -src_install() { - emake 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} - - dodoc AUTHORS ChangeLog INSTALL NEWS README TODO csync2_locheck.sh -} - -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 -} |