commit:     3316755ba6657748293c9df96eef227e4dc5be22
Author:     Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Sun May 20 23:47:10 2018 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sun May 27 21:59:34 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3316755b

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 <johu <AT> gentoo.org>

 .../modsec-flameeyes-20130216.ebuild                 | 20 ++++++++++----------
 .../modsec-flameeyes-99999999.ebuild                 | 20 ++++++++++----------
 2 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/www-apache/modsec-flameeyes/modsec-flameeyes-20130216.ebuild 
b/www-apache/modsec-flameeyes/modsec-flameeyes-20130216.ebuild
index 673802ff0da..6428a8a1346 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 b8557517b9b..6428a8a1346 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=""

Reply via email to