1 |
commit: e134a2a691578ccfda625110518446405602e7a0 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 3 09:40:04 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 3 09:40:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e134a2a6 |
7 |
|
8 |
dev-vcs/rcs: add 5.10.1 |
9 |
|
10 |
Mainly lets us drop the upstream patches we backported. |
11 |
|
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
dev-vcs/rcs/Manifest | 1 + |
15 |
dev-vcs/rcs/rcs-5.10.1.ebuild | 46 +++++++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 47 insertions(+) |
17 |
|
18 |
diff --git a/dev-vcs/rcs/Manifest b/dev-vcs/rcs/Manifest |
19 |
index da8459ef7e57..9d7be564c5e0 100644 |
20 |
--- a/dev-vcs/rcs/Manifest |
21 |
+++ b/dev-vcs/rcs/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST rcs-5.10.0.tar.xz 890872 BLAKE2B 32000df00c639cec90fb9128503b67957a23c82a08651953b57434c3f14ecea555155da933d5be801ad216aa27ccf496a7aae325cecf73f9bc121f3a3c659cba SHA512 d42bded1214f27dfcbe912bbabad8479555a02bc57000a62512d63ff0672de1ed23911cd15c9d1aa4b9a53794ac3fd45937fa1cbc0fcb9d54a3ede4d831f76d0 |
24 |
+DIST rcs-5.10.1.tar.lz 917331 BLAKE2B bf439b2bbb6d5d427f28b13d739f2a5902aa3113e958528028ff553007ad124a8c386141e10ff2d0157468d893e1da4a19240acb373a3f375aa21d97c187a4dd SHA512 4d3755d704a05da8582acb78a83845885f34b3144af6d19c568e6707831563b077ec5603a12f5d4de6ec583d0886d3a8ccc7ee0e1f10070f9e6de142198cd530 |
25 |
|
26 |
diff --git a/dev-vcs/rcs/rcs-5.10.1.ebuild b/dev-vcs/rcs/rcs-5.10.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..ca3111c83974 |
29 |
--- /dev/null |
30 |
+++ b/dev-vcs/rcs/rcs-5.10.1.ebuild |
31 |
@@ -0,0 +1,46 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+inherit flag-o-matic unpacker |
38 |
+ |
39 |
+DESCRIPTION="Revision Control System" |
40 |
+HOMEPAGE="https://www.gnu.org/software/rcs/" |
41 |
+SRC_URI="mirror://gnu/rcs/${P}.tar.lz" |
42 |
+ |
43 |
+LICENSE="GPL-3" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris" |
46 |
+IUSE="doc" |
47 |
+ |
48 |
+RDEPEND="sys-apps/diffutils |
49 |
+ sys-apps/ed" |
50 |
+DEPEND="${RDEPEND}" |
51 |
+BDEPEND="$(unpacker_src_uri_depends)" |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ default |
55 |
+ |
56 |
+ sed -i -e '/gets is a security hole/d' \ |
57 |
+ lib/stdio.in.h || die |
58 |
+} |
59 |
+ |
60 |
+src_configure() { |
61 |
+ append-flags -std=gnu99 |
62 |
+ |
63 |
+ econf |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ emake DESTDIR="${D}" install |
68 |
+ |
69 |
+ dodoc ChangeLog NEWS README |
70 |
+ |
71 |
+ if use doc; then |
72 |
+ emake -C doc html |
73 |
+ rm -R "${ED}"/usr/share/doc/rcs || die |
74 |
+ mv doc/rcs.html doc/html || die |
75 |
+ dodoc -r doc/html/ |
76 |
+ fi |
77 |
+} |