summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Nall <nall@gentoo.org>2002-11-21 00:46:16 +0000
committerJon Nall <nall@gentoo.org>2002-11-21 00:46:16 +0000
commit765cdbb8964a538f0173740e0f40651cae3fca20 (patch)
tree7d59c4f8eb7968a749d314a2910eccd1b5daa444 /net-mail/ximian-connector
parentfixed commented RESTRICT (diff)
downloadhistorical-765cdbb8964a538f0173740e0f40651cae3fca20.tar.gz
historical-765cdbb8964a538f0173740e0f40651cae3fca20.tar.bz2
historical-765cdbb8964a538f0173740e0f40651cae3fca20.zip
added RESTRICT="fetch"
Diffstat (limited to 'net-mail/ximian-connector')
-rw-r--r--net-mail/ximian-connector/ChangeLog7
-rw-r--r--net-mail/ximian-connector/ximian-connector-1.2.0.ebuild22
2 files changed, 26 insertions, 3 deletions
diff --git a/net-mail/ximian-connector/ChangeLog b/net-mail/ximian-connector/ChangeLog
index 8e08f744460a..bcd5cf478235 100644
--- a/net-mail/ximian-connector/ChangeLog
+++ b/net-mail/ximian-connector/ChangeLog
@@ -1,9 +1,14 @@
# 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.1 2002/11/20 01:54:36 nall Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/ximian-connector/ChangeLog,v 1.2 2002/11/21 00:46:16 nall Exp $
*ximian-connector-1.2.0 (18 Nov 2002)
+ 19 Nov 2002; Jon Nall <nall@gentoo.org> ximian-connector-1.2.0.ebuild :
+ ximian's license doesn't allow redistribution of binaries. therefore,
+ i've marked this as RESTRICT="fetch" with a note to the user of how/
+ where to get the package needed
+
18 Nov 2002; Jon Nall <nall@gentoo.org> ChangeLog, ximian-connector-1.2.0.ebuild,
files/digest-ximian-connector-1.2.0 :
Initial import.
diff --git a/net-mail/ximian-connector/ximian-connector-1.2.0.ebuild b/net-mail/ximian-connector/ximian-connector-1.2.0.ebuild
index 4f10573c2b30..fc3c126f26b4 100644
--- a/net-mail/ximian-connector/ximian-connector-1.2.0.ebuild
+++ b/net-mail/ximian-connector/ximian-connector-1.2.0.ebuild
@@ -1,12 +1,13 @@
# 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.0.ebuild,v 1.1 2002/11/20 01:54:36 nall Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/ximian-connector/ximian-connector-1.2.0.ebuild,v 1.2 2002/11/21 00:46:16 nall Exp $
DESCRIPTION="Ximian Connector (An Evolution Plugin to talk to Exchange Servers)"
HOMEPAGE="http://www.ximian.com"
LICENSE="Ximian-Connector"
SLOT="0"
KEYWORDS="~ppc -sparc -sparc64 -alpha"
+RESTRICT="fetch nostrip"
XIMIAN_ARCH="blargh"
XIMIAN_DIST="frobs"
@@ -21,13 +22,30 @@ fi
XIMIAN_REV=$(( `echo ${PR} | sed -e "s/r//"` + 1 ))
-SRC_URI="http://www-files.ximian.com/${PN}/${XIMIAN_DIST}/${P}-${XIMIAN_REV}.ximian.${XIMIAN_REV}.${XIMIAN_ARCH}.rpm"
+SRC_URI="${P}-${XIMIAN_REV}.ximian.${XIMIAN_REV}.${XIMIAN_ARCH}.rpm"
DEPEND="app-arch/rpm2targz
>=net-mail/evolution-1.2.0*"
RDEPEND=">=net-mail/evolution-1.2.0*"
+pkg_setup() {
+ if [ ${ARCH} != "x86" && ${ARCH} != "ppc" ] ; then
+ einfo "This package is only available for x86 and ppc, sorry"
+ die "Not supported on your ARCH"
+ fi
+}
+
src_unpack() {
+ if [ ! -f ${DISTDIR}/${SRC_URI} ] ; then
+ einfo
+ einfo "Please download ${SRC_URI} from Ximian's redcarpet"
+ einfo "after it downloads, place the rpm in ${DISTDIR}"
+ einfo "NOTE: Ximian connector requires the purchase of a"
+ einfo "key from Ximian to function properly."
+ einfo
+ die
+ fi
+
rpm2targz ${DISTDIR}/${A}
mv ${WORKDIR}/${P}-${XIMIAN_REV}.ximian.${XIMIAN_REV}.${XIMIAN_ARCH}.tar.gz ${DISTDIR}
unpack ${P}-${XIMIAN_REV}.ximian.${XIMIAN_REV}.${XIMIAN_ARCH}.tar.gz