From: Marty E. Plummer Date: Sun, 20 May 2018 23:47:10 +0000 (-0500) Subject: www-apache/modsec-flameeyes: git-2->git-r3 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=3316755ba6657748293c9df96eef227e4dc5be22;p=gentoo.git www-apache/modsec-flameeyes: git-2->git-r3 Closes: https://github.com/gentoo/gentoo/pull/8502 Package-Manager: Portage-2.3.38, Repoman-2.3.9 Signed-off-by: Johannes Huber --- diff --git a/www-apache/modsec-flameeyes/modsec-flameeyes-20130216.ebuild b/www-apache/modsec-flameeyes/modsec-flameeyes-20130216.ebuild index 673802ff0da1..6428a8a1346d 100644 --- a/www-apache/modsec-flameeyes/modsec-flameeyes-20130216.ebuild +++ b/www-apache/modsec-flameeyes/modsec-flameeyes-20130216.ebuild @@ -1,22 +1,22 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 -inherit readme.gentoo - -GITHUB_USER=Flameeyes -GITHUB_PROJECT=${PN} - -EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}.git" +inherit readme.gentoo-r1 DESCRIPTION="Flameeyes's Ruleset for ModSecurity" HOMEPAGE="http://www.flameeyes.eu/projects/modsec" -SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/${PV}.tar.gz -> ${P}.tar.gz" +if [[ ${PV} == "99999999" ]]; then + EGIT_REPO_URI="https://github.com/Flameeyes/modsec-flameeyes.git" + inherit git-r3 +else + KEYWORDS="~amd64" + SRC_URI="https://github.com/Flameeyes/modsec-flameeyes/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi LICENSE="CC-BY-SA-3.0" SLOT="0" -KEYWORDS="~amd64" RDEPEND=">=www-apache/mod_security-2.5.1" DEPEND="" diff --git a/www-apache/modsec-flameeyes/modsec-flameeyes-99999999.ebuild b/www-apache/modsec-flameeyes/modsec-flameeyes-99999999.ebuild index b8557517b9b3..6428a8a1346d 100644 --- a/www-apache/modsec-flameeyes/modsec-flameeyes-99999999.ebuild +++ b/www-apache/modsec-flameeyes/modsec-flameeyes-99999999.ebuild @@ -1,22 +1,22 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 -inherit readme.gentoo git-2 - -GITHUB_USER=Flameeyes -GITHUB_PROJECT=${PN} - -EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}.git" +inherit readme.gentoo-r1 DESCRIPTION="Flameeyes's Ruleset for ModSecurity" HOMEPAGE="http://www.flameeyes.eu/projects/modsec" -#SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/${PV}.tar.gz -> ${P}.tar.gz" +if [[ ${PV} == "99999999" ]]; then + EGIT_REPO_URI="https://github.com/Flameeyes/modsec-flameeyes.git" + inherit git-r3 +else + KEYWORDS="~amd64" + SRC_URI="https://github.com/Flameeyes/modsec-flameeyes/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi LICENSE="CC-BY-SA-3.0" SLOT="0" -KEYWORDS="" RDEPEND=">=www-apache/mod_security-2.5.1" DEPEND=""