Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/ccs/files/, sys-cluster/ccs/, profiles/
Date: Tue, 04 Dec 2018 13:36:28
Message-Id: 1543930079.0957958cca5d5b54c1434498924b90780d00c198.mgorny@gentoo
1 commit: 0957958cca5d5b54c1434498924b90780d00c198
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 4 13:27:59 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 4 13:27:59 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0957958c
7
8 sys-cluster/ccs: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/618050
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 profiles/package.mask | 1 -
14 sys-cluster/ccs/Manifest | 1 -
15 sys-cluster/ccs/ccs-2.03.09.ebuild | 63 ------------------------
16 sys-cluster/ccs/files/ccs-2.03.09-mkostemp.patch | 11 -----
17 sys-cluster/ccs/metadata.xml | 8 ---
18 5 files changed, 84 deletions(-)
19
20 diff --git a/profiles/package.mask b/profiles/package.mask
21 index e5605fb3c44..d0c28b1ffbc 100644
22 --- a/profiles/package.mask
23 +++ b/profiles/package.mask
24 @@ -427,7 +427,6 @@ app-admin/syslogread
25 # Pacho Ramos <pacho@g.o> (04 Nov 2018)
26 # Upstream dead for many years and nobody taking care of them, bug #443842,
27 # bug #618050. Removal in a month.
28 -sys-cluster/ccs
29 sys-cluster/libdlm
30 sys-cluster/fence-agents
31 sys-cluster/libccs
32
33 diff --git a/sys-cluster/ccs/Manifest b/sys-cluster/ccs/Manifest
34 deleted file mode 100644
35 index 9746793e2e0..00000000000
36 --- a/sys-cluster/ccs/Manifest
37 +++ /dev/null
38 @@ -1 +0,0 @@
39 -DIST cluster-2.03.09.tar.gz 1784357 BLAKE2B bf024c93fd5ccd9b7410abc2a3bd792c55c3937604d750019a20190753d95d19b2232923a7a76463ccff592bde7fed942aa679af9e39158fef6041258eaf6eb7 SHA512 5dbcf978336a6b7998df0d3dfcff037e1e77e9e69b43d78eb573a65432445e572e69d7783e7874e9edf2632627f02426f428103831e10f5d1f338afa91a62c28
40
41 diff --git a/sys-cluster/ccs/ccs-2.03.09.ebuild b/sys-cluster/ccs/ccs-2.03.09.ebuild
42 deleted file mode 100644
43 index 7e91ed7abca..00000000000
44 --- a/sys-cluster/ccs/ccs-2.03.09.ebuild
45 +++ /dev/null
46 @@ -1,63 +0,0 @@
47 -# Copyright 1999-2018 Gentoo Foundation
48 -# Distributed under the terms of the GNU General Public License v2
49 -
50 -EAPI=0
51 -
52 -inherit eutils versionator
53 -
54 -CLUSTER_RELEASE="${PV}"
55 -MY_P="cluster-${CLUSTER_RELEASE}"
56 -
57 -MAJ_PV="$(get_major_version)"
58 -MIN_PV="$(get_version_component_range 2).$(get_version_component_range 3)"
59 -
60 -DESCRIPTION="cluster configuration system to manage the cluster config file"
61 -HOMEPAGE="https://sourceware.org/cluster/wiki/"
62 -SRC_URI="ftp://sourceware.org/pub/cluster/releases/${MY_P}.tar.gz"
63 -
64 -LICENSE="GPL-2"
65 -SLOT="0"
66 -KEYWORDS="amd64 x86"
67 -IUSE=""
68 -
69 -RDEPEND="=sys-cluster/cman-lib-${CLUSTER_RELEASE}*"
70 -DEPEND="${RDEPEND}
71 - dev-libs/libxml2
72 - sys-libs/zlib"
73 -
74 -S="${WORKDIR}/${MY_P}/${PN}"
75 -
76 -src_unpack() {
77 - unpack ${A}
78 - cd "${S}"
79 -
80 - epatch "${FILESDIR}"/ccs-2.03.09-mkostemp.patch || die
81 -}
82 -
83 -src_compile() {
84 - (cd "${WORKDIR}"/${MY_P};
85 - ./configure \
86 - --cc=$(tc-getCC) \
87 - --cflags="-Wall" \
88 - --disable_kernel_check \
89 - --somajor="$MAJ_PV" \
90 - --sominor="$MIN_PV" \
91 - --cmanlibdir=/usr/lib \
92 - --cmanincdir=/usr/include \
93 - ) || die "configure problem"
94 -
95 - # fix the manual pages have executable bit
96 - sed -i -e '
97 - /\tinstall -d/s/install/& -m 0755/; t
98 - /\tinstall/s/install/& -m 0644/' \
99 - man/Makefile
100 -
101 - #rm -f "${S}"/lib/log.c || die
102 -
103 - emake clean || die "clean problem"
104 - emake || die "compile problem"
105 -}
106 -
107 -src_install() {
108 - emake DESTDIR="${D}" install || die "install problem"
109 -}
110
111 diff --git a/sys-cluster/ccs/files/ccs-2.03.09-mkostemp.patch b/sys-cluster/ccs/files/ccs-2.03.09-mkostemp.patch
112 deleted file mode 100644
113 index 42e2de6ac4f..00000000000
114 --- a/sys-cluster/ccs/files/ccs-2.03.09-mkostemp.patch
115 +++ /dev/null
116 @@ -1,11 +0,0 @@
117 ---- cluster-2.03.09/ccs/ccs_tool/upgrade.c.orig 2008-11-13 01:31:14.000000000 +0100
118 -+++ cluster-2.03.09/ccs/ccs_tool/upgrade.c 2008-11-13 01:31:34.000000000 +0100
119 -@@ -223,7 +223,7 @@
120 - memset(tmp_file, 0, 128);
121 - sprintf(tmp_file, "/tmp/ccs_tool_tmp_XXXXXX");
122 -
123 -- tmp_fd = mkostemp(tmp_file, O_RDWR | O_CREAT |O_TRUNC);
124 -+ tmp_fd = mkstemp(tmp_file);
125 - if(tmp_fd < 0){
126 - fprintf(stderr, "Unable to create temporary archive: %s\n", strerror(errno));
127 - error = -errno;
128
129 diff --git a/sys-cluster/ccs/metadata.xml b/sys-cluster/ccs/metadata.xml
130 deleted file mode 100644
131 index 4a09d7ba8d6..00000000000
132 --- a/sys-cluster/ccs/metadata.xml
133 +++ /dev/null
134 @@ -1,8 +0,0 @@
135 -<?xml version="1.0" encoding="UTF-8"?>
136 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
137 -<pkgmetadata>
138 -<maintainer type="project">
139 - <email>cluster@g.o</email>
140 - <name>Gentoo Cluster Project</name>
141 -</maintainer>
142 -</pkgmetadata>