diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-11-08 09:03:50 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-11-08 09:03:50 +0000 |
commit | f53fb103492c48767c6f699154a255c82a6192e1 (patch) | |
tree | 96173df4e7a6e30335bc8f14bf81f3d944e71f41 /sys-cluster/csync2 | |
parent | Version Bump (diff) | |
download | gentoo-2-f53fb103492c48767c6f699154a255c82a6192e1.tar.gz gentoo-2-f53fb103492c48767c6f699154a255c82a6192e1.tar.bz2 gentoo-2-f53fb103492c48767c6f699154a255c82a6192e1.zip |
Drop old.
(Portage version: 2.1.9.24/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster/csync2')
-rw-r--r-- | sys-cluster/csync2/ChangeLog | 6 | ||||
-rw-r--r-- | sys-cluster/csync2/csync2-1.34-r1.ebuild | 98 | ||||
-rw-r--r-- | sys-cluster/csync2/csync2-1.34.ebuild | 101 |
3 files changed, 5 insertions, 200 deletions
diff --git a/sys-cluster/csync2/ChangeLog b/sys-cluster/csync2/ChangeLog index 671be1443998..6c34f1c1996b 100644 --- a/sys-cluster/csync2/ChangeLog +++ b/sys-cluster/csync2/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-cluster/csync2 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/ChangeLog,v 1.33 2010/11/08 08:03:44 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/ChangeLog,v 1.34 2010/11/08 09:03:50 xarthisius Exp $ + + 08 Nov 2010; Kacper Kowalik <xarthisius@gentoo.org> -csync2-1.34.ebuild, + -csync2-1.34-r1.ebuild: + Drop old. 08 Nov 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> csync2-1.34-r2.ebuild: diff --git a/sys-cluster/csync2/csync2-1.34-r1.ebuild b/sys-cluster/csync2/csync2-1.34-r1.ebuild deleted file mode 100644 index a5b7d4fcc75a..000000000000 --- a/sys-cluster/csync2/csync2-1.34-r1.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/csync2-1.34-r1.ebuild,v 1.2 2010/06/19 20:12:41 xarthisius Exp $ - -EAPI=2 - -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" - -RDEPEND=">=net-libs/librsync-0.9.5 - =dev-db/sqlite-2.8* - >=net-libs/gnutls-2.7.3" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -SLOT="0" - -src_prepare() { - epatch "${FILESDIR}"/${P}-gnutls.patch #274213 - eautoreconf -} - -src_configure() { - econf \ - --localstatedir=/var \ - --sysconfdir=/etc/csync2 \ - $(use_enable ssl gnutls) -} - -src_install() { - emake DESTDIR="${D}" \ - localstatedir=/var \ - sysconfdir=/etc/csync2 \ - install || die "install problem" - - insinto /etc/xinetd.d - newins "${FILESDIR}"/${PN}.xinetd ${PN} || die - - dodir /var/lib/csync2/ || die - keepdir /var/lib/csync2/ - - newinitd "${FILESDIR}"/${PN}.initd ${PN} || die - - dodoc AUTHORS ChangeLog INSTALL NEWS README TODO csync2_locheck.sh || die -} - -pkg_postinst() { - 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" - echo - einfo "To add ${PN} to your services file just run" - einfo "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 -} - -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 [ ! -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 -} diff --git a/sys-cluster/csync2/csync2-1.34.ebuild b/sys-cluster/csync2/csync2-1.34.ebuild deleted file mode 100644 index cdd80ed4e35b..000000000000 --- a/sys-cluster/csync2/csync2-1.34.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/csync2-1.34.ebuild,v 1.8 2009/11/15 14:24:25 xmerlin Exp $ - -inherit eutils - -DESCRIPTION="Cluster synchronization tool." -SRC_URI="http://oss.linbit.com/csync2/${P}.tar.gz - http://dev.gentoo.org/~xmerlin/dist/csync2-1.34-pure-gnutls.patch.bz2 - " -HOMEPAGE="http://oss.linbit.com/csync2/" - -LICENSE="GPL-2" -KEYWORDS="amd64 x86" - -IUSE="ssl" - -DEPEND=">=net-libs/librsync-0.9.5 - =dev-db/sqlite-2.8* - >=net-libs/gnutls-2.7.3 - " - -RDEPEND="${DEPEND}" - -SLOT="0" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${WORKDIR}"/${P}-pure-gnutls.patch #274213 -} - -src_compile() { - econf \ - --localstatedir=/var \ - --sysconfdir=/etc/csync2 \ - $(use_enable ssl gnutls) \ - || die "configure problem" - - emake || die "compile problem" -} - -src_install() { - emake DESTDIR="${D}" \ - localstatedir=/var \ - sysconfdir=/etc/csync2 \ - install || die "install problem" - - insinto /etc/xinetd.d - newins "${FILESDIR}"/${PN}.xinetd ${PN} || die - - dodir /var/lib/csync2/ || die - keepdir /var/lib/csync2/ - - dodoc AUTHORS ChangeLog INSTALL NEWS README TODO csync2_locheck.sh -} - -pkg_postinst() { - 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" - echo - einfo "To add ${PN} to your services file just run" - einfo "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 -} - -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 [ ! -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 -} |