Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57662 - unison ebuild (new version 2.9.20)
Summary: unison ebuild (new version 2.9.20)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-19 17:13 UTC by Jesse D. Guardiani
Modified: 2005-07-21 13:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
unison uname patch. normalizes uname output as lowercase before attempting comparison. (unison-2.9.20-uname.patch,539 bytes, patch)
2004-07-19 17:16 UTC, Jesse D. Guardiani
Details | Diff
This is the final ebuild file (unison-2.9.20.ebuild,1.16 KB, text/plain)
2004-07-19 17:23 UTC, Jesse D. Guardiani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse D. Guardiani 2004-07-19 17:13:58 UTC
I needed to use the 2.9.20 beta version of unison because FreeBSD ports has that version and your versions must be identical for remote sync to work, so I modified the 2.9.1 ebuild to use the 2.9.20 src tar.gz, wrote a quick patch for a uname bug I found, and submitted it here.

Reproducible: Always
Steps to Reproduce:




Here's a diff of the changes I made to the ebuild file (besides the rename):

[19:48]jesse@isaac:[/usr/portage/net-misc/unison]% diff -u unison-2.9.1.ebuild
unison-2.9.20.ebuild
--- unison-2.9.1.ebuild 2004-06-24 21:14:02.000000000 -0400
+++ unison-2.9.20.ebuild        2004-07-18 19:24:49.000000000 -0400
@@ -21,8 +21,13 @@
 src_unpack() {
        unpack ${P}.tar.gz

-       # Fix for coreutils change of tail syntax
+
        cd ${S}
+
+       # Fix for Util.ml incorrectly assuming lowercase 'linux' in uname output.
+       epatch ${FILESDIR}/${P}-uname.patch
+
+       # Fix for coreutils change of tail syntax
        sed -i -e 's/tail -1/tail -n 1/' Makefile.OCaml
 }

Exit 1

uname patch to follow in attachment:
Comment 1 Jesse D. Guardiani 2004-07-19 17:16:56 UTC
Created attachment 35779 [details, diff]
unison uname patch. normalizes uname output as lowercase before attempting comparison.

I placed this in the files folder under net-misc/unison
Comment 2 Jesse D. Guardiani 2004-07-19 17:21:01 UTC
Here is the link to the 2.9.20 beta version:

http://www.cis.upenn.edu/~bcpierce/unison/download/beta-test/latest/src.tar.gz
Comment 3 Jesse D. Guardiani 2004-07-19 17:23:49 UTC
Created attachment 35780 [details]
This is the final ebuild file

Thanks!
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2005-07-21 13:33:40 UTC
2.13.0 is in portage