www-apache/modsec-flameeyes: git-2->git-r3
authorMarty E. Plummer <hanetzer@startmail.com>
Sun, 20 May 2018 23:47:10 +0000 (18:47 -0500)
committerJohannes Huber <johu@gentoo.org>
Sun, 27 May 2018 21:59:34 +0000 (23:59 +0200)
Closes: https://github.com/gentoo/gentoo/pull/8502
Package-Manager: Portage-2.3.38, Repoman-2.3.9
Signed-off-by: Johannes Huber <johu@gentoo.org>
www-apache/modsec-flameeyes/modsec-flameeyes-20130216.ebuild
www-apache/modsec-flameeyes/modsec-flameeyes-99999999.ebuild

index 673802ff0da120780a1d8b7541ff663a47305205..6428a8a1346d165ce482f457b6158d4eb78faeda 100644 (file)
@@ -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=""
index b8557517b9b30f13485378871c465fe05028b732..6428a8a1346d165ce482f457b6158d4eb78faeda 100644 (file)
@@ -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=""