public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/fortify-headers/
Date: Wed,  9 Jun 2021 23:56:13 +0000 (UTC)	[thread overview]
Message-ID: <1623282949.7589439e29ef225b4fd936af8203f8ae8969021b.sam@gentoo> (raw)

commit:     7589439e29ef225b4fd936af8203f8ae8969021b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  9 22:48:53 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun  9 23:55:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7589439e

sys-libs/fortify-headers: add 1.1

Closes: https://bugs.gentoo.org/716234
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/fortify-headers/Manifest                  |  1 +
 .../fortify-headers/fortify-headers-0.6.ebuild     |  5 +--
 .../fortify-headers/fortify-headers-0.7.ebuild     |  5 +--
 .../fortify-headers/fortify-headers-1.1.ebuild     | 36 ++++++++++++++++++++++
 .../fortify-headers/fortify-headers-9999.ebuild    | 30 +++++++++++-------
 5 files changed, 62 insertions(+), 15 deletions(-)

diff --git a/sys-libs/fortify-headers/Manifest b/sys-libs/fortify-headers/Manifest
index f31dc4adc86..3884323f635 100644
--- a/sys-libs/fortify-headers/Manifest
+++ b/sys-libs/fortify-headers/Manifest
@@ -1,2 +1,3 @@
 DIST fortify-headers-0.6.tar.gz 5339 BLAKE2B 404a20de075551e11750f989e05d78f450b09fc879a7ff4b649773ebc012a93c42432cc7b60c70843a375d64f6aea3ec356cdfafc0133f8cc58dadfea9b982d3 SHA512 6106219332515e7c23354d916383cdac6efccba7eefa13b0c2c221d0fd03be7afb29b3a8622bd29b62ee0b602f9d1f273e1a08c07583bdcd12db9938ef4d7acc
 DIST fortify-headers-0.7.tar.gz 5524 BLAKE2B 76ec4ee5b50bc77db05bf45a4a5550f3a369e5a49e333cd095613acbc04794d074103f3110c353a3283757f12cec866c45ed7d71ef4509667cae49926ee6953a SHA512 9335d5042f973904cf131d4894c71d3d25c84e82427500064a4ed3f798abd8051c3b52375a17c807ca89227115fa5ba9922939f0e86059a9f04fee61f0b69e53
+DIST fortify-headers-1.1.tar.gz 5510 BLAKE2B d0454ad3ba432c051aeabfffad82799fae4ef37c07a8d2b8efcc26cd867dea8b31586f312d2947cb7e6ef7eedcacc3bb68591be4409376cc702ffbbafe144ea0 SHA512 a39d6e7c002bf91085f712aa46bc3f53ff934cc963694a229fa82d84ff4a7556105212a84a231ab5367c01c6a1e385172173f1f4a34d5eb4d2d9c58472c23dd0

diff --git a/sys-libs/fortify-headers/fortify-headers-0.6.ebuild b/sys-libs/fortify-headers/fortify-headers-0.6.ebuild
index 9f9374176ea..e717acf59e4 100644
--- a/sys-libs/fortify-headers/fortify-headers-0.6.ebuild
+++ b/sys-libs/fortify-headers/fortify-headers-0.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,7 +7,8 @@ if [[ ${PV} == *9999* ]] ; then
 	EGIT_REPO_URI="git://git.2f30.org/fortify-headers"
 	inherit git-r3
 else
-	SRC_URI="http://git.2f30.org/fortify-headers/snapshot/fortify-headers-${PV}.tar.gz"
+	#SRC_URI="http://git.2f30.org/fortify-headers/snapshot/fortify-headers-${PV}.tar.gz"
+	SRC_URI="https://dl.2f30.org/releases/${P}.tar.gz"
 	KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
 fi
 

diff --git a/sys-libs/fortify-headers/fortify-headers-0.7.ebuild b/sys-libs/fortify-headers/fortify-headers-0.7.ebuild
index 9f9374176ea..e717acf59e4 100644
--- a/sys-libs/fortify-headers/fortify-headers-0.7.ebuild
+++ b/sys-libs/fortify-headers/fortify-headers-0.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,7 +7,8 @@ if [[ ${PV} == *9999* ]] ; then
 	EGIT_REPO_URI="git://git.2f30.org/fortify-headers"
 	inherit git-r3
 else
-	SRC_URI="http://git.2f30.org/fortify-headers/snapshot/fortify-headers-${PV}.tar.gz"
+	#SRC_URI="http://git.2f30.org/fortify-headers/snapshot/fortify-headers-${PV}.tar.gz"
+	SRC_URI="https://dl.2f30.org/releases/${P}.tar.gz"
 	KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
 fi
 

diff --git a/sys-libs/fortify-headers/fortify-headers-1.1.ebuild b/sys-libs/fortify-headers/fortify-headers-1.1.ebuild
new file mode 100644
index 00000000000..5347e1e5768
--- /dev/null
+++ b/sys-libs/fortify-headers/fortify-headers-1.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == *9999* ]] ; then
+	EGIT_REPO_URI="git://git.2f30.org/fortify-headers"
+	inherit git-r3
+else
+	#SRC_URI="http://git.2f30.org/fortify-headers/snapshot/fortify-headers-${PV}.tar.gz"
+	SRC_URI="https://dl.2f30.org/releases/${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
+fi
+
+DESCRIPTION="A standalone implementation of fortify source"
+HOMEPAGE="http://git.2f30.org/fortify-headers/"
+
+LICENSE="ISC"
+SLOT="0"
+
+src_prepare() {
+	sed -i -e 's|^PREFIX = /usr/local|PREFIX = /usr|g' Makefile || die
+	default
+}
+
+src_compile() {
+	# Nothing to do here but defining a dummy phase allows us to not trigger
+	# the catch-all rule and try to install here where we don't have access
+	# to ${ED}
+	:;
+}
+
+src_install() {
+	export DESTDIR="${ED}"
+	default
+}

diff --git a/sys-libs/fortify-headers/fortify-headers-9999.ebuild b/sys-libs/fortify-headers/fortify-headers-9999.ebuild
index 9f9374176ea..5347e1e5768 100644
--- a/sys-libs/fortify-headers/fortify-headers-9999.ebuild
+++ b/sys-libs/fortify-headers/fortify-headers-9999.ebuild
@@ -1,28 +1,36 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 if [[ ${PV} == *9999* ]] ; then
 	EGIT_REPO_URI="git://git.2f30.org/fortify-headers"
 	inherit git-r3
 else
-	SRC_URI="http://git.2f30.org/fortify-headers/snapshot/fortify-headers-${PV}.tar.gz"
+	#SRC_URI="http://git.2f30.org/fortify-headers/snapshot/fortify-headers-${PV}.tar.gz"
+	SRC_URI="https://dl.2f30.org/releases/${P}.tar.gz"
 	KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
 fi
 
-DESCRIPTION="A standalone implementation of fortify source."
+DESCRIPTION="A standalone implementation of fortify source"
 HOMEPAGE="http://git.2f30.org/fortify-headers/"
 
 LICENSE="ISC"
 SLOT="0"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
 
 src_prepare() {
-	sed -i -e 's|^PREFIX = /usr/local|PREFIX = /usr|g' Makefile
-	export DESTDIR="${D}"
-	eapply_user
+	sed -i -e 's|^PREFIX = /usr/local|PREFIX = /usr|g' Makefile || die
+	default
+}
+
+src_compile() {
+	# Nothing to do here but defining a dummy phase allows us to not trigger
+	# the catch-all rule and try to install here where we don't have access
+	# to ${ED}
+	:;
+}
+
+src_install() {
+	export DESTDIR="${ED}"
+	default
 }


             reply	other threads:[~2021-06-09 23:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-09 23:56 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-10-24  0:11 [gentoo-commits] repo/gentoo:master commit in: sys-libs/fortify-headers/ Sam James
2023-10-24  0:11 Sam James
2023-10-23 22:49 Sam James
2022-11-20  8:12 Sam James
2021-12-26  0:20 Sam James
2021-06-09 23:56 Sam James
2021-06-09 23:56 Sam James
2018-04-30  8:37 Anthony G. Basile
2018-04-27 22:11 Anthony G. Basile
2015-08-14  5:51 Anthony G. Basile
2015-08-14  5:51 Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1623282949.7589439e29ef225b4fd936af8203f8ae8969021b.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox