* [PR PATCH] flashrom: update to 1.3.0.
@ 2023-04-07 23:49 Johnnynator
2023-04-07 23:54 ` [PR PATCH] [Updated] " Johnnynator
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Johnnynator @ 2023-04-07 23:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 673 bytes --]
There is a new pull request by Johnnynator against master on the void-packages repository
https://github.com/Johnnynator/void-packages flashrom
https://github.com/void-linux/void-packages/pull/43334
flashrom: update to 1.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- riscv64
A patch file from https://github.com/void-linux/void-packages/pull/43334.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-flashrom-43334.patch --]
[-- Type: text/x-diff, Size: 2742 bytes --]
From 581fd8ddc11942db81bf7323c4907ca951a47164 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Sat, 8 Apr 2023 01:46:18 +0200
Subject: [PATCH] flashrom: update to 1.3.0.
---
srcpkgs/flashrom/template | 42 ++++++++++++++++++---------------------
srcpkgs/libflashrom | 1 +
srcpkgs/libflashrom-devel | 1 +
3 files changed, 21 insertions(+), 23 deletions(-)
create mode 120000 srcpkgs/libflashrom
create mode 120000 srcpkgs/libflashrom-devel
diff --git a/srcpkgs/flashrom/template b/srcpkgs/flashrom/template
index af1e0d424603..3fb1e8d80c6e 100644
--- a/srcpkgs/flashrom/template
+++ b/srcpkgs/flashrom/template
@@ -1,8 +1,8 @@
# Template file for 'flashrom'
pkgname=flashrom
-version=1.2
-revision=3
-build_style=gnu-makefile
+version=1.3.0
+revision=1
+build_style=meson
hostmakedepends="pkg-config"
makedepends="pciutils-devel libusb-compat-devel libftdi1-devel"
short_desc="Utility for reading, writing, erasing and verifying flash ROM chips"
@@ -10,25 +10,21 @@ maintainer="teldra <teldra@rotce.de>"
license="GPL-2.0-only"
homepage="https://www.flashrom.org"
distfiles=https://github.com/flashrom/flashrom/archive/v$version.tar.gz
-checksum=a5bac412cefb87bb426912fed46ccc38799d088a9b92dbe7bac38c5df016d9b2
+checksum=91d3ae239e435682561966350d00890b8bf5ae1a947af1f647198aa391196890
-post_patch() {
- # The Makefile detection is fragile!!!
- # It doesn't defend against __attribute__("something")
- case "$XBPS_TARGET_MACHINE" in
- x86_64* | i686*) _arch=x86 ;;
- aarch64* | arm*) _arch=arm ;;
- ppc*) _arch=ppc ;;
- mips*) _arch=mips ;;
- *) msg_error "Unknown arch\n" ;;
- esac
- case "$XBPS_TARGET_ENDIAN" in
- be) _endian=big ;;
- le) _endian=little ;;
- esac
- vsed -i -e 's/^override TARGET_OS :=.*/TARGET_OS := Linux/' \
- -e "s/^override ARCH :=.*/ARCH := $_arch/" \
- -e "s/^override ENDIAN :=.*/ENDIAN := $_endian/" \
- -e 's/sbin/bin/' \
- Makefile
+libflashrom_package() {
+ short_desc+=" - library files"
+ pkg_install() {
+ vmove "usr/lib/*.so.*"
+ }
+}
+
+libflashrom-devel_package() {
+ short_desc+=" - development files"
+ depends="libflashrom>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
}
diff --git a/srcpkgs/libflashrom b/srcpkgs/libflashrom
new file mode 120000
index 000000000000..183c7f43a41c
--- /dev/null
+++ b/srcpkgs/libflashrom
@@ -0,0 +1 @@
+flashrom
\ No newline at end of file
diff --git a/srcpkgs/libflashrom-devel b/srcpkgs/libflashrom-devel
new file mode 120000
index 000000000000..183c7f43a41c
--- /dev/null
+++ b/srcpkgs/libflashrom-devel
@@ -0,0 +1 @@
+flashrom
\ No newline at end of file
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] flashrom: update to 1.3.0.
2023-04-07 23:49 [PR PATCH] flashrom: update to 1.3.0 Johnnynator
@ 2023-04-07 23:54 ` Johnnynator
2023-07-07 2:06 ` github-actions
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Johnnynator @ 2023-04-07 23:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 678 bytes --]
There is an updated pull request by Johnnynator against master on the void-packages repository
https://github.com/Johnnynator/void-packages flashrom
https://github.com/void-linux/void-packages/pull/43334
flashrom: update to 1.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- riscv64
A patch file from https://github.com/void-linux/void-packages/pull/43334.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-flashrom-43334.patch --]
[-- Type: text/x-diff, Size: 2672 bytes --]
From a6cea861ab36c347afc8a74db5b4606da3123dbe Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Sat, 8 Apr 2023 01:46:18 +0200
Subject: [PATCH] flashrom: update to 1.3.0.
---
srcpkgs/flashrom/template | 42 ++++++++++++++++++---------------------
srcpkgs/libflashrom | 1 +
srcpkgs/libflashrom-devel | 1 +
3 files changed, 21 insertions(+), 23 deletions(-)
create mode 120000 srcpkgs/libflashrom
create mode 120000 srcpkgs/libflashrom-devel
diff --git a/srcpkgs/flashrom/template b/srcpkgs/flashrom/template
index af1e0d424603..47d7eb604410 100644
--- a/srcpkgs/flashrom/template
+++ b/srcpkgs/flashrom/template
@@ -1,8 +1,8 @@
# Template file for 'flashrom'
pkgname=flashrom
-version=1.2
-revision=3
-build_style=gnu-makefile
+version=1.3.0
+revision=1
+build_style=meson
hostmakedepends="pkg-config"
makedepends="pciutils-devel libusb-compat-devel libftdi1-devel"
short_desc="Utility for reading, writing, erasing and verifying flash ROM chips"
@@ -10,25 +10,21 @@ maintainer="teldra <teldra@rotce.de>"
license="GPL-2.0-only"
homepage="https://www.flashrom.org"
distfiles=https://github.com/flashrom/flashrom/archive/v$version.tar.gz
-checksum=a5bac412cefb87bb426912fed46ccc38799d088a9b92dbe7bac38c5df016d9b2
+checksum=91d3ae239e435682561966350d00890b8bf5ae1a947af1f647198aa391196890
-post_patch() {
- # The Makefile detection is fragile!!!
- # It doesn't defend against __attribute__("something")
- case "$XBPS_TARGET_MACHINE" in
- x86_64* | i686*) _arch=x86 ;;
- aarch64* | arm*) _arch=arm ;;
- ppc*) _arch=ppc ;;
- mips*) _arch=mips ;;
- *) msg_error "Unknown arch\n" ;;
- esac
- case "$XBPS_TARGET_ENDIAN" in
- be) _endian=big ;;
- le) _endian=little ;;
- esac
- vsed -i -e 's/^override TARGET_OS :=.*/TARGET_OS := Linux/' \
- -e "s/^override ARCH :=.*/ARCH := $_arch/" \
- -e "s/^override ENDIAN :=.*/ENDIAN := $_endian/" \
- -e 's/sbin/bin/' \
- Makefile
+libflashrom_package() {
+ short_desc+=" - library files"
+ pkg_install() {
+ vmove "usr/lib/*.so.*"
+ }
+}
+
+libflashrom-devel_package() {
+ short_desc+=" - development files"
+ depends="libflashrom>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
}
diff --git a/srcpkgs/libflashrom b/srcpkgs/libflashrom
new file mode 120000
index 000000000000..183c7f43a41c
--- /dev/null
+++ b/srcpkgs/libflashrom
@@ -0,0 +1 @@
+flashrom
\ No newline at end of file
diff --git a/srcpkgs/libflashrom-devel b/srcpkgs/libflashrom-devel
new file mode 120000
index 000000000000..183c7f43a41c
--- /dev/null
+++ b/srcpkgs/libflashrom-devel
@@ -0,0 +1 @@
+flashrom
\ No newline at end of file
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: flashrom: update to 1.3.0.
2023-04-07 23:49 [PR PATCH] flashrom: update to 1.3.0 Johnnynator
2023-04-07 23:54 ` [PR PATCH] [Updated] " Johnnynator
@ 2023-07-07 2:06 ` github-actions
2023-10-06 1:45 ` github-actions
2023-10-21 1:44 ` [PR PATCH] [Closed]: " github-actions
3 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2023-07-07 2:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/43334#issuecomment-1624538837
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: flashrom: update to 1.3.0.
2023-04-07 23:49 [PR PATCH] flashrom: update to 1.3.0 Johnnynator
2023-04-07 23:54 ` [PR PATCH] [Updated] " Johnnynator
2023-07-07 2:06 ` github-actions
@ 2023-10-06 1:45 ` github-actions
2023-10-21 1:44 ` [PR PATCH] [Closed]: " github-actions
3 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2023-10-06 1:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/43334#issuecomment-1749875660
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Closed]: flashrom: update to 1.3.0.
2023-04-07 23:49 [PR PATCH] flashrom: update to 1.3.0 Johnnynator
` (2 preceding siblings ...)
2023-10-06 1:45 ` github-actions
@ 2023-10-21 1:44 ` github-actions
3 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2023-10-21 1:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 513 bytes --]
There's a closed pull request on the void-packages repository
flashrom: update to 1.3.0.
https://github.com/void-linux/void-packages/pull/43334
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- riscv64
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] flashrom: update to 1.3.0.
2023-12-01 22:02 [PR PATCH] " Calandracas606
2023-12-01 22:20 ` [PR PATCH] [Updated] " Calandracas606
@ 2023-12-01 22:22 ` Calandracas606
1 sibling, 0 replies; 7+ messages in thread
From: Calandracas606 @ 2023-12-01 22:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]
There is an updated pull request by Calandracas606 against master on the void-packages repository
https://github.com/Calandracas606/void-packages flashrom-1.3.0
https://github.com/void-linux/void-packages/pull/47526
flashrom: update to 1.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
A patch file from https://github.com/void-linux/void-packages/pull/47526.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-flashrom-1.3.0-47526.patch --]
[-- Type: text/x-diff, Size: 1884 bytes --]
From 8731a3f4ae167baca095a1cf3179d98595c80589 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Fri, 1 Dec 2023 16:57:07 -0500
Subject: [PATCH] flashrom: update to 1.3.0.
---
srcpkgs/flashrom/template | 27 +++++----------------------
1 file changed, 5 insertions(+), 22 deletions(-)
diff --git a/srcpkgs/flashrom/template b/srcpkgs/flashrom/template
index 6cf2e4e25cd10..849ffa47b6863 100644
--- a/srcpkgs/flashrom/template
+++ b/srcpkgs/flashrom/template
@@ -1,34 +1,17 @@
# Template file for 'flashrom'
pkgname=flashrom
-version=1.2
-revision=3
+version=1.3.0
+revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
-makedepends="pciutils-devel libusb-compat-devel libftdi1-devel"
+makedepends="pciutils-devel libusb-compat-devel libftdi1-devel eudev-libudev-devel zlib-devel"
short_desc="Utility for reading, writing, erasing and verifying flash ROM chips"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://www.flashrom.org"
distfiles=https://github.com/flashrom/flashrom/archive/v$version.tar.gz
-checksum=a5bac412cefb87bb426912fed46ccc38799d088a9b92dbe7bac38c5df016d9b2
+checksum=91d3ae239e435682561966350d00890b8bf5ae1a947af1f647198aa391196890
post_patch() {
- # The Makefile detection is fragile!!!
- # It doesn't defend against __attribute__("something")
- case "$XBPS_TARGET_MACHINE" in
- x86_64* | i686*) _arch=x86 ;;
- aarch64* | arm*) _arch=arm ;;
- ppc*) _arch=ppc ;;
- mips*) _arch=mips ;;
- *) msg_error "Unknown arch\n" ;;
- esac
- case "$XBPS_TARGET_ENDIAN" in
- be) _endian=big ;;
- le) _endian=little ;;
- esac
- vsed -i -e 's/^override TARGET_OS :=.*/TARGET_OS := Linux/' \
- -e "s/^override ARCH :=.*/ARCH := $_arch/" \
- -e "s/^override ENDIAN :=.*/ENDIAN := $_endian/" \
- -e 's/sbin/bin/' \
- Makefile
+ vsed -i 's/sbin/bin/' Makefile
}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] flashrom: update to 1.3.0.
2023-12-01 22:02 [PR PATCH] " Calandracas606
@ 2023-12-01 22:20 ` Calandracas606
2023-12-01 22:22 ` Calandracas606
1 sibling, 0 replies; 7+ messages in thread
From: Calandracas606 @ 2023-12-01 22:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]
There is an updated pull request by Calandracas606 against master on the void-packages repository
https://github.com/Calandracas606/void-packages flashrom-1.3.0
https://github.com/void-linux/void-packages/pull/47526
flashrom: update to 1.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
A patch file from https://github.com/void-linux/void-packages/pull/47526.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-flashrom-1.3.0-47526.patch --]
[-- Type: text/x-diff, Size: 1605 bytes --]
From 5ac05e6c9f5ca14bb6e93623acd5a33c49f3fcbe Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Fri, 1 Dec 2023 16:57:07 -0500
Subject: [PATCH] flashrom: update to 1.3.0.
---
srcpkgs/flashrom/template | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/flashrom/template b/srcpkgs/flashrom/template
index 6cf2e4e25cd10..4eca227533a09 100644
--- a/srcpkgs/flashrom/template
+++ b/srcpkgs/flashrom/template
@@ -1,16 +1,16 @@
# Template file for 'flashrom'
pkgname=flashrom
-version=1.2
-revision=3
+version=1.3.0
+revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
-makedepends="pciutils-devel libusb-compat-devel libftdi1-devel"
+makedepends="pciutils-devel libusb-compat-devel libftdi1-devel eudev-libudev-devel zlib-devel"
short_desc="Utility for reading, writing, erasing and verifying flash ROM chips"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://www.flashrom.org"
distfiles=https://github.com/flashrom/flashrom/archive/v$version.tar.gz
-checksum=a5bac412cefb87bb426912fed46ccc38799d088a9b92dbe7bac38c5df016d9b2
+checksum=91d3ae239e435682561966350d00890b8bf5ae1a947af1f647198aa391196890
post_patch() {
# The Makefile detection is fragile!!!
@@ -26,9 +26,5 @@ post_patch() {
be) _endian=big ;;
le) _endian=little ;;
esac
- vsed -i -e 's/^override TARGET_OS :=.*/TARGET_OS := Linux/' \
- -e "s/^override ARCH :=.*/ARCH := $_arch/" \
- -e "s/^override ENDIAN :=.*/ENDIAN := $_endian/" \
- -e 's/sbin/bin/' \
- Makefile
+ vsed -i 's/sbin/bin/' Makefile
}
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-12-01 22:22 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-07 23:49 [PR PATCH] flashrom: update to 1.3.0 Johnnynator
2023-04-07 23:54 ` [PR PATCH] [Updated] " Johnnynator
2023-07-07 2:06 ` github-actions
2023-10-06 1:45 ` github-actions
2023-10-21 1:44 ` [PR PATCH] [Closed]: " github-actions
2023-12-01 22:02 [PR PATCH] " Calandracas606
2023-12-01 22:20 ` [PR PATCH] [Updated] " Calandracas606
2023-12-01 22:22 ` Calandracas606
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).