[macports-ports] branch master updated: rtl-sdr: move to GitHub PG.

Ryan Schmidt ryandesign at macports.org
Sun Apr 1 20:00:25 UTC 2018


On Apr 1, 2018, at 13:47, Michael Dickens wrote:

> Michael Dickens (michaelld) pushed a commit to branch master
> in repository macports-ports.
> 
> 
> https://github.com/macports/macports-ports/commit/ed3f300c45bd2743297590cf8aa96b27bf8816dd
> 
> The following commit(s) were added to refs/heads/master by this push:
> 
>      new ed3f300c rtl-sdr: move to GitHub PG.
> 
> ed3f300c is described below
> 
> 
> commit ed3f300c45bd2743297590cf8aa96b27bf8816dd
> 
> Author: Michael Dickens <michaelld at macports.org>
> AuthorDate: Sun Apr 1 14:47:23 2018 -0400
> 
> 
>     rtl-sdr: move to GitHub PG.
> 
> ---
>  science/rtl-sdr/Portfile | 21 +++++++++------------
>  1 file changed, 9 insertions(+), 12 deletions(-)
> 
> 
> diff --git a/science/rtl-sdr/Portfile b/science/rtl-sdr/Portfile
> index 7c98012..2a0d546 100644
> --- a/science/rtl-sdr/Portfile
> +++ b/science/rtl-sdr/Portfile
> @@ -2,8 +2,17 @@
>  
>  PortSystem          1.0
>  PortGroup           cmake 1.0
> +PortGroup           github 1.0
>  
>  name                rtl-sdr
> +maintainers         {michaelld @michaelld} openmaintainer
> +
> +github.setup        osmocom rtl-sdr 4520f001d85f01d051eaa42af7b18b6ef0837e14
> +version             20180220
> +checksums           rmd160 80c9c38d8d9b6d747ac4a18f105fa388f8987ed2 \
> +                    sha256 a46c9bd6b9c5391b01101dbdfe992ac78cbf038eb07c423091a73915c8db268b \
> +                    size   119913
> +
>  categories          science comms
>  platforms           darwin
>  license             GPL-2
> @@ -12,14 +21,6 @@ description         ${name} allows using devices with a RTL2832U chipset as soft
>  long_description    ${description}
>  homepage            http://sdr.osmocom.org/trac/wiki/rtl-sdr
>  
> -set commit          4520f001d85f01d051eaa42af7b18b6ef0837e14
> -version             20180220
> -checksums           rmd160 80c9c38d8d9b6d747ac4a18f105fa388f8987ed2 \
> -                    sha256 a46c9bd6b9c5391b01101dbdfe992ac78cbf038eb07c423091a73915c8db268b
> -
> -distname            ${name}-${commit}
> -master_sites        http://cgit.osmocom.org/rtl-sdr/snapshot/

You've performed a stealth-update, which changes the checksums:


$ sudo port fetch --no-mirror rtl-sdr
--->  Fetching distfiles for rtl-sdr
--->  Attempting to fetch rtl-sdr-4520f001d85f01d051eaa42af7b18b6ef0837e14.tar.gz from https://github.com/osmocom/rtl-sdr/tarball/4520f001d85f01d051eaa42af7b18b6ef0837e14
$ sudo port checksum rtl-sdr                 
--->  Verifying checksums for rtl-sdr
Error: Checksum (rmd160) mismatch for rtl-sdr-4520f001d85f01d051eaa42af7b18b6ef0837e14.tar.gz
Error: Checksum (sha256) mismatch for rtl-sdr-4520f001d85f01d051eaa42af7b18b6ef0837e14.tar.gz
Error: Checksum (size) mismatch for rtl-sdr-4520f001d85f01d051eaa42af7b18b6ef0837e14.tar.gz
Error: Failed to checksum rtl-sdr: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_Users_rschmidt_macports_macports-ports-svn-trunk_science_rtl-sdr/rtl-sdr/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port rtl-sdr failed
rschmidt at Untitled-Mac rtl-sdr $ 


See: https://trac.macports.org/wiki/PortfileRecipes#stealth-updates


Switching a port from other hosting to GitHub is simpler if you combine it with a version update, since the distname and checksums will change anyway.



More information about the macports-dev mailing list