From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/its4/
Date: Thu, 30 Mar 2017 18:29:53 +0000 (UTC) [thread overview]
Message-ID: <1490898589.4d7bcfa241bab041f0b924c534db5fe9b7e53877.robbat2@gentoo> (raw)
commit: 4d7bcfa241bab041f0b924c534db5fe9b7e53877
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 30 18:01:47 2017 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Thu Mar 30 18:29:49 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d7bcfa2
dev-util/its4: LDFLAGS, Manifests, license
- LDFLAGS/g++/EAPI/keywords fix from Michael Mair-Keimberger (iamnr3)
<bu9zilla <AT> gmail.com>, per bug #337724.
- Update Manifests to include WHIRLPOOL & SHA256 per bug 612732.
- License Review: fetch & unmodified mirroring is permitted.
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=337724
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=612732
Package-Manager: portage-2.3.3
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
dev-util/its4/Manifest | 2 +-
.../{its4-1.1.1.ebuild => its4-1.1.1-r1.ebuild} | 35 ++++++++++++----------
dev-util/its4/its4-1.1.1.ebuild | 8 +----
3 files changed, 22 insertions(+), 23 deletions(-)
diff --git a/dev-util/its4/Manifest b/dev-util/its4/Manifest
index c42070e059d..47c4c8d9913 100644
--- a/dev-util/its4/Manifest
+++ b/dev-util/its4/Manifest
@@ -1 +1 @@
-DIST its4-1.1.1.tgz 59759 RMD160 7f3fef7b7f5c6cf4f7e203481a44957bcf74e606 SHA1 f95711fad1a10ca127514132db04791a01088d77 SHA256 386ca694c969108863f3e5c0571ea8c5cbdc288dd13e12ba573a592844682df4
+DIST its4-1.1.1.tgz 59759 SHA256 386ca694c969108863f3e5c0571ea8c5cbdc288dd13e12ba573a592844682df4 SHA512 c7bfa71eba114ab3aac586dfa5f30c7a935f06d72b78bae3c3d464f591085cf3419a1d23ab951376bd9c2d7e436711a45c9f5047c3125df5d731b746412be0f6 WHIRLPOOL b734a79abb2eb2a3df330f06852d35aee61c451419fe915fdc0788dbcc9eb51ef282f8bdc9aac2d712fa2bdc21b23a743da9a55dd66fa0a58229036bb1b2e8c8
diff --git a/dev-util/its4/its4-1.1.1.ebuild b/dev-util/its4/its4-1.1.1-r1.ebuild
similarity index 66%
copy from dev-util/its4/its4-1.1.1.ebuild
copy to dev-util/its4/its4-1.1.1-r1.ebuild
index a7e86e1dd3d..e000308a5cb 100644
--- a/dev-util/its4/its4-1.1.1.ebuild
+++ b/dev-util/its4/its4-1.1.1-r1.ebuild
@@ -1,36 +1,41 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+EAPI="5"
+
+inherit eutils
+
DESCRIPTION="ITS4: Software Security Tool"
HOMEPAGE="http://www.cigital.com/its4/"
SRC_URI="${P}.tgz"
LICENSE="ITS4"
SLOT="0"
-KEYWORDS="x86 ppc"
+KEYWORDS="~x86 ~ppc ~amd64"
IUSE=""
-DEPEND="sys-devel/gcc"
-RESTRICT="mirror fetch"
-#RDEPEND=""
-S="${WORKDIR}/${PN}"
-pkg_nofetch() {
- einfo "Please visit ${HOMEPAGE} to download the source, and place it in"
- einfo "${DISTDIR}"
-}
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${PN}"
-src_unpack() {
- unpack ${A}
+src_prepare() {
sed -i \
-e 's,iostream.h,iostream,g'\
- "${S}"/configure
+ "${S}"/configure || die
+ sed -i \
+ -e 's/$(CC) -o/$(CC) $(OPTIMIZATION) $(EXTRA_FLAGS) -o/' \
+ "${S}"/Makefile.in || die
}
-src_compile() {
+src_configure() {
# WARNING
# non-standard configure
# do NOT use econf
./configure --prefix=/usr --mandir=/usr/share/man --datadir=/usr/share/its4 || die "configure failed"
- emake OPTIMIZATION="${CXXFLAGS}" || die "emake failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCXX)" OPTIMIZATION="${CXXFLAGS}" EXTRA_FLAGS="${LDFLAGS}"
}
src_install() {
diff --git a/dev-util/its4/its4-1.1.1.ebuild b/dev-util/its4/its4-1.1.1.ebuild
index a7e86e1dd3d..fab10d76369 100644
--- a/dev-util/its4/its4-1.1.1.ebuild
+++ b/dev-util/its4/its4-1.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
DESCRIPTION="ITS4: Software Security Tool"
@@ -9,15 +9,9 @@ SLOT="0"
KEYWORDS="x86 ppc"
IUSE=""
DEPEND="sys-devel/gcc"
-RESTRICT="mirror fetch"
#RDEPEND=""
S="${WORKDIR}/${PN}"
-pkg_nofetch() {
- einfo "Please visit ${HOMEPAGE} to download the source, and place it in"
- einfo "${DISTDIR}"
-}
-
src_unpack() {
unpack ${A}
sed -i \
next reply other threads:[~2017-03-30 18:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-30 18:29 Robin H. Johnson [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-03-30 20:25 [gentoo-commits] repo/gentoo:master commit in: dev-util/its4/ Robin H. Johnson
2019-10-07 13:53 Michał Górny
2022-02-20 0:31 Sam James
2022-02-20 0:31 Sam James
2022-03-15 19:44 Jakov Smolić
2022-03-15 19:54 Sam James
2022-03-20 0:16 Sam James
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=1490898589.4d7bcfa241bab041f0b924c534db5fe9b7e53877.robbat2@gentoo \
--to=robbat2@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