diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2006-06-04 13:17:28 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2006-06-04 13:17:28 +0000 |
commit | dd36f2c167e06c2842349ea5ca5c891d1950e94a (patch) | |
tree | b635a163c47f38d33617d92bfdc9853c0e0d5467 /sys-cluster/csync2 | |
parent | version bump as per bug #133017 thanks Hod. 2.1_p1 used wrong patch name with... (diff) | |
download | historical-dd36f2c167e06c2842349ea5ca5c891d1950e94a.tar.gz historical-dd36f2c167e06c2842349ea5ca5c891d1950e94a.tar.bz2 historical-dd36f2c167e06c2842349ea5ca5c891d1950e94a.zip |
Added default certificate creation, stable on x86. Removed old ebuilds.
Package-Manager: portage-2203-svn
Diffstat (limited to 'sys-cluster/csync2')
-rw-r--r-- | sys-cluster/csync2/ChangeLog | 10 | ||||
-rw-r--r-- | sys-cluster/csync2/Manifest | 20 | ||||
-rw-r--r-- | sys-cluster/csync2/csync2-1.16.ebuild | 60 | ||||
-rw-r--r-- | sys-cluster/csync2/csync2-1.22.ebuild | 60 | ||||
-rw-r--r-- | sys-cluster/csync2/csync2-1.26.ebuild | 60 | ||||
-rw-r--r-- | sys-cluster/csync2/csync2-1.29.ebuild | 61 | ||||
-rw-r--r-- | sys-cluster/csync2/csync2-1.30.ebuild | 61 | ||||
-rw-r--r-- | sys-cluster/csync2/csync2-1.32.ebuild | 28 | ||||
-rw-r--r-- | sys-cluster/csync2/files/digest-csync2-1.16 | 1 | ||||
-rw-r--r-- | sys-cluster/csync2/files/digest-csync2-1.22 | 1 | ||||
-rw-r--r-- | sys-cluster/csync2/files/digest-csync2-1.26 | 1 | ||||
-rw-r--r-- | sys-cluster/csync2/files/digest-csync2-1.29 | 1 | ||||
-rw-r--r-- | sys-cluster/csync2/files/digest-csync2-1.30 | 1 |
13 files changed, 40 insertions, 325 deletions
diff --git a/sys-cluster/csync2/ChangeLog b/sys-cluster/csync2/ChangeLog index 92733b53af1a..10340e485592 100644 --- a/sys-cluster/csync2/ChangeLog +++ b/sys-cluster/csync2/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-cluster/csync2 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/ChangeLog,v 1.12 2006/06/03 18:52:58 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/ChangeLog,v 1.13 2006/06/04 13:17:28 xmerlin Exp $ + + 04 Jun 2006; Christian Zoffoli <xmerlin@gentoo.org> -csync2-1.16.ebuild, + -csync2-1.22.ebuild, -csync2-1.26.ebuild, -csync2-1.29.ebuild, + -csync2-1.30.ebuild, csync2-1.32.ebuild: + Removed old ebuilds. + + 04 Jun 2006; Christian Zoffoli <xmerlin@gentoo.org> csync2-1.32.ebuild: + Added default certificate creation, stable on x86. 03 Jun 2006; Christian Zoffoli <xmerlin@gentoo.org> csync2-1.16.ebuild, csync2-1.22.ebuild, csync2-1.26.ebuild, csync2-1.29.ebuild, diff --git a/sys-cluster/csync2/Manifest b/sys-cluster/csync2/Manifest index 933426ed19f2..b4adab780570 100644 --- a/sys-cluster/csync2/Manifest +++ b/sys-cluster/csync2/Manifest @@ -1,25 +1,15 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 aad57481a50c879bb404cdab5ee76116 ChangeLog 1887 -MD5 d92e6956206761870ade9ba4f188a3af csync2-1.16.ebuild 1336 -MD5 cb07cfe0a57f091fa51bf01cf0eb8160 csync2-1.22.ebuild 1335 -MD5 bcc3399686d41142fffccf342fd56a94 csync2-1.26.ebuild 1335 -MD5 69db8e306a1341435c03d9d518b16691 csync2-1.29.ebuild 1360 -MD5 8787b53ae67b2894436f787211083069 csync2-1.30.ebuild 1360 -MD5 620a3ceefbc07af0727177e04377779b csync2-1.32.ebuild 1361 +MD5 f539aa7e6ac46a8529abb2947858e2fa ChangeLog 2222 +MD5 6127820e8909e4106aaeb43fd5c2fa1f csync2-1.32.ebuild 1953 MD5 8f6c0e3b7da5a8b1a5fd7730f6ae8bdd files/csync2.xinetd 388 -MD5 4f935e316a184e40ddf6dfd0f386c761 files/digest-csync2-1.16 62 -MD5 204c4e198fb5a256de4f61c6069a862b files/digest-csync2-1.22 63 -MD5 8fe2d3ad1d8b14adfaa878252ca38430 files/digest-csync2-1.26 63 -MD5 ef30595753fb34c69ed854d074ea69d4 files/digest-csync2-1.29 63 -MD5 7536966c440cbef26e4ff078374826fa files/digest-csync2-1.30 63 MD5 6e7da398a741c7c58e088b026b71a37d files/digest-csync2-1.32 63 MD5 a64b9a1937a5cfc2fbaf373521f65d47 metadata.xml 223 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) -iD8DBQFEgemvgMUyd/cdjWsRArBuAJ4kRv5NaqLLuhywzUIdxm6y3Aa8oQCfZDVE -HzYLzLi2kbRgYM4TfuanNb4= -=2GXW +iD8DBQFEguyFgMUyd/cdjWsRAvSjAJ40HW9LIgH0KJdIRjaVR5QYTYk5RACgklQ1 +VKx084uX8Ym6cHrwAUXpWyI= +=n6Os -----END PGP SIGNATURE----- diff --git a/sys-cluster/csync2/csync2-1.16.ebuild b/sys-cluster/csync2/csync2-1.16.ebuild deleted file mode 100644 index 0dd7c7eee772..000000000000 --- a/sys-cluster/csync2/csync2-1.16.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/csync2-1.16.ebuild,v 1.6 2006/06/03 18:52:58 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 - - dodir /var/lib/csync2/ || die - keepdir /var/lib/csync2/ - - 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 "emerge --config =${PF}" -} - -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/csync2-1.22.ebuild b/sys-cluster/csync2/csync2-1.22.ebuild deleted file mode 100644 index 7a024c9fce54..000000000000 --- a/sys-cluster/csync2/csync2-1.22.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2006 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.5 2006/06/03 18:52:58 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 - - dodir /var/lib/csync2/ || die - keepdir /var/lib/csync2/ - - 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 "emerge --config =${PF}" -} - -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/csync2-1.26.ebuild b/sys-cluster/csync2/csync2-1.26.ebuild deleted file mode 100644 index 833d3e01135f..000000000000 --- a/sys-cluster/csync2/csync2-1.26.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/csync2-1.26.ebuild,v 1.3 2006/06/03 18:52:58 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 - - dodir /var/lib/csync2/ || die - keepdir /var/lib/csync2/ - - 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 "emerge --config =${PF}" -} - -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/csync2-1.29.ebuild b/sys-cluster/csync2/csync2-1.29.ebuild deleted file mode 100644 index 19a79ec6e959..000000000000 --- a/sys-cluster/csync2/csync2-1.29.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/csync2-1.29.ebuild,v 1.3 2006/06/03 18:52:58 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 || 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 - - dodir /var/lib/csync2/ || die - keepdir /var/lib/csync2/ - - 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 "emerge --config =${PF}" -} - -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/csync2-1.30.ebuild b/sys-cluster/csync2/csync2-1.30.ebuild deleted file mode 100644 index 33b1f09cd8d7..000000000000 --- a/sys-cluster/csync2/csync2-1.30.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/csync2-1.30.ebuild,v 1.3 2006/06/03 18:52:58 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 || 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 - - dodir /var/lib/csync2/ || die - keepdir /var/lib/csync2/ - - 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 "emerge --config =${PF}" -} - -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/csync2-1.32.ebuild b/sys-cluster/csync2/csync2-1.32.ebuild index 0ad007d8ac72..d2eb42ce703c 100644 --- a/sys-cluster/csync2/csync2-1.32.ebuild +++ b/sys-cluster/csync2/csync2-1.32.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2006 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.2 2006/06/03 18:52:58 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/csync2-1.32.ebuild,v 1.3 2006/06/04 13:17:28 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="" @@ -21,6 +21,11 @@ RDEPEND="${DEPEND}" SLOT="0" src_compile() { + econf \ + --localstatedir=/var \ + --sysconfdir=/etc/csync2 \ + || die + econf --localstatedir=/var || die emake || die @@ -58,4 +63,23 @@ pkg_config() { } > /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 + fi } diff --git a/sys-cluster/csync2/files/digest-csync2-1.16 b/sys-cluster/csync2/files/digest-csync2-1.16 deleted file mode 100644 index 30ed7cf1fe7b..000000000000 --- a/sys-cluster/csync2/files/digest-csync2-1.16 +++ /dev/null @@ -1 +0,0 @@ -MD5 1d156561b112561a450e7b4a178d6a26 csync2-1.16.tar.gz 97630 diff --git a/sys-cluster/csync2/files/digest-csync2-1.22 b/sys-cluster/csync2/files/digest-csync2-1.22 deleted file mode 100644 index 57b254abbc50..000000000000 --- a/sys-cluster/csync2/files/digest-csync2-1.22 +++ /dev/null @@ -1 +0,0 @@ -MD5 6504aba35683d1663fb530b50f4c1dfd csync2-1.22.tar.gz 110916 diff --git a/sys-cluster/csync2/files/digest-csync2-1.26 b/sys-cluster/csync2/files/digest-csync2-1.26 deleted file mode 100644 index 0fff2a4e9883..000000000000 --- a/sys-cluster/csync2/files/digest-csync2-1.26 +++ /dev/null @@ -1 +0,0 @@ -MD5 8f55438f256f49ddb5f135e66e7f51e4 csync2-1.26.tar.gz 110843 diff --git a/sys-cluster/csync2/files/digest-csync2-1.29 b/sys-cluster/csync2/files/digest-csync2-1.29 deleted file mode 100644 index b0bb3c6a3d63..000000000000 --- a/sys-cluster/csync2/files/digest-csync2-1.29 +++ /dev/null @@ -1 +0,0 @@ -MD5 7520e8e3f55bd85cdf462bbb3a6d1f5f csync2-1.29.tar.gz 113511 diff --git a/sys-cluster/csync2/files/digest-csync2-1.30 b/sys-cluster/csync2/files/digest-csync2-1.30 deleted file mode 100644 index 62e2ee376aba..000000000000 --- a/sys-cluster/csync2/files/digest-csync2-1.30 +++ /dev/null @@ -1 +0,0 @@ -MD5 89241cc8320df3218fcd8c22f6484f3d csync2-1.30.tar.gz 114542 |