1 |
commit: 55bfe35bf4328b73b7da5e5471cda5f73972a1c6 |
2 |
Author: Michael Weber <xmw <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 11 11:56:20 2012 +0000 |
4 |
Commit: Michael Weber <xmw <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 11 11:56:20 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=55bfe35b |
7 |
|
8 |
net-misc/unison: Version bump from tree |
9 |
|
10 |
(Portage version: 2.1.10.65/git/Linux x86_64, signed Manifest commit with key 62EEF090) |
11 |
|
12 |
--- |
13 |
net-misc/unison/ChangeLog | 10 ++++ |
14 |
net-misc/unison/Manifest | 13 +++++ |
15 |
net-misc/unison/metadata.xml | 9 ++++ |
16 |
net-misc/unison/unison-2.45.4.ebuild | 82 ++++++++++++++++++++++++++++++++++ |
17 |
4 files changed, 114 insertions(+), 0 deletions(-) |
18 |
|
19 |
diff --git a/net-misc/unison/ChangeLog b/net-misc/unison/ChangeLog |
20 |
new file mode 100644 |
21 |
index 0000000..c04ff96 |
22 |
--- /dev/null |
23 |
+++ b/net-misc/unison/ChangeLog |
24 |
@@ -0,0 +1,10 @@ |
25 |
+# ChangeLog for net-misc/unison |
26 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
27 |
+# $Header: $ |
28 |
+ |
29 |
+*unison-2.45.4 (11 Jun 2012) |
30 |
+ |
31 |
+ 11 Jun 2012; Michael Weber <xmw@g.o> +unison-2.45.4.ebuild, |
32 |
+ +metadata.xml: |
33 |
+ Version bump from tree |
34 |
+ |
35 |
|
36 |
diff --git a/net-misc/unison/Manifest b/net-misc/unison/Manifest |
37 |
new file mode 100644 |
38 |
index 0000000..2311be3 |
39 |
--- /dev/null |
40 |
+++ b/net-misc/unison/Manifest |
41 |
@@ -0,0 +1,13 @@ |
42 |
+-----BEGIN PGP SIGNED MESSAGE----- |
43 |
+Hash: SHA256 |
44 |
+ |
45 |
+DIST unison-2.45.4-manual.html 270543 RMD160 65591ed64c129bb73264c9b864351fd033b4e5c4 SHA1 d2e98d72d7bc55a00de8e8f413db44a51586df97 SHA256 472598d57ef74972a6488f412ba29200f66c809c165b224aef0458708d00a93b |
46 |
+DIST unison-2.45.4-manual.pdf 513121 RMD160 418148cb6dacca9ee252bf34f12cd05543fb945d SHA1 30a2de540096c96ba5f0f6f233034d36f7ae39e9 SHA256 f6488eae9fd1e5be405054d96df3aacd5b51c7ce64f615cfed7a43b516f0e839 |
47 |
+DIST unison-2.45.4.tar.gz 2716641 RMD160 344d41a95d80262393547f6f3a99f7548504b261 SHA1 e12cc6744083bf21bff886fff5ba88b79024101e SHA256 f60a3327137129381b2028be43f84d79709ca5794d6394a6ca67a0f5f4d481c1 |
48 |
+-----BEGIN PGP SIGNATURE----- |
49 |
+Version: GnuPG v2.0.17 (GNU/Linux) |
50 |
+ |
51 |
+iF4EAREIAAYFAk/V3OQACgkQknrdDGLu8JAxYAD/RT5EIAYsjosGN8Z/6g10vZZF |
52 |
+FKhdEclSSaNi9xEV4lgA/05cvb98BOCmXXv8D2eUJ9oC4kgeUmyw9uY+p/Lwx2rN |
53 |
+=4jnx |
54 |
+-----END PGP SIGNATURE----- |
55 |
|
56 |
diff --git a/net-misc/unison/metadata.xml b/net-misc/unison/metadata.xml |
57 |
new file mode 100644 |
58 |
index 0000000..59acc2c |
59 |
--- /dev/null |
60 |
+++ b/net-misc/unison/metadata.xml |
61 |
@@ -0,0 +1,9 @@ |
62 |
+<?xml version="1.0" encoding="UTF-8"?> |
63 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
64 |
+<pkgmetadata> |
65 |
+<maintainer> |
66 |
+<email>xmw@g.o</email> |
67 |
+<name>Michael Weber</name> |
68 |
+</maintainer> |
69 |
+</pkgmetadata> |
70 |
+ |
71 |
|
72 |
diff --git a/net-misc/unison/unison-2.45.4.ebuild b/net-misc/unison/unison-2.45.4.ebuild |
73 |
new file mode 100644 |
74 |
index 0000000..e2fc16d |
75 |
--- /dev/null |
76 |
+++ b/net-misc/unison/unison-2.45.4.ebuild |
77 |
@@ -0,0 +1,82 @@ |
78 |
+# Copyright 1999-2012 Gentoo Foundation |
79 |
+# Distributed under the terms of the GNU General Public License v2 |
80 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/unison/unison-2.40.65.ebuild,v 1.1 2012/06/06 16:36:31 heroxbd Exp $ |
81 |
+ |
82 |
+EAPI="2" |
83 |
+ |
84 |
+inherit eutils versionator |
85 |
+ |
86 |
+IUSE="gtk doc static debug threads +ocamlopt test" |
87 |
+ |
88 |
+DESCRIPTION="Two-way cross-platform file synchronizer" |
89 |
+HOMEPAGE="http://www.cis.upenn.edu/~bcpierce/unison/" |
90 |
+LICENSE="GPL-2" |
91 |
+SLOT="$(get_version_component_range 1-2 ${PV})" |
92 |
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris" |
93 |
+ |
94 |
+# ocaml version so we are sure it has ocamlopt use flag |
95 |
+DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?] |
96 |
+ gtk? ( >=dev-ml/lablgtk-2.2 ) |
97 |
+ test? ( || ( dev-util/ctags virtual/emacs ) )" |
98 |
+ |
99 |
+RDEPEND="gtk? ( >=dev-ml/lablgtk-2.2 |
100 |
+ || ( net-misc/x11-ssh-askpass net-misc/ssh-askpass-fullscreen ) ) |
101 |
+ !net-misc/unison:0 |
102 |
+ app-admin/eselect-unison" |
103 |
+ |
104 |
+#PDEPEND="gtk? ( media-fonts/font-schumacher-misc )" |
105 |
+ |
106 |
+SRC_URI="http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}.tar.gz |
107 |
+ doc? ( http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.pdf |
108 |
+ http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.html )" |
109 |
+ |
110 |
+src_compile() { |
111 |
+ local myconf |
112 |
+ |
113 |
+ if use threads; then |
114 |
+ myconf="$myconf THREADS=true" |
115 |
+ fi |
116 |
+ |
117 |
+ if use static; then |
118 |
+ myconf="$myconf STATIC=true" |
119 |
+ fi |
120 |
+ |
121 |
+ if use debug; then |
122 |
+ myconf="$myconf DEBUGGING=true" |
123 |
+ fi |
124 |
+ |
125 |
+ if use gtk; then |
126 |
+ myconf="$myconf UISTYLE=gtk2" |
127 |
+ else |
128 |
+ myconf="$myconf UISTYLE=text" |
129 |
+ fi |
130 |
+ |
131 |
+ use ocamlopt || myconf="$myconf NATIVE=false" |
132 |
+ |
133 |
+ # Discard cflags as it will try to pass them to ocamlc... |
134 |
+ emake $myconf CFLAGS="" buildexecutable || die "error making unsion" |
135 |
+} |
136 |
+ |
137 |
+src_test() { |
138 |
+ emake selftest || die "selftest failed" |
139 |
+} |
140 |
+ |
141 |
+src_install () { |
142 |
+ # install manually, since it's just too much |
143 |
+ # work to force the Makefile to do the right thing. |
144 |
+ newbin unison unison-${SLOT} || die |
145 |
+ dodoc BUGS.txt CONTRIB INSTALL NEWS \ |
146 |
+ README ROADMAP.txt TODO.txt || die |
147 |
+ |
148 |
+ if use doc; then |
149 |
+ dohtml "${DISTDIR}/${P}-manual.html" || die |
150 |
+ dodoc "${DISTDIR}/${P}-manual.pdf" || die |
151 |
+ fi |
152 |
+ use ocamlopt || export STRIP_MASK="*/bin/*" |
153 |
+} |
154 |
+ |
155 |
+pkg_postinst() { |
156 |
+ elog "Unison now uses SLOTs, so you can specify servercmd=/usr/bin/unison-${SLOT}" |
157 |
+ elog "in your profile files to access exactly this version over ssh." |
158 |
+ elog "Or you can use 'eselect unison' to set the version." |
159 |
+} |