diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2007-09-20 08:49:25 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2007-09-20 08:49:25 +0000 |
commit | 2cd08bfa50b0e191d5bf346a4f7148b19c25cc6a (patch) | |
tree | 38d2486de76a559dd85a9364850c4e451f833ea6 /sys-cluster | |
parent | Version bump. (diff) | |
download | historical-2cd08bfa50b0e191d5bf346a4f7148b19c25cc6a.tar.gz historical-2cd08bfa50b0e191d5bf346a4f7148b19c25cc6a.tar.bz2 historical-2cd08bfa50b0e191d5bf346a4f7148b19c25cc6a.zip |
Version bump.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/csync2/ChangeLog | 7 | ||||
-rw-r--r-- | sys-cluster/csync2/Manifest | 26 | ||||
-rw-r--r-- | sys-cluster/csync2/csync2-1.34.ebuild | 91 | ||||
-rw-r--r-- | sys-cluster/csync2/files/digest-csync2-1.34 | 3 |
4 files changed, 122 insertions, 5 deletions
diff --git a/sys-cluster/csync2/ChangeLog b/sys-cluster/csync2/ChangeLog index f59d7d1941ca..fc7bf6710c2d 100644 --- a/sys-cluster/csync2/ChangeLog +++ b/sys-cluster/csync2/ChangeLog @@ -1,6 +1,11 @@ # 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.21 2007/04/26 06:29:43 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/ChangeLog,v 1.22 2007/09/20 08:49:25 xmerlin Exp $ + +*csync2-1.34 (20 Sep 2007) + + 20 Sep 2007; Christian Zoffoli <xmerlin@gentoo.org> +csync2-1.34.ebuild: + Version Bump 26 Apr 2007; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml: Update for cluster herd split to hp-cluster and ha-cluster. diff --git a/sys-cluster/csync2/Manifest b/sys-cluster/csync2/Manifest index 5c977f7f61dd..3a95d0280723 100644 --- a/sys-cluster/csync2/Manifest +++ b/sys-cluster/csync2/Manifest @@ -1,9 +1,13 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX csync2.xinetd 388 RMD160 d1d6cd433c34356b649936958a43b16f247e7cd9 SHA1 60fd6dc9a8eb7c8ee2adf00e66049c3b650e6421 SHA256 c281d7e494088abd84ef09b5487482cfa886f12aa0ab717f4cb579b729cc7ee9 MD5 8f6c0e3b7da5a8b1a5fd7730f6ae8bdd files/csync2.xinetd 388 RMD160 d1d6cd433c34356b649936958a43b16f247e7cd9 files/csync2.xinetd 388 SHA256 c281d7e494088abd84ef09b5487482cfa886f12aa0ab717f4cb579b729cc7ee9 files/csync2.xinetd 388 DIST csync2-1.32.tar.gz 218053 RMD160 7901c2f0515ee5dc4dcf086a0f090bfdab47208a SHA1 3aa4e673e4bee4a160b3f5926e0b6765cff701ab SHA256 3144c987fd4cdffa9c2d461dc1315aaa0685f33d8668db8aa42085c97c232c31 DIST csync2-1.33.tar.gz 218065 RMD160 3c06cff1adb6df03108670eccce4889e3913cfba SHA1 8d94eb0c7ff997598be7b1cfc444bb74eae6712d SHA256 2214adb04358b5d351cac7e13055e1c90f7897b7c0600b922de02ca6b0820651 +DIST csync2-1.34.tar.gz 222765 RMD160 d79ddf0e608934d40f0095dde8aa5785c6094d84 SHA1 59b95388d378b659d64d17f7b736068dec7bf7ed SHA256 32b250dd4a0353f71015c5c3961174b975dd5e799e4a084e8f6d00792bd8c833 EBUILD csync2-1.32.ebuild 2163 RMD160 23869c3c5f161c11fd104c1202361181c3988421 SHA1 44b80bce5cdcf970cb0282d89bb68a07113bdc2c SHA256 762fa77c4b093dd89d13080b24875ff926182c7170ea581f40e5522f078507ac MD5 72e828f5887ab4f0675394faea4b9c5f csync2-1.32.ebuild 2163 RMD160 23869c3c5f161c11fd104c1202361181c3988421 csync2-1.32.ebuild 2163 @@ -12,10 +16,14 @@ EBUILD csync2-1.33.ebuild 2163 RMD160 3d85f67feee317bbc32aeea31ba366e7a6d60b06 S MD5 2a367f63ad1f51439dcf126a7b46d164 csync2-1.33.ebuild 2163 RMD160 3d85f67feee317bbc32aeea31ba366e7a6d60b06 csync2-1.33.ebuild 2163 SHA256 0a5163ad3297672ec46873a4bcf4fc3d5fde3023ff428a6bec424409443d16e7 csync2-1.33.ebuild 2163 -MISC ChangeLog 3211 RMD160 780e4f585966968ac0ad2b50fa33e0c933d58788 SHA1 0be8ec095437529a297fe7a1bca2c48481f4dce7 SHA256 762e7664301ae88ffa465cc6f0d0ba1730828e2a778a8bc38dd13e536ea21ce8 -MD5 727ebb4c979fdbbd040c11b4456c7289 ChangeLog 3211 -RMD160 780e4f585966968ac0ad2b50fa33e0c933d58788 ChangeLog 3211 -SHA256 762e7664301ae88ffa465cc6f0d0ba1730828e2a778a8bc38dd13e536ea21ce8 ChangeLog 3211 +EBUILD csync2-1.34.ebuild 2164 RMD160 1bdd56269993d6cf5cff28f8289d849791eba6d6 SHA1 4003d6c5dc3cac4972dc000016cf5069a54b142c SHA256 44b4fb68d78f24456384fe5d5360de24c93a4077a3aa2f70541f3420d129687f +MD5 289509aeeb53d56643f67803842b9ffd csync2-1.34.ebuild 2164 +RMD160 1bdd56269993d6cf5cff28f8289d849791eba6d6 csync2-1.34.ebuild 2164 +SHA256 44b4fb68d78f24456384fe5d5360de24c93a4077a3aa2f70541f3420d129687f csync2-1.34.ebuild 2164 +MISC ChangeLog 3328 RMD160 11250fab1fc3e8fcab6389c95b87d6f93e3a920f SHA1 40a2c5dd8d9f66bb02ae9fe845403c8d7c93c104 SHA256 9f718cd44ea86644229661ea1e99d89b292356969db4d51f35d0e6b84a24cf3b +MD5 8470a2e80d90aff47f171fa1a35862b5 ChangeLog 3328 +RMD160 11250fab1fc3e8fcab6389c95b87d6f93e3a920f ChangeLog 3328 +SHA256 9f718cd44ea86644229661ea1e99d89b292356969db4d51f35d0e6b84a24cf3b ChangeLog 3328 MISC metadata.xml 229 RMD160 4dcf17b88c5f4db2e817f473f3e8269b0bff2e6e SHA1 e6315be43241c55bdc0d12a42fa05632c5ff9b79 SHA256 49e13d2d49bef7298e3bb665ebeceeff9b0880fae5ff639cb8405993504f244f MD5 58f295ba7477091e41340647670f3231 metadata.xml 229 RMD160 4dcf17b88c5f4db2e817f473f3e8269b0bff2e6e metadata.xml 229 @@ -26,3 +34,13 @@ SHA256 4152c4303410b7aa4f7b710ae17d068b111f1a88c1e9f808c73ca675f99196e5 files/di MD5 b3ccc59093763464310eba0d2a600f8b files/digest-csync2-1.33 235 RMD160 1e4cf6a66629dca437548f327cb816d3f171d478 files/digest-csync2-1.33 235 SHA256 63044566c450ac4aec6f0b6f426e9cab7544c9a917c79f8d9dcec20b92aa3509 files/digest-csync2-1.33 235 +MD5 eea7d99dfd60103e4033105e723c57d9 files/digest-csync2-1.34 235 +RMD160 b5f5a80464600a8217123b4c070685bbd412e918 files/digest-csync2-1.34 235 +SHA256 227d41eacbb87e08532284a1963c7268ce295989c0dab32f55a76c5330a2e800 files/digest-csync2-1.34 235 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFG8jQdgMUyd/cdjWsRAthlAJ94SFEx2x+853tIFydZfyGoZl/MAACggYKo +/mB3XhBo9S0m44KQ23MGwhM= +=r+pg +-----END PGP SIGNATURE----- diff --git a/sys-cluster/csync2/csync2-1.34.ebuild b/sys-cluster/csync2/csync2-1.34.ebuild new file mode 100644 index 000000000000..a1c11c96a5b6 --- /dev/null +++ b/sys-cluster/csync2/csync2-1.34.ebuild @@ -0,0 +1,91 @@ +# 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.1 2007/09/20 08:49:25 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* + >=net-libs/gnutls-1.0.0 + " + +RDEPEND="${DEPEND}" + +SLOT="0" + +src_compile() { + econf \ + --localstatedir=/var \ + --sysconfdir=/etc/csync2 \ + || die + + emake || die +} + +src_install() { + + make 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 /etc/services" + { grep -v ^${PN} /etc/services; + echo "csync2 30865/tcp" + } > /etc/services.new + mv -f /etc/services.new /etc/services + + if [ ! -f /etc/${PN}/csync2_ssl_key.pem ]; then + einfo "Creating default certificate in /etc/${PN}" + + openssl genrsa -out /etc/${PN}/csync2_ssl_key.pem 1024 &> /dev/null + + yes '' | \ + openssl req -new \ + -key /etc/${PN}/csync2_ssl_key.pem \ + -out /etc/${PN}/csync2_ssl_cert.csr \ + &> /dev/null + + openssl x509 -req -days 600 \ + -in /etc/${PN}/csync2_ssl_cert.csr \ + -signkey /etc/${PN}/csync2_ssl_key.pem \ + -out /etc/${PN}/csync2_ssl_cert.pem \ + &> /dev/null + + rm /etc/${PN}/csync2_ssl_cert.csr + chmod 400 /etc/${PN}/csync2_ssl_key.pem /etc/${PN}/csync2_ssl_cert.pem + fi +} diff --git a/sys-cluster/csync2/files/digest-csync2-1.34 b/sys-cluster/csync2/files/digest-csync2-1.34 new file mode 100644 index 000000000000..631400233043 --- /dev/null +++ b/sys-cluster/csync2/files/digest-csync2-1.34 @@ -0,0 +1,3 @@ +MD5 efc8a3548996b79cef2ad76af5e93cd8 csync2-1.34.tar.gz 222765 +RMD160 d79ddf0e608934d40f0095dde8aa5785c6094d84 csync2-1.34.tar.gz 222765 +SHA256 32b250dd4a0353f71015c5c3961174b975dd5e799e4a084e8f6d00792bd8c833 csync2-1.34.tar.gz 222765 |