summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2007-10-05 20:49:02 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2007-10-05 20:49:02 +0000
commit77e4f4e48e6e8697347fa71b71030ad45a5e92ae (patch)
tree78daf80271086916b9bd4020f23456728af08cc0 /sys-cluster
parentAdded some escaping. (diff)
downloadgentoo-2-77e4f4e48e6e8697347fa71b71030ad45a5e92ae.tar.gz
gentoo-2-77e4f4e48e6e8697347fa71b71030ad45a5e92ae.tar.bz2
gentoo-2-77e4f4e48e6e8697347fa71b71030ad45a5e92ae.zip
Removed old ebuild, maked 1.34 stable, added some escaping.
(Portage version: 2.1.3.9)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/csync2/ChangeLog6
-rw-r--r--sys-cluster/csync2/csync2-1.32.ebuild90
-rw-r--r--sys-cluster/csync2/csync2-1.33.ebuild4
-rw-r--r--sys-cluster/csync2/csync2-1.34.ebuild6
-rw-r--r--sys-cluster/csync2/files/digest-csync2-1.323
5 files changed, 10 insertions, 99 deletions
diff --git a/sys-cluster/csync2/ChangeLog b/sys-cluster/csync2/ChangeLog
index d260a8867dc5..9bb9b3831b74 100644
--- a/sys-cluster/csync2/ChangeLog
+++ b/sys-cluster/csync2/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-cluster/csync2
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/ChangeLog,v 1.23 2007/09/20 20:59:17 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/ChangeLog,v 1.24 2007/10/05 20:49:01 xmerlin Exp $
+
+ 05 Oct 2007; Christian Zoffoli <xmerlin@gentoo.org> -csync2-1.32.ebuild,
+ csync2-1.33.ebuild, csync2-1.34.ebuild:
+ Removed old ebuild, maked 1.34 stable, added some escaping.
20 Sep 2007; Christian Zoffoli <xmerlin@gentoo.org> csync2-1.32.ebuild,
csync2-1.33.ebuild, csync2-1.34.ebuild:
diff --git a/sys-cluster/csync2/csync2-1.32.ebuild b/sys-cluster/csync2/csync2-1.32.ebuild
deleted file mode 100644
index f80dfaf85bab..000000000000
--- a/sys-cluster/csync2/csync2-1.32.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/csync2-1.32.ebuild,v 1.11 2007/09/21 07:17:48 mr_bones_ Exp $
-
-DESCRIPTION="Cluster synchronization tool."
-SRC_URI="http://oss.linbit.com/csync2/${P}.tar.gz"
-HOMEPAGE="http://oss.linbit.com/csync2/"
-
-LICENSE="GPL-2"
-KEYWORDS="x86"
-
-IUSE=""
-
-DEPEND=">=net-libs/librsync-0.9.5
- =dev-db/sqlite-2.8*
- >=net-libs/gnutls-1.0.0
- "
-
-RDEPEND="${DEPEND}"
-
-SLOT="0"
-
-src_compile() {
- econf \
- --localstatedir=/var \
- --sysconfdir=/etc/csync2 \
- || 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 COPYING 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
-}
diff --git a/sys-cluster/csync2/csync2-1.33.ebuild b/sys-cluster/csync2/csync2-1.33.ebuild
index ed19d75c0c74..9a3c6ff31514 100644
--- a/sys-cluster/csync2/csync2-1.33.ebuild
+++ b/sys-cluster/csync2/csync2-1.33.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/csync2-1.33.ebuild,v 1.4 2007/09/21 07:17:48 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/csync2-1.33.ebuild,v 1.5 2007/10/05 20:49:01 xmerlin Exp $
DESCRIPTION="Cluster synchronization tool."
SRC_URI="http://oss.linbit.com/csync2/${P}.tar.gz"
@@ -36,7 +36,7 @@ src_install() {
install || die "install problem"
insinto /etc/xinetd.d
- newins ${FILESDIR}/${PN}.xinetd ${PN} || die
+ newins "${FILESDIR}"/${PN}.xinetd ${PN} || die
dodir /var/lib/csync2/ || die
keepdir /var/lib/csync2/
diff --git a/sys-cluster/csync2/csync2-1.34.ebuild b/sys-cluster/csync2/csync2-1.34.ebuild
index cb9464505821..b6454a5effb5 100644
--- a/sys-cluster/csync2/csync2-1.34.ebuild
+++ b/sys-cluster/csync2/csync2-1.34.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2007 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.3 2007/09/21 07:17:48 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/csync2-1.34.ebuild,v 1.4 2007/10/05 20:49:01 xmerlin Exp $
DESCRIPTION="Cluster synchronization tool."
SRC_URI="http://oss.linbit.com/csync2/${P}.tar.gz"
HOMEPAGE="http://oss.linbit.com/csync2/"
LICENSE="GPL-2"
-KEYWORDS="~x86"
+KEYWORDS="x86"
IUSE=""
@@ -36,7 +36,7 @@ src_install() {
install || die "install problem"
insinto /etc/xinetd.d
- newins ${FILESDIR}/${PN}.xinetd ${PN} || die
+ newins "${FILESDIR}"/${PN}.xinetd ${PN} || die
dodir /var/lib/csync2/ || die
keepdir /var/lib/csync2/
diff --git a/sys-cluster/csync2/files/digest-csync2-1.32 b/sys-cluster/csync2/files/digest-csync2-1.32
deleted file mode 100644
index 6d0e8c8ef80d..000000000000
--- a/sys-cluster/csync2/files/digest-csync2-1.32
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 8fb57c773c818f14229a8de08bcce361 csync2-1.32.tar.gz 218053
-RMD160 7901c2f0515ee5dc4dcf086a0f090bfdab47208a csync2-1.32.tar.gz 218053
-SHA256 3144c987fd4cdffa9c2d461dc1315aaa0685f33d8668db8aa42085c97c232c31 csync2-1.32.tar.gz 218053