Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-vcs/monotone: monotone-1.0.ebuild ChangeLog monotone-0.99.1.ebuild monotone-0.48.1.ebuild monotone-0.99-r1.ebuild
Date: Mon, 05 Sep 2011 13:33:16
Message-Id: 20110905133303.78DF22004C@flycatcher.gentoo.org
1 pva 11/09/05 13:33:03
2
3 Modified: ChangeLog monotone-0.99.1.ebuild
4 Added: monotone-1.0.ebuild
5 Removed: monotone-0.48.1.ebuild monotone-0.99-r1.ebuild
6 Log:
7 Version bump, bug #381135; updated monotone-0.99.1 to depend on <dev-libs/botan-1.10, bug 380257, thank Dennis Schridde for both reports. Drop old.
8
9 (Portage version: 2.1.10.11/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.18 dev-vcs/monotone/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/monotone/ChangeLog?rev=1.18&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/monotone/ChangeLog?rev=1.18&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/monotone/ChangeLog?r1=1.17&r2=1.18
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-vcs/monotone/ChangeLog,v
21 retrieving revision 1.17
22 retrieving revision 1.18
23 diff -u -r1.17 -r1.18
24 --- ChangeLog 13 Aug 2011 07:24:53 -0000 1.17
25 +++ ChangeLog 5 Sep 2011 13:33:03 -0000 1.18
26 @@ -1,6 +1,16 @@
27 # ChangeLog for dev-vcs/monotone
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/monotone/ChangeLog,v 1.17 2011/08/13 07:24:53 xarthisius Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/monotone/ChangeLog,v 1.18 2011/09/05 13:33:03 pva Exp $
31 +
32 +*monotone-1.0 (05 Sep 2011)
33 +
34 + 05 Sep 2011; Peter Volkov <pva@g.o> -files/monotone-0.45-gcc45.patch,
35 + -monotone-0.48.1.ebuild, -files/monotone-0.48.1-sqlite-3.7.3.patch,
36 + -monotone-0.99-r1.ebuild, monotone-0.99.1.ebuild,
37 + -files/monotone-0.99-crash.patch, +monotone-1.0.ebuild:
38 + Version bump, bug #381135; updated monotone-0.99.1 to depend on
39 + <dev-libs/botan-1.10, bug 380257, thank Dennis Schridde for both reports.
40 + Drop old.
41
42 13 Aug 2011; Kacper Kowalik <xarthisius@g.o> monotone-0.48.1.ebuild,
43 monotone-0.99-r1.ebuild, monotone-0.99.1.ebuild:
44
45
46
47 1.5 dev-vcs/monotone/monotone-0.99.1.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/monotone/monotone-0.99.1.ebuild?rev=1.5&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/monotone/monotone-0.99.1.ebuild?rev=1.5&content-type=text/plain
51 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/monotone/monotone-0.99.1.ebuild?r1=1.4&r2=1.5
52
53 Index: monotone-0.99.1.ebuild
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/dev-vcs/monotone/monotone-0.99.1.ebuild,v
56 retrieving revision 1.4
57 retrieving revision 1.5
58 diff -u -r1.4 -r1.5
59 --- monotone-0.99.1.ebuild 13 Aug 2011 07:24:53 -0000 1.4
60 +++ monotone-0.99.1.ebuild 5 Sep 2011 13:33:03 -0000 1.5
61 @@ -1,6 +1,6 @@
62 # Copyright 1999-2011 Gentoo Foundation
63 # Distributed under the terms of the GNU General Public License v2
64 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/monotone/monotone-0.99.1.ebuild,v 1.4 2011/08/13 07:24:53 xarthisius Exp $
65 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/monotone/monotone-0.99.1.ebuild,v 1.5 2011/09/05 13:33:03 pva Exp $
66
67 EAPI="4"
68 inherit bash-completion elisp-common eutils toolchain-funcs
69 @@ -18,6 +18,7 @@
70 emacs? ( virtual/emacs )
71 >=dev-libs/libpcre-7.6
72 >=dev-libs/botan-1.8.0
73 + <dev-libs/botan-1.10
74 >=dev-db/sqlite-3.3.8
75 >=dev-lang/lua-5.1
76 net-dns/libidn"
77
78
79
80 1.1 dev-vcs/monotone/monotone-1.0.ebuild
81
82 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/monotone/monotone-1.0.ebuild?rev=1.1&view=markup
83 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/monotone/monotone-1.0.ebuild?rev=1.1&content-type=text/plain
84
85 Index: monotone-1.0.ebuild
86 ===================================================================
87 # Copyright 1999-2011 Gentoo Foundation
88 # Distributed under the terms of the GNU General Public License v2
89 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/monotone/monotone-1.0.ebuild,v 1.1 2011/09/05 13:33:03 pva Exp $
90
91 # QA failiures reported in https://code.monotone.ca/p/monotone/issues/181/
92 EAPI="4"
93 inherit bash-completion elisp-common eutils toolchain-funcs
94
95 DESCRIPTION="Monotone Distributed Version Control System"
96 HOMEPAGE="http://monotone.ca"
97 SRC_URI="http://monotone.ca/downloads/${PV}/${P}.tar.bz2"
98
99 LICENSE="GPL-2"
100 SLOT="1"
101 KEYWORDS="~amd64 ~ia64 ~x86"
102 IUSE="doc emacs ipv6 nls"
103
104 RDEPEND="sys-libs/zlib
105 emacs? ( virtual/emacs )
106 >=dev-libs/libpcre-7.6
107 >=dev-libs/botan-1.8.0
108 >=dev-db/sqlite-3.3.8
109 >=dev-lang/lua-5.1
110 net-dns/libidn"
111 DEPEND="${RDEPEND}
112 >=dev-libs/boost-1.33.1
113 nls? ( >=sys-devel/gettext-0.11.5 )
114 doc? ( sys-apps/texinfo )"
115
116 pkg_setup() {
117 enewgroup monotone
118 enewuser monotone -1 -1 /var/lib/monotone monotone
119 }
120
121 src_prepare() {
122 if [[ $(gcc-major-version) -lt "3" ||
123 ( $(gcc-major-version) -eq "3" && $(gcc-minor-version) -le 3 ) ]]; then
124 die 'requires >=gcc-3.4'
125 fi
126 }
127
128 src_configure() {
129 econf \
130 $(use_enable nls) \
131 $(use_enable ipv6)
132 }
133
134 src_compile() {
135 emake
136
137 use doc && emake html
138
139 if use emacs; then
140 cd contrib || die
141 elisp-compile *.el || die
142 fi
143 }
144
145 src_test() {
146 # Disables netsync_bind_opt test
147 # https://code.monotone.ca/p/monotone/issues/179/
148 export DISABLE_NETWORK_TESTS=true
149 # bash_completion test fails too. Expected thus disab
150 # https://code.monotone.ca/p/monotone/issues/180/
151 rm test/extra/bash_completion/ -rf
152 if [[ ${UID} != 0 ]]; then
153 emake check
154 else
155 # Tests fail if run as root
156 su portage emake check
157 fi
158 }
159
160 src_install() {
161 emake DESTDIR="${D}" install
162
163 mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die
164
165 dobashcompletion contrib/monotone.bash_completion
166
167 if use doc; then
168 dohtml -r html/*
169 dohtml -r figures
170 fi
171
172 if use emacs; then
173 elisp-install ${PN} contrib/*.{el,elc} || die "elisp-install failed"
174 elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el \
175 || die
176 fi
177
178 dodoc AUTHORS NEWS README* UPGRADE
179 docinto contrib
180 docompress -x /usr/share/doc/${PF}/contrib
181 dodoc -r contrib
182 newconfd "${FILESDIR}"/monotone.confd monotone
183 newinitd "${FILESDIR}"/${PN}-0.36.initd monotone
184
185 insinto /etc/monotone
186 newins "${FILESDIR}"/hooks.lua hooks.lua
187 newins "${FILESDIR}"/read-permissions read-permissions
188 newins "${FILESDIR}"/write-permissions write-permissions
189
190 keepdir /var/lib/monotone/keys/ /var/{log,run}/monotone
191 fowners monotone:monotone /var/lib/monotone{,/keys} /var/{log,run}/monotone
192 }
193
194 pkg_postinst() {
195 use emacs && elisp-site-regen
196 bash-completion_pkg_postinst
197
198 elog
199 elog "For details and instructions to upgrade from previous versions,"
200 elog "please read /usr/share/doc/${PF}/UPGRADE.bz2"
201 elog
202 elog " 1. edit /etc/conf.d/monotone"
203 elog " 2. import the first keys to enable access with"
204 elog " env HOME=\${homedir} mtn pubkey me@×××××××.net | /etc/init.d/monotone import"
205 elog " Thereafter, those with write permission can add other keys via"
206 elog " netsync with 'monotone push --key-to-push=IDENT' and then IDENT"
207 elog " can be used in the read-permission and write-permission files."
208 elog " 3. adjust permisions in /etc/monotone/read-permissions"
209 elog " and /etc/monotone/write-permissions"
210 elog " 4. start the daemon: /etc/init.d/monotone start"
211 elog " 5. make persistent: rc-update add monotone default"
212 elog
213 }
214
215 pkg_postrm() {
216 use emacs && elisp-site-regen
217 }