Gentoo Archives: gentoo-commits

From: Alexys Jacob <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/corosync/files/, sys-cluster/corosync/
Date: Mon, 08 Feb 2021 09:18:28
Message-Id: 1612775902.206732d20d2cbb1661880a82f10e8e4a5d2cea35.ultrabug@gentoo
1 commit: 206732d20d2cbb1661880a82f10e8e4a5d2cea35
2 Author: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 8 09:17:10 2021 +0000
4 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 8 09:18:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=206732d2
7
8 sys-cluster/corosync: drop old
9
10 Package-Manager: Portage-3.0.13, Repoman-3.0.2
11 Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org>
12
13 sys-cluster/corosync/Manifest | 2 -
14 sys-cluster/corosync/corosync-2.3.5.ebuild | 75 ----------------------
15 sys-cluster/corosync/corosync-2.4.5.ebuild | 71 --------------------
16 .../corosync/files/corosync-2.3.4-docs.patch | 23 -------
17 4 files changed, 171 deletions(-)
18
19 diff --git a/sys-cluster/corosync/Manifest b/sys-cluster/corosync/Manifest
20 index ca5f351dbc0..357a33e31cb 100644
21 --- a/sys-cluster/corosync/Manifest
22 +++ b/sys-cluster/corosync/Manifest
23 @@ -1,3 +1 @@
24 -DIST corosync-2.3.5.tar.gz 428253 BLAKE2B be9fc2b27b60357acee6dee013bc95c08045c114acafc62eaa82a1821f07ff76b8821b9d06f31246b9978f8aef46e3a9e1a2d61ca74465bc74d4140c0ad0d0fa SHA512 212a95d8a68a2941f27c9ec22750a88598744d6fd4db6b46abe0b4cdfa988d3906f760bdf67c403d8c6d0a04da64f29ec744fb68ca51c7269ba58e306553cee9
25 -DIST corosync-2.4.5.tar.gz 587015 BLAKE2B f1ef6b0a0f34e23a4ab5a5e9a6f21ba1886fb6cebec7d9440f6e189acb095cd825049dfceb174b490be1b6d85195ae4b99230ea44a31e427db9020257e8fc428 SHA512 e8476c006df8fd0c5291a8b0099c4756f884d41c7e9c13573c34458f63cd057d49d6fa0c1d5344d5fc44341186817ddee66997d51937339e6d70dcada0c402ee
26 DIST corosync-3.1.0.tar.gz 447073 BLAKE2B 1a0d5b744ac5cba1d67fed6d58a159d8dfc63615aa6fbe5051b20f6e41da589871b6d0b59937db0ac31b4186e4f051378e48308ffc3e0743a5372e494485b3c7 SHA512 05be0d417f3ebbba993b92074f261dea3d951e20d2054817b9017eb04a8a017c9c3f3d0119dafd689944accb690beaafc9f11c1e67f53d978918ea49e51a5e6f
27
28 diff --git a/sys-cluster/corosync/corosync-2.3.5.ebuild b/sys-cluster/corosync/corosync-2.3.5.ebuild
29 deleted file mode 100644
30 index d1a1fc207d4..00000000000
31 --- a/sys-cluster/corosync/corosync-2.3.5.ebuild
32 +++ /dev/null
33 @@ -1,75 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -inherit autotools
40 -
41 -MY_TREE="56ae8fe"
42 -
43 -DESCRIPTION="OSI Certified implementation of a complete cluster engine"
44 -HOMEPAGE="http://www.corosync.org/"
45 -SRC_URI="http://build.clusterlabs.org/corosync/releases/${P}.tar.gz"
46 -
47 -LICENSE="BSD-2 public-domain"
48 -SLOT="0"
49 -KEYWORDS="amd64 ~hppa ppc ppc64 x86"
50 -IUSE="doc infiniband static-libs systemd xml"
51 -
52 -# TODO: support those new configure flags
53 -# --enable-augeas : Install the augeas lens for corosync.conf
54 -# --enable-snmp : SNMP protocol support
55 -# --enable-watchdog : Watchdog support
56 -RDEPEND="!sys-cluster/heartbeat
57 - infiniband? (
58 - sys-fabric/libibverbs:*
59 - sys-fabric/librdmacm:*
60 - )
61 - dev-libs/nss
62 - <=sys-cluster/libqb-0.17.2"
63 -DEPEND="${RDEPEND}
64 - virtual/pkgconfig
65 - doc? ( sys-apps/groff )"
66 -
67 -PATCHES=( "${FILESDIR}/${PN}-2.3.4-docs.patch" )
68 -
69 -DOCS=( README.recovery SECURITY AUTHORS )
70 -
71 -S="${WORKDIR}/${PN}-${PN}-${MY_TREE}"
72 -
73 -src_prepare() {
74 - default
75 - eautoreconf
76 -}
77 -
78 -src_configure() {
79 - default
80 - # appends lib to localstatedir automatically
81 - # FIXME: install just shared libs --disable-static does not work
82 - econf_opts=(
83 - --localstatedir=/var \
84 - $(use_enable infiniband rdma) \
85 - $(use_enable systemd) \
86 - $(use_enable xml xmlconf)
87 - )
88 - use doc && econf_opts+=( --enable-doc )
89 - econf "${econf_opts[@]}"
90 -}
91 -
92 -src_install() {
93 - default
94 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
95 -
96 - if use systemd; then
97 - rm "${D}"/lib/systemd/system/corosync-notifyd.service || die
98 - else
99 - rm "${D}"/etc/init.d/corosync-notifyd || die
100 - fi
101 -
102 - insinto /etc/logrotate.d
103 - newins "${FILESDIR}"/${PN}.logrotate ${PN}
104 -
105 - keepdir /var/lib/corosync
106 - use static-libs || rm -rf "${D}"/usr/$(get_libdir)/*.{,l}a || die
107 -
108 -}
109
110 diff --git a/sys-cluster/corosync/corosync-2.4.5.ebuild b/sys-cluster/corosync/corosync-2.4.5.ebuild
111 deleted file mode 100644
112 index 7fb8b3de2c0..00000000000
113 --- a/sys-cluster/corosync/corosync-2.4.5.ebuild
114 +++ /dev/null
115 @@ -1,71 +0,0 @@
116 -# Copyright 1999-2021 Gentoo Authors
117 -# Distributed under the terms of the GNU General Public License v2
118 -
119 -EAPI=6
120 -
121 -inherit autotools
122 -
123 -DESCRIPTION="OSI Certified implementation of a complete cluster engine"
124 -HOMEPAGE="http://www.corosync.org/"
125 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
126 -
127 -LICENSE="BSD-2 public-domain"
128 -SLOT="0"
129 -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 x86"
130 -IUSE="doc infiniband static-libs systemd xml"
131 -
132 -# TODO: support those new configure flags
133 -# --enable-augeas : Install the augeas lens for corosync.conf
134 -# --enable-snmp : SNMP protocol support
135 -# --enable-watchdog : Watchdog support
136 -RDEPEND="!sys-cluster/heartbeat
137 - infiniband? (
138 - sys-fabric/libibverbs:*
139 - sys-fabric/librdmacm:*
140 - )
141 - dev-libs/nss
142 - >=sys-cluster/libqb-0.14.4"
143 -DEPEND="${RDEPEND}
144 - virtual/pkgconfig
145 - doc? ( sys-apps/groff )"
146 -
147 -PATCHES=( "${FILESDIR}/${PN}-2.3.4-docs.patch" )
148 -
149 -DOCS=( README.recovery SECURITY AUTHORS )
150 -
151 -src_prepare() {
152 - default
153 - eautoreconf
154 -}
155 -
156 -src_configure() {
157 - default
158 - # appends lib to localstatedir automatically
159 - # FIXME: install just shared libs --disable-static does not work
160 - econf_opts=(
161 - --localstatedir=/var \
162 - $(use_enable infiniband rdma) \
163 - $(use_enable systemd) \
164 - $(use_enable xml xmlconf)
165 - )
166 - use doc && econf_opts+=( --enable-doc )
167 - econf "${econf_opts[@]}"
168 -}
169 -
170 -src_install() {
171 - default
172 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
173 -
174 - if use systemd; then
175 - rm "${D}"/lib/systemd/system/corosync-notifyd.service || die
176 - else
177 - rm "${D}"/etc/init.d/corosync-notifyd || die
178 - fi
179 -
180 - insinto /etc/logrotate.d
181 - newins "${FILESDIR}"/${PN}.logrotate ${PN}
182 -
183 - keepdir /var/lib/corosync
184 - use static-libs || rm -rf "${D}"/usr/$(get_libdir)/*.{,l}a || die
185 -
186 -}
187
188 diff --git a/sys-cluster/corosync/files/corosync-2.3.4-docs.patch b/sys-cluster/corosync/files/corosync-2.3.4-docs.patch
189 deleted file mode 100644
190 index 53dbd7d29c7..00000000000
191 --- a/sys-cluster/corosync/files/corosync-2.3.4-docs.patch
192 +++ /dev/null
193 @@ -1,23 +0,0 @@
194 ---- a/configure.ac 2014-12-02 15:21:35.511819113 +0100
195 -+++ b/configure.ac 2014-12-02 15:23:02.162487868 +0100
196 -@@ -655,7 +655,7 @@
197 - INCLUDE_DIRS="$INCLUDE_DIRS -I\$(top_builddir)/include/corosync -I\$(top_srcdir)/include/corosync"
198 -
199 - # final build of *FLAGS
200 --CFLAGS="$ENV_CFLAGS $lt_prog_compiler_pic $SEC_FLAGS $OPT_CFLAGS $GDB_FLAGS \
201 -+CFLAGS="$ENV_CFLAGS $lt_prog_compiler_pic $OS_CFLAGS \
202 - $COVERAGE_CFLAGS $EXTRA_WARNINGS \
203 - $WERROR_CFLAGS $NSS_CFLAGS $LIBQB_CFLAGS \
204 - $SNMP_INCLUDES"
205 -@@ -685,7 +685,10 @@
206 - AM_CONDITIONAL(AUGTOOL, test -n "${AUGTOOL}")
207 - AC_SUBST([NSS_LDFLAGS])
208 -
209 --AM_CONDITIONAL(BUILD_HTML_DOCS, test -n "${GROFF}")
210 -+AC_ARG_ENABLE([doc],
211 -+ AS_HELP_STRING([--enable-doc],[Build html documentation])
212 -+)
213 -+AM_CONDITIONAL(BUILD_HTML_DOCS, [test -n "${GROFF}" && test "x$enable_doc" = "xyes"] )
214 -
215 - AC_SUBST([LINT_FLAGS])
216 -