summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Almenar <strider@gentoo.org>2003-11-01 23:44:58 +0000
committerAdrian Almenar <strider@gentoo.org>2003-11-01 23:44:58 +0000
commit3342a60e63ff0f8e97ae9f9f7897890f92993e27 (patch)
treeff33198caca39467812a8a1ca43a42a85a641b15 /dev-util
parentVersion Bump. (diff)
downloadhistorical-3342a60e63ff0f8e97ae9f9f7897890f92993e27.tar.gz
historical-3342a60e63ff0f8e97ae9f9f7897890f92993e27.tar.bz2
historical-3342a60e63ff0f8e97ae9f9f7897890f92993e27.zip
Version Bump.
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/bitkeeper/Manifest5
-rw-r--r--dev-util/bitkeeper/bitkeeper-3.0.3.ebuild97
-rw-r--r--dev-util/bitkeeper/files/digest-bitkeeper-3.0.37
3 files changed, 106 insertions, 3 deletions
diff --git a/dev-util/bitkeeper/Manifest b/dev-util/bitkeeper/Manifest
index 49319f127d18..6242e41f12d3 100644
--- a/dev-util/bitkeeper/Manifest
+++ b/dev-util/bitkeeper/Manifest
@@ -1,9 +1,8 @@
MD5 a3453f801d501abefb1b0fe734c48b9e bitkeeper-3.0-r1.ebuild 1680
-MD5 8cb35c7624939c422fb5c094e56d2581 .bitkeeper-3.0.3.ebuild.swp 12288
MD5 c72e7b383d4ff5277b214509b5992771 bitkeeper-3.0.1.ebuild 1645
-MD5 557fcca8b57dc8c0833c986d87b458fb bitkeeper-3.0.3.ebuild 3001
+MD5 56d854a7e8a4a4dd5dcf19b74cb26684 bitkeeper-3.0.3.ebuild 3108
MD5 1403275d353077d68b4164f2200776e9 bitkeeper-3.0.1-r1.ebuild 2593
-MD5 d317e1f9a362c3055f6529d78198bbe7 ChangeLog 1997
+MD5 6f5da81ec7c2431bf678d3e92a9fe34e ChangeLog 2175
MD5 b35469e1b6ddb0d95037f77612f27d0e bitkeeper-3.0.2.ebuild 3100
MD5 b83d343c0bc9d6ad03f6a7df79b2e51f files/digest-bitkeeper-3.0.1 465
MD5 d066937da580f40b24811b2cf116a809 files/digest-bitkeeper-3.0.2 696
diff --git a/dev-util/bitkeeper/bitkeeper-3.0.3.ebuild b/dev-util/bitkeeper/bitkeeper-3.0.3.ebuild
new file mode 100644
index 000000000000..9338f6f72dfa
--- /dev/null
+++ b/dev-util/bitkeeper/bitkeeper-3.0.3.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.3.ebuild,v 1.1 2003/11/01 23:44:53 strider 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 )
+ ia64? ( bk-${PV}-ia64-glibc22-linux.bin )"
+
+SLOT="0"
+LICENSE="BKL"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~arm ~hppa -mips ~ia64"
+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.3 b/dev-util/bitkeeper/files/digest-bitkeeper-3.0.3
new file mode 100644
index 000000000000..f6b2e83ee9dc
--- /dev/null
+++ b/dev-util/bitkeeper/files/digest-bitkeeper-3.0.3
@@ -0,0 +1,7 @@
+MD5 5a4da518944dfe1dff7cf92e75dbbc35 bk-3.0.3-x86-glibc22-linux.bin 2549608
+MD5 879644e5503edd813b46ff18111a0ceb bk-3.0.3-powerpc-glibc21-linux.bin 2763516
+MD5 2926939334479852a6a1ea77bb166535 bk-3.0.3-sparc-glibc21-linux.bin 2713920
+MD5 96ad4576fcb5242add92a9851e20cf13 bk-3.0.3-alpha-glibc22-linux.bin 3139272
+MD5 1b7d90e1b3f0eebadc8aecdb630fd709 bk-3.0.3-arm-glibc21-linux.bin 2701400
+MD5 0eb6230d2b9bb35e4ac2225ec6ae31e6 bk-3.0.3-hppa-glibc22-linux.bin 2779780
+MD5 d3ee96e80de441693d319e23e52a5792 bk-3.0.3-ia64-glibc22-linux.bin 3453680