diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2007-10-25 09:46:57 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2007-10-25 09:46:57 +0000 |
commit | 20efa3d9b6a3dbfdc2eef88290c58a770c4e6f96 (patch) | |
tree | 61f244ca02502e28c4989090179fee7498166bb8 /sys-cluster | |
parent | Ebuild cleanup, added some missing quotes. (diff) | |
download | historical-20efa3d9b6a3dbfdc2eef88290c58a770c4e6f96.tar.gz historical-20efa3d9b6a3dbfdc2eef88290c58a770c4e6f96.tar.bz2 historical-20efa3d9b6a3dbfdc2eef88290c58a770c4e6f96.zip |
Added amd64 arch, ebuild cleanup.
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/csync2/ChangeLog | 6 | ||||
-rw-r--r-- | sys-cluster/csync2/csync2-1.33.ebuild | 90 | ||||
-rw-r--r-- | sys-cluster/csync2/csync2-1.34.ebuild | 4 | ||||
-rw-r--r-- | sys-cluster/csync2/files/digest-csync2-1.33 | 3 |
4 files changed, 7 insertions, 96 deletions
diff --git a/sys-cluster/csync2/ChangeLog b/sys-cluster/csync2/ChangeLog index 9bb9b3831b74..8bcfe50cae52 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.24 2007/10/05 20:49:01 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/ChangeLog,v 1.25 2007/10/25 09:46:56 xmerlin Exp $ + + 25 Oct 2007; Christian Zoffoli <xmerlin@gentoo.org> -csync2-1.33.ebuild, + csync2-1.34.ebuild: + Added amd64 arch, ebuild cleanup. 05 Oct 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.33.ebuild b/sys-cluster/csync2/csync2-1.33.ebuild deleted file mode 100644 index 9a3c6ff31514..000000000000 --- a/sys-cluster/csync2/csync2-1.33.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.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" -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.34.ebuild b/sys-cluster/csync2/csync2-1.34.ebuild index b6454a5effb5..9b5b4d552ec3 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.4 2007/10/05 20:49:01 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/csync2/csync2-1.34.ebuild,v 1.5 2007/10/25 09:46:56 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="~amd64 x86" IUSE="" diff --git a/sys-cluster/csync2/files/digest-csync2-1.33 b/sys-cluster/csync2/files/digest-csync2-1.33 deleted file mode 100644 index 9dbbdbce4b44..000000000000 --- a/sys-cluster/csync2/files/digest-csync2-1.33 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 e16e3c0f4285439cef09a6b63319a0b0 csync2-1.33.tar.gz 218065 -RMD160 3c06cff1adb6df03108670eccce4889e3913cfba csync2-1.33.tar.gz 218065 -SHA256 2214adb04358b5d351cac7e13055e1c90f7897b7c0600b922de02ca6b0820651 csync2-1.33.tar.gz 218065 |