public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: sys-fs/fsverity-utils/
@ 2024-07-31 22:49 Lucio Sauer
  0 siblings, 0 replies; 9+ messages in thread
From: Lucio Sauer @ 2024-07-31 22:49 UTC (permalink / raw
  To: gentoo-commits

commit:     62fcd02a185daebf0ee442b85bc2d1b3e27e0d68
Author:     Mark Harmstone <mark <AT> harmstone <DOT> com>
AuthorDate: Wed Jul 31 11:48:44 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed Jul 31 11:51:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=62fcd02a

sys-fs/fsverity-utils: new package, add 1.6

Signed-off-by: Mark Harmstone <mark <AT> harmstone.com>

 sys-fs/fsverity-utils/Manifest                  |  1 +
 sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild | 32 +++++++++++++++++++++++++
 sys-fs/fsverity-utils/metadata.xml              |  8 +++++++
 3 files changed, 41 insertions(+)

diff --git a/sys-fs/fsverity-utils/Manifest b/sys-fs/fsverity-utils/Manifest
new file mode 100644
index 000000000..ece33d130
--- /dev/null
+++ b/sys-fs/fsverity-utils/Manifest
@@ -0,0 +1 @@
+DIST fsverity-utils-1.6.tar.gz 43940 BLAKE2B 723edd75772ae74e95cd51740a67aede266ec1824cd6b5b68f0dfcd0f0c1165c08f36cefb460e2ae506c3afd5fc60d0df87552e1ae54582f95383868395769e7 SHA512 9a05264f75b270472dc8d18b0d5a7cb17c24f8b77aa5d1a06ad5dd7813526c06070ceb47a43aa999a542ea4cf5ce7e1500287e7944ce676a97a3cafb985dc4b8

diff --git a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
new file mode 100644
index 000000000..b1d55cd06
--- /dev/null
+++ b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-info
+inherit toolchain-funcs
+
+if [[ ${PV} == *9999* ]]; then
+	EGIT_REPO_URI="https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git"
+	inherit git-r3
+else
+	SRC_URI="https://git.kernel.org/pub/scm/fs/fsverity/${PN}.git/snapshot/${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+fi
+
+DESCRIPTION="Userspace utility for file-level integrity/authenticity verification"
+HOMEPAGE="https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND="dev-libs/openssl:="
+
+RDEPEND="${DEPEND}"
+
+src_compile() {
+	emake CC="$(tc-getCC)"
+}
+
+src_install() {
+	emake install CC="$(tc-getCC)" DESTDIR="${D}" PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}

diff --git a/sys-fs/fsverity-utils/metadata.xml b/sys-fs/fsverity-utils/metadata.xml
new file mode 100644
index 000000000..4d55b3ce9
--- /dev/null
+++ b/sys-fs/fsverity-utils/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+	<maintainer type="person">
+		<email>mark@harmstone.com</email>
+		<name>Mark Harmstone</name>
+	</maintainer>
+</pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:master commit in: sys-fs/fsverity-utils/
  2024-07-31 12:54 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
@ 2024-07-31 22:49 ` Lucio Sauer
  0 siblings, 0 replies; 9+ messages in thread
From: Lucio Sauer @ 2024-07-31 22:49 UTC (permalink / raw
  To: gentoo-commits

commit:     23059a39b5c1454d4aa1d6d0889e7c436be79616
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed Jul 31 12:48:46 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed Jul 31 12:48:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23059a39

sys-fs/fsverity-utils: add upstream metadata

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 sys-fs/fsverity-utils/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys-fs/fsverity-utils/metadata.xml b/sys-fs/fsverity-utils/metadata.xml
index 4d55b3ce9..1a5f52882 100644
--- a/sys-fs/fsverity-utils/metadata.xml
+++ b/sys-fs/fsverity-utils/metadata.xml
@@ -5,4 +5,8 @@
 		<email>mark@harmstone.com</email>
 		<name>Mark Harmstone</name>
 	</maintainer>
+	<upstream>
+		<bugs-to>mailto:fsverity@lists.linux.dev</bugs-to>
+		<changelog>https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git/tree/NEWS.md</changelog>
+	</upstream>
 </pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:master commit in: sys-fs/fsverity-utils/
@ 2024-07-31 22:49 Lucio Sauer
  0 siblings, 0 replies; 9+ messages in thread
From: Lucio Sauer @ 2024-07-31 22:49 UTC (permalink / raw
  To: gentoo-commits

commit:     9402dc50f3cfb5c17fe9750383704fc8c276a4d2
Author:     Mark Harmstone <mark <AT> harmstone <DOT> com>
AuthorDate: Wed Jul 31 19:30:24 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed Jul 31 19:30:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9402dc50

sys-fs/fsverity-utils: fix errors in ebuild

Signed-off-by: Mark Harmstone <mark <AT> harmstone.com>

 sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
index b1d55cd06..9dbcd8b68 100644
--- a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
+++ b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
@@ -16,17 +16,19 @@ fi
 
 DESCRIPTION="Userspace utility for file-level integrity/authenticity verification"
 HOMEPAGE="https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git"
-LICENSE="GPL-2"
+LICENSE="MIT"
 SLOT="0"
 
 DEPEND="dev-libs/openssl:="
 
 RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_compile() {
-	emake CC="$(tc-getCC)"
+	emake CC="$(tc-getCC)" PKGCONF="$(tc-getPKG_CONFIG)"
 }
 
 src_install() {
-	emake install CC="$(tc-getCC)" DESTDIR="${D}" PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+	emake install CC="$(tc-getCC)" PKGCONF="$(tc-getPKG_CONFIG)" DESTDIR="${D}" \
+		PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
 }


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

* [gentoo-commits] repo/proj/guru:master commit in: sys-fs/fsverity-utils/
@ 2024-08-01 10:12 Lucio Sauer
  0 siblings, 0 replies; 9+ messages in thread
From: Lucio Sauer @ 2024-08-01 10:12 UTC (permalink / raw
  To: gentoo-commits

commit:     7332d26856d9e7ee6d8b1499c309b84015dde686
Author:     Mark Harmstone <mark <AT> harmstone <DOT> com>
AuthorDate: Wed Jul 31 23:01:04 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed Jul 31 23:01:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7332d268

sys-fs/fsverity-utils: add static-libs USE flag

Signed-off-by: Mark Harmstone <mark <AT> harmstone.com>

 sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
index 9dbcd8b68..f76f7a44c 100644
--- a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
+++ b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
@@ -19,6 +19,8 @@ HOMEPAGE="https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git"
 LICENSE="MIT"
 SLOT="0"
 
+IUSE="static-libs"
+
 DEPEND="dev-libs/openssl:="
 
 RDEPEND="${DEPEND}"
@@ -31,4 +33,8 @@ src_compile() {
 src_install() {
 	emake install CC="$(tc-getCC)" PKGCONF="$(tc-getPKG_CONFIG)" DESTDIR="${D}" \
 		PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+
+	if ! use static-libs ; then
+		rm "${ED}/usr/$(get_libdir)/libfsverity.a"
+	fi
 }


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

* [gentoo-commits] repo/proj/guru:master commit in: sys-fs/fsverity-utils/
@ 2024-08-01 10:12 Lucio Sauer
  0 siblings, 0 replies; 9+ messages in thread
From: Lucio Sauer @ 2024-08-01 10:12 UTC (permalink / raw
  To: gentoo-commits

commit:     31f1efb05f836872296b42422416f9c86b2cf6f3
Author:     Mark Harmstone <mark <AT> harmstone <DOT> com>
AuthorDate: Wed Jul 31 23:23:14 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed Jul 31 23:23:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=31f1efb0

sys-fs/fsverity-utils: die if can't remove libfsverity.a

Signed-off-by: Mark Harmstone <mark <AT> harmstone.com>

 sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
index f76f7a44c..d2a777437 100644
--- a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
+++ b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
@@ -35,6 +35,6 @@ src_install() {
 		PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
 
 	if ! use static-libs ; then
-		rm "${ED}/usr/$(get_libdir)/libfsverity.a"
+		rm "${ED}/usr/$(get_libdir)/libfsverity.a" || die
 	fi
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/fsverity-utils/
@ 2024-08-01 13:09 Lucio Sauer
  2024-08-01 13:51 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
  0 siblings, 1 reply; 9+ messages in thread
From: Lucio Sauer @ 2024-08-01 13:09 UTC (permalink / raw
  To: gentoo-commits

commit:     ecd907009011ed322c8762dbe23d4003ec5f5682
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Aug  1 13:03:23 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Aug  1 13:03:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ecd90700

sys-fs/fsverity-utils: add documentation

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
index 1b488ecfe..082365d9b 100644
--- a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
+++ b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
@@ -41,4 +41,5 @@ src_compile() {
 src_install() {
 	emake install DESTDIR="${D}" PREFIX="${EPREFIX}/usr" \
 		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+	dodoc {README,NEWS}.md
 }


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

* [gentoo-commits] repo/proj/guru:master commit in: sys-fs/fsverity-utils/
  2024-08-01 13:09 [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/fsverity-utils/ Lucio Sauer
@ 2024-08-01 13:51 ` Lucio Sauer
  0 siblings, 0 replies; 9+ messages in thread
From: Lucio Sauer @ 2024-08-01 13:51 UTC (permalink / raw
  To: gentoo-commits

commit:     ecd907009011ed322c8762dbe23d4003ec5f5682
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Aug  1 13:03:23 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Aug  1 13:03:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ecd90700

sys-fs/fsverity-utils: add documentation

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
index 1b488ecfe..082365d9b 100644
--- a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
+++ b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
@@ -41,4 +41,5 @@ src_compile() {
 src_install() {
 	emake install DESTDIR="${D}" PREFIX="${EPREFIX}/usr" \
 		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+	dodoc {README,NEWS}.md
 }


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

* [gentoo-commits] repo/proj/guru:master commit in: sys-fs/fsverity-utils/
  2024-08-01 13:09 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
@ 2024-08-01 13:51 ` Lucio Sauer
  0 siblings, 0 replies; 9+ messages in thread
From: Lucio Sauer @ 2024-08-01 13:51 UTC (permalink / raw
  To: gentoo-commits

commit:     6a9edcb8dea89f3b77d71e42583e19072701b3f1
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Aug  1 12:51:15 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Aug  1 13:00:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6a9edcb8

sys-fs/fsverity-utils: drop libfsverity.a (PG 0302)

No revdeps and not required by this package except for testing, when
USE_SHARED_LIB is set.  Export prefixed AR due to dependence on
libfsverity.a at test phase.

Bug: https://bugs.gentoo.org/937042
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
index d2a777437..cff9471d3 100644
--- a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
+++ b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
@@ -19,22 +19,26 @@ HOMEPAGE="https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git"
 LICENSE="MIT"
 SLOT="0"
 
-IUSE="static-libs"
-
 DEPEND="dev-libs/openssl:="
 
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 
+src_prepare() {
+	# bug comment 937042#c3
+	sed -e '/^DEFAULT_TARGETS += libfsverity.a/d' \
+		-e '/install -m644 libfsverity.a/d' \
+		-i Makefile || die
+	default
+}
+
 src_compile() {
-	emake CC="$(tc-getCC)" PKGCONF="$(tc-getPKG_CONFIG)"
+	export PKGCONF="$(tc-getPKG_CONFIG)" USE_SHARED_LIB=1
+	tc-export AR CC
+	default
 }
 
 src_install() {
-	emake install CC="$(tc-getCC)" PKGCONF="$(tc-getPKG_CONFIG)" DESTDIR="${D}" \
-		PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
-
-	if ! use static-libs ; then
-		rm "${ED}/usr/$(get_libdir)/libfsverity.a" || die
-	fi
+	emake install DESTDIR="${D}" PREFIX="${EPREFIX}/usr" \
+		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
 }


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

* [gentoo-commits] repo/proj/guru:master commit in: sys-fs/fsverity-utils/
  2024-08-01 13:09 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
@ 2024-08-01 13:51 ` Lucio Sauer
  0 siblings, 0 replies; 9+ messages in thread
From: Lucio Sauer @ 2024-08-01 13:51 UTC (permalink / raw
  To: gentoo-commits

commit:     afc9657a7a94d1d8a1901f72112370625eea38ac
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Aug  1 12:58:56 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Aug  1 13:01:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=afc9657a

sys-fs/fsverity-utils: increase build log verbosity

https://devmanual.gentoo.org/ebuild-writing/common-mistakes/#build-log-not-verbose

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
index cff9471d3..1b488ecfe 100644
--- a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
+++ b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild
@@ -33,7 +33,7 @@ src_prepare() {
 }
 
 src_compile() {
-	export PKGCONF="$(tc-getPKG_CONFIG)" USE_SHARED_LIB=1
+	export PKGCONF="$(tc-getPKG_CONFIG)" USE_SHARED_LIB=1 V=1
 	tc-export AR CC
 	default
 }


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

end of thread, other threads:[~2024-08-01 13:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-01 13:09 [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/fsverity-utils/ Lucio Sauer
2024-08-01 13:51 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
  -- strict thread matches above, loose matches on Subject: below --
2024-08-01 13:09 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2024-08-01 13:51 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
2024-08-01 13:09 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2024-08-01 13:51 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
2024-08-01 10:12 Lucio Sauer
2024-08-01 10:12 Lucio Sauer
2024-07-31 22:49 Lucio Sauer
2024-07-31 22:49 Lucio Sauer
2024-07-31 12:54 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2024-07-31 22:49 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer

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