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 | 61e2d6f273aa54a5385a85867cd77b86cace816c (patch) | |
tree | eecfde42d5dafb3fb9791934426efc00b17d6362 /sys-cluster | |
parent | version bump as per bug #133017 thanks Hod. 2.1_p1 used wrong patch name with... (diff) | |
download | gentoo-2-61e2d6f273aa54a5385a85867cd77b86cace816c.tar.gz gentoo-2-61e2d6f273aa54a5385a85867cd77b86cace816c.tar.bz2 gentoo-2-61e2d6f273aa54a5385a85867cd77b86cace816c.zip |
Added default certificate creation, stable on x86. Removed old ebuilds.
(Portage version: 2203-svn)
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/csync2/ChangeLog | 10 | ||||
-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 |
12 files changed, 35 insertions, 310 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/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 |