[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 9204228c18a008c801eee0e6da05e67ad96fca9b Author: Eli Schwartz gmail com> AuthorDate: Fri Mar 29 04:26:00 2024 + Commit: Sam James gentoo org> CommitDate: Fri Mar 29 18:45:11 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9204228c sys-cluster/sanlock: drop acct-*/ dependencies to runtime-only They aren't needed in order to use --buildpkgonly. Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> sys-cluster/sanlock/sanlock-3.8.5.ebuild | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.5.ebuild b/sys-cluster/sanlock/sanlock-3.8.5.ebuild index 1c3de529c26b..1616fa1a3a73 100644 --- a/sys-cluster/sanlock/sanlock-3.8.5.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.5.ebuild @@ -18,13 +18,15 @@ IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" DEPEND=" - acct-user/${PN} - acct-group/${PN} dev-libs/libaio sys-apps/util-linux python? ( ${PYTHON_DEPS} ) " -RDEPEND="${DEPEND}" +RDEPEND=" + acct-user/${PN} + acct-group/${PN} + ${DEPEND} +" BDEPEND="sys-apps/which" PATCHES=(
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 74d15cc540af693ad1ebd92754ebb0634a6985c5 Author: Eli Schwartz gmail com> AuthorDate: Fri Mar 29 04:25:25 2024 + Commit: Sam James gentoo org> CommitDate: Fri Mar 29 18:45:10 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74d15cc5 sys-cluster/sanlock: mark as LTO-unsafe Closes: https://bugs.gentoo.org/863734 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> sys-cluster/sanlock/sanlock-3.8.5.ebuild | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.5.ebuild b/sys-cluster/sanlock/sanlock-3.8.5.ebuild index 74db35ff3d2c..1c3de529c26b 100644 --- a/sys-cluster/sanlock/sanlock-3.8.5.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.5.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit linux-info python-r1 systemd +inherit flag-o-matic linux-info python-r1 systemd DESCRIPTION="shared storage lock manager" HOMEPAGE="https://pagure.io/sanlock; @@ -35,6 +35,11 @@ PATCHES=( CONFIG_CHECK="~SOFT_WATCHDOG" src_compile() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/863734 + # https://pagure.io/sanlock/issue/10 + filter-lto + for d in wdmd src fence_sanlock reset; do emake -C ${d} done
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: a251b8fe22931c7f4dfada41416d0ae22c7e0cf6 Author: Sam James gentoo org> AuthorDate: Mon May 29 20:39:15 2023 + Commit: Sam James gentoo org> CommitDate: Mon May 29 20:39:19 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a251b8fe sys-cluster/sanlock: Stabilize 3.8.5 arm64, #905776 Signed-off-by: Sam James gentoo.org> sys-cluster/sanlock/sanlock-3.8.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.5.ebuild b/sys-cluster/sanlock/sanlock-3.8.5.ebuild index 23d7585a1240..74db35ff3d2c 100644 --- a/sys-cluster/sanlock/sanlock-3.8.5.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.5.ebuild @@ -12,7 +12,7 @@ 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 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 3b7f5091e5849c07bbb8c2f9a042c3eef3f50cee Author: Arthur Zamarin gentoo org> AuthorDate: Sun May 28 19:16:53 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun May 28 19:16:53 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b7f5091 sys-cluster/sanlock: Stabilize 3.8.5 sparc, #905776 Signed-off-by: Arthur Zamarin gentoo.org> sys-cluster/sanlock/sanlock-3.8.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.5.ebuild b/sys-cluster/sanlock/sanlock-3.8.5.ebuild index 9831d2c1e85e..23d7585a1240 100644 --- a/sys-cluster/sanlock/sanlock-3.8.5.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.5.ebuild @@ -12,7 +12,7 @@ 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 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: ec8c71185687cd7154550e5e22720a8e389cde0d Author: Sam James gentoo org> AuthorDate: Sat May 27 10:46:59 2023 + Commit: Sam James gentoo org> CommitDate: Sat May 27 10:46:59 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec8c7118 sys-cluster/sanlock: Stabilize 3.8.5 ppc64, #905776 Signed-off-by: Sam James gentoo.org> sys-cluster/sanlock/sanlock-3.8.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.5.ebuild b/sys-cluster/sanlock/sanlock-3.8.5.ebuild index 634eb3d4af55..9831d2c1e85e 100644 --- a/sys-cluster/sanlock/sanlock-3.8.5.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.5.ebuild @@ -12,7 +12,7 @@ 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: e293dd3542193b47c54111315ba60bf1ba4e549e Author: Arthur Zamarin gentoo org> AuthorDate: Fri May 26 20:05:41 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri May 26 20:05:41 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e293dd35 sys-cluster/sanlock: Stabilize 3.8.5 amd64, #905776 Signed-off-by: Arthur Zamarin gentoo.org> sys-cluster/sanlock/sanlock-3.8.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.5.ebuild b/sys-cluster/sanlock/sanlock-3.8.5.ebuild index a78f1ab4997f..182d88854879 100644 --- a/sys-cluster/sanlock/sanlock-3.8.5.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.5.ebuild @@ -12,7 +12,7 @@ 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 06525869d9b51037236e6d75914273e2ebe5b3b9 Author: Arthur Zamarin gentoo org> AuthorDate: Fri May 26 20:05:42 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri May 26 20:05:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06525869 sys-cluster/sanlock: Stabilize 3.8.5 x86, #905776 Signed-off-by: Arthur Zamarin gentoo.org> sys-cluster/sanlock/sanlock-3.8.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.5.ebuild b/sys-cluster/sanlock/sanlock-3.8.5.ebuild index 182d88854879..634eb3d4af55 100644 --- a/sys-cluster/sanlock/sanlock-3.8.5.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.5.ebuild @@ -12,7 +12,7 @@ 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 3b09d1caf8f2902f9981f0d0d4113270b9c2530e Author: Sam James gentoo org> AuthorDate: Fri May 26 15:16:04 2023 + Commit: Sam James gentoo org> CommitDate: Fri May 26 15:16:04 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b09d1ca sys-cluster/sanlock: Stabilize 3.8.5 hppa, #905776 Signed-off-by: Sam James gentoo.org> sys-cluster/sanlock/sanlock-3.8.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.5.ebuild b/sys-cluster/sanlock/sanlock-3.8.5.ebuild index 7b5cb0b51192..a78f1ab4997f 100644 --- a/sys-cluster/sanlock/sanlock-3.8.5.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.5.ebuild @@ -12,7 +12,7 @@ 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 91cf0f589acfcc75d81f7685473576eb3a62b1e8 Author: Sam James gentoo org> AuthorDate: Fri May 26 15:16:03 2023 + Commit: Sam James gentoo org> CommitDate: Fri May 26 15:16:03 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91cf0f58 sys-cluster/sanlock: Stabilize 3.8.5 arm, #905776 Signed-off-by: Sam James gentoo.org> sys-cluster/sanlock/sanlock-3.8.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.5.ebuild b/sys-cluster/sanlock/sanlock-3.8.5.ebuild index d2fee0f662f4..7b5cb0b51192 100644 --- a/sys-cluster/sanlock/sanlock-3.8.5.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.5.ebuild @@ -12,7 +12,7 @@ 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: d3f24327aa5a70fc561f350e9499fa259c23511c Author: Marc Schiffbauer gentoo org> AuthorDate: Wed May 3 11:09:16 2023 + Commit: Marc Schiffbauer gentoo org> CommitDate: Wed May 3 11:11:31 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f24327 sys-cluster/sanlock: add 3.8.5 Signed-off-by: Marc Schiffbauer gentoo.org> sys-cluster/sanlock/Manifest | 1 + sys-cluster/sanlock/sanlock-3.8.5.ebuild | 76 2 files changed, 77 insertions(+) diff --git a/sys-cluster/sanlock/Manifest b/sys-cluster/sanlock/Manifest index 27b197157c2d..8c20e2802fb6 100644 --- a/sys-cluster/sanlock/Manifest +++ b/sys-cluster/sanlock/Manifest @@ -1 +1,2 @@ DIST sanlock-3.8.4.tar.gz 270031 BLAKE2B da011a15d488849d47fe1043df040580652558918dff9549bf4e6cb4077c03b4aaa8f8de5399dbb0e3f2301ae90c0d20599b25bd5e72bae5317b13f79a352333 SHA512 9fca2b18fd3bd504d5186de0b2626ea2c993997528de2384dc042afe52b2b68422a2e4bb79e2409c9e6eccbe5ea8d8939549eb25c5d16aa7fecf6c9a5798340c +DIST sanlock-3.8.5.tar.gz 270911 BLAKE2B 7f8146d67c620d22ded5205c1c621f3bbb36256a4c80e866575d8f324ad0237cf8bc07579f3aeda393dd0db85e27fdaa1aab1b6d7b931d4416d13f82d560e22a SHA512 8131e0b37ac47052a29d4b3a3e4286b06b862f08e827d3307f179eadbe97e4bc3e10f5c93f35042c308435ee81546a813227bce665a9735cbbf2b5a4a1f4474a diff --git a/sys-cluster/sanlock/sanlock-3.8.5.ebuild b/sys-cluster/sanlock/sanlock-3.8.5.ebuild new file mode 100644 index ..d2fee0f662f4 --- /dev/null +++ b/sys-cluster/sanlock/sanlock-3.8.5.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit linux-info python-r1 systemd + +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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="python" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +DEPEND=" + acct-user/${PN} + acct-group/${PN} + dev-libs/libaio + sys-apps/util-linux + python? ( ${PYTHON_DEPS} ) +" +RDEPEND="${DEPEND}" +BDEPEND="sys-apps/which" + +PATCHES=( + "${FILESDIR}/sanlock-fence_sanlock-LDFLAGS.patch" + "${FILESDIR}/sanlock-3.8.4-implicit-func-decls.patch" +) + +CONFIG_CHECK="~SOFT_WATCHDOG" + +src_compile() { + for d in wdmd src fence_sanlock reset; do + emake -C ${d} + done + + if use python; then + python_foreach_impl emake -C python + fi +} + +src_install() { + for d in wdmd src fence_sanlock reset; do + emake -C ${d} DESTDIR="${D}" LIBDIR="${EPREFIX}/usr/$(get_libdir)" install + done + + if use python; then + python_foreach_impl emake -C python DESTDIR="${D}" install + 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 || die + systemd_newunit init.d/wdmd.service.native wdmd.service + systemd_dounit init.d/sanlk-resetd.service + #systemd_dounit ${FILESDIR}/fence_sanlockd.service +}
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 4dfe5d3b8ef6ae176bb7cee3d2356bb919c63f96 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Aug 30 21:18:29 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Sep 17 17:33:21 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dfe5d3b sys-cluster/sanlock: drop 3.8.2, EAPI-6-- Closes: https://bugs.gentoo.org/852854 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-cluster/sanlock/Manifest | 1 - sys-cluster/sanlock/sanlock-3.8.2.ebuild | 95 2 files changed, 96 deletions(-) diff --git a/sys-cluster/sanlock/Manifest b/sys-cluster/sanlock/Manifest index 03cac489babf..27b197157c2d 100644 --- a/sys-cluster/sanlock/Manifest +++ b/sys-cluster/sanlock/Manifest @@ -1,2 +1 @@ -DIST sanlock-3.8.2.tar.gz 266780 BLAKE2B 5248d08225bcc2a19594a3dcd3872c8c69ca8b217d31f6263f2717e4594180d4ba4685c9679ce2f31b6a2dcb4fe9f3e6a5dd5ac3ed073aea02599e7bbc04390c SHA512 2fa92e16eee4d2f3dac452400522f7e90b93b71349d322564d5957e2d87fb4bd69f0b5617b05f4b296c272d6da9a404fccadbbfff106354a0e302c436593eaac DIST sanlock-3.8.4.tar.gz 270031 BLAKE2B da011a15d488849d47fe1043df040580652558918dff9549bf4e6cb4077c03b4aaa8f8de5399dbb0e3f2301ae90c0d20599b25bd5e72bae5317b13f79a352333 SHA512 9fca2b18fd3bd504d5186de0b2626ea2c993997528de2384dc042afe52b2b68422a2e4bb79e2409c9e6eccbe5ea8d8939549eb25c5d16aa7fecf6c9a5798340c diff --git a/sys-cluster/sanlock/sanlock-3.8.2.ebuild b/sys-cluster/sanlock/sanlock-3.8.2.ebuild deleted file mode 100644 index 86fc96a44877.. --- a/sys-cluster/sanlock/sanlock-3.8.2.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_{7,8} ) -inherit linux-info python-r1 systemd - -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=" - acct-user/${PN} - acct-group/${PN} - dev-libs/libaio - sys-apps/util-linux - python? ( ${PYTHON_DEPS} ) -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/sanlock-fence_sanlock-LDFLAGS.patch -) - -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 -} - -src_compile() { - for d in wdmd src fence_sanlock reset; do - cd ${d} || die - emake - cd .. || die - done - - if use python; then - cd python || die - python_foreach_impl emake - cd .. || die - fi -} - -src_install() { - for d in wdmd src fence_sanlock reset; do - cd ${d} || die - emake DESTDIR="${D}" LIBDIR="${EPREFIX}/usr/$(get_libdir)" install - cd .. || die - done - - if use python; then - cd python || die - python_foreach_impl emake DESTDIR="${D}" install - cd .. || die - 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 || die - systemd_newunit init.d/wdmd.service.native wdmd.service - systemd_dounit init.d/sanlk-resetd.service - #systemd_dounit ${FILESDIR}/fence_sanlockd.service -}
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/, sys-cluster/sanlock/files/
commit: 2c1e76900f3ab6b0a34f14372970325d6518340a Author: Sam James gentoo org> AuthorDate: Wed Sep 7 04:52:07 2022 + Commit: Sam James gentoo org> CommitDate: Wed Sep 7 04:52:18 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c1e7690 sys-cluster/sanlock: fix implicit function declarations Unlike normal missing includes, implicit function declaration fixes require a revbump as they can affect code generation. Signed-off-by: Sam James gentoo.org> .../files/sanlock-3.8.4-implicit-func-decls.patch | 34 ++ ...anlock-3.8.4.ebuild => sanlock-3.8.4-r1.ebuild} | 2 ++ 2 files changed, 36 insertions(+) diff --git a/sys-cluster/sanlock/files/sanlock-3.8.4-implicit-func-decls.patch b/sys-cluster/sanlock/files/sanlock-3.8.4-implicit-func-decls.patch new file mode 100644 index ..7e99d9b1f939 --- /dev/null +++ b/sys-cluster/sanlock/files/sanlock-3.8.4-implicit-func-decls.patch @@ -0,0 +1,34 @@ +https://pagure.io/sanlock/issue/8 + +From 272f9838f3495f5e419f77e000762c420754c96d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sep 02 2022 22:58:56 + +Subject: add missing system header string.h + + +This is needed for mem* function prototypes used in these sources + +Signed-off-by: Khem Raj + +--- a/src/sanlock_sock.c b/src/sanlock_sock.c +@@ -12,6 +12,7 @@ + #include + #include + #include ++#include + #include + #include + +--- a/wdmd/wdmd_sock.c b/wdmd/wdmd_sock.c +@@ -12,6 +12,7 @@ + #include + #include + #include ++#include + #include + #include + + + diff --git a/sys-cluster/sanlock/sanlock-3.8.4.ebuild b/sys-cluster/sanlock/sanlock-3.8.4-r1.ebuild similarity index 95% rename from sys-cluster/sanlock/sanlock-3.8.4.ebuild rename to sys-cluster/sanlock/sanlock-3.8.4-r1.ebuild index 638cec0ffefb..d48b048e3ead 100644 --- a/sys-cluster/sanlock/sanlock-3.8.4.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.4-r1.ebuild @@ -25,9 +25,11 @@ DEPEND=" python? ( ${PYTHON_DEPS} ) " RDEPEND="${DEPEND}" +BDEPEND="sys-apps/which" PATCHES=( "${FILESDIR}/sanlock-fence_sanlock-LDFLAGS.patch" + "${FILESDIR}/sanlock-3.8.4-implicit-func-decls.patch" ) CONFIG_CHECK="~SOFT_WATCHDOG"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 839ab3fe34d2fdfd057a5508814d17c33e9efe48 Author: Sam James gentoo org> AuthorDate: Thu Aug 11 10:51:23 2022 + Commit: Sam James gentoo org> CommitDate: Thu Aug 11 10:54:53 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=839ab3fe sys-cluster/sanlock: fix UnquotedVariable Signed-off-by: Sam James gentoo.org> sys-cluster/sanlock/sanlock-3.8.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.2.ebuild b/sys-cluster/sanlock/sanlock-3.8.2.ebuild index 4df87061fd18..86fc96a44877 100644 --- a/sys-cluster/sanlock/sanlock-3.8.2.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.2.ebuild @@ -27,7 +27,7 @@ DEPEND=" RDEPEND="${DEPEND}" PATCHES=( - ${FILESDIR}/sanlock-fence_sanlock-LDFLAGS.patch + "${FILESDIR}"/sanlock-fence_sanlock-LDFLAGS.patch ) pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: c67bd8c8b13288b7db46a03f3eb9ada27d9e1dda Author: Arthur Zamarin gentoo org> AuthorDate: Mon Jun 20 17:46:00 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Jun 20 17:46:00 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c67bd8c8 sys-cluster/sanlock: Stabilize 3.8.4 hppa, #852854 Signed-off-by: Arthur Zamarin gentoo.org> sys-cluster/sanlock/sanlock-3.8.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.4.ebuild b/sys-cluster/sanlock/sanlock-3.8.4.ebuild index 6c1ef2a9e35e..638cec0ffefb 100644 --- a/sys-cluster/sanlock/sanlock-3.8.4.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.4.ebuild @@ -12,7 +12,7 @@ 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 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: b0cb7a08a29e758ae596571ad03b14022232e612 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jun 18 16:57:15 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jun 18 16:57:15 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0cb7a08 sys-cluster/sanlock: x86 stable wrt bug #852854 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> sys-cluster/sanlock/sanlock-3.8.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.4.ebuild b/sys-cluster/sanlock/sanlock-3.8.4.ebuild index 9fa5015b5ee6..6c1ef2a9e35e 100644 --- a/sys-cluster/sanlock/sanlock-3.8.4.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.4.ebuild @@ -12,7 +12,7 @@ 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 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 34ce5902fb53a265ee11e7616262e9a4e16c0839 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jun 18 16:56:27 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jun 18 16:56:27 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34ce5902 sys-cluster/sanlock: sparc stable wrt bug #852854 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> sys-cluster/sanlock/sanlock-3.8.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.4.ebuild b/sys-cluster/sanlock/sanlock-3.8.4.ebuild index dabd0a26b560..9fa5015b5ee6 100644 --- a/sys-cluster/sanlock/sanlock-3.8.4.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.4.ebuild @@ -12,7 +12,7 @@ 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 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 8fbe3d2a91b7bd7d3b1765d9d07fb27a507d07a8 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jun 18 16:56:08 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jun 18 16:56:08 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fbe3d2a sys-cluster/sanlock: ppc64 stable wrt bug #852854 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-cluster/sanlock/sanlock-3.8.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.4.ebuild b/sys-cluster/sanlock/sanlock-3.8.4.ebuild index 05f8d8625405..dabd0a26b560 100644 --- a/sys-cluster/sanlock/sanlock-3.8.4.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.4.ebuild @@ -12,7 +12,7 @@ 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: addd31b845ac12266615900e6e7276cd0e12a3db Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jun 18 16:55:17 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jun 18 16:55:17 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=addd31b8 sys-cluster/sanlock: arm64 stable wrt bug #852854 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="arm64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-cluster/sanlock/sanlock-3.8.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.4.ebuild b/sys-cluster/sanlock/sanlock-3.8.4.ebuild index 7b69dd01da62..05f8d8625405 100644 --- a/sys-cluster/sanlock/sanlock-3.8.4.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.4.ebuild @@ -12,7 +12,7 @@ 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 3390f3b211ed4630d379dd8ccb151125f95e8211 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jun 18 16:54:42 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jun 18 16:54:42 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3390f3b2 sys-cluster/sanlock: arm stable wrt bug #852854 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="arm" Signed-off-by: Agostino Sarubbo gentoo.org> sys-cluster/sanlock/sanlock-3.8.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.4.ebuild b/sys-cluster/sanlock/sanlock-3.8.4.ebuild index e04f6364f84c..7b69dd01da62 100644 --- a/sys-cluster/sanlock/sanlock-3.8.4.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.4.ebuild @@ -12,7 +12,7 @@ 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: c83986ce3cecd47c1ad3142f1c4309df68696b89 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jun 18 16:52:55 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jun 18 16:52:55 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c83986ce sys-cluster/sanlock: amd64 stable wrt bug #852854 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-cluster/sanlock/sanlock-3.8.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.4.ebuild b/sys-cluster/sanlock/sanlock-3.8.4.ebuild index 229841245d69..e04f6364f84c 100644 --- a/sys-cluster/sanlock/sanlock-3.8.4.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.4.ebuild @@ -12,7 +12,7 @@ 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 803bb494154ac8142dcbed246dbafc6e909e614a Author: WANG Xuerui gentoo org> AuthorDate: Sat May 14 06:02:56 2022 + Commit: WANG Xuerui gentoo org> CommitDate: Sat May 14 06:21:19 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=803bb494 sys-cluster/sanlock: keyword 3.8.4 for ~loong Signed-off-by: WANG Xuerui gentoo.org> sys-cluster/sanlock/sanlock-3.8.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.4.ebuild b/sys-cluster/sanlock/sanlock-3.8.4.ebuild index f92cbd4c658c..229841245d69 100644 --- a/sys-cluster/sanlock/sanlock-3.8.4.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.4.ebuild @@ -12,7 +12,7 @@ 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 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 23e914bfcec5bfb0d7e244afc4a13497fdf27ce4 Author: James Le Cuirot gentoo org> AuthorDate: Sat Jan 15 23:10:50 2022 + Commit: James Le Cuirot gentoo org> CommitDate: Sat Jan 15 23:30:38 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23e914bf sys-cluster/sanlock: Keyword 3.8.4 for ~m68k Signed-off-by: James Le Cuirot gentoo.org> sys-cluster/sanlock/sanlock-3.8.4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.4.ebuild b/sys-cluster/sanlock/sanlock-3.8.4.ebuild index 65418ff64118..f92cbd4c658c 100644 --- a/sys-cluster/sanlock/sanlock-3.8.4.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ 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" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: a937068f32056abdca67f17d47c534d7716e8dd0 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Oct 18 18:23:56 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Oct 19 05:42:12 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a937068f sys-cluster/sanlock: add 3.8.4, enable py3.9, enable py3.10 - EAPI=8 - use CONFIG_CHECK for checking kernel option - use cleaner "emake -C" for running make in dir Signed-off-by: Arthur Zamarin gentoo.org> sys-cluster/sanlock/Manifest | 1 + sys-cluster/sanlock/sanlock-3.8.4.ebuild | 74 2 files changed, 75 insertions(+) diff --git a/sys-cluster/sanlock/Manifest b/sys-cluster/sanlock/Manifest index 10286a4b1bf..03cac489bab 100644 --- a/sys-cluster/sanlock/Manifest +++ b/sys-cluster/sanlock/Manifest @@ -1 +1,2 @@ DIST sanlock-3.8.2.tar.gz 266780 BLAKE2B 5248d08225bcc2a19594a3dcd3872c8c69ca8b217d31f6263f2717e4594180d4ba4685c9679ce2f31b6a2dcb4fe9f3e6a5dd5ac3ed073aea02599e7bbc04390c SHA512 2fa92e16eee4d2f3dac452400522f7e90b93b71349d322564d5957e2d87fb4bd69f0b5617b05f4b296c272d6da9a404fccadbbfff106354a0e302c436593eaac +DIST sanlock-3.8.4.tar.gz 270031 BLAKE2B da011a15d488849d47fe1043df040580652558918dff9549bf4e6cb4077c03b4aaa8f8de5399dbb0e3f2301ae90c0d20599b25bd5e72bae5317b13f79a352333 SHA512 9fca2b18fd3bd504d5186de0b2626ea2c993997528de2384dc042afe52b2b68422a2e4bb79e2409c9e6eccbe5ea8d8939549eb25c5d16aa7fecf6c9a5798340c diff --git a/sys-cluster/sanlock/sanlock-3.8.4.ebuild b/sys-cluster/sanlock/sanlock-3.8.4.ebuild new file mode 100644 index 000..65418ff6411 --- /dev/null +++ b/sys-cluster/sanlock/sanlock-3.8.4.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit linux-info python-r1 systemd + +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=" + acct-user/${PN} + acct-group/${PN} + dev-libs/libaio + sys-apps/util-linux + python? ( ${PYTHON_DEPS} ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/sanlock-fence_sanlock-LDFLAGS.patch" +) + +CONFIG_CHECK="~SOFT_WATCHDOG" + +src_compile() { + for d in wdmd src fence_sanlock reset; do + emake -C ${d} + done + + if use python; then + python_foreach_impl emake -C python + fi +} + +src_install() { + for d in wdmd src fence_sanlock reset; do + emake -C ${d} DESTDIR="${D}" LIBDIR="${EPREFIX}/usr/$(get_libdir)" install + done + + if use python; then + python_foreach_impl emake -C python DESTDIR="${D}" install + 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 || die + systemd_newunit init.d/wdmd.service.native wdmd.service + systemd_dounit init.d/sanlk-resetd.service + #systemd_dounit ${FILESDIR}/fence_sanlockd.service +}
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 13ce42872eebb3cb30f4574dcbd3835d89794bdd Author: Sam James gentoo org> AuthorDate: Fri Jun 11 00:12:31 2021 + Commit: Sam James gentoo org> CommitDate: Fri Jun 11 00:29:07 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13ce4287 sys-cluster/sanlock: fix VariableScope (EROOT) EROOT is not defined in src_install. Signed-off-by: Sam James gentoo.org> sys-cluster/sanlock/sanlock-3.8.2.ebuild | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.2.ebuild b/sys-cluster/sanlock/sanlock-3.8.2.ebuild index 8426d4f6d3c..baada07ab2a 100644 --- a/sys-cluster/sanlock/sanlock-3.8.2.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.2.ebuild @@ -35,7 +35,7 @@ pkg_setup() { if linux_config_exists; then if ! linux_chkconfig_present SOFT_WATCHDOG; then ewarn "" - ewarn "$warning" + ewarn "${warning}" ewarn "" fi else @@ -47,19 +47,29 @@ pkg_setup() { src_compile() { for d in wdmd src fence_sanlock reset; do - cd $d; emake; cd .. + cd ${d} || die + emake + cd .. || die done + if use python; then - cd python; python_foreach_impl emake; cd .. + cd python || die + python_foreach_impl emake + cd .. || die fi } src_install() { for d in wdmd src fence_sanlock reset; do - cd $d; emake DESTDIR="${D}" LIBDIR="${EROOT}usr/$(get_libdir)" install; cd .. + cd ${d} || die + emake DESTDIR="${D}" LIBDIR="${EPREFIX}/usr/$(get_libdir)" install + cd .. || die done + if use python; then - cd python; python_foreach_impl emake DESTDIR="${D}" install; cd .. + cd python || die + python_foreach_impl emake DESTDIR="${D}" install + cd .. || die fi # config @@ -78,7 +88,7 @@ src_install() { # systemd systemd_newunit init.d/sanlock.service.native sanlock.service - sed -i 's,^ExecStartPre=,#ExecStartPre=,' init.d/wdmd.service.native + sed -i 's,^ExecStartPre=,#ExecStartPre=,' init.d/wdmd.service.native || die systemd_newunit init.d/wdmd.service.native wdmd.service systemd_dounit init.d/sanlk-resetd.service #systemd_dounit ${FILESDIR}/fence_sanlockd.service
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 9d1d7f8246b2c4a610f048c13bfb4b6793e64edf Author: Michał Górny gentoo org> AuthorDate: Fri Jan 1 01:58:54 2021 + Commit: Michał Górny gentoo org> CommitDate: Fri Jan 1 01:58:54 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d1d7f82 sys-cluster/sanlock: Remove old (py3.6) Signed-off-by: Michał Górny gentoo.org> sys-cluster/sanlock/Manifest | 1 - sys-cluster/sanlock/sanlock-3.6.0.ebuild | 85 2 files changed, 86 deletions(-) diff --git a/sys-cluster/sanlock/Manifest b/sys-cluster/sanlock/Manifest index 6634867cb77..10286a4b1bf 100644 --- a/sys-cluster/sanlock/Manifest +++ b/sys-cluster/sanlock/Manifest @@ -1,2 +1 @@ -DIST sanlock-3.6.0.tar.gz 221666 BLAKE2B 7fe95bd6813c13b76993b343a5ad605c7ba642583987ffa5fef583f34c053ee62b0f9e5979f5b5cb9e4fcde53268ae3debc5ec36b04f6651cc4cb902dff52df9 SHA512 59eb2a6f12e95d54886fdf6d56fd9a6814dd20fe11f39664f2bb82a56326fee48c9465ae30e6d04f970c8f1b0d9c2e22b90d21ab1f657c6d6b61ff9f02332443 DIST sanlock-3.8.2.tar.gz 266780 BLAKE2B 5248d08225bcc2a19594a3dcd3872c8c69ca8b217d31f6263f2717e4594180d4ba4685c9679ce2f31b6a2dcb4fe9f3e6a5dd5ac3ed073aea02599e7bbc04390c SHA512 2fa92e16eee4d2f3dac452400522f7e90b93b71349d322564d5957e2d87fb4bd69f0b5617b05f4b296c272d6da9a404fccadbbfff106354a0e302c436593eaac diff --git a/sys-cluster/sanlock/sanlock-3.6.0.ebuild b/sys-cluster/sanlock/sanlock-3.6.0.ebuild deleted file mode 100644 index 1ad17643ac7..000 --- a/sys-cluster/sanlock/sanlock-3.6.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 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 -}
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 5d3bd4d731808ea31e6413e84d44ecb01b742d34 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Dec 21 09:35:39 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Dec 21 09:36:43 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d3bd4d7 sys-cluster/sanlock: stable 3.8.2 for hppa stable wrt bug #758146 Package-Manager: Portage-3.0.12, Repoman-3.0.2 RepoMan-Options: --include-arches="hppa" Signed-off-by: Sergei Trofimovich gentoo.org> sys-cluster/sanlock/sanlock-3.8.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.2.ebuild b/sys-cluster/sanlock/sanlock-3.8.2.ebuild index 8e147096a3a..91dc06ac1d5 100644 --- a/sys-cluster/sanlock/sanlock-3.8.2.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.2.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 0bfecc9fbfefa4557e9ee4589d89597ba6197486 Author: Sam James gentoo org> AuthorDate: Wed Dec 16 11:12:02 2020 + Commit: Sam James gentoo org> CommitDate: Wed Dec 16 11:12:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bfecc9f sys-cluster/sanlock: Stabilize 3.8.2 amd64, #758146 Signed-off-by: Sam James gentoo.org> sys-cluster/sanlock/sanlock-3.8.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.2.ebuild b/sys-cluster/sanlock/sanlock-3.8.2.ebuild index 7ddbde133ef..8e147096a3a 100644 --- a/sys-cluster/sanlock/sanlock-3.8.2.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.2.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 88f0157ce790c15fb9ac04f1555f9accc96bada2 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Dec 5 11:42:51 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Dec 5 11:43:38 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88f0157c sys-cluster/sanlock: stable 3.8.2 for sparc stable wrt bug #758146 Package-Manager: Portage-3.0.11, Repoman-3.0.2 RepoMan-Options: --include-arches="sparc" Signed-off-by: Sergei Trofimovich gentoo.org> sys-cluster/sanlock/sanlock-3.8.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.2.ebuild b/sys-cluster/sanlock/sanlock-3.8.2.ebuild index f5c25f4888e..6c643fe48aa 100644 --- a/sys-cluster/sanlock/sanlock-3.8.2.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.2.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 5d9260a3cef43bc759f7620dd6492ffb125cfcd1 Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Dec 4 18:34:14 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Dec 4 18:37:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d9260a3 sys-cluster/sanlock: stable 3.8.2 for ppc64 stable wrt bug #758146 Package-Manager: Portage-3.0.11, Repoman-3.0.2 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Sergei Trofimovich gentoo.org> sys-cluster/sanlock/sanlock-3.8.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.2.ebuild b/sys-cluster/sanlock/sanlock-3.8.2.ebuild index 1982b792a2a..f5c25f4888e 100644 --- a/sys-cluster/sanlock/sanlock-3.8.2.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.2.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: db34e5c9877baafac8874f51b8c9ec10c731314e Author: Sam James gentoo org> AuthorDate: Thu Dec 3 04:26:23 2020 + Commit: Sam James gentoo org> CommitDate: Thu Dec 3 04:26:23 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db34e5c9 sys-cluster/sanlock: Stabilize 3.8.2 arm64, #758146 Signed-off-by: Sam James gentoo.org> sys-cluster/sanlock/sanlock-3.8.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.2.ebuild b/sys-cluster/sanlock/sanlock-3.8.2.ebuild index 750b8d352e9..3b6ff5e345c 100644 --- a/sys-cluster/sanlock/sanlock-3.8.2.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.2.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 051827b0f89088907542f753118d3348a6e76521 Author: Sam James gentoo org> AuthorDate: Thu Dec 3 04:25:54 2020 + Commit: Sam James gentoo org> CommitDate: Thu Dec 3 04:25:54 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=051827b0 sys-cluster/sanlock: Stabilize 3.8.2 arm, #758146 Signed-off-by: Sam James gentoo.org> sys-cluster/sanlock/sanlock-3.8.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.2.ebuild b/sys-cluster/sanlock/sanlock-3.8.2.ebuild index bc81c5f4b18..750b8d352e9 100644 --- a/sys-cluster/sanlock/sanlock-3.8.2.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.2.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: d2c1f8df2065b3c45f2d97ec1543ab7d193bad29 Author: Thomas Deutschmann gentoo org> AuthorDate: Wed Dec 2 23:27:49 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Wed Dec 2 23:30:56 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2c1f8df sys-cluster/sanlock: x86 stable (bug #758146) Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann gentoo.org> sys-cluster/sanlock/sanlock-3.8.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.2.ebuild b/sys-cluster/sanlock/sanlock-3.8.2.ebuild index 449fd2f3274..bc81c5f4b18 100644 --- a/sys-cluster/sanlock/sanlock-3.8.2.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.2.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 45740d50695d2df8e4256aa220e033482e52f583 Author: Marc Schiffbauer gentoo org> AuthorDate: Fri Aug 21 17:59:08 2020 + Commit: Marc Schiffbauer gentoo org> CommitDate: Fri Aug 21 18:05:54 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45740d50 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 gentoo.org> sys-cluster/sanlock/Manifest | 1 - sys-cluster/sanlock/sanlock-3.8.0.ebuild | 85 2 files changed, 86 deletions(-) diff --git a/sys-cluster/sanlock/Manifest b/sys-cluster/sanlock/Manifest index 517da432a43..6634867cb77 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 ae42ae240e2..000 --- 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 -}
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/, sys-cluster/sanlock/files/
commit: 05b4374649b60e5aed18180481f35c7b2095aeca Author: Marc Schiffbauer gentoo org> AuthorDate: Fri Aug 21 17:57:36 2020 + Commit: Marc Schiffbauer gentoo org> CommitDate: Fri Aug 21 18:05:51 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05b43746 sys-cluster/sanlock: add new version Bug: https://bugs.gentoo.org/718532 Closes: https://bugs.gentoo.org/721594 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Marc Schiffbauer gentoo.org> sys-cluster/sanlock/Manifest | 1 + .../files/sanlock-fence_sanlock-LDFLAGS.patch | 12 +++ sys-cluster/sanlock/sanlock-3.8.2.ebuild | 85 ++ 3 files changed, 98 insertions(+) diff --git a/sys-cluster/sanlock/Manifest b/sys-cluster/sanlock/Manifest index d3a63ecac01..517da432a43 100644 --- a/sys-cluster/sanlock/Manifest +++ b/sys-cluster/sanlock/Manifest @@ -1,2 +1,3 @@ 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/files/sanlock-fence_sanlock-LDFLAGS.patch b/sys-cluster/sanlock/files/sanlock-fence_sanlock-LDFLAGS.patch new file mode 100644 index 000..0fb00b364ba --- /dev/null +++ b/sys-cluster/sanlock/files/sanlock-fence_sanlock-LDFLAGS.patch @@ -0,0 +1,12 @@ +diff -ur sanlock-3.8.2.orig/fence_sanlock/Makefile sanlock-3.8.2/fence_sanlock/Makefile +--- sanlock-3.8.2.orig/fence_sanlock/Makefile 2020-08-21 19:48:12.695801870 +0200 sanlock-3.8.2/fence_sanlock/Makefile2020-08-21 19:47:50.477402437 +0200 +@@ -34,7 +34,7 @@ + CFLAGS += -DVERSION=\"$(VER)\" -I../src -I../wdmd + CFLAGS += -fPIE -DPIE + +-LDFLAGS = -Wl,-z,now -Wl,-z,relro -pie ++LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie + LDADD = -lrt -laio -lblkid -lsanlock -lwdmd + + all: $(TARGET1) $(TARGET2) diff --git a/sys-cluster/sanlock/sanlock-3.8.2.ebuild b/sys-cluster/sanlock/sanlock-3.8.2.ebuild new file mode 100644 index 000..449fd2f3274 --- /dev/null +++ b/sys-cluster/sanlock/sanlock-3.8.2.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit linux-info python-r1 systemd + +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=" + acct-user/${PN} + acct-group/${PN} + dev-libs/libaio + sys-apps/util-linux + python? ( ${PYTHON_DEPS} ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + ${FILESDIR}/sanlock-fence_sanlock-LDFLAGS.patch +) + +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 +} + +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 +
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: d6c2d3a6c318d53dfac344240f9e635e5585dfc3 Author: Göktürk Yüksek gentoo org> AuthorDate: Wed Apr 8 00:03:38 2020 + Commit: Göktürk Yüksek gentoo org> CommitDate: Wed Apr 8 20:36:57 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6c2d3a6 sys-cluster/sanlock: keyword 3.8.0 for ~riscv Bug: https://bugs.gentoo.org/716480 Package-Manager: Portage-2.3.69, Repoman-2.3.14 Signed-off-by: Göktürk Yüksek gentoo.org> sys-cluster/sanlock/sanlock-3.8.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.0.ebuild b/sys-cluster/sanlock/sanlock-3.8.0.ebuild index 5ef0911432c..ae42ae240e2 100644 --- a/sys-cluster/sanlock/sanlock-3.8.0.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.0.ebuild @@ -12,7 +12,7 @@ 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 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: b037453162ea6447007ac8247107db8b08bda843 Author: Michał Górny gentoo org> AuthorDate: Mon Feb 10 21:14:41 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Feb 10 21:25:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0374531 sys-cluster/sanlock: Remove py2 Signed-off-by: Michał Górny gentoo.org> sys-cluster/sanlock/sanlock-3.6.0.ebuild | 2 +- sys-cluster/sanlock/sanlock-3.8.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-cluster/sanlock/sanlock-3.6.0.ebuild b/sys-cluster/sanlock/sanlock-3.6.0.ebuild index 2e799abfe88..9158bc79f62 100644 --- a/sys-cluster/sanlock/sanlock-3.6.0.ebuild +++ b/sys-cluster/sanlock/sanlock-3.6.0.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_6 ) +PYTHON_COMPAT=( python3_6 ) inherit linux-info python-r1 systemd user DESCRIPTION="shared storage lock manager" diff --git a/sys-cluster/sanlock/sanlock-3.8.0.ebuild b/sys-cluster/sanlock/sanlock-3.8.0.ebuild index 0defcba0b5f..bdccb698195 100644 --- a/sys-cluster/sanlock/sanlock-3.8.0.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.0.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_6 ) +PYTHON_COMPAT=( python3_6 ) inherit linux-info python-r1 systemd user DESCRIPTION="shared storage lock manager"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: d3eab1849d65cc6e30a67d454ddca6893b3cc8fe Author: Mikle Kolyada gentoo org> AuthorDate: Sun Jul 28 10:54:44 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun Jul 28 10:54:44 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3eab184 sys-cluster/sanlock: sh stable wrt bug #687232 Package-Manager: Portage-2.3.66, Repoman-2.3.16 RepoMan-Options: --include-arches="sh" Signed-off-by: Mikle Kolyada gentoo.org> sys-cluster/sanlock/sanlock-3.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.6.0.ebuild b/sys-cluster/sanlock/sanlock-3.6.0.ebuild index 50f923623bb..bd884bab813 100644 --- a/sys-cluster/sanlock/sanlock-3.6.0.ebuild +++ b/sys-cluster/sanlock/sanlock-3.6.0.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: b5d6580c6ea581ad586cea1a90106217eb722153 Author: Marc Schiffbauer gentoo org> AuthorDate: Mon Jul 8 13:07:23 2019 + Commit: Marc Schiffbauer gentoo org> CommitDate: Mon Jul 8 13:08:34 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5d6580c sys-cluster/sanlock: add new v3.8.0 Signed-off-by: Marc Schiffbauer gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 sys-cluster/sanlock/Manifest | 1 + sys-cluster/sanlock/sanlock-3.8.0.ebuild | 85 2 files changed, 86 insertions(+) diff --git a/sys-cluster/sanlock/Manifest b/sys-cluster/sanlock/Manifest index 16d895e0bdd..8ecd390819a 100644 --- a/sys-cluster/sanlock/Manifest +++ b/sys-cluster/sanlock/Manifest @@ -1,2 +1,3 @@ DIST sanlock-3.4.0.tar.xz 157016 BLAKE2B 9d588214d260b88cfa3978e831bcd8086ae80aafc1a04b616274da141140a22c2765083632f29402cdae67cdbbdfcefdaff1539e5d45485c6f271e3ee7f6471a SHA512 8a10faaa5b9ce9f0506ca16620ad482804c9ca860b84a60a6f0b525a256059229a202163d366a57fb59169c0f4f822ced570b42562e412747f6f716509341f19 DIST sanlock-3.6.0.tar.gz 221666 BLAKE2B 7fe95bd6813c13b76993b343a5ad605c7ba642583987ffa5fef583f34c053ee62b0f9e5979f5b5cb9e4fcde53268ae3debc5ec36b04f6651cc4cb902dff52df9 SHA512 59eb2a6f12e95d54886fdf6d56fd9a6814dd20fe11f39664f2bb82a56326fee48c9465ae30e6d04f970c8f1b0d9c2e22b90d21ab1f657c6d6b61ff9f02332443 +DIST sanlock-3.8.0.tar.gz 262077 BLAKE2B c5638dc405cb22098f551d2c267fb13ef8b59422d5d5fb64ade5273d27d6ef772178c1283860a180d3da053da46387e3687c69369c5447d90d7b04a61da80b92 SHA512 ec4e40066c8f5f25287265247509bcb9d8ae24e5bafdd563cb090e94df3fa65881c4814edeb81c50188e71990774d29e330b1dda864c22052fc936a9e2a0892a 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 000..4cf116d5a0b --- /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 +}
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 960787754af2e1cae27fc912f40c0607fd457963 Author: Marc Schiffbauer gentoo org> AuthorDate: Mon Jul 8 13:08:21 2019 + Commit: Marc Schiffbauer gentoo org> CommitDate: Mon Jul 8 13:08:34 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96078775 sys-cluster/sanlock: remove v3.4.0 Signed-off-by: Marc Schiffbauer gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 sys-cluster/sanlock/Manifest| 1 - sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild | 85 - 2 files changed, 86 deletions(-) diff --git a/sys-cluster/sanlock/Manifest b/sys-cluster/sanlock/Manifest index 8ecd390819a..d3a63ecac01 100644 --- a/sys-cluster/sanlock/Manifest +++ b/sys-cluster/sanlock/Manifest @@ -1,3 +1,2 @@ -DIST sanlock-3.4.0.tar.xz 157016 BLAKE2B 9d588214d260b88cfa3978e831bcd8086ae80aafc1a04b616274da141140a22c2765083632f29402cdae67cdbbdfcefdaff1539e5d45485c6f271e3ee7f6471a SHA512 8a10faaa5b9ce9f0506ca16620ad482804c9ca860b84a60a6f0b525a256059229a202163d366a57fb59169c0f4f822ced570b42562e412747f6f716509341f19 DIST sanlock-3.6.0.tar.gz 221666 BLAKE2B 7fe95bd6813c13b76993b343a5ad605c7ba642583987ffa5fef583f34c053ee62b0f9e5979f5b5cb9e4fcde53268ae3debc5ec36b04f6651cc4cb902dff52df9 SHA512 59eb2a6f12e95d54886fdf6d56fd9a6814dd20fe11f39664f2bb82a56326fee48c9465ae30e6d04f970c8f1b0d9c2e22b90d21ab1f657c6d6b61ff9f02332443 DIST sanlock-3.8.0.tar.gz 262077 BLAKE2B c5638dc405cb22098f551d2c267fb13ef8b59422d5d5fb64ade5273d27d6ef772178c1283860a180d3da053da46387e3687c69369c5447d90d7b04a61da80b92 SHA512 ec4e40066c8f5f25287265247509bcb9d8ae24e5bafdd563cb090e94df3fa65881c4814edeb81c50188e71990774d29e330b1dda864c22052fc936a9e2a0892a 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 341b2f72bc6..000 --- 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 -}
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 7aa098244bad5447fd9c235d2c5fd29d3e039685 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Jun 11 19:15:36 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Jun 11 22:15:47 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aa09824 sys-cluster/sanlock: stable 3.6.0 for hppa, bug #687232 Signed-off-by: Rolf Eike Beer sf-mail.de> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="hppa" Signed-off-by: Sergei Trofimovich gentoo.org> sys-cluster/sanlock/sanlock-3.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.6.0.ebuild b/sys-cluster/sanlock/sanlock-3.6.0.ebuild index f1f1bf88ff6..50f923623bb 100644 --- a/sys-cluster/sanlock/sanlock-3.6.0.ebuild +++ b/sys-cluster/sanlock/sanlock-3.6.0.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 81bd6a663ee86d1b89d73c760b35354a6fc6095e Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Jun 6 06:54:39 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Jun 6 06:54:39 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81bd6a66 sys-cluster/sanlock: ia64 stable wrt bug #687232 Signed-off-by: Agostino Sarubbo gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="ia64" sys-cluster/sanlock/sanlock-3.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.6.0.ebuild b/sys-cluster/sanlock/sanlock-3.6.0.ebuild index 7e6e01f1887..f1f1bf88ff6 100644 --- a/sys-cluster/sanlock/sanlock-3.6.0.ebuild +++ b/sys-cluster/sanlock/sanlock-3.6.0.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: f32aebca10566f61f39b3765e4f95127f52779a6 Author: Rolf Eike Beer sf-mail de> AuthorDate: Wed Jun 5 17:40:45 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Jun 5 18:13:57 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f32aebca sys-cluster/sanlock: stable 3.6.0 for sparc, bug #687232 Signed-off-by: Rolf Eike Beer sf-mail.de> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="sparc" Signed-off-by: Sergei Trofimovich gentoo.org> sys-cluster/sanlock/sanlock-3.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.6.0.ebuild b/sys-cluster/sanlock/sanlock-3.6.0.ebuild index cd4eb3c7634..7e6e01f1887 100644 --- a/sys-cluster/sanlock/sanlock-3.6.0.ebuild +++ b/sys-cluster/sanlock/sanlock-3.6.0.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 ~sh sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 8248e208fc7a88a73ed4e54b62164b3e7f3506f3 Author: Mikle Kolyada gentoo org> AuthorDate: Thu May 2 21:12:31 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Thu May 2 21:12:31 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8248e208 sys-cluster/sanlock: alpha stable wrt bug #680850 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 RepoMan-Options: --include-arches="alpha" sys-cluster/sanlock/sanlock-3.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.6.0.ebuild b/sys-cluster/sanlock/sanlock-3.6.0.ebuild index f5255cc43e4..cd4eb3c7634 100644 --- a/sys-cluster/sanlock/sanlock-3.6.0.ebuild +++ b/sys-cluster/sanlock/sanlock-3.6.0.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 ~sh ~sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: a7c137b62cbf9fccce6c9acf316f61e217de86e7 Author: Mikle Kolyada gentoo org> AuthorDate: Sun Apr 28 20:38:49 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun Apr 28 20:38:49 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7c137b6 sys-cluster/sanlock: s390 stable wrt bug #680850 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 RepoMan-Options: --include-arches="s390" sys-cluster/sanlock/sanlock-3.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.6.0.ebuild b/sys-cluster/sanlock/sanlock-3.6.0.ebuild index 4a32bb16ec0..f5255cc43e4 100644 --- a/sys-cluster/sanlock/sanlock-3.6.0.ebuild +++ b/sys-cluster/sanlock/sanlock-3.6.0.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 ~sh ~sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: b4dc3c074834eabb7b79c5622f653ec97374a2f6 Author: Mikle Kolyada gentoo org> AuthorDate: Wed Apr 17 11:56:43 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Wed Apr 17 11:56:43 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4dc3c07 sys-cluster/sanlock: arm stable wrt bug #680850 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 RepoMan-Options: --include-arches="arm" sys-cluster/sanlock/sanlock-3.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.6.0.ebuild b/sys-cluster/sanlock/sanlock-3.6.0.ebuild index 91a011b688f..4a32bb16ec0 100644 --- a/sys-cluster/sanlock/sanlock-3.6.0.ebuild +++ b/sys-cluster/sanlock/sanlock-3.6.0.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 2ee6e1633301abd0ce9fe498613a0f85fd6923a0 Author: Aaron Bauman gentoo org> AuthorDate: Tue Apr 16 03:41:04 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Tue Apr 16 03:41:14 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee6e163 sys-cluster/sanlock: arm64 stable (bug #680850) Signed-off-by: Aaron Bauman gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 sys-cluster/sanlock/sanlock-3.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.6.0.ebuild b/sys-cluster/sanlock/sanlock-3.6.0.ebuild index 230fe8779b1..a7a05808482 100644 --- a/sys-cluster/sanlock/sanlock-3.6.0.ebuild +++ b/sys-cluster/sanlock/sanlock-3.6.0.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 99ec9dff0343ac7776519b6ab8f9de51a780578b Author: Mikle Kolyada gentoo org> AuthorDate: Tue Apr 2 09:11:39 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Tue Apr 2 09:11:39 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99ec9dff sys-cluster/sanlock: amd64 stable wrt bug #680850 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 RepoMan-Options: --include-arches="amd64" sys-cluster/sanlock/sanlock-3.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.6.0.ebuild b/sys-cluster/sanlock/sanlock-3.6.0.ebuild index 2e75ea0cc31..4edcd7da146 100644 --- a/sys-cluster/sanlock/sanlock-3.6.0.ebuild +++ b/sys-cluster/sanlock/sanlock-3.6.0.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 411fe7b5acec4bc617cc69c42a9e19e4f86d7bda Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Apr 1 17:10:54 2019 + Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Apr 1 17:10:54 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=411fe7b5 sys-cluster/sanlock: x86 stable (bug #680850) Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann gentoo.org> sys-cluster/sanlock/sanlock-3.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.6.0.ebuild b/sys-cluster/sanlock/sanlock-3.6.0.ebuild index b428c494347..2e75ea0cc31 100644 --- a/sys-cluster/sanlock/sanlock-3.6.0.ebuild +++ b/sys-cluster/sanlock/sanlock-3.6.0.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 7d35360604f55bee54c71489c4b0f74e7f1ad987 Author: Mikle Kolyada gentoo org> AuthorDate: Tue Feb 12 12:41:41 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Tue Feb 12 12:41:41 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d353606 sys-cluster/sanlock: Add ~sh keyword wrt bug #614726 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 sys-cluster/sanlock/sanlock-3.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.6.0.ebuild b/sys-cluster/sanlock/sanlock-3.6.0.ebuild index 2ac44312e41..b428c494347 100644 --- a/sys-cluster/sanlock/sanlock-3.6.0.ebuild +++ b/sys-cluster/sanlock/sanlock-3.6.0.ebuild @@ -12,7 +12,7 @@ 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 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 4dcc05cf88f61c074a36d613cde4dd6535835642 Author: Mikle Kolyada gentoo org> AuthorDate: Tue Feb 12 12:40:28 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Tue Feb 12 12:40:28 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dcc05cf sys-cluster/sanlock: Add ~s390 keyword wrt bug #614726 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 sys-cluster/sanlock/sanlock-3.6.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-cluster/sanlock/sanlock-3.6.0.ebuild b/sys-cluster/sanlock/sanlock-3.6.0.ebuild index a2ff725e30e..2ac44312e41 100644 --- a/sys-cluster/sanlock/sanlock-3.6.0.ebuild +++ b/sys-cluster/sanlock/sanlock-3.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ 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 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 01f7cca687078588264c18def769f31fc5725a1b Author: Mikle Kolyada gentoo org> AuthorDate: Tue Feb 12 12:36:19 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Tue Feb 12 12:36:19 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01f7cca6 sys-cluster/sanlock: Add ~sh keyword wrt bug #614726 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild index e40ef316db5..9c681c6f306 100644 --- a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild +++ b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ 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 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 0e2068021926dc0ff415d2a0eaf1be364e36d2c2 Author: Mikle Kolyada gentoo org> AuthorDate: Tue Feb 12 12:37:59 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Tue Feb 12 12:37:59 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e206802 sys-cluster/sanlock: Add ~s390 keyword wrt bug #614726 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild index 9c681c6f306..9d6a69014f5 100644 --- a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild +++ b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild @@ -12,7 +12,7 @@ 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 ~sh ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: c36902752c7feed67a8a89effa08d27fc292d3eb Author: Marc Schiffbauer gentoo org> AuthorDate: Fri Oct 26 20:47:22 2018 + Commit: Marc Schiffbauer gentoo org> CommitDate: Fri Oct 26 20:48:03 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3690275 sys-cluster/sanlock: add version 3.6.0 fixes #616110 Signed-off-by: Marc Schiffbauer gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10 sys-cluster/sanlock/Manifest | 1 + sys-cluster/sanlock/sanlock-3.6.0.ebuild | 85 2 files changed, 86 insertions(+) diff --git a/sys-cluster/sanlock/Manifest b/sys-cluster/sanlock/Manifest index 5dfde700ceb..16d895e0bdd 100644 --- a/sys-cluster/sanlock/Manifest +++ b/sys-cluster/sanlock/Manifest @@ -1 +1,2 @@ DIST sanlock-3.4.0.tar.xz 157016 BLAKE2B 9d588214d260b88cfa3978e831bcd8086ae80aafc1a04b616274da141140a22c2765083632f29402cdae67cdbbdfcefdaff1539e5d45485c6f271e3ee7f6471a SHA512 8a10faaa5b9ce9f0506ca16620ad482804c9ca860b84a60a6f0b525a256059229a202163d366a57fb59169c0f4f822ced570b42562e412747f6f716509341f19 +DIST sanlock-3.6.0.tar.gz 221666 BLAKE2B 7fe95bd6813c13b76993b343a5ad605c7ba642583987ffa5fef583f34c053ee62b0f9e5979f5b5cb9e4fcde53268ae3debc5ec36b04f6651cc4cb902dff52df9 SHA512 59eb2a6f12e95d54886fdf6d56fd9a6814dd20fe11f39664f2bb82a56326fee48c9465ae30e6d04f970c8f1b0d9c2e22b90d21ab1f657c6d6b61ff9f02332443 diff --git a/sys-cluster/sanlock/sanlock-3.6.0.ebuild b/sys-cluster/sanlock/sanlock-3.6.0.ebuild new file mode 100644 index 000..a2ff725e30e --- /dev/null +++ b/sys-cluster/sanlock/sanlock-3.6.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,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 ~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 +}
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 0d24aeceb566938bcc8351fd0eba6e0720152405 Author: Pacho Ramos gentoo org> AuthorDate: Tue Jun 26 20:47:22 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Tue Jun 26 20:51:42 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d24aece sys-cluster/sanlock: Support python3.6 Package-Manager: Portage-2.3.40, Repoman-2.3.9 sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild index 8f0c685b009..e40ef316db5 100644 --- a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild +++ b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5} ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) inherit linux-info python-r1 systemd user DESCRIPTION="shared storage lock manager"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 7d1d8565c3606e8e624ea9a5bae85b1cfb3ba0ee Author: Jeroen Roovers gentoo org> AuthorDate: Wed Jun 6 05:50:58 2018 + Commit: Jeroen Roovers gentoo org> CommitDate: Wed Jun 6 05:50:58 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d1d8565 sys-cluster/sanlock: Mark ~hppa too. Package-Manager: Portage-2.3.40, Repoman-2.3.9 RepoMan-Options: --ignore-arches sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild index d5eece31819..8f0c685b009 100644 --- a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild +++ b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild @@ -12,7 +12,7 @@ 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 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: cea692f3deebd6f56a195fee7f7f4e01283ed32d Author: Matt Turner gentoo org> AuthorDate: Mon Mar 26 03:55:43 2018 + Commit: Matt Turner gentoo org> CommitDate: Mon Mar 26 03:55:43 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cea692f3 sys-cluster/sanlock-3.4.0-r1: added ~mips, bug 614726 sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild index 7a5d5227ac9..d5eece31819 100644 --- a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild +++ b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild @@ -12,7 +12,7 @@ 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 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 7481cf1f56b025c7c07e3521538b1ef2cc78fe85 Author: Matt Turner gentoo org> AuthorDate: Sat Mar 17 19:43:40 2018 + Commit: Matt Turner gentoo org> CommitDate: Sat Mar 17 19:44:02 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7481cf1f sys-cluster/sanlock-3.4.0-r1: added ~alpha, bug 614726 sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild index 74abbc7de9f..7a5d5227ac9 100644 --- a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild +++ b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://git.fedorahosted.org/cgit/${PN}.git/snapshot/${P}.tar.xz; LICENSE="LGPL-2+ GPL-2 GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 2b63debcb4e53147e95d3ad0c1048b42f791f4d1 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Jan 2 14:08:44 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Jan 2 19:54:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b63debc sys-cluster/sanlock: keyworded 3.4.0-r1 for sparc, bug #614726 Package-Manager: Portage-2.3.13, Repoman-2.3.3 RepoMan-Options: --include-arches="sparc" sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild index 33d643b5ac7..74abbc7de9f 100644 --- a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild +++ b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ SRC_URI="https://git.fedorahosted.org/cgit/${PN}.git/snapshot/${P}.tar.xz; LICENSE="LGPL-2+ GPL-2 GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: 59578d959e3edeeb5b5608ec9ecc2539a644f2b1 Author: Marc Schiffbauer gentoo org> AuthorDate: Tue Dec 5 08:21:25 2017 + Commit: Marc Schiffbauer gentoo org> CommitDate: Tue Dec 5 08:21:25 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59578d95 sys-cluster/sanlock: add dep to dev-libs/libaio fixes #617988 Package-Manager: Portage-2.3.16, Repoman-2.3.6 sys-cluster/sanlock/Manifest| 2 +- sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/Manifest b/sys-cluster/sanlock/Manifest index 7a3cd9cb52e..5dfde700ceb 100644 --- a/sys-cluster/sanlock/Manifest +++ b/sys-cluster/sanlock/Manifest @@ -1 +1 @@ -DIST sanlock-3.4.0.tar.xz 157016 SHA256 b4b18eb0af1bfc730a037f9da7dd84777c9a4ceb1a1ac2e577705124c4c9e891 SHA512 8a10faaa5b9ce9f0506ca16620ad482804c9ca860b84a60a6f0b525a256059229a202163d366a57fb59169c0f4f822ced570b42562e412747f6f716509341f19 WHIRLPOOL 500ccc9ab323bed28fc6b65dbdc04588deae03d3bb500ab623b9b922c436db896b793965bf4e780800138cd780d4fb659a952dc064bb01065e629c69062c330e +DIST sanlock-3.4.0.tar.xz 157016 BLAKE2B 9d588214d260b88cfa3978e831bcd8086ae80aafc1a04b616274da141140a22c2765083632f29402cdae67cdbbdfcefdaff1539e5d45485c6f271e3ee7f6471a SHA512 8a10faaa5b9ce9f0506ca16620ad482804c9ca860b84a60a6f0b525a256059229a202163d366a57fb59169c0f4f822ced570b42562e412747f6f716509341f19 diff --git a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild index a4d7474e909..33d643b5ac7 100644 --- a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild +++ b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild @@ -18,6 +18,7 @@ IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" DEPEND=" + dev-libs/libaio sys-apps/util-linux python? ( ${PYTHON_DEPS} ) "
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: f0b6b23f636b0d39f287fd4b35e9c0fc8efec33e Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Jul 12 08:11:28 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Jul 12 08:13:15 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b6b23f sys-cluster/sanlock: ia64 keyworded, bug #614726 Package-Manager: Portage-2.3.6, Repoman-2.3.2 RepoMan-Options: --include-arches="ia64" sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild index 278c65e36ef..a4d7474e909 100644 --- a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild +++ b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://git.fedorahosted.org/cgit/${PN}.git/snapshot/${P}.tar.xz; LICENSE="LGPL-2+ GPL-2 GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/files/
commit: 518d02c66133f4e69fd5265ba0bff1fe05814d43 Author: Marc Schiffbauer gentoo org> AuthorDate: Tue May 30 20:23:51 2017 + Commit: Marc Schiffbauer gentoo org> CommitDate: Tue May 30 21:03:56 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=518d02c6 sys-cluster/sanlock: fix init script Package-Manager: Portage-2.3.6, Repoman-2.3.2 sys-cluster/sanlock/files/sanlock.initd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-cluster/sanlock/files/sanlock.initd b/sys-cluster/sanlock/files/sanlock.initd index 8121aa55e6a..823e5edf26b 100644 --- a/sys-cluster/sanlock/files/sanlock.initd +++ b/sys-cluster/sanlock/files/sanlock.initd @@ -2,7 +2,7 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -pidfile="/var/run/snlock.pid" -command="/usr/sbin/snlock" +pidfile="/var/run/sanlock.pid" +command="/usr/sbin/sanlock" command_args="daemon ${SANLOCKOPTS:-"-U sanlock -G sanlock"}"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: e49d2df990023dbfda78b15bd6718eadf8116559 Author: Marc Schiffbauer gentoo org> AuthorDate: Thu Apr 20 18:24:34 2017 + Commit: Marc Schiffbauer gentoo org> CommitDate: Thu Apr 20 18:25:12 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e49d2df9 sys-cluster/sanlock: updated homepage Package-Manager: Portage-2.3.5, Repoman-2.3.2 sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild index a53b8a542c9..278c65e36ef 100644 --- a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild +++ b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python2_7 python3_{4,5} ) inherit linux-info python-r1 systemd user DESCRIPTION="shared storage lock manager" -HOMEPAGE="https://fedorahosted.org/sanlock/; +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+"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: d1e348bade33fd55d3a4760fdafe468b21fd4516 Author: Michael Weber gentoo org> AuthorDate: Wed Apr 19 11:38:58 2017 + Commit: Michael Weber gentoo org> CommitDate: Wed Apr 19 11:39:21 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e348ba sys-cluster/sanlock: add ~arm ~arm64 ~ppc ~ppc64 keywords (bug 614726). Package-Manager: Portage-2.3.5, Repoman-2.3.2 RepoMan-Options: --include-arches="arm arm64 ppc ppc64" sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild index ec3a883c19c..a53b8a542c9 100644 --- a/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild +++ b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://git.fedorahosted.org/cgit/${PN}.git/snapshot/${P}.tar.xz; LICENSE="LGPL-2+ GPL-2 GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: ed21ced41c5beac17e38066a751685aaf498f2bd Author: Marc Schiffbauer gentoo org> AuthorDate: Tue Jan 3 15:50:07 2017 + Commit: Marc Schiffbauer gentoo org> CommitDate: Tue Jan 3 15:50:41 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed21ced4 sys-cluster/sanlock: revbump: add sanlock user to disk group Package-Manager: Portage-2.3.3, Repoman-2.3.1 sys-cluster/sanlock/{sanlock-3.4.0.ebuild => sanlock-3.4.0-r1.ebuild} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-cluster/sanlock/sanlock-3.4.0.ebuild b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild similarity index 97% rename from sys-cluster/sanlock/sanlock-3.4.0.ebuild rename to sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild index a235166..ff55baf 100644 --- a/sys-cluster/sanlock/sanlock-3.4.0.ebuild +++ b/sys-cluster/sanlock/sanlock-3.4.0-r1.ebuild @@ -40,8 +40,9 @@ pkg_setup() { } pkg_preinst() { - enewuser sanlock enewgroup sanlock + enewuser sanlock -1 -1 -1 sanlock,disk + } src_compile() {
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/
commit: e1ddf3ae5d450ef64d5c193eecc93d6643817d1e Author: Marc Schiffbauer gentoo org> AuthorDate: Tue Jan 3 00:41:13 2017 + Commit: Marc Schiffbauer gentoo org> CommitDate: Tue Jan 3 00:41:45 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1ddf3ae sys-cluster/sanlock: disable disfunctional ExecStartPre= in wdmd service Package-Manager: Portage-2.3.3, Repoman-2.3.1 sys-cluster/sanlock/sanlock-3.4.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/sys-cluster/sanlock/sanlock-3.4.0.ebuild b/sys-cluster/sanlock/sanlock-3.4.0.ebuild index 9e0358e..a235166 100644 --- a/sys-cluster/sanlock/sanlock-3.4.0.ebuild +++ b/sys-cluster/sanlock/sanlock-3.4.0.ebuild @@ -77,6 +77,7 @@ src_install() { # 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
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/, sys-cluster/sanlock/files/
commit: 54c9e81337a454689d400a290d416f4590d32c97 Author: Marc Schiffbauer gentoo org> AuthorDate: Mon Jan 2 00:16:38 2017 + Commit: Marc Schiffbauer gentoo org> CommitDate: Mon Jan 2 00:17:14 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54c9e813 sys-cluster/sanlock: added new package Package-Manager: Portage-2.3.3, Repoman-2.3.1 sys-cluster/sanlock/Manifest | 1 + sys-cluster/sanlock/files/sanlock.initd | 9 sys-cluster/sanlock/files/wdmd.initd | 12 + sys-cluster/sanlock/metadata.xml | 12 + sys-cluster/sanlock/sanlock-3.4.0.ebuild | 83 5 files changed, 117 insertions(+) diff --git a/sys-cluster/sanlock/Manifest b/sys-cluster/sanlock/Manifest new file mode 100644 index ..7a3cd9c --- /dev/null +++ b/sys-cluster/sanlock/Manifest @@ -0,0 +1 @@ +DIST sanlock-3.4.0.tar.xz 157016 SHA256 b4b18eb0af1bfc730a037f9da7dd84777c9a4ceb1a1ac2e577705124c4c9e891 SHA512 8a10faaa5b9ce9f0506ca16620ad482804c9ca860b84a60a6f0b525a256059229a202163d366a57fb59169c0f4f822ced570b42562e412747f6f716509341f19 WHIRLPOOL 500ccc9ab323bed28fc6b65dbdc04588deae03d3bb500ab623b9b922c436db896b793965bf4e780800138cd780d4fb659a952dc064bb01065e629c69062c330e diff --git a/sys-cluster/sanlock/files/sanlock.initd b/sys-cluster/sanlock/files/sanlock.initd new file mode 100644 index ..30a5c1e --- /dev/null +++ b/sys-cluster/sanlock/files/sanlock.initd @@ -0,0 +1,9 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +pidfile="/var/run/snlock.pid" +command="/usr/sbin/snlock" +command_args="daemon ${SANLOCKOPTS:-"-U sanlock -G sanlock"}" + diff --git a/sys-cluster/sanlock/files/wdmd.initd b/sys-cluster/sanlock/files/wdmd.initd new file mode 100644 index ..70140f0 --- /dev/null +++ b/sys-cluster/sanlock/files/wdmd.initd @@ -0,0 +1,12 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +pidfile="/var/run/wdmd.pid" +command="/usr/sbin/wdmd" +command_args="${WDMDOPTS:-"-G sanlock"}" + +start_pre() { + $command -p || exit 1 +} diff --git a/sys-cluster/sanlock/metadata.xml b/sys-cluster/sanlock/metadata.xml new file mode 100644 index ..f854e20 --- /dev/null +++ b/sys-cluster/sanlock/metadata.xml @@ -0,0 +1,12 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + msch...@gentoo.org + Marc Schiffbauer + + + clus...@gentoo.org + Gentoo Cluster Project + + diff --git a/sys-cluster/sanlock/sanlock-3.4.0.ebuild b/sys-cluster/sanlock/sanlock-3.4.0.ebuild new file mode 100644 index ..9e0358e --- /dev/null +++ b/sys-cluster/sanlock/sanlock-3.4.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) +inherit linux-info python-r1 systemd user + +DESCRIPTION="shared storage lock manager" +HOMEPAGE="https://fedorahosted.org/sanlock/; +SRC_URI="https://git.fedorahosted.org/cgit/${PN}.git/snapshot/${P}.tar.xz; + +LICENSE="LGPL-2+ GPL-2 GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="python" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +DEPEND=" + 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() { + enewuser sanlock + enewgroup sanlock +} + +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 +