From 51af5f0eb4cddbe6aa7953717873691d77aae9ff Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 10 Jul 2019 23:40:16 +0100 Subject: gentoo resync : 11.07.2019 --- sys-cluster/sanlock/Manifest | 4 +- sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild | 85 ----------------------------- sys-cluster/sanlock/sanlock-3.8.0.ebuild | 85 +++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+), 87 deletions(-) delete mode 100644 sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild create mode 100644 sys-cluster/sanlock/sanlock-3.8.0.ebuild (limited to 'sys-cluster/sanlock') diff --git a/sys-cluster/sanlock/Manifest b/sys-cluster/sanlock/Manifest index 64e3842508dd..b915bbd89a14 100644 --- a/sys-cluster/sanlock/Manifest +++ b/sys-cluster/sanlock/Manifest @@ -1,7 +1,7 @@ AUX sanlock.initd 249 BLAKE2B 18bafba28ab4449c7f25ab2d14b4ac2d3cc89cf79bfb8f802fd180584becde8a5b9d919ac9ab887a4ebdfe8ea64e53f30b3785bc32875ccd2e25fa99a9278081 SHA512 5ed7b2d96cb875e2db0914ec7232fe8443c05de69e07d214ffc0adfafac5123694173373f831c5acf46d11aa4fca304b88e6e4c4ee2fbe5b033d173eea5aec36 AUX wdmd.initd 261 BLAKE2B 65b393f2f084896d3c17aa0345f9930badeec7a3ee4cc7e47bd0a35e47c18ea2bcf5afdc386c0da98988bc9fae479a68b504c244b55ab389ac7f5304c34282ae SHA512 9c7e980817c1c76868caff229b42a3d70e912abfd8c974bf5b856067bef79fbd3a5942b30bcb7d02869e2eba85e6f6ba3c861e9780046b01b25df1b39661b6c0 -DIST sanlock-3.4.0.tar.xz 157016 BLAKE2B 9d588214d260b88cfa3978e831bcd8086ae80aafc1a04b616274da141140a22c2765083632f29402cdae67cdbbdfcefdaff1539e5d45485c6f271e3ee7f6471a SHA512 8a10faaa5b9ce9f0506ca16620ad482804c9ca860b84a60a6f0b525a256059229a202163d366a57fb59169c0f4f822ced570b42562e412747f6f716509341f19 DIST sanlock-3.6.0.tar.gz 221666 BLAKE2B 7fe95bd6813c13b76993b343a5ad605c7ba642583987ffa5fef583f34c053ee62b0f9e5979f5b5cb9e4fcde53268ae3debc5ec36b04f6651cc4cb902dff52df9 SHA512 59eb2a6f12e95d54886fdf6d56fd9a6814dd20fe11f39664f2bb82a56326fee48c9465ae30e6d04f970c8f1b0d9c2e22b90d21ab1f657c6d6b61ff9f02332443 -EBUILD sanlock-3.4.0-r1.ebuild 2101 BLAKE2B d3ebdf34348baef440e9593dcf1aba3aede634d2651290dd5000dc5b36a9a5da21894dc8fa3c0d39ae24612e4ede6545d6a4cfc1917eb4c9050726a223cdaa6d SHA512 51452c62da78326f90eb5eefdd3349ad744477f7963e797b645be0e9979b8a8dd676980b7bafc0350002c0353881a46ac842d40784fe165c60187ed73add7fde +DIST sanlock-3.8.0.tar.gz 262077 BLAKE2B c5638dc405cb22098f551d2c267fb13ef8b59422d5d5fb64ade5273d27d6ef772178c1283860a180d3da053da46387e3687c69369c5447d90d7b04a61da80b92 SHA512 ec4e40066c8f5f25287265247509bcb9d8ae24e5bafdd563cb090e94df3fa65881c4814edeb81c50188e71990774d29e330b1dda864c22052fc936a9e2a0892a EBUILD sanlock-3.6.0.ebuild 2071 BLAKE2B d348e98439c1d385377ae4d280e10569d973f570cc92fdd936e629a5ed282b37c05683b7fb55924d738a4ab25eb8334c30d253d9e447c03ec8a5ae54696d5150 SHA512 5dc5ca2361bad2990f7514de47db96441c9a61bb3d9ff70f7271cd1cfb0f1ff4da335f56066b55df1dada1ddefae8ce92d511822edd7743c733cbd21bcbd0abc +EBUILD sanlock-3.8.0.ebuild 2082 BLAKE2B 0a59fdd3fde607f5c4bb6beeed7b2b1728971ea7d9d35407c68b5436afb6eb0e99c035465e4d1773aa3f6291688f8a182d74f74cd61ea48d9e050802972885af SHA512 857a7ed65703a69f4c1e1633905b73d46ad5c7f4084391255f03749234d6a40857b47ac8568cc48310788bb50055ca2ffc33626de5fb9cebfddb8ff27a7bfdfe MISC metadata.xml 368 BLAKE2B a15a411ea20eb7649f299e38704b394344194d7526f9bc92b27c0a26760d7dba05b1e5d483ff5f9ce73a6d1cd527a18ac905344a614c8dc31a0c1180b2be07e7 SHA512 2cc3ec3c99cfff2e0c576ab6c7b0a39460af875ba826ce0cf3c5a1a4f0f3def6170753c8d42af2fc7a139ad7f2135e309c3165bde83b4e7574292768c96e8086 diff --git a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild deleted file mode 100644 index 341b2f72bc6b..000000000000 --- a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{5,6} ) -inherit linux-info python-r1 systemd user - -DESCRIPTION="shared storage lock manager" -HOMEPAGE="https://pagure.io/sanlock" -SRC_URI="https://git.fedorahosted.org/cgit/${PN}.git/snapshot/${P}.tar.xz" - -LICENSE="LGPL-2+ GPL-2 GPL-2+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~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 -} diff --git a/sys-cluster/sanlock/sanlock-3.8.0.ebuild b/sys-cluster/sanlock/sanlock-3.8.0.ebuild new file mode 100644 index 000000000000..4cf116d5a0b1 --- /dev/null +++ b/sys-cluster/sanlock/sanlock-3.8.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{5,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 ~s390 ~sh ~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 +} -- cgit v1.2.3