public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-devel/smatch/
@ 2021-11-14  9:19 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2021-11-14  9:19 UTC (permalink / raw
  To: gentoo-commits

commit:     09b3cac4ccd5d7065c4cf0538af85ac67dfb6d5e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 14 09:18:46 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 14 09:19:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09b3cac4

sys-devel/smatch: use HTTPS for EGIT_REPO_URI

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/smatch/smatch-1.60.ebuild | 4 ++--
 sys-devel/smatch/smatch-1.72.ebuild | 4 ++--
 sys-devel/smatch/smatch-9999.ebuild | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-devel/smatch/smatch-1.60.ebuild b/sys-devel/smatch/smatch-1.60.ebuild
index 4a6c5f79460c..04dfbb1b49ac 100644
--- a/sys-devel/smatch/smatch-1.60.ebuild
+++ b/sys-devel/smatch/smatch-1.60.ebuild
@@ -5,8 +5,8 @@ EAPI=7
 
 inherit toolchain-funcs
 if [[ ${PV} == "9999" ]] ; then
-	EGIT_REPO_URI="git://repo.or.cz/${PN}.git
-		http://repo.or.cz/r/${PN}.git"
+	EGIT_REPO_URI="https://repo.or.cz/${PN}.git
+		https://repo.or.cz/r/${PN}.git"
 	inherit git-r3
 else
 	SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz

diff --git a/sys-devel/smatch/smatch-1.72.ebuild b/sys-devel/smatch/smatch-1.72.ebuild
index cb53b5afd462..9006835c81bb 100644
--- a/sys-devel/smatch/smatch-1.72.ebuild
+++ b/sys-devel/smatch/smatch-1.72.ebuild
@@ -5,8 +5,8 @@ EAPI=7
 
 inherit toolchain-funcs
 if [[ ${PV} == "9999" ]] ; then
-	EGIT_REPO_URI="git://repo.or.cz/${PN}.git
-		http://repo.or.cz/r/${PN}.git"
+	EGIT_REPO_URI="https://repo.or.cz/${PN}.git
+		https://repo.or.cz/r/${PN}.git"
 	inherit git-r3
 else
 	SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz

diff --git a/sys-devel/smatch/smatch-9999.ebuild b/sys-devel/smatch/smatch-9999.ebuild
index cb53b5afd462..9006835c81bb 100644
--- a/sys-devel/smatch/smatch-9999.ebuild
+++ b/sys-devel/smatch/smatch-9999.ebuild
@@ -5,8 +5,8 @@ EAPI=7
 
 inherit toolchain-funcs
 if [[ ${PV} == "9999" ]] ; then
-	EGIT_REPO_URI="git://repo.or.cz/${PN}.git
-		http://repo.or.cz/r/${PN}.git"
+	EGIT_REPO_URI="https://repo.or.cz/${PN}.git
+		https://repo.or.cz/r/${PN}.git"
 	inherit git-r3
 else
 	SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-devel/smatch/
@ 2022-06-23  6:31 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2022-06-23  6:31 UTC (permalink / raw
  To: gentoo-commits

commit:     79f210dd11309f53652a3e78d2991a53d926653b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 23 06:30:30 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 23 06:31:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79f210dd

sys-devel/smatch: drop 1.60

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/smatch/Manifest           |  1 -
 sys-devel/smatch/smatch-1.60.ebuild | 69 -------------------------------------
 2 files changed, 70 deletions(-)

diff --git a/sys-devel/smatch/Manifest b/sys-devel/smatch/Manifest
index a99bf33cb4d0..9ca3a1ada7b3 100644
--- a/sys-devel/smatch/Manifest
+++ b/sys-devel/smatch/Manifest
@@ -1,2 +1 @@
-DIST smatch-1.60.tar.gz 558479 BLAKE2B d5e564c32e33dc38847f9a258b4b47285f190652181db9b8850c832c0cf4d8a3302d989a7b42592e73a713927a29565565e83a9be1b0a5c9d10869fce278a0be SHA512 2920c9d4c500db36cfa60db5be70d157ed16abd729279462faef6f79e0756bd017ec91b8f857d19fdebd8a9d709b0555635700a2864cf0a84daa61cf2ca3eecd
 DIST smatch-1.72.tar.gz 1431923 BLAKE2B ec4119fce985876afc9a46a74a0a56e8e8cb271a964c16496972c59ade95aa3d2df3a839a819e31cb081ca8a3b1f6bf6934ec97d73209091cfd86c87c1433557 SHA512 6d12e9ba85f332fcc56657296596e811cf3b75d4ad37007e07feb31baa4b315732361915972a2139ae13f75b8a73f953488ceb9de41529db9e84c81fb6fde77e

diff --git a/sys-devel/smatch/smatch-1.60.ebuild b/sys-devel/smatch/smatch-1.60.ebuild
deleted file mode 100644
index 04dfbb1b49ac..000000000000
--- a/sys-devel/smatch/smatch-1.60.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-if [[ ${PV} == "9999" ]] ; then
-	EGIT_REPO_URI="https://repo.or.cz/${PN}.git
-		https://repo.or.cz/r/${PN}.git"
-	inherit git-r3
-else
-	SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz
-		mirror://gentoo/${P}.tar.gz"
-	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-	S=${WORKDIR}/${PN}
-fi
-
-DESCRIPTION="Static analysis tool for C"
-HOMEPAGE="http://smatch.sourceforge.net/"
-
-LICENSE="OSL-1.1"
-SLOT="0"
-IUSE=""
-
-RDEPEND="dev-db/sqlite"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S=${WORKDIR}/${P}-7a4fdad
-
-src_prepare() {
-	default
-
-	sed -i \
-		-e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \
-		-e 's:pkg-config:$(PKG_CONFIG):' \
-		Makefile || die
-}
-
-_emake() {
-	# gtk/llvm/xml is used by sparse which we don't install
-	emake \
-		PREFIX="${EPREFIX}/usr" \
-		V=1 \
-		AR="$(tc-getAR)" \
-		CC="$(tc-getCC)" \
-		LD='$(CC)' \
-		PKG_CONFIG="$(tc-getPKG_CONFIG)" \
-		HAVE_GTK2=no \
-		HAVE_LLVM=no \
-		HAVE_LIBXML=no \
-		"$@"
-}
-
-src_compile() {
-	_emake smatch
-}
-
-src_test() {
-	_emake check
-}
-
-src_install() {
-	# default install target installs a lot of sparse cruft
-	dobin smatch
-	insinto /usr/share/smatch/smatch_data
-	doins smatch_data/*
-	dodoc FAQ README
-}


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-devel/smatch/
@ 2022-06-23  6:31 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2022-06-23  6:31 UTC (permalink / raw
  To: gentoo-commits

commit:     b5442c09cd3f9cbc3b5024cd48282c568fb2427e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 23 06:31:07 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 23 06:31:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5442c09

sys-devel/smatch: fix LICENSE

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

 sys-devel/smatch/smatch-1.72.ebuild | 7 ++++---
 sys-devel/smatch/smatch-9999.ebuild | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/sys-devel/smatch/smatch-1.72.ebuild b/sys-devel/smatch/smatch-1.72.ebuild
index 9006835c81bb..adff98d916f1 100644
--- a/sys-devel/smatch/smatch-1.72.ebuild
+++ b/sys-devel/smatch/smatch-1.72.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 inherit toolchain-funcs
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == 9999 ]] ; then
 	EGIT_REPO_URI="https://repo.or.cz/${PN}.git
 		https://repo.or.cz/r/${PN}.git"
 	inherit git-r3
@@ -20,7 +20,8 @@ fi
 DESCRIPTION="Static analysis tool for C"
 HOMEPAGE="http://smatch.sourceforge.net/"
 
-LICENSE="OSL-1.1"
+# bug #853733
+LICENSE="GPL-2+ MIT OSL-1.1"
 SLOT="0"
 
 RDEPEND="dev-db/sqlite"

diff --git a/sys-devel/smatch/smatch-9999.ebuild b/sys-devel/smatch/smatch-9999.ebuild
index 9006835c81bb..adff98d916f1 100644
--- a/sys-devel/smatch/smatch-9999.ebuild
+++ b/sys-devel/smatch/smatch-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 inherit toolchain-funcs
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == 9999 ]] ; then
 	EGIT_REPO_URI="https://repo.or.cz/${PN}.git
 		https://repo.or.cz/r/${PN}.git"
 	inherit git-r3
@@ -20,7 +20,8 @@ fi
 DESCRIPTION="Static analysis tool for C"
 HOMEPAGE="http://smatch.sourceforge.net/"
 
-LICENSE="OSL-1.1"
+# bug #853733
+LICENSE="GPL-2+ MIT OSL-1.1"
 SLOT="0"
 
 RDEPEND="dev-db/sqlite"


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-devel/smatch/
@ 2021-09-19  2:24 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2021-09-19  2:24 UTC (permalink / raw
  To: gentoo-commits

commit:     90d2fff5659cda17be523808f5cddbc76ddfea53
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 19 02:08:00 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 19 02:24:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90d2fff5

sys-devel/smatch: add 1.72

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/smatch/Manifest                                   |  1 +
 sys-devel/smatch/smatch-1.60.ebuild                         |  4 ++--
 sys-devel/smatch/{smatch-1.60.ebuild => smatch-1.72.ebuild} | 11 +++++------
 sys-devel/smatch/smatch-9999.ebuild                         | 12 +++++++-----
 4 files changed, 15 insertions(+), 13 deletions(-)

diff --git a/sys-devel/smatch/Manifest b/sys-devel/smatch/Manifest
index 758f2f83732..a99bf33cb4d 100644
--- a/sys-devel/smatch/Manifest
+++ b/sys-devel/smatch/Manifest
@@ -1 +1,2 @@
 DIST smatch-1.60.tar.gz 558479 BLAKE2B d5e564c32e33dc38847f9a258b4b47285f190652181db9b8850c832c0cf4d8a3302d989a7b42592e73a713927a29565565e83a9be1b0a5c9d10869fce278a0be SHA512 2920c9d4c500db36cfa60db5be70d157ed16abd729279462faef6f79e0756bd017ec91b8f857d19fdebd8a9d709b0555635700a2864cf0a84daa61cf2ca3eecd
+DIST smatch-1.72.tar.gz 1431923 BLAKE2B ec4119fce985876afc9a46a74a0a56e8e8cb271a964c16496972c59ade95aa3d2df3a839a819e31cb081ca8a3b1f6bf6934ec97d73209091cfd86c87c1433557 SHA512 6d12e9ba85f332fcc56657296596e811cf3b75d4ad37007e07feb31baa4b315732361915972a2139ae13f75b8a73f953488ceb9de41529db9e84c81fb6fde77e

diff --git a/sys-devel/smatch/smatch-1.60.ebuild b/sys-devel/smatch/smatch-1.60.ebuild
index 9423f1d108f..4a6c5f79460 100644
--- a/sys-devel/smatch/smatch-1.60.ebuild
+++ b/sys-devel/smatch/smatch-1.60.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ else
 	S=${WORKDIR}/${PN}
 fi
 
-DESCRIPTION="static analysis tool for C"
+DESCRIPTION="Static analysis tool for C"
 HOMEPAGE="http://smatch.sourceforge.net/"
 
 LICENSE="OSL-1.1"

diff --git a/sys-devel/smatch/smatch-1.60.ebuild b/sys-devel/smatch/smatch-1.72.ebuild
similarity index 90%
copy from sys-devel/smatch/smatch-1.60.ebuild
copy to sys-devel/smatch/smatch-1.72.ebuild
index 9423f1d108f..cb53b5afd46 100644
--- a/sys-devel/smatch/smatch-1.60.ebuild
+++ b/sys-devel/smatch/smatch-1.72.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,23 +11,22 @@ if [[ ${PV} == "9999" ]] ; then
 else
 	SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz
 		mirror://gentoo/${P}.tar.gz"
+	# Update on bumps
+	S="${WORKDIR}"/${P}-7f4b936
+
 	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-	S=${WORKDIR}/${PN}
 fi
 
-DESCRIPTION="static analysis tool for C"
+DESCRIPTION="Static analysis tool for C"
 HOMEPAGE="http://smatch.sourceforge.net/"
 
 LICENSE="OSL-1.1"
 SLOT="0"
-IUSE=""
 
 RDEPEND="dev-db/sqlite"
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
-S=${WORKDIR}/${P}-7a4fdad
-
 src_prepare() {
 	default
 

diff --git a/sys-devel/smatch/smatch-9999.ebuild b/sys-devel/smatch/smatch-9999.ebuild
index 8ba49a55ed4..cb53b5afd46 100644
--- a/sys-devel/smatch/smatch-9999.ebuild
+++ b/sys-devel/smatch/smatch-9999.ebuild
@@ -1,25 +1,27 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 inherit toolchain-funcs
 if [[ ${PV} == "9999" ]] ; then
+	EGIT_REPO_URI="git://repo.or.cz/${PN}.git
+		http://repo.or.cz/r/${PN}.git"
 	inherit git-r3
-	EGIT_REPO_URI="https://repo.or.cz/r/${PN}.git"
 else
 	SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz
 		mirror://gentoo/${P}.tar.gz"
+	# Update on bumps
+	S="${WORKDIR}"/${P}-7f4b936
+
 	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-	S=${WORKDIR}/${PN}
 fi
 
-DESCRIPTION="static analysis tool for C"
+DESCRIPTION="Static analysis tool for C"
 HOMEPAGE="http://smatch.sourceforge.net/"
 
 LICENSE="OSL-1.1"
 SLOT="0"
-IUSE=""
 
 RDEPEND="dev-db/sqlite"
 DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-devel/smatch/
@ 2020-05-22  7:33 Mike Frysinger
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger @ 2020-05-22  7:33 UTC (permalink / raw
  To: gentoo-commits

commit:     41189fa2e1db01515ef08662a76c3a58a75bc948
Author:     Mike Frysinger <vapier <AT> chromium <DOT> org>
AuthorDate: Fri May 22 07:09:49 2020 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri May 22 07:32:49 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41189fa2

sys-devel/smatch: avoid hardcoded pkg-config invocation

It's not a big deal here as we disable most deps, but it avoids
"command not found" errors when cross-compiling, and confusing
checkers looking for bad pkg-config invocation.

Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

 sys-devel/smatch/smatch-1.60.ebuild | 3 +++
 sys-devel/smatch/smatch-9999.ebuild | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/sys-devel/smatch/smatch-1.60.ebuild b/sys-devel/smatch/smatch-1.60.ebuild
index e8505ae64d2..9423f1d108f 100644
--- a/sys-devel/smatch/smatch-1.60.ebuild
+++ b/sys-devel/smatch/smatch-1.60.ebuild
@@ -24,6 +24,7 @@ IUSE=""
 
 RDEPEND="dev-db/sqlite"
 DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 S=${WORKDIR}/${P}-7a4fdad
 
@@ -32,6 +33,7 @@ src_prepare() {
 
 	sed -i \
 		-e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \
+		-e 's:pkg-config:$(PKG_CONFIG):' \
 		Makefile || die
 }
 
@@ -43,6 +45,7 @@ _emake() {
 		AR="$(tc-getAR)" \
 		CC="$(tc-getCC)" \
 		LD='$(CC)' \
+		PKG_CONFIG="$(tc-getPKG_CONFIG)" \
 		HAVE_GTK2=no \
 		HAVE_LLVM=no \
 		HAVE_LIBXML=no \

diff --git a/sys-devel/smatch/smatch-9999.ebuild b/sys-devel/smatch/smatch-9999.ebuild
index 4e3cca48e99..8ba49a55ed4 100644
--- a/sys-devel/smatch/smatch-9999.ebuild
+++ b/sys-devel/smatch/smatch-9999.ebuild
@@ -23,12 +23,14 @@ IUSE=""
 
 RDEPEND="dev-db/sqlite"
 DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
 	default
 
 	sed -i \
 		-e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \
+		-e 's:pkg-config:$(PKG_CONFIG):' \
 		Makefile || die
 }
 
@@ -40,6 +42,7 @@ _emake() {
 		AR="$(tc-getAR)" \
 		CC="$(tc-getCC)" \
 		LD='$(CC)' \
+		PKG_CONFIG="$(tc-getPKG_CONFIG)" \
 		HAVE_GTK2=no \
 		HAVE_LLVM=no \
 		HAVE_LIBXML=no \


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-devel/smatch/
@ 2019-04-04 22:05 Sergei Trofimovich
  0 siblings, 0 replies; 8+ messages in thread
From: Sergei Trofimovich @ 2019-04-04 22:05 UTC (permalink / raw
  To: gentoo-commits

commit:     5886a3caf593cc7a9a92c6fae9b149a5799a8843
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  4 22:04:00 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Apr  4 22:04:56 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5886a3ca

sys-devel/smatch: switch to https:// schema, bug #682508

Reported-by: Jeroen Roovers
Closes: https://bugs.gentoo.org/682508
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/smatch/smatch-9999.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/sys-devel/smatch/smatch-9999.ebuild b/sys-devel/smatch/smatch-9999.ebuild
index b8be38b5cad..7d4f2ee5897 100644
--- a/sys-devel/smatch/smatch-9999.ebuild
+++ b/sys-devel/smatch/smatch-9999.ebuild
@@ -1,13 +1,12 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="4"
+EAPI=7
 
 inherit toolchain-funcs
 if [[ ${PV} == "9999" ]] ; then
-	EGIT_REPO_URI="git://repo.or.cz/${PN}.git
-		http://repo.or.cz/r/${PN}.git"
 	inherit git-r3
+	EGIT_REPO_URI="https://repo.or.cz/r/${PN}.git"
 else
 	SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz
 		mirror://gentoo/${P}.tar.gz"
@@ -26,6 +25,8 @@ RDEPEND="dev-db/sqlite"
 DEPEND="${RDEPEND}"
 
 src_prepare() {
+	default
+
 	sed -i \
 		-e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \
 		Makefile || die


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-devel/smatch/
@ 2019-01-18  8:14 Sergei Trofimovich
  0 siblings, 0 replies; 8+ messages in thread
From: Sergei Trofimovich @ 2019-01-18  8:14 UTC (permalink / raw
  To: gentoo-commits

commit:     04421c9cd3e428422bec7916457c4bd3e9607e41
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 18 08:13:17 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jan 18 08:14:01 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04421c9c

sys-devel/smatch: bump up to 1.60

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/smatch/Manifest           |  1 +
 sys-devel/smatch/smatch-1.60.ebuild | 66 +++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/sys-devel/smatch/Manifest b/sys-devel/smatch/Manifest
index 68f734a52dd..fae3e61cc1f 100644
--- a/sys-devel/smatch/Manifest
+++ b/sys-devel/smatch/Manifest
@@ -1,2 +1,3 @@
 DIST smatch-1.57.tar.gz 491677 BLAKE2B 150ba84dc797497b2522d28b443a89fbec221a00fcade85014d434f675ec60908a473770c695dbf65a5ed273c3e665aa9dc4ec9a91bc071651388a9ec90f1bfa SHA512 031f417c97d58b617b2e375a28f509f71eb2735212a98aee0e21880a28842078ad3c24b5375a03f73d75fec582a9d187ed6a00a0512c4792e5ffce82dfd79b99
 DIST smatch-1.59.tar.gz 495530 BLAKE2B 668a050e229cd9b4e5881fe059f5a8654164f5a155c471559ce7a82e66bcb2170f89a25680be7ff867f2765b574f363ef95a15a65ca98d47dbd8aed20f588f9a SHA512 5e18f48dbbe11255a06b427205aefd1f8f5a11bb0b238f9134b89e6f5cb838fcae649a4e87a4a04473a33077c94e88aab46b06e33cc87cfe451fa83b5846ccc7
+DIST smatch-1.60.tar.gz 558479 BLAKE2B d5e564c32e33dc38847f9a258b4b47285f190652181db9b8850c832c0cf4d8a3302d989a7b42592e73a713927a29565565e83a9be1b0a5c9d10869fce278a0be SHA512 2920c9d4c500db36cfa60db5be70d157ed16abd729279462faef6f79e0756bd017ec91b8f857d19fdebd8a9d709b0555635700a2864cf0a84daa61cf2ca3eecd

diff --git a/sys-devel/smatch/smatch-1.60.ebuild b/sys-devel/smatch/smatch-1.60.ebuild
new file mode 100644
index 00000000000..ad8cb599056
--- /dev/null
+++ b/sys-devel/smatch/smatch-1.60.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+if [[ ${PV} == "9999" ]] ; then
+	EGIT_REPO_URI="git://repo.or.cz/${PN}.git
+		http://repo.or.cz/r/${PN}.git"
+	inherit git-r3
+else
+	SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz
+		mirror://gentoo/${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+	S=${WORKDIR}/${PN}
+fi
+
+DESCRIPTION="static analysis tool for C"
+HOMEPAGE="http://smatch.sourceforge.net/"
+
+LICENSE="OSL-1.1"
+SLOT="0"
+IUSE=""
+
+RDEPEND="dev-db/sqlite"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${P}-7a4fdad
+
+src_prepare() {
+	default
+
+	sed -i \
+		-e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \
+		Makefile || die
+}
+
+_emake() {
+	# gtk/llvm/xml is used by sparse which we don't install
+	emake \
+		PREFIX="${EPREFIX}/usr" \
+		V=1 \
+		AR="$(tc-getAR)" \
+		CC="$(tc-getCC)" \
+		LD='$(CC)' \
+		HAVE_GTK2=no \
+		HAVE_LLVM=no \
+		HAVE_LIBXML=no \
+		"$@"
+}
+
+src_compile() {
+	_emake smatch
+}
+
+src_test() {
+	_emake check
+}
+
+src_install() {
+	# default install target installs a lot of sparse cruft
+	dobin smatch
+	insinto /usr/share/smatch/smatch_data
+	doins smatch_data/*
+	dodoc FAQ README
+}


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-devel/smatch/
@ 2018-06-08 20:54 Sergei Trofimovich
  0 siblings, 0 replies; 8+ messages in thread
From: Sergei Trofimovich @ 2018-06-08 20:54 UTC (permalink / raw
  To: gentoo-commits

commit:     acec216640f9c35c0eb64631f00fc9576cd34f4b
Author:     Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Fri Jun  1 15:13:08 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jun  8 20:54:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acec2166

sys-devel/smatch: git-2->git-r3

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-devel/smatch/smatch-1.57-r1.ebuild | 7 +++----
 sys-devel/smatch/smatch-1.57.ebuild    | 7 +++----
 sys-devel/smatch/smatch-1.59.ebuild    | 7 +++----
 sys-devel/smatch/smatch-9999.ebuild    | 7 +++----
 4 files changed, 12 insertions(+), 16 deletions(-)

diff --git a/sys-devel/smatch/smatch-1.57-r1.ebuild b/sys-devel/smatch/smatch-1.57-r1.ebuild
index fd7fc3e72b9..6a2ec7381fa 100644
--- a/sys-devel/smatch/smatch-1.57-r1.ebuild
+++ b/sys-devel/smatch/smatch-1.57-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="4"
@@ -7,7 +7,7 @@ inherit multilib toolchain-funcs eutils
 if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="git://repo.or.cz/${PN}.git
 		http://repo.or.cz/r/${PN}.git"
-	inherit git-2
+	inherit git-r3
 fi
 
 DESCRIPTION="static analysis tool for C"
@@ -22,6 +22,7 @@ else
 	#SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz"
 	SRC_URI="mirror://gentoo/${P}.tar.gz"
 	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+	S=${WORKDIR}/${PN}
 fi
 
 LICENSE="OSL-1.1"
@@ -31,8 +32,6 @@ IUSE=""
 RDEPEND="dev-db/sqlite"
 DEPEND="${RDEPEND}"
 
-S=${WORKDIR}/${PN}
-
 src_prepare() {
 	epatch "${FILESDIR}"/${P}-restrict.patch
 	sed -i \

diff --git a/sys-devel/smatch/smatch-1.57.ebuild b/sys-devel/smatch/smatch-1.57.ebuild
index e807d204438..f232ca67e03 100644
--- a/sys-devel/smatch/smatch-1.57.ebuild
+++ b/sys-devel/smatch/smatch-1.57.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="4"
@@ -7,7 +7,7 @@ inherit multilib toolchain-funcs
 if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="git://repo.or.cz/${PN}.git
 		http://repo.or.cz/r/${PN}.git"
-	inherit git-2
+	inherit git-r3
 fi
 
 DESCRIPTION="static analysis tool for C"
@@ -22,6 +22,7 @@ else
 	#SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz"
 	SRC_URI="mirror://gentoo/${P}.tar.gz"
 	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+	S=${WORKDIR}/${PN}
 fi
 
 LICENSE="OSL-1.1"
@@ -31,8 +32,6 @@ IUSE=""
 RDEPEND="dev-db/sqlite"
 DEPEND="${RDEPEND}"
 
-S=${WORKDIR}/${PN}
-
 src_prepare() {
 	sed -i \
 		-e '/^PREFIX=/s:=.*:=/usr:' \

diff --git a/sys-devel/smatch/smatch-1.59.ebuild b/sys-devel/smatch/smatch-1.59.ebuild
index b2a8198a82c..b8be38b5cad 100644
--- a/sys-devel/smatch/smatch-1.59.ebuild
+++ b/sys-devel/smatch/smatch-1.59.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="4"
@@ -7,11 +7,12 @@ inherit toolchain-funcs
 if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="git://repo.or.cz/${PN}.git
 		http://repo.or.cz/r/${PN}.git"
-	inherit git-2
+	inherit git-r3
 else
 	SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz
 		mirror://gentoo/${P}.tar.gz"
 	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+	S=${WORKDIR}/${PN}
 fi
 
 DESCRIPTION="static analysis tool for C"
@@ -24,8 +25,6 @@ IUSE=""
 RDEPEND="dev-db/sqlite"
 DEPEND="${RDEPEND}"
 
-S=${WORKDIR}/${PN}
-
 src_prepare() {
 	sed -i \
 		-e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \

diff --git a/sys-devel/smatch/smatch-9999.ebuild b/sys-devel/smatch/smatch-9999.ebuild
index b2a8198a82c..b8be38b5cad 100644
--- a/sys-devel/smatch/smatch-9999.ebuild
+++ b/sys-devel/smatch/smatch-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="4"
@@ -7,11 +7,12 @@ inherit toolchain-funcs
 if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="git://repo.or.cz/${PN}.git
 		http://repo.or.cz/r/${PN}.git"
-	inherit git-2
+	inherit git-r3
 else
 	SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz
 		mirror://gentoo/${P}.tar.gz"
 	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+	S=${WORKDIR}/${PN}
 fi
 
 DESCRIPTION="static analysis tool for C"
@@ -24,8 +25,6 @@ IUSE=""
 RDEPEND="dev-db/sqlite"
 DEPEND="${RDEPEND}"
 
-S=${WORKDIR}/${PN}
-
 src_prepare() {
 	sed -i \
 		-e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-06-23  6:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-14  9:19 [gentoo-commits] repo/gentoo:master commit in: sys-devel/smatch/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2022-06-23  6:31 Sam James
2022-06-23  6:31 Sam James
2021-09-19  2:24 Sam James
2020-05-22  7:33 Mike Frysinger
2019-04-04 22:05 Sergei Trofimovich
2019-01-18  8:14 Sergei Trofimovich
2018-06-08 20:54 Sergei Trofimovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox