From c333e4edb79f74a3823841bd08330150a71c369f Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sat, 10 Apr 2021 09:18:39 +0200 Subject: dev-erlang/epam: migrate to GLEP 81: depend on acct-group/epam Closes: https://bugs.gentoo.org/755185 Signed-off-by: Florian Schmaus Signed-off-by: Sam James --- dev-erlang/epam/epam-1.0.8-r1.ebuild | 32 ++++++++++++++++++++++++++++++++ dev-erlang/epam/epam-1.0.8.ebuild | 33 --------------------------------- dev-erlang/epam/epam-1.0.9-r1.ebuild | 32 ++++++++++++++++++++++++++++++++ dev-erlang/epam/epam-1.0.9.ebuild | 33 --------------------------------- 4 files changed, 64 insertions(+), 66 deletions(-) create mode 100644 dev-erlang/epam/epam-1.0.8-r1.ebuild delete mode 100644 dev-erlang/epam/epam-1.0.8.ebuild create mode 100644 dev-erlang/epam/epam-1.0.9-r1.ebuild delete mode 100644 dev-erlang/epam/epam-1.0.9.ebuild (limited to 'dev-erlang') diff --git a/dev-erlang/epam/epam-1.0.8-r1.ebuild b/dev-erlang/epam/epam-1.0.8-r1.ebuild new file mode 100644 index 000000000000..cc1bc6c2e84d --- /dev/null +++ b/dev-erlang/epam/epam-1.0.8-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit rebar + +DESCRIPTION="epam for ejabberd to help with PAM authentication support" +HOMEPAGE="https://github.com/processone/epam" +SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86" + +DEPEND=" + acct-group/epam + >=dev-lang/erlang-17.1 + sys-libs/pam +" +RDEPEND="${DEPEND}" + +DOCS=( CHANGELOG.md README.md ) + +src_install() { + rebar_src_install + + local epam_path="$(get_erl_libs)/${P}/priv/bin/epam" + fowners root:"${PN}" "${epam_path}" + fperms 4750 "${epam_path}" +} diff --git a/dev-erlang/epam/epam-1.0.8.ebuild b/dev-erlang/epam/epam-1.0.8.ebuild deleted file mode 100644 index 8d61dee63ee8..000000000000 --- a/dev-erlang/epam/epam-1.0.8.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit rebar user - -DESCRIPTION="epam for ejabberd to help with PAM authentication support" -HOMEPAGE="https://github.com/processone/epam" -SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86" - -DEPEND=">=dev-lang/erlang-17.1 - sys-libs/pam" -RDEPEND="${DEPEND}" - -DOCS=( CHANGELOG.md README.md ) - -pkg_setup() { - enewgroup "${PN}" -} - -src_install() { - rebar_src_install - - local epam_path="$(get_erl_libs)/${P}/priv/bin/epam" - fowners root:"${PN}" "${epam_path}" - fperms 4750 "${epam_path}" -} diff --git a/dev-erlang/epam/epam-1.0.9-r1.ebuild b/dev-erlang/epam/epam-1.0.9-r1.ebuild new file mode 100644 index 000000000000..ced309ebcc0a --- /dev/null +++ b/dev-erlang/epam/epam-1.0.9-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit rebar + +DESCRIPTION="epam for ejabberd to help with PAM authentication support" +HOMEPAGE="https://github.com/processone/epam" +SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +DEPEND=" + acct-group/epam + >=dev-lang/erlang-17.1 + sys-libs/pam +" +RDEPEND="${DEPEND}" + +DOCS=( CHANGELOG.md README.md ) + +src_install() { + rebar_src_install + + local epam_path="$(get_erl_libs)/${P}/priv/bin/epam" + fowners root:"${PN}" "${epam_path}" + fperms 4750 "${epam_path}" +} diff --git a/dev-erlang/epam/epam-1.0.9.ebuild b/dev-erlang/epam/epam-1.0.9.ebuild deleted file mode 100644 index bc3c599bafe4..000000000000 --- a/dev-erlang/epam/epam-1.0.9.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit rebar user - -DESCRIPTION="epam for ejabberd to help with PAM authentication support" -HOMEPAGE="https://github.com/processone/epam" -SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" - -DEPEND=">=dev-lang/erlang-17.1 - sys-libs/pam" -RDEPEND="${DEPEND}" - -DOCS=( CHANGELOG.md README.md ) - -pkg_setup() { - enewgroup "${PN}" -} - -src_install() { - rebar_src_install - - local epam_path="$(get_erl_libs)/${P}/priv/bin/epam" - fowners root:"${PN}" "${epam_path}" - fperms 4750 "${epam_path}" -} -- cgit v1.2.3-65-gdbad