New version.
authorChristian Zoffoli <xmerlin@gentoo.org>
Sat, 8 Oct 2005 14:40:12 +0000 (14:40 +0000)
committerChristian Zoffoli <xmerlin@gentoo.org>
Sat, 8 Oct 2005 14:40:12 +0000 (14:40 +0000)
Package-Manager: portage-2.0.51.19

sys-cluster/csync2/ChangeLog
sys-cluster/csync2/Manifest
sys-cluster/csync2/csync2-1.22.ebuild [new file with mode: 0644]
sys-cluster/csync2/files/digest-csync2-1.22 [new file with mode: 0644]

index a2e1135dbcc59785098d641bceaea913a64ee288..a7e7b3a4f4ac6e2fccd98603b33e6f8ef9c28593 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for sys-cluster/csync2
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/ChangeLog,v 1.3 2005/04/28 00:40:10 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/ChangeLog,v 1.4 2005/10/08 14:40:12 xmerlin Exp $
+
+  08 Oct 2005; Christian Zoffoli <xmerlin@gentoo.org> :
+  New version.
 
   28 Apr 2005; Christian Zoffoli <xmerlin@gentoo.org> csync2-1.16.ebuild:
   added the csync2 port to the /etc/services file
index ec70d9daa62b64509f9b23d582f93ec08263170b..1b58c34405810764f5b340894175e9921bf55526 100644 (file)
@@ -1,15 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 MD5 cbc31c53ec5e282a4e6cfee79e360053 csync2-1.16.ebuild 1311
 MD5 a64b9a1937a5cfc2fbaf373521f65d47 metadata.xml 223
 MD5 8a5bbc04f06131b0938f9eb8a96c7b6c ChangeLog 593
+MD5 cbc31c53ec5e282a4e6cfee79e360053 csync2-1.22.ebuild 1311
 MD5 8f6c0e3b7da5a8b1a5fd7730f6ae8bdd files/csync2.xinetd 388
 MD5 4f935e316a184e40ddf6dfd0f386c761 files/digest-csync2-1.16 62
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCcDGEgMUyd/cdjWsRAsxCAJ9So7Xj7AuHfuprn/fN88d9LF1vAACeJUkl
-4rQWhA3eEYxp8rGpRbU58Hg=
-=Ln2c
------END PGP SIGNATURE-----
+MD5 204c4e198fb5a256de4f61c6069a862b files/digest-csync2-1.22 63
diff --git a/sys-cluster/csync2/csync2-1.22.ebuild b/sys-cluster/csync2/csync2-1.22.ebuild
new file mode 100644 (file)
index 0000000..da4c099
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/csync2-1.22.ebuild,v 1.1 2005/10/08 14:40:12 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"
+
+IUSE=""
+
+DEPEND=">=net-libs/librsync-0.9.5
+       =dev-db/sqlite-2.8*
+       "
+
+RDEPEND="${DEPEND}"
+
+SLOT="0"
+
+src_compile() {
+       econf --localstatedir=/var || die
+
+       emake || die
+}
+
+src_install() {
+
+       make DESTDIR=${D} localstatedir=${D}/var install || die "install problem"
+
+       insinto /etc/xinetd.d
+       newins ${FILESDIR}/${PN}.xinetd ${PN} || die
+
+       dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
+}
+
+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 "ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
+}
+
+pkg_config() {
+       einfo "Updating /etc/services"
+       { grep -v ^${PN} /etc/services;
+       echo "csync2  30865/tcp"
+       } > /etc/services.new
+       mv -f /etc/services.new /etc/services
+
+}
diff --git a/sys-cluster/csync2/files/digest-csync2-1.22 b/sys-cluster/csync2/files/digest-csync2-1.22
new file mode 100644 (file)
index 0000000..57b254a
--- /dev/null
@@ -0,0 +1 @@
+MD5 6504aba35683d1663fb530b50f4c1dfd csync2-1.22.tar.gz 110916