summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Sozeau <mattam@gentoo.org>2005-07-19 16:16:49 +0000
committerMatthieu Sozeau <mattam@gentoo.org>2005-07-19 16:16:49 +0000
commit13b8a4869ccf62695176bc816043869e198accb8 (patch)
tree988058c7bbf4fe3f9962bfa69caffd1699afe3ca /net-misc
parentJust cleaning up this mornings mess (diff)
downloadgentoo-2-13b8a4869ccf62695176bc816043869e198accb8.tar.gz
gentoo-2-13b8a4869ccf62695176bc816043869e198accb8.tar.bz2
gentoo-2-13b8a4869ccf62695176bc816043869e198accb8.zip
Resurrect old version
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/unison/ChangeLog6
-rw-r--r--net-misc/unison/Manifest7
-rw-r--r--net-misc/unison/files/digest-unison-2.9.1-r11
-rw-r--r--net-misc/unison/files/ocaml-3.08-extnames.patch14
-rw-r--r--net-misc/unison/unison-2.9.1-r1.ebuild53
5 files changed, 78 insertions, 3 deletions
diff --git a/net-misc/unison/ChangeLog b/net-misc/unison/ChangeLog
index 1e5ebecb54d3..762614a160ea 100644
--- a/net-misc/unison/ChangeLog
+++ b/net-misc/unison/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/unison
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/unison/ChangeLog,v 1.29 2005/07/13 21:34:22 mattam Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/unison/ChangeLog,v 1.30 2005/07/19 16:16:49 mattam Exp $
+
+ 19 Jul 2005; Matthieu Sozeau <mattam@gentoo.org>
+ +files/ocaml-3.08-extnames.patch, +unison-2.9.1-r1.ebuild:
+ Resurrected old stable version.
13 Jul 2005; Matthieu Sozeau <mattam@gentoo.org>
+files/unison-2.12.0-gtk2-bug.patch, unison-2.12.0.ebuild:
diff --git a/net-misc/unison/Manifest b/net-misc/unison/Manifest
index 208e31c34ba4..a5430d930a06 100644
--- a/net-misc/unison/Manifest
+++ b/net-misc/unison/Manifest
@@ -1,7 +1,10 @@
-MD5 857e1378e44879086214cb8d79d99052 unison-2.12.0.ebuild 1919
-MD5 c0616beadc61fb00cf73a9c540268188 unison-2.13.0.ebuild 1920
MD5 fd77c03119267f1aae585e32034bb5e6 ChangeLog 4390
MD5 8b350f19c06fcabf1053b0421b7c3f5a metadata.xml 155
+MD5 857e1378e44879086214cb8d79d99052 unison-2.12.0.ebuild 1919
+MD5 c0616beadc61fb00cf73a9c540268188 unison-2.13.0.ebuild 1920
+MD5 eec12c9dcff5c91488b6f08134317d3d unison-2.9.1-r1.ebuild 1301
MD5 f2b7bb2888f634f6b2e887a7f6ceda64 files/digest-unison-2.12.0 204
MD5 76c33afd24bb34b9dbe90989e3235e36 files/digest-unison-2.13.0 204
MD5 402b704e5c7c71a69fd6400c395834ec files/unison-2.12.0-gtk2-bug.patch 490
+MD5 29b28492666138199820e9df8fcc6a47 files/digest-unison-2.9.1-r1 64
+MD5 5abcf068ada1ab9eedbe3dfa16ad15fb files/ocaml-3.08-extnames.patch 748
diff --git a/net-misc/unison/files/digest-unison-2.9.1-r1 b/net-misc/unison/files/digest-unison-2.9.1-r1
new file mode 100644
index 000000000000..0431bf98c368
--- /dev/null
+++ b/net-misc/unison/files/digest-unison-2.9.1-r1
@@ -0,0 +1 @@
+MD5 d8084fa87c13671de21ec1b701a4606c unison-2.9.1.tar.gz 319081
diff --git a/net-misc/unison/files/ocaml-3.08-extnames.patch b/net-misc/unison/files/ocaml-3.08-extnames.patch
new file mode 100644
index 000000000000..e959be2f3991
--- /dev/null
+++ b/net-misc/unison/files/ocaml-3.08-extnames.patch
@@ -0,0 +1,14 @@
+diff -ur unison-2.9.1/ubase/uprintf.ml unison-2.9.1.patched/ubase/uprintf.ml
+--- unison-2.9.1/ubase/uprintf.ml 2002-04-11 07:13:23.000000000 +0200
++++ unison-2.9.1.patched/ubase/uprintf.ml 2004-08-08 14:10:09.784776851 +0200
+@@ -10,8 +10,8 @@
+ (* *)
+ (***********************************************************************)
+
+-external format_int: string -> int -> string = "format_int"
+-external format_float: string -> float -> string = "format_float"
++external format_int: string -> int -> string = "caml_format_int"
++external format_float: string -> float -> string = "caml_format_float"
+
+ let fprintf outchan doafter format =
+ let format = (Obj.magic format : string) in
diff --git a/net-misc/unison/unison-2.9.1-r1.ebuild b/net-misc/unison/unison-2.9.1-r1.ebuild
new file mode 100644
index 000000000000..047d0bc0b0c0
--- /dev/null
+++ b/net-misc/unison/unison-2.9.1-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/unison/unison-2.9.1-r1.ebuild,v 1.5 2005/07/19 16:16:49 mattam Exp $
+
+inherit eutils
+
+IUSE="gtk"
+
+DESCRIPTION="Two-way cross-platform file synchronizer"
+HOMEPAGE="http://www.cis.upenn.edu/~bcpierce/unison/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 sparc ppc ~alpha ~amd64"
+
+DEPEND=">=dev-lang/ocaml-3.04
+ gtk? ( =dev-ml/lablgtk-1.2* )"
+RDEPEND="gtk? ( =x11-libs/gtk+-1.2*
+|| ( net-misc/x11-ssh-askpass net-misc/gtk2-ssh-askpass ) )"
+
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+
+ # Fix for ocaml-3.08 change in exported symbol names
+ if has_version '>=ocaml-3.08'; then
+ epatch ${FILESDIR}/ocaml-3.08-extnames.patch
+ fi
+
+ # Fix for coreutils change of tail syntax
+ cd ${S}
+ sed -i -e 's/tail -1/tail -n 1/' Makefile.OCaml
+}
+
+src_compile() {
+ local myconf
+
+ if use gtk; then
+ myconf="$myconf UISTYLE=gtk"
+ else
+ myconf="$myconf UISTYLE=text"
+ fi
+
+ make $myconf CFLAGS="" || die
+}
+
+src_install () {
+ # install manually, since it's just too much
+ # work to force the Makefile to do the right thing.
+ dobin unison
+ dodoc BUGS.txt CONTRIB COPYING INSTALL NEWS \
+ README ROADMAP.txt TODO.txt
+}