1 |
commit: dc4bb09e6111313eb423b6bc6fdca96d6843d4a5 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 27 15:23:49 2019 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 27 16:53:04 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc4bb09e |
7 |
|
8 |
dev-vcs/cvs: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.58, Repoman-2.3.12 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
|
13 |
dev-vcs/cvs/cvs-1.12.12-r11.ebuild | 100 ------------------------------------- |
14 |
1 file changed, 100 deletions(-) |
15 |
|
16 |
diff --git a/dev-vcs/cvs/cvs-1.12.12-r11.ebuild b/dev-vcs/cvs/cvs-1.12.12-r11.ebuild |
17 |
deleted file mode 100644 |
18 |
index 79106939bf1..00000000000 |
19 |
--- a/dev-vcs/cvs/cvs-1.12.12-r11.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,100 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-inherit pam toolchain-funcs |
28 |
- |
29 |
-DESCRIPTION="Concurrent Versions System - source code revision control tools" |
30 |
-HOMEPAGE="http://cvs.nongnu.org/" |
31 |
- |
32 |
-SRC_URI="mirror://gnu/non-gnu/cvs/source/feature/${PV}/${P}.tar.bz2 |
33 |
- doc? ( mirror://gnu/non-gnu/cvs/source/feature/${PV}/cederqvist-${PV}.html.tar.bz2 |
34 |
- mirror://gnu/non-gnu/cvs/source/feature/${PV}/cederqvist-${PV}.pdf |
35 |
- mirror://gnu/non-gnu/cvs/source/feature/${PV}/cederqvist-${PV}.ps )" |
36 |
- |
37 |
-LICENSE="GPL-2 LGPL-2" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
40 |
- |
41 |
-IUSE="crypt doc kerberos nls pam server" |
42 |
-RESTRICT="test" |
43 |
- |
44 |
-DEPEND=">=sys-libs/zlib-1.1.4 |
45 |
- kerberos? ( virtual/krb5 ) |
46 |
- pam? ( virtual/pam )" |
47 |
-RDEPEND="${DEPEND}" |
48 |
- |
49 |
-src_unpack() { |
50 |
- unpack ${P}.tar.bz2 |
51 |
- use doc && unpack cederqvist-${PV}.html.tar.bz2 |
52 |
-} |
53 |
- |
54 |
-PATCHES=( |
55 |
- "${FILESDIR}"/${P}-cvsbug-tmpfix.patch |
56 |
- "${FILESDIR}"/${P}-openat.patch |
57 |
- "${FILESDIR}"/${P}-block-requests.patch |
58 |
- "${FILESDIR}"/${P}-cvs-gnulib-vasnprintf.patch |
59 |
- "${FILESDIR}"/${P}-install-sh.patch |
60 |
- "${FILESDIR}"/${P}-hash-nameclash.patch # for AIX |
61 |
- "${FILESDIR}"/${P}-getdelim.patch # 314791 |
62 |
- "${FILESDIR}"/${PN}-1.12.12-rcs2log-coreutils.patch # 144114 |
63 |
- "${FILESDIR}"/${P}-mktime-x32.patch # 395641 |
64 |
- "${FILESDIR}"/${P}-fix-massive-leak.patch |
65 |
- "${FILESDIR}"/${P}-mktime-configure.patch #220040 #570208 |
66 |
- "${FILESDIR}"/${P}-CVE-2012-0804.patch |
67 |
- "${FILESDIR}"/${P}-format-security.patch |
68 |
- "${FILESDIR}"/${P}-musl.patch |
69 |
- ) |
70 |
-DOCS=( BUGS ChangeLog{,.zoo} DEVEL-CVS FAQ HACKING MINOR-BUGS NEWS \ |
71 |
- PROJECTS README TESTS TODO ) |
72 |
- |
73 |
-src_prepare() { |
74 |
- default |
75 |
- |
76 |
- sed -i "/^AR/s/ar/$(tc-getAR)/" diff/Makefile.in lib/Makefile.in || die |
77 |
-} |
78 |
- |
79 |
-src_configure() { |
80 |
- if tc-is-cross-compiler ; then |
81 |
- # Sane defaults when cross-compiling (as these tests want to |
82 |
- # try and execute code). |
83 |
- export cvs_cv_func_printf_ptr="yes" |
84 |
- fi |
85 |
- econf \ |
86 |
- --with-external-zlib \ |
87 |
- --with-tmpdir=${EPREFIX%/}/tmp \ |
88 |
- $(use_enable crypt encryption) \ |
89 |
- $(use_with kerberos gssapi) \ |
90 |
- $(use_enable nls) \ |
91 |
- $(use_enable pam) \ |
92 |
- $(use_enable server) |
93 |
-} |
94 |
- |
95 |
-src_install() { |
96 |
- # Not installed into emacs site-lisp because it clobbers the normal C |
97 |
- # indentations. |
98 |
- DOCS+=( cvs-format.el ) |
99 |
- |
100 |
- if use doc; then |
101 |
- DOCS+=( "${DISTDIR}"/cederqvist-${PV}.{pdf,ps} ) |
102 |
- HTML_DOCS=( ../cederqvist-${PV}.html/. ) |
103 |
- fi |
104 |
- |
105 |
- default |
106 |
- |
107 |
- use doc && dosym cvs.html /usr/share/doc/${PF}/html/index.html |
108 |
- |
109 |
- if use server; then |
110 |
- newdoc "${FILESDIR}"/cvs-1.12.12-cvs-custom.c cvs-custom.c |
111 |
- insinto /etc/xinetd.d |
112 |
- newins "${FILESDIR}"/cvspserver.xinetd.d cvspserver |
113 |
- newenvd "${FILESDIR}"/01-cvs-env.d 01cvs |
114 |
- fi |
115 |
- |
116 |
- newpamd "${FILESDIR}"/cvs.pam-include-1.12.12 cvs |
117 |
-} |
118 |
- |
119 |
-pkg_postinst() { |
120 |
- use server || elog "If you want any CVS server functionality, you MUST emerge with USE=server!" |
121 |
-} |