summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Holm <dholm@gentoo.org>2003-08-22 10:36:46 +0000
committerDavid Holm <dholm@gentoo.org>2003-08-22 10:36:46 +0000
commitbe993eddadbee8eb6b6f3163885a672c25e1de6e (patch)
tree1625d286bcd2fdd396b7e95fd7da67ffb4196ead /dev-util/bitkeeper
parentAdded bitkeeper-3.0.2 ebuild. (diff)
downloadgentoo-2-be993eddadbee8eb6b6f3163885a672c25e1de6e.tar.gz
gentoo-2-be993eddadbee8eb6b6f3163885a672c25e1de6e.tar.bz2
gentoo-2-be993eddadbee8eb6b6f3163885a672c25e1de6e.zip
Added bitkeeper-3.0.2 ebuild.
Diffstat (limited to 'dev-util/bitkeeper')
-rw-r--r--dev-util/bitkeeper/ChangeLog9
-rw-r--r--dev-util/bitkeeper/Manifest4
-rw-r--r--dev-util/bitkeeper/bitkeeper-3.0.2.ebuild97
-rw-r--r--dev-util/bitkeeper/files/digest-bitkeeper-3.0.29
4 files changed, 116 insertions, 3 deletions
diff --git a/dev-util/bitkeeper/ChangeLog b/dev-util/bitkeeper/ChangeLog
index 520703fa2b7d..6bdd844c8843 100644
--- a/dev-util/bitkeeper/ChangeLog
+++ b/dev-util/bitkeeper/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/bitkeeper
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bitkeeper/ChangeLog,v 1.11 2003/06/19 15:43:58 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bitkeeper/ChangeLog,v 1.12 2003/08/22 10:36:31 dholm Exp $
+
+*bitkeeper-3.0.2 (22 Aug 2003)
+
+ 22 Aug 2003; <dholm@gentoo.org> bitkeeper-3.0.2.ebuild:
+ Applied changes from bug #21638 submitted by Evan Powers <powers.161@osu.edu>
+ and updated to 3.0.2 as 3.0.1 is no longer available. Also added mips support
+ in case someone needs that. Tested on x86 and powerpc.
19 Jun 2003; Tavis Ormandy <taviso@gentoo.org> bitkeeper-3.0.1-r1.ebuild:
3.0 is no longer available, marking stable on alpha.
diff --git a/dev-util/bitkeeper/Manifest b/dev-util/bitkeeper/Manifest
index 84cbe03aa1a7..69b8cc62e35b 100644
--- a/dev-util/bitkeeper/Manifest
+++ b/dev-util/bitkeeper/Manifest
@@ -1,8 +1,8 @@
-MD5 f02ef5ac5c6717b80be4da774b4306b6 ChangeLog 2019
+MD5 d317e1f9a362c3055f6529d78198bbe7 ChangeLog 1997
MD5 a3453f801d501abefb1b0fe734c48b9e bitkeeper-3.0-r1.ebuild 1680
MD5 1403275d353077d68b4164f2200776e9 bitkeeper-3.0.1-r1.ebuild 2593
MD5 c72e7b383d4ff5277b214509b5992771 bitkeeper-3.0.1.ebuild 1645
-MD5 78764ae5a0a4564974f95e6b68fe4810 bitkeeper-3.0.2.ebuild 3095
+MD5 b35469e1b6ddb0d95037f77612f27d0e bitkeeper-3.0.2.ebuild 3100
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-bitkeeper-3.0-r1 0
MD5 b83d343c0bc9d6ad03f6a7df79b2e51f files/digest-bitkeeper-3.0.1 465
MD5 b83d343c0bc9d6ad03f6a7df79b2e51f files/digest-bitkeeper-3.0.1-r1 465
diff --git a/dev-util/bitkeeper/bitkeeper-3.0.2.ebuild b/dev-util/bitkeeper/bitkeeper-3.0.2.ebuild
new file mode 100644
index 000000000000..5474585a2834
--- /dev/null
+++ b/dev-util/bitkeeper/bitkeeper-3.0.2.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bitkeeper/bitkeeper-3.0.2.ebuild,v 1.1 2003/08/22 10:36:31 dholm Exp $
+
+DESCRIPTION="A scalable configuration management system."
+HOMEPAGE="http://www.bitkeeper.com/"
+SRC_URI="x86? ( bk-${PV}-x86-glibc22-linux.bin )
+ ppc? ( bk-${PV}-powerpc-glibc21-linux.bin )
+ sparc? ( bk-${PV}-sparc-glibc21-linux.bin )
+ alpha? ( bk-${PV}-alpha-glibc22-linux.bin )
+ arm? ( bk-${PV}-arm-glibc21-linux.bin )
+ hppa? ( bk-${PV}-hppa-glibc22-linux.bin )
+ mips? ( bk-${PV}-mips-glibc22-linux.bin )"
+
+SLOT="0"
+LICENSE="BKL"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~arm ~hppa ~mips"
+IUSE="X"
+
+# binary package, so no DEPENDs; X optional in RDEPENDs
+DEPEND=""
+RDEPEND="virtual/glibc
+ >=dev-lang/tcl-8.3.3
+ X? ( >=dev-lang/tk-8.3.3 )"
+
+RESTRICT="fetch"
+
+S=${WORKDIR}/bitkeeper
+
+pkg_nofetch() {
+ eerror "You need to perform the following steps to install this package:"
+ eerror " - Sign up at ${HOMEPAGE}"
+ eerror " - Check your email and visit the download location"
+ eerror " - Download ${A} and place it in ${DISTDIR}"
+ eerror " - emerge this package again"
+ eerror "Run 'bk regression' to verify the installation. (Recommended)"
+}
+
+pkg_setup() {
+ cd ${T}
+ cp ${DISTDIR}/${A} .
+ chmod 755 ${A}
+ local DISPLAY=""
+ echo 'none' | ./${A} > output 2>/dev/null
+ installer=`sed -n -e "s/Installation script: \(.*\)/\1/p" output`
+ archive=`sed -n -e "s/Gzipped tar archive: \(.*\)/\1/p" output`
+ mv $archive ${T}/archive
+}
+
+src_unpack() {
+ tar -vxzpf ${T}/archive
+}
+
+src_install() {
+ dodir /opt /usr/share/man/man1 /usr/bin
+
+ mv ${S} ${D}/opt/${P} && cd ${D}
+
+ # BK includes two copies of most man pages; the second copy is a
+ # hard link to the first with its filename prefixed with
+ # 'bk-'. 'prepman' breaks these hard links, so use a
+ # workaround. Furthermore, we want only the 'bk-' versions to be
+ # in ${MANPATH} since there are naming conflicts, so install
+ # symlinks into /usr/share/man. (For example BK includes a
+ # less-detailed man page for grep which would override the
+ # /usr/share/man version.)
+
+ prepman /opt/${P}
+
+ find opt/${P}/man -iname 'bk-*' -printf '
+ F=`echo %f|sed -e "s/bk-//"`
+ rm -f %h/$F
+ dohard /%h/%f /%h/$F
+ dosym /%h/%f /usr/share/man/%P' >${T}/links.sh
+ . ${T}/links.sh
+
+ dosym /opt/${P}/man/man1/bk.1.gz /usr/share/man/man1/bk.1.gz
+
+ # mimic "bk links /opt/${P} /usr/bin"
+ dosym /opt/${P}/admin /usr/bin/admin
+ dosym /opt/${P}/bk /usr/bin/bk
+ dosym /opt/${P}/delta /usr/bin/delta
+ dosym /opt/${P}/get /usr/bin/get
+ dosym /opt/${P}/prs /usr/bin/prs
+ dosym /opt/${P}/rmdel /usr/bin/rmdel
+ dosym /opt/${P}/unget /usr/bin/unget
+}
+
+pkg_postinst() {
+ if grep -H bitkeeper /etc/man.conf; then
+ eerror "Previous BitKeeper ebuilds induced a misconfiguration when sys-apps/man was"
+ eerror "next upgraded. You appear to have fallen victim--edit /etc/man.conf and look"
+ eerror "for the definition of CMP. It should refer to /usr/bin/cmp, not the"
+ eerror "BitKeeper cmp."
+ eerror "For more information, see bugs #18247 and #21638."
+ fi
+}
diff --git a/dev-util/bitkeeper/files/digest-bitkeeper-3.0.2 b/dev-util/bitkeeper/files/digest-bitkeeper-3.0.2
new file mode 100644
index 000000000000..1339821965c3
--- /dev/null
+++ b/dev-util/bitkeeper/files/digest-bitkeeper-3.0.2
@@ -0,0 +1,9 @@
+MD5 cfd8f586e8c379c9d4eaa11fb5064d62 bk-3.0.2-x86-glibc22-linux.bin 2530216
+MD5 3de240272530fdbd8f60732ced7dbf83 bk-3.0.2-powerpc-glibc21-linux.bin 2739820
+MD5 646eb0dbad5b41c8aa8b6d2e5a9f7957 bk-3.0.2-sparc-glibc21-linux.bin 2688128
+MD5 da28d1cb564ffcf71342eeeec257f06b bk-3.0.2-alpha-glibc22-linux.bin 3116840
+MD5 9c0f42ff159cf37dfb827be386d967c4 bk-3.0.2-arm-glibc21-linux.bin 2677016
+MD5 c168145a107e5c5271d116ff27ee4d38 bk-3.0.2-hppa-glibc22-linux.bin 2758732
+MD5 e75f4549e1713090ad39f6eb87196c97 bk-3.0.2-mips-glibc22-linux.bin 2743128
+MD5 a77f358aa9737721ede8042c62ad6271 bk-3.0.2-ia64-glibc22-linux.bin 3431232
+MD5 6150cf19ea72d51bebd92f8c42cfeaf1 bk-3.0.2-s390-glibc22-linux.bin 2678112