diff options
author | Jon Nall <nall@gentoo.org> | 2003-02-05 02:02:49 +0000 |
---|---|---|
committer | Jon Nall <nall@gentoo.org> | 2003-02-05 02:02:49 +0000 |
commit | 2702c5d13afbab7e774f70434cf4cce7032de1f0 (patch) | |
tree | aecd74fce34fa5f85ea86230350eb8bbd7157e6e /net-mail/ximian-connector | |
parent | Moved ssl cert creation to pkg_config() and only runs if ssl and if cert (diff) | |
download | gentoo-2-2702c5d13afbab7e774f70434cf4cce7032de1f0.tar.gz gentoo-2-2702c5d13afbab7e774f70434cf4cce7032de1f0.tar.bz2 gentoo-2-2702c5d13afbab7e774f70434cf4cce7032de1f0.zip |
fix for #15054; d/l rpm from ximian's site (w/ RESTRICT="nomirror")
Diffstat (limited to 'net-mail/ximian-connector')
3 files changed, 71 insertions, 2 deletions
diff --git a/net-mail/ximian-connector/ChangeLog b/net-mail/ximian-connector/ChangeLog index a80439e2ed66..a00d65e85d58 100644 --- a/net-mail/ximian-connector/ChangeLog +++ b/net-mail/ximian-connector/ChangeLog @@ -1,8 +1,16 @@ # ChangeLog for net-mail/ximian-connector # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/ximian-connector/ChangeLog,v 1.5 2003/01/27 01:45:09 nall Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/ximian-connector/ChangeLog,v 1.6 2003/02/05 02:02:49 nall Exp $ -*ximian-connector-1.2.1_p2 (18 Nov 2002) +*ximian-connector-1.2.1_p2-r1 (04 Feb 2003) + + 04 Feb 2003; Jon Nall <nall@gentoo.org> ximian-connector-1.2.1_p2-r1.ebuild, + files/digest-ximian-connector-1.2.1_p2-r1 : + set RESTRICT to "nomirror" and download the rpm's directly from ximian's + website; fix bug #15054 (sandbox violation); added md5sums for both + ppc and x86 rpm's + +*ximian-connector-1.2.1_p2 (26 Jan 2003) 26 Jan 2003; Jon Nall <nall@gentoo.org> ximian-connector-1.2.1_p2.ebuild : modified to use latest release from ximian. also added get_connector.py diff --git a/net-mail/ximian-connector/files/digest-ximian-connector-1.2.1_p2-r1 b/net-mail/ximian-connector/files/digest-ximian-connector-1.2.1_p2-r1 new file mode 100644 index 000000000000..6a728d081ace --- /dev/null +++ b/net-mail/ximian-connector/files/digest-ximian-connector-1.2.1_p2-r1 @@ -0,0 +1,2 @@ +MD5 b0db1fa9fbb984fc9ecc746d710c10d7 ximian-connector-1.2.1-2.ximian.1.ppc.rpm 389883 +MD5 d1e843f03afdda4df005c7d285adf387 ximian-connector-1.2.1-2.ximian.1.i386.rpm 369018 diff --git a/net-mail/ximian-connector/ximian-connector-1.2.1_p2-r1.ebuild b/net-mail/ximian-connector/ximian-connector-1.2.1_p2-r1.ebuild new file mode 100644 index 000000000000..c8599081aaed --- /dev/null +++ b/net-mail/ximian-connector/ximian-connector-1.2.1_p2-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/ximian-connector/ximian-connector-1.2.1_p2-r1.ebuild,v 1.1 2003/02/05 02:02:49 nall Exp $ + +DESCRIPTION="Ximian Connector (An Evolution Plugin to talk to Exchange Servers)" +HOMEPAGE="http://www.ximian.com" +LICENSE="Ximian-Connector" +SLOT="0" +KEYWORDS="~x86 ~ppc -sparc -alpha -mips" +RESTRICT="mirror nostrip" + +XIMIAN_ARCH="blargh" +XIMIAN_DIST="frobs" + +if [ `use ppc` ]; then + XIMIAN_DIST="yellowdog-22-ppc" + XIMIAN_ARCH="ppc" +elif [ `use x86` ]; then + XIMIAN_DIST="redhat-73-i386" + XIMIAN_ARCH="i386" +else + die "Unsupported ARCH: ${ARCH}" +fi + +# make the ximian rev from the package version +# 1.2.1_p2 should result in 1.2.1-2 +XIMIAN_REV=`echo ${PV} | sed -e "s/_p/-/"` + +SRC_URI="http://red-carpet.ximian.com/${PN}/${XIMIAN_DIST}/${PN}-${XIMIAN_REV}.ximian.1.${XIMIAN_ARCH}.rpm" + +DEPEND="app-arch/rpm2targz + >=net-mail/evolution-1.2.1*" +RDEPEND=">=net-mail/evolution-1.2.1*" + +pkg_setup() { + if [ "${ARCH}" != "x86" -a "${ARCH}" != "ppc" ] + then + einfo "This package is only available for x86 and ppc, sorry" + die "Not supported on your ARCH" + fi +} + +src_unpack() { + rpm2targz ${DISTDIR}/${A} + tar -xzf ${WORKDIR}/${PN}-${XIMIAN_REV}.ximian.1.${XIMIAN_ARCH}.tar.gz +} + +src_install() { + cd ${WORKDIR} + rm -f ${PN}-${XIMIAN_REV}.ximian.1.${XIMIAN_ARCH}.tar.gz + cp -dpR * ${D} + dosym /usr/lib/libssl.so /usr/lib/libssl.so.2 + dosym /usr/lib/libcrypto.so /usr/lib/libcrypto.so.2 +} + +post_install(){ + einfo "NOTE: Ximian connector requires the purchase of a" + einfo "key from Ximian to function properly." +} |