Message ID | 20230320111054.6660-1-giulio.benetti@benettiengineering.com |
---|---|
State | Accepted |
Headers | show |
Series | [v3] package/mmc-utils: bump to version d4c2910981ff99b983734426dfa99632fb81ac6b | expand |
Giulio, All, On 2023-03-20 12:10 +0100, Giulio Benetti spake thusly: > Let's also switch to a _SITE that can be accessed from a web browser and > results to be the official one for mmc-utils. > > Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> > --- [--SNIP--] > diff --git a/package/mmc-utils/mmc-utils.hash b/package/mmc-utils/mmc-utils.hash > index 1256f63487..22d34c3d40 100644 > --- a/package/mmc-utils/mmc-utils.hash > +++ b/package/mmc-utils/mmc-utils.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 f6ed1cb2f02d49df4244f8872b47b22780dd634fa19d857298ce1b793752776f mmc-utils-dfc3b6ecda84d21418fb4408b39c5c71db4c6458-br1.tar.gz > -sha256 f57e3c6169116aa9ff06eec95734ca000e4d0196467bb221e80e50530c768081 mmc.h > +sha256 e5a8dacf26a178010202c8fa7cb28b01f50fe967da98cdbdf320b2f110920106 mmc-utils-d4c2910981ff99b983734426dfa99632fb81ac6b-br1.tar.gz > +sha256 f0b53b9d58ee24e8bd9bb69bf4b31f8d1d031cf4f5d5078842198bbc6a779ca5 mmc.h Whenever we update mmc-utils, there is a very high probability that mmc.h changes, and so we need to update its hash, even if the licensing termns do not change. This is a bit cumbersome, because we'd like to only detect an actual change. So, I've switched to using README, which has been introduced a while ago, that identifies the license name (GPL-2.0-only), so is good-enough for us. Applied to master with the above change, thanks. Regards, Yann E. MORIN. > diff --git a/package/mmc-utils/mmc-utils.mk b/package/mmc-utils/mmc-utils.mk > index 435e6ae7f1..44abf00dbc 100644 > --- a/package/mmc-utils/mmc-utils.mk > +++ b/package/mmc-utils/mmc-utils.mk > @@ -4,8 +4,8 @@ > # > ################################################################################ > > -MMC_UTILS_VERSION = dfc3b6ecda84d21418fb4408b39c5c71db4c6458 > -MMC_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git > +MMC_UTILS_VERSION = d4c2910981ff99b983734426dfa99632fb81ac6b > +MMC_UTILS_SITE = https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git > MMC_UTILS_SITE_METHOD = git > MMC_UTILS_LICENSE = GPL-2.0 > MMC_UTILS_LICENSE_FILES = mmc.h > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot
On 14/05/23 14:47, Yann E. MORIN wrote: > Giulio, All, > > On 2023-03-20 12:10 +0100, Giulio Benetti spake thusly: >> Let's also switch to a _SITE that can be accessed from a web browser and >> results to be the official one for mmc-utils. >> >> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> >> --- > [--SNIP--] >> diff --git a/package/mmc-utils/mmc-utils.hash b/package/mmc-utils/mmc-utils.hash >> index 1256f63487..22d34c3d40 100644 >> --- a/package/mmc-utils/mmc-utils.hash >> +++ b/package/mmc-utils/mmc-utils.hash >> @@ -1,3 +1,3 @@ >> # Locally computed >> -sha256 f6ed1cb2f02d49df4244f8872b47b22780dd634fa19d857298ce1b793752776f mmc-utils-dfc3b6ecda84d21418fb4408b39c5c71db4c6458-br1.tar.gz >> -sha256 f57e3c6169116aa9ff06eec95734ca000e4d0196467bb221e80e50530c768081 mmc.h >> +sha256 e5a8dacf26a178010202c8fa7cb28b01f50fe967da98cdbdf320b2f110920106 mmc-utils-d4c2910981ff99b983734426dfa99632fb81ac6b-br1.tar.gz >> +sha256 f0b53b9d58ee24e8bd9bb69bf4b31f8d1d031cf4f5d5078842198bbc6a779ca5 mmc.h > > Whenever we update mmc-utils, there is a very high probability that > mmc.h changes, and so we need to update its hash, even if the licensing > termns do not change. This is a bit cumbersome, because we'd like to > only detect an actual change. > > So, I've switched to using README, which has been introduced a while > ago, that identifies the license name (GPL-2.0-only), so is good-enough > for us. Ah, good idea. I haven't noticed it. Thank you! Best regards
diff --git a/package/mmc-utils/Config.in b/package/mmc-utils/Config.in index d65988c749..d938b5dea3 100644 --- a/package/mmc-utils/Config.in +++ b/package/mmc-utils/Config.in @@ -4,7 +4,7 @@ config BR2_PACKAGE_MMC_UTILS help MMC utils - https://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git + https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git if BR2_PACKAGE_MMC_UTILS diff --git a/package/mmc-utils/mmc-utils.hash b/package/mmc-utils/mmc-utils.hash index 1256f63487..22d34c3d40 100644 --- a/package/mmc-utils/mmc-utils.hash +++ b/package/mmc-utils/mmc-utils.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 f6ed1cb2f02d49df4244f8872b47b22780dd634fa19d857298ce1b793752776f mmc-utils-dfc3b6ecda84d21418fb4408b39c5c71db4c6458-br1.tar.gz -sha256 f57e3c6169116aa9ff06eec95734ca000e4d0196467bb221e80e50530c768081 mmc.h +sha256 e5a8dacf26a178010202c8fa7cb28b01f50fe967da98cdbdf320b2f110920106 mmc-utils-d4c2910981ff99b983734426dfa99632fb81ac6b-br1.tar.gz +sha256 f0b53b9d58ee24e8bd9bb69bf4b31f8d1d031cf4f5d5078842198bbc6a779ca5 mmc.h diff --git a/package/mmc-utils/mmc-utils.mk b/package/mmc-utils/mmc-utils.mk index 435e6ae7f1..44abf00dbc 100644 --- a/package/mmc-utils/mmc-utils.mk +++ b/package/mmc-utils/mmc-utils.mk @@ -4,8 +4,8 @@ # ################################################################################ -MMC_UTILS_VERSION = dfc3b6ecda84d21418fb4408b39c5c71db4c6458 -MMC_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_VERSION = d4c2910981ff99b983734426dfa99632fb81ac6b +MMC_UTILS_SITE = https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git MMC_UTILS_SITE_METHOD = git MMC_UTILS_LICENSE = GPL-2.0 MMC_UTILS_LICENSE_FILES = mmc.h
Let's also switch to a _SITE that can be accessed from a web browser and results to be the official one for mmc-utils. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> --- V1->V2: * switch _SITE to a browsable one suggested by Peter Seiderer V2->V3: * update URL in Config.in as suggested by Peter Seiderer --- package/mmc-utils/Config.in | 2 +- package/mmc-utils/mmc-utils.hash | 4 ++-- package/mmc-utils/mmc-utils.mk | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-)