Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/cvs/
Date: Sun, 09 Apr 2017 20:05:07
Message-Id: 1491768294.a5a67b05128288bc9b0d732e3bbf1cf3e4f3c7be.dilfridge@gentoo
1 commit: a5a67b05128288bc9b0d732e3bbf1cf3e4f3c7be
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 9 20:04:04 2017 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 9 20:04:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5a67b05
7
8 dev-vcs/cvs: Remove old
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 dev-vcs/cvs/cvs-1.12.12-r10.ebuild | 90 --------------------------------------
13 1 file changed, 90 deletions(-)
14
15 diff --git a/dev-vcs/cvs/cvs-1.12.12-r10.ebuild b/dev-vcs/cvs/cvs-1.12.12-r10.ebuild
16 deleted file mode 100644
17 index ce2c3dd9e2a..00000000000
18 --- a/dev-vcs/cvs/cvs-1.12.12-r10.ebuild
19 +++ /dev/null
20 @@ -1,90 +0,0 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=3
25 -
26 -inherit eutils pam toolchain-funcs
27 -
28 -DESCRIPTION="Concurrent Versions System - source code revision control tools"
29 -HOMEPAGE="http://www.nongnu.org/cvs/"
30 -
31 -SRC_URI="mirror://gnu/non-gnu/cvs/source/feature/${PV}/${P}.tar.bz2
32 - doc? ( mirror://gnu/non-gnu/cvs/source/feature/${PV}/cederqvist-${PV}.html.tar.bz2
33 - mirror://gnu/non-gnu/cvs/source/feature/${PV}/cederqvist-${PV}.pdf
34 - mirror://gnu/non-gnu/cvs/source/feature/${PV}/cederqvist-${PV}.ps )"
35 -
36 -LICENSE="GPL-2 LGPL-2"
37 -SLOT="0"
38 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
39 -
40 -IUSE="crypt doc kerberos nls pam server"
41 -RESTRICT='test'
42 -
43 -DEPEND=">=sys-libs/zlib-1.1.4
44 - kerberos? ( virtual/krb5 )
45 - pam? ( virtual/pam )"
46 -
47 -src_unpack() {
48 - unpack ${P}.tar.bz2
49 - use doc && unpack cederqvist-${PV}.html.tar.bz2
50 -}
51 -
52 -src_prepare() {
53 - epatch "${FILESDIR}"/${P}-cvsbug-tmpfix.patch
54 - epatch "${FILESDIR}"/${P}-openat.patch
55 - epatch "${FILESDIR}"/${P}-block-requests.patch
56 - epatch "${FILESDIR}"/${P}-cvs-gnulib-vasnprintf.patch
57 - epatch "${FILESDIR}"/${P}-install-sh.patch
58 - epatch "${FILESDIR}"/${P}-hash-nameclash.patch # for AIX
59 - epatch "${FILESDIR}"/${P}-getdelim.patch # 314791
60 - epatch "${FILESDIR}"/${PN}-1.12.12-rcs2log-coreutils.patch # 144114
61 - epatch "${FILESDIR}"/${P}-mktime-x32.patch # 395641
62 - epatch "${FILESDIR}"/${P}-fix-massive-leak.patch
63 - epatch "${FILESDIR}"/${P}-mktime-configure.patch #220040 #570208
64 - use server || elog "If you want any CVS server functionality, you MUST emerge with USE=server!"
65 -}
66 -
67 -src_configure() {
68 - if tc-is-cross-compiler ; then
69 - # Sane defaults when cross-compiling (as these tests want to
70 - # try and execute code).
71 - export cvs_cv_func_printf_ptr="yes"
72 - fi
73 - econf \
74 - --with-external-zlib \
75 - --with-tmpdir=/tmp \
76 - $(use_enable crypt encryption) \
77 - $(use_with kerberos gssapi) \
78 - $(use_enable nls) \
79 - $(use_enable pam) \
80 - $(use_enable server)
81 -}
82 -
83 -src_install() {
84 - emake install DESTDIR="${D}" || die
85 -
86 - insinto /etc/xinetd.d
87 - if use server; then
88 - newins "${FILESDIR}"/cvspserver.xinetd.d cvspserver || die "newins failed"
89 - fi
90 - newenvd "${FILESDIR}"/01-cvs-env.d 01cvs
91 -
92 - dodoc BUGS ChangeLog* DEVEL* FAQ HACKING \
93 - MINOR* NEWS PROJECTS README* TESTS TODO
94 -
95 - # Not installed into emacs site-lisp because it clobbers the normal C
96 - # indentations.
97 - dodoc cvs-format.el || die "dodoc failed"
98 -
99 - use server && newdoc "${FILESDIR}"/cvs-1.12.12-cvs-custom.c cvs-custom.c
100 -
101 - if use doc; then
102 - dodoc "${DISTDIR}"/cederqvist-${PV}.pdf
103 - dodoc "${DISTDIR}"/cederqvist-${PV}.ps
104 - tar xjf "${DISTDIR}"/cederqvist-${PV}.html.tar.bz2
105 - dohtml -r cederqvist-${PV}.html/*
106 - dosym cvs.html /usr/share/doc/${PF}/html/index.html
107 - fi
108 -
109 - newpamd "${FILESDIR}"/cvs.pam-include-1.12.12 cvs
110 -}