Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-vcs/cvs: ChangeLog cvs-1.12.12-r9.ebuild
Date: Wed, 05 Jan 2011 04:50:51
Message-Id: 20110105045041.B278220051@flycatcher.gentoo.org
1 robbat2 11/01/05 04:50:41
2
3 Modified: ChangeLog
4 Added: cvs-1.12.12-r9.ebuild
5 Log:
6 Bug #144114: Fix options for sort to use non-obsolete options. Bug #296823: Install env.d file for CVS_RSH setting.
7
8 (Portage version: 2.2.0_alpha6/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.4 dev-vcs/cvs/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/cvs/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/cvs/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/cvs/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-vcs/cvs/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -p -w -b -B -u -u -r1.3 -r1.4
23 --- ChangeLog 6 Dec 2010 20:51:39 -0000 1.3
24 +++ ChangeLog 5 Jan 2011 04:50:41 -0000 1.4
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-vcs/cvs
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs/ChangeLog,v 1.3 2010/12/06 20:51:39 robbat2 Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs/ChangeLog,v 1.4 2011/01/05 04:50:41 robbat2 Exp $
31 +
32 +*cvs-1.12.12-r9 (05 Jan 2011)
33 +
34 + 05 Jan 2011; Robin H. Johnson <robbat2@g.o> +files/01-cvs-env.d,
35 + +cvs-1.12.12-r9.ebuild, +files/cvs-1.12.12-rcs2log-coreutils.patch:
36 + Bug #144114: Fix options for sort to use non-obsolete options. Bug #296823:
37 + Install env.d file for CVS_RSH setting.
38
39 06 Dec 2010; Robin H. Johnson <robbat2@g.o> -cvs-1.11.20.ebuild,
40 -cvs-1.11.21.ebuild, -cvs-1.11.21-r1.ebuild, -cvs-1.11.22.1.ebuild,
41
42
43
44 1.1 dev-vcs/cvs/cvs-1.12.12-r9.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/cvs/cvs-1.12.12-r9.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/cvs/cvs-1.12.12-r9.ebuild?rev=1.1&content-type=text/plain
48
49 Index: cvs-1.12.12-r9.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs/cvs-1.12.12-r9.ebuild,v 1.1 2011/01/05 04:50:41 robbat2 Exp $
54
55 EAPI=3
56
57 inherit eutils pam
58
59 DESCRIPTION="Concurrent Versions System - source code revision control tools"
60 HOMEPAGE="http://www.nongnu.org/cvs/"
61
62 SRC_URI="mirror://gnu/non-gnu/cvs/source/feature/${PV}/${P}.tar.bz2
63 doc? ( mirror://gnu/non-gnu/cvs/source/feature/${PV}/cederqvist-${PV}.html.tar.bz2
64 mirror://gnu/non-gnu/cvs/source/feature/${PV}/cederqvist-${PV}.pdf
65 mirror://gnu/non-gnu/cvs/source/feature/${PV}/cederqvist-${PV}.ps )"
66
67 LICENSE="GPL-2 LGPL-2"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
70
71 IUSE="crypt doc kerberos nls pam server"
72
73 DEPEND=">=sys-libs/zlib-1.1.4
74 kerberos? ( virtual/krb5 )
75 pam? ( virtual/pam )"
76
77 src_unpack() {
78 unpack ${P}.tar.bz2
79 use doc && unpack cederqvist-${PV}.html.tar.bz2
80 }
81
82 src_prepare() {
83 epatch "${FILESDIR}"/${P}-cvsbug-tmpfix.patch
84 epatch "${FILESDIR}"/${P}-openat.patch
85 epatch "${FILESDIR}"/${P}-block-requests.patch
86 epatch "${FILESDIR}"/${P}-cvs-gnulib-vasnprintf.patch
87 epatch "${FILESDIR}"/${P}-install-sh.patch
88 epatch "${FILESDIR}"/${P}-hash-nameclash.patch # for AIX
89 epatch "${FILESDIR}"/${P}-getdelim.patch # 314791
90 epatch "${FILESDIR}"/${PN}-1.12.12-rcs2log-coreutils.patch # 144114
91 elog "If you want any CVS server functionality, you MUST emerge with USE=server!"
92 }
93
94 src_configure() {
95 econf \
96 --with-external-zlib \
97 --with-tmpdir=/tmp \
98 $(use_enable crypt encryption) \
99 $(use_with kerberos gssapi) \
100 $(use_enable nls) \
101 $(use_enable pam) \
102 $(use_enable server)
103 }
104
105 src_install() {
106 emake install DESTDIR="${D}" || die
107
108 insinto /etc/xinetd.d
109 if use server; then
110 newins "${FILESDIR}"/cvspserver.xinetd.d cvspserver || die "newins failed"
111 fi
112 newenvd "${FILESDIR}"/01-cvs-env.d 01cvs
113
114 dodoc BUGS ChangeLog* DEVEL* FAQ HACKING \
115 MINOR* NEWS PROJECTS README* TESTS TODO
116
117 # Not installed into emacs site-lisp because it clobbers the normal C
118 # indentations.
119 dodoc cvs-format.el || die "dodoc failed"
120
121 use server && newdoc "${FILESDIR}"/cvs-1.12.12-cvs-custom.c cvs-custom.c
122
123 if use doc; then
124 dodoc "${DISTDIR}"/cederqvist-${PV}.pdf
125 dodoc "${DISTDIR}"/cederqvist-${PV}.ps
126 tar xjf "${DISTDIR}"/cederqvist-${PV}.html.tar.bz2
127 dohtml -r cederqvist-${PV}.html/*
128 dosym cvs.html /usr/share/doc/${PF}/html/index.html
129 fi
130
131 newpamd "${FILESDIR}"/cvs.pam-include-1.12.12 cvs
132 }
133
134 src_test() {
135 einfo "FEATURES=\"maketest\" has been disabled for dev-vcs/cvs"
136 }