diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2020-08-21 19:59:08 +0200 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2020-08-21 20:05:54 +0200 |
commit | 45740d50695d2df8e4256aa220e033482e52f583 (patch) | |
tree | 3ee7992c00d90be4d6ec1c1a63b43d8405334b23 /sys-cluster/sanlock | |
parent | sys-cluster/sanlock: add new version (diff) | |
download | gentoo-45740d50695d2df8e4256aa220e033482e52f583.tar.gz gentoo-45740d50695d2df8e4256aa220e033482e52f583.tar.bz2 gentoo-45740d50695d2df8e4256aa220e033482e52f583.zip |
sys-cluster/sanlock: remove old version
as soon as 3.8.2 is stabilized we also can remove 3.6.0 and then
close #718532
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'sys-cluster/sanlock')
-rw-r--r-- | sys-cluster/sanlock/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/sanlock/sanlock-3.8.0.ebuild | 85 |
2 files changed, 0 insertions, 86 deletions
diff --git a/sys-cluster/sanlock/Manifest b/sys-cluster/sanlock/Manifest index 517da432a437..6634867cb778 100644 --- a/sys-cluster/sanlock/Manifest +++ b/sys-cluster/sanlock/Manifest @@ -1,3 +1,2 @@ DIST sanlock-3.6.0.tar.gz 221666 BLAKE2B 7fe95bd6813c13b76993b343a5ad605c7ba642583987ffa5fef583f34c053ee62b0f9e5979f5b5cb9e4fcde53268ae3debc5ec36b04f6651cc4cb902dff52df9 SHA512 59eb2a6f12e95d54886fdf6d56fd9a6814dd20fe11f39664f2bb82a56326fee48c9465ae30e6d04f970c8f1b0d9c2e22b90d21ab1f657c6d6b61ff9f02332443 -DIST sanlock-3.8.0.tar.gz 262077 BLAKE2B c5638dc405cb22098f551d2c267fb13ef8b59422d5d5fb64ade5273d27d6ef772178c1283860a180d3da053da46387e3687c69369c5447d90d7b04a61da80b92 SHA512 ec4e40066c8f5f25287265247509bcb9d8ae24e5bafdd563cb090e94df3fa65881c4814edeb81c50188e71990774d29e330b1dda864c22052fc936a9e2a0892a DIST sanlock-3.8.2.tar.gz 266780 BLAKE2B 5248d08225bcc2a19594a3dcd3872c8c69ca8b217d31f6263f2717e4594180d4ba4685c9679ce2f31b6a2dcb4fe9f3e6a5dd5ac3ed073aea02599e7bbc04390c SHA512 2fa92e16eee4d2f3dac452400522f7e90b93b71349d322564d5957e2d87fb4bd69f0b5617b05f4b296c272d6da9a404fccadbbfff106354a0e302c436593eaac diff --git a/sys-cluster/sanlock/sanlock-3.8.0.ebuild b/sys-cluster/sanlock/sanlock-3.8.0.ebuild deleted file mode 100644 index ae42ae240e21..000000000000 --- a/sys-cluster/sanlock/sanlock-3.8.0.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_6 ) -inherit linux-info python-r1 systemd user - -DESCRIPTION="shared storage lock manager" -HOMEPAGE="https://pagure.io/sanlock" -SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2+ GPL-2 GPL-2+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="python" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -DEPEND=" - dev-libs/libaio - sys-apps/util-linux - python? ( ${PYTHON_DEPS} ) -" -RDEPEND="${DEPEND}" - -pkg_setup() { - local warning="You need to have CONFIG_SOFT_WATCHDOG enabled in your kernel for wdmd" - if linux_config_exists; then - if ! linux_chkconfig_present SOFT_WATCHDOG; then - ewarn "" - ewarn "$warning" - ewarn "" - fi - else - ewarn "" - ewarn "Could not be checked automatically: $warning" - ewarn "" - fi -} - -pkg_preinst() { - enewgroup sanlock - enewuser sanlock -1 -1 -1 sanlock,disk - -} - -src_compile() { - for d in wdmd src fence_sanlock reset; do - cd $d; emake; cd .. - done - if use python; then - cd python; python_foreach_impl emake; cd .. - fi -} - -src_install() { - for d in wdmd src fence_sanlock reset; do - cd $d; emake DESTDIR="${D}" LIBDIR="${EROOT}usr/$(get_libdir)" install; cd .. - done - if use python; then - cd python; python_foreach_impl emake DESTDIR="${D}" install; cd .. - fi - - # config - dodir /etc/wdmd.d - dodir /etc/sanlock - insinto /etc/sanlock - doins src/sanlock.conf - - # init - newconfd init.d/sanlock.sysconfig sanlock - newconfd init.d/wdmd.sysconfig wdmd - newinitd "${FILESDIR}"/sanlock.initd sanlock - newinitd "${FILESDIR}"/wdmd.initd wdmd - #doinitd ${FILESDIR}/sanlk-resetd.initd - #doinitd ${FILESDIR}/fence_sanlockd.initd - - # systemd - systemd_newunit init.d/sanlock.service.native sanlock.service - sed -i 's,^ExecStartPre=,#ExecStartPre=,' init.d/wdmd.service.native - systemd_newunit init.d/wdmd.service.native wdmd.service - systemd_dounit init.d/sanlk-resetd.service - #systemd_dounit ${FILESDIR}/fence_sanlockd.service -} |