Skip to contentSkip to conversation

Update SRC_URIs

PATCH In review [email protected] 4 participants 15 messages Mar 13, 2017 – Mar 23, 2017

lore
Share & tools
lore
#0 lore raw

cover Update SRC_URIs

From: Kai Kang <[email protected]>

Update SRC_URIs which show qa warnings when do_fetch.

Kai Kang (5):
fuse: update HOMEPAGE and SRC_URI
curlpp: update HOMEPAGE and SRC_URI
libdnet: update SRC_URI
cherokee: update SRC_URI
lmsensors: update SRC_URI and S

 meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb          | 6 +++---
 meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb | 8 +++++---
 meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb       | 8 ++++----
 meta-oe/recipes-support/lm_sensors/lmsensors_3.4.0.bb        | 6 +++---
 meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb     | 2 +-
 5 files changed, 16 insertions(+), 14 deletions(-)
Signature · 1 line
2.10.1
#1 lore raw

PATCH 1/5 fuse: update HOMEPAGE and SRC_URI

From: Kai Kang <[email protected]>

The homepage of fuse is redirected to github. So update HOMEPAGE and SRC_URI.

Correct license LGPLv2 with LGPLv2.1 at same time.

---
 meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb +3 -3
index 153fcb4..b34efa1 100644
@@ -4,13 +4,13 @@ DESCRIPTION = "FUSE (Filesystem in Userspace) is a simple interface for userspac
                also aims to provide a secure method for non privileged users to \
                create and mount their own filesystem implementations. \
               "
-HOMEPAGE = "http://fuse.sf.net"
+HOMEPAGE = "https://github.com/libfuse/libfuse"
 SECTION = "libs"
-LICENSE = "GPLv2 & LGPLv2"
+LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/fuse/fuse-${PV}.tar.gz \
+SRC_URI = "https://github.com/libfuse/libfuse/releases/download/fuse_2_9_4/${BP}.tar.gz \
            file://gold-unversioned-symbol.patch \
            file://aarch64.patch \
            file://0001-fuse-fix-the-return-value-of-help-option.patch \
Signature · 1 line
2.10.1
#4 lore raw

PATCH 2/5 curlpp: update HOMEPAGE and SRC_URI

In reply to [email protected]

From: Kai Kang <[email protected]>

The page of curlpp hosted on googlecode doesn' work now. So update SRC_URI to use repo hosted on github. Update HOMEPAGE as well.

---
 meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb +4 -4
index c3a242a..24f2ef8 100644
@@ -1,5 +1,5 @@
 SUMMARY = "C++ library for client-side URL transfers"
-HOMEPAGE = "http://code.google.com/p/curlpp/"
+HOMEPAGE = "http://www.curlpp.org/"
 SECTION = "libdevel"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
@@ -7,12 +7,12 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 DEPENDS = "curl boost"
 DEPENDS_class-native = "curl-native"
 
-SRC_URI = "http://curlpp.googlecode.com/files/curlpp-${PV}.tar.gz \
+SRC_URI = "https://github.com/jpbarrette/${BPN}/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz \
     file://example21.cpp-remove-deprecated-code.patch \
 "
 
-SRC_URI[md5sum] = "ccc3d30d4b3b5d2cdbed635898c29485"
-SRC_URI[sha256sum] = "e3f9427b27c5bddf898d383d45c0d3d5397e2056ff935d9a5cdaef6a9a653bd5"
+SRC_URI[md5sum] = "ee05f248bf3bbf7f381d65cf2d0ee50f"
+SRC_URI[sha256sum] = "b72093f221a9e2d0f7ce0bd0f846587835e01607a7bb0f106ff4317a8c30a81c"
 
 inherit autotools-brokensep pkgconfig binconfig
 
Signature · 1 line
2.10.1
#6 lore raw

PATCH 3/5 libdnet: update SRC_URI

In reply to [email protected]

From: Kai Kang <[email protected]>

The official site libdnet.googlecode.com is redirected to github. So update SRC_URI and its checksums. And update S as well.

---
 meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb +5 -3
index 28b6c82..aff64c2 100644
@@ -4,10 +4,12 @@ SECTION = "libs"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=0036c1b155f4e999f3e0a373490b5db9"
 
-SRC_URI = "http://libdnet.googlecode.com/files/libdnet-${PV}.tgz"
+SRC_URI = "https://github.com/dugsong/${BPN}/archive/${BP}.tar.gz"
 
-SRC_URI[md5sum] = "9253ef6de1b5e28e9c9a62b882e44cc9"
-SRC_URI[sha256sum] = "83b33039787cf99990e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026"
+SRC_URI[md5sum] = "d2f1b72eac2a1070959667e9e61dcf20"
+SRC_URI[sha256sum] = "b6360659c93fa2e3cde9e0a1fc9c07bc4111f3448c5de856e095eb98315dd424"
+
+S = "${WORKDIR}/${BPN}-${BP}"
 
 inherit autotools
 
Signature · 1 line
2.10.1
#10 lore raw

PATCH 4/5 cherokee: update SRC_URI

In reply to [email protected]

From: Kai Kang <[email protected]>

The mirror site of cherokee in SRC_URI is down. Use another mirror instead. See http://cherokee-project.com/downloads.html

---
 meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb +1 -1
index 9d22985..ba39f97 100644
@@ -9,7 +9,7 @@ PR = "r9"
 
 DEPENDS = "libpcre openssl mysql5 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 
-SRC_URI = "http://www.cherokee-project.de/mirrors/cherokee/1.2/${PV}/cherokee-${PV}.tar.gz \
+SRC_URI = "http://mirror.aarnet.edu.au/pub/${BPN}/1.2/${PV}/${BP}.tar.gz \
            file://cherokee.init \
            file://cherokee.service \
            file://cherokee-install-configured.py-once.patch \
Signature · 1 line
2.10.1
#11 lore raw

PATCH 5/5 lmsensors: update SRC_URI and S

In reply to [email protected]

From: Kai Kang <[email protected]>

Rename source tarball in SRC_URI and update S for lmsensors.

---
 meta-oe/recipes-support/lm_sensors/lmsensors_3.4.0.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-support/lm_sensors/lmsensors_3.4.0.bb +3 -3
index dbc05a8..53af6ca 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
 
 DEPENDS = "sysfsutils virtual/libiconv bison-native flex-native rrdtool"
 
-SRC_URI = "https://github.com/groeck/lm-sensors/archive/V3-4-0.tar.gz \
+SRC_URI = "https://github.com/groeck/lm-sensors/archive/V3-4-0.tar.gz;downloadfilename=${BP}.tar.gz \
            file://fancontrol.init \
            file://sensord.init \
            file://0001-lmsensors-sensors-detect-print-a-special-message-whe.patch \
@@ -15,6 +15,8 @@ SRC_URI = "https://github.com/groeck/lm-sensors/archive/V3-4-0.tar.gz \
 SRC_URI[md5sum] = "1e9f117cbfa11be1955adc96df71eadb"
 SRC_URI[sha256sum] = "e334c1c2b06f7290e3e66bdae330a5d36054701ffd47a5dde7a06f9a7402cb4e"
 
+S = "${WORKDIR}/lm-sensors-${@d.getVar('PV').replace('.', '-')}"
+
 inherit update-rc.d systemd
 
 RDEPENDS_${PN}-dev = ""
@@ -29,8 +31,6 @@ SYSTEMD_PACKAGES = "${PN}-sensord"
 SYSTEMD_SERVICE_${PN}-sensord = "sensord.service lm_sensors.service fancontrol.service"
 SYSTEMD_AUTO_ENABLE = "disable"
 
-S = "${WORKDIR}/lm-sensors-3-4-0"
-
 EXTRA_OEMAKE = 'EXLDFLAGS="${LDFLAGS}" \
         MACHINE=${TARGET_ARCH} PREFIX=${prefix} MANDIR=${mandir} \
         LIBDIR=${libdir} \
Signature · 1 line
2.10.1
#12 lore raw
In reply to [email protected]

Github archives can be regenerated from time to time with different checksums, please use git fetcher instead.

Quoted 27 lines · On Mon, Mar 13, 2017 at 4:29 AM, <[email protected]> wrote:

From: Kai Kang <[email protected]>

Update SRC_URIs which show qa warnings when do_fetch.

Kai Kang (5):
fuse: update HOMEPAGE and SRC_URI
curlpp: update HOMEPAGE and SRC_URI
libdnet: update SRC_URI
cherokee: update SRC_URI
lmsensors: update SRC_URI and S

 meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb          | 6 +++---
 meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb | 8 +++++---
 meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb       | 8 ++++----
 meta-oe/recipes-support/lm_sensors/lmsensors_3.4.0.bb        | 6 +++---
 meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb     | 2 +-
 5 files changed, 16 insertions(+), 14 deletions(-)

--
2.10.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#13 lore raw
Quoted 3 lines · Martin Jansa

Github archives can be regenerated from time to time with different checksums, please use git fetcher instead.

is this still the case ? We can probably file an issue about it

Quoted 29 lines · On Mon, Mar 13, 2017 at 4:29 AM, <[email protected]> wrote:
Quoted 28 lines

From: Kai Kang <[email protected]>

Update SRC_URIs which show qa warnings when do_fetch.

Kai Kang (5):
fuse: update HOMEPAGE and SRC_URI
curlpp: update HOMEPAGE and SRC_URI
libdnet: update SRC_URI
cherokee: update SRC_URI
lmsensors: update SRC_URI and S

 meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb          | 6 +++---
 meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb | 8 +++++---
 meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb       | 8 ++++----
 meta-oe/recipes-support/lm_sensors/lmsensors_3.4.0.bb        | 6 +++---
 meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb     | 2 +-
 5 files changed, 16 insertions(+), 14 deletions(-)

--
2.10.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

author
#14 lore raw
In reply to Martin Jansa
Quoted 1 line · Martin Jansa

Github archives can be regenerated from time to time with different checksums, please use git fetcher instead.

OK. Thanks.

--Kai

Quoted 39 lines · On Mon, Mar 13, 2017 at 4:29 AM, <[email protected]…
    From: Kai Kang <[email protected]
    <mailto:[email protected]>>

    Update SRC_URIs which show qa warnings when do_fetch.

    Kai Kang (5):
      fuse: update HOMEPAGE and SRC_URI
      curlpp: update HOMEPAGE and SRC_URI
      libdnet: update SRC_URI
      cherokee: update SRC_URI
      lmsensors: update SRC_URI and S

     meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb
    <http://fuse_2.9.4.bb>   | 6 +++---
     meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
    <http://libdnet_1.12.bb> | 8 +++++---
     meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb
    <http://curlpp_0.7.3.bb>  | 8 ++++----
     meta-oe/recipes-support/lm_sensors/lmsensors_3.4.0.bb
    <http://lmsensors_3.4.0.bb>     | 6 +++---
     meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb
    <http://cherokee_1.2.98.bb>  | 2 +-
     5 files changed, 16 insertions(+), 14 deletions(-)

    --
    2.10.1

    --
    _______________________________________________
    Openembedded-devel mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.openembedded.org/mailman/listinfo/openembedded-devel
    <http://lists.openembedded.org/mailman/listinfo/openembedded-devel>
Signature · 2 lines
Regards,
Neil | Kai Kang
#5 lore raw

Re: [PATCH 2/5] curlpp: update HOMEPAGE and SRC_URI

In reply to [email protected]
Quoted 22 lines · On Mon, Mar 13, 2017 at 11:29:18AM +0800, [email protected] wrote:

From: Kai Kang <[email protected]>

The page of curlpp hosted on googlecode doesn' work now. So update SRC_URI to use repo hosted on github. Update HOMEPAGE as well.

---
 meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb +1 -1
index c3a242a..24f2ef8 100644
@@ -1,5 +1,5 @@
 SUMMARY = "C++ library for client-side URL transfers"
-HOMEPAGE = "http://code.google.com/p/curlpp/"
+HOMEPAGE = "http://www.curlpp.org/"
 SECTION = "libdevel"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384 · line 10

Quoted 5 lines
meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb +1 -1
@@ -7,12 +7,12 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 DEPENDS = "curl boost"
 DEPENDS_class-native = "curl-native"
 
-SRC_URI = "http://curlpp.googlecode.com/files/curlpp-${PV}.tar.gz \
+SRC_URI = "https://github.com/jpbarrette/${BPN}/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz \

So, you are trying to use the same name for the tarball, which has different checksums. Will be a problem for anyone with an old tarball cached on a mirror...

Signature · 1 line
Denys
Quoted 18 lines
meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb +2 -2
     file://example21.cpp-remove-deprecated-code.patch \
 "
 
-SRC_URI[md5sum] = "ccc3d30d4b3b5d2cdbed635898c29485"
-SRC_URI[sha256sum] = "e3f9427b27c5bddf898d383d45c0d3d5397e2056ff935d9a5cdaef6a9a653bd5"
+SRC_URI[md5sum] = "ee05f248bf3bbf7f381d65cf2d0ee50f"
+SRC_URI[sha256sum] = "b72093f221a9e2d0f7ce0bd0f846587835e01607a7bb0f106ff4317a8c30a81c"
 
 inherit autotools-brokensep pkgconfig binconfig
 
Signature · 7 lines
2.10.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
#2 lore raw

Re: [PATCH 1/5] fuse: update HOMEPAGE and SRC_URI

In reply to [email protected]
Quoted 20 lines · On Mon, Mar 13, 2017 at 11:29:17AM +0800, [email protected] wrote:

From: Kai Kang <[email protected]>

The homepage of fuse is redirected to github. So update HOMEPAGE and SRC_URI.

Correct license LGPLv2 with LGPLv2.1 at same time.

---
 meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb +0 -0
index 153fcb4..b34efa1 100644
@@ -4,13 +4,13 @@ DESCRIPTION = "FUSE (Filesystem in Userspace) is a simple interface for userspac
                also aims to provide a secure method for non privileged users to \
                create and mount their own filesystem implementations. \
               "

meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb DESCRIPTION = "FUSE (Filesystem in Userspace) is a simple interface for userspac · line 13

Quoted 10 lines
meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb +3 -3
-HOMEPAGE = "http://fuse.sf.net"
+HOMEPAGE = "https://github.com/libfuse/libfuse"
 SECTION = "libs"
-LICENSE = "GPLv2 & LGPLv2"
+LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/fuse/fuse-${PV}.tar.gz \
+SRC_URI = "https://github.com/libfuse/libfuse/releases/download/fuse_2_9_4/${BP}.tar.gz \

Can you use ${@d.getVar('PV').replace('.', '_')} in the path here ^^^^^^^^^ Similar to what you did in lmsensors...

Quoted 11 lines
meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb +0 -0
            file://gold-unversioned-symbol.patch \
            file://aarch64.patch \
            file://0001-fuse-fix-the-return-value-of-help-option.patch \
Signature · 7 lines
2.10.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
author
#3 lore raw

Re: [PATCH 1/5] fuse: update HOMEPAGE and SRC_URI

Quoted 29 lines · Denys Dmytriyenko
Quoted 28 lines · On Mon, Mar 13, 2017 at 11:29:17AM +0800, [email protected] wrote:

From: Kai Kang <[email protected]>

The homepage of fuse is redirected to github. So update HOMEPAGE and SRC_URI.

Correct license LGPLv2 with LGPLv2.1 at same time.

---
  meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb +2 -2
index 153fcb4..b34efa1 100644
@@ -4,13 +4,13 @@ DESCRIPTION = "FUSE (Filesystem in Userspace) is a simple interface for userspac
                 also aims to provide a secure method for non privileged users to \
                 create and mount their own filesystem implementations. \
                "
-HOMEPAGE = "http://fuse.sf.net"
+HOMEPAGE = "https://github.com/libfuse/libfuse"
  SECTION = "libs"
-LICENSE = "GPLv2 & LGPLv2"
+LICENSE = "GPLv2 & LGPLv2.1"
  LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                      file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
 
Quoted 4 lines

meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb DESCRIPTION = "FUSE (Filesystem in Userspace) is a simple interface for userspac · line 13

Quoted 2 lines
meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb +1 -1
-SRC_URI = "${SOURCEFORGE_MIRROR}/fuse/fuse-${PV}.tar.gz \
+SRC_URI = "https://github.com/libfuse/libfuse/releases/download/fuse_2_9_4/${BP}.tar.gz \

Can you use ${@d.getVar('PV').replace('.', '_')} in the path here ^^^^^^^^^ Similar to what you did in lmsensors...

Thanks for your comment. But Martin said that it should use git rather than tar ball which may be regenerated and checksum changes on github. I am planning replace it with _git version.

Regards,
Kai

Quoted 13 lines
Quoted 13 lines
meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb +0 -0
             file://gold-unversioned-symbol.patch \
             file://aarch64.patch \
             file://0001-fuse-fix-the-return-value-of-help-option.patch \
Signature · 7 lines
2.10.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 2 lines
Regards,
Neil | Kai Kang
author
#7 lore raw

Re: [PATCH 3/5] libdnet: update SRC_URI

In reply to [email protected]
Quoted 15 lines · On 2017年03月13日 11:29, [email protected] wrote:

From: Kai Kang <[email protected]>

The official site libdnet.googlecode.com is redirected to github. So update SRC_URI and its checksums. And update S as well.

---
  meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb | 8 +++++---
  1 file changed, 5 insertions(+), 3 deletions(-)
meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb +0 -0
index 28b6c82..aff64c2 100644

meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb SECTION = "libs" · line 7

Quoted 5 lines
meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb +1 -1
@@ -4,10 +4,12 @@ SECTION = "libs"
  LICENSE = "BSD"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=0036c1b155f4e999f3e0a373490b5db9"
 
-SRC_URI = "http://libdnet.googlecode.com/files/libdnet-${PV}.tgz"
+SRC_URI = "https://github.com/dugsong/${BPN}/archive/${BP}.tar.gz"

Hi Martin,

It is weird that the tag 'libdnet-1.12' is not contained in any branch. I am afraid it could NOT use git repo for libdnet.

Ref:
https://github.com/dugsong/libdnet/commit/12fca29a6d4e99d1b923d6820887fe7b24226904

Regards,
Kai

Quoted 10 lines
meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb +4 -2
-SRC_URI[md5sum] = "9253ef6de1b5e28e9c9a62b882e44cc9"
-SRC_URI[sha256sum] = "83b33039787cf99990e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026"
+SRC_URI[md5sum] = "d2f1b72eac2a1070959667e9e61dcf20"
+SRC_URI[sha256sum] = "b6360659c93fa2e3cde9e0a1fc9c07bc4111f3448c5de856e095eb98315dd424"
+
+S = "${WORKDIR}/${BPN}-${BP}"
 
  inherit autotools
 
Signature · 2 lines
Regards,
Neil | Kai Kang
#8 lore raw

Re: [PATCH 3/5] libdnet: update SRC_URI

Yes, you can use git repo, just add nobranch=1 parameter.

Quoted 57 lines · Kang Kai
Quoted 19 lines · On 2017年03月13日 11:29, [email protected] wrote:

From: Kai Kang <[email protected]>

The official site libdnet.googlecode.com is redirected to github. So update SRC_URI and its checksums. And update S as well.

---
  meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb | 8
+++++---
  1 file changed, 5 insertions(+), 3 deletions(-)
meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb +0 -0
index 28b6c82..aff64c2 100644
@@ -4,10 +4,12 @@ SECTION = "libs"
  LICENSE = "BSD"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=0036c1b155
Quoted 4 lines

f4e999f3e0a373490b5db9"
-SRC_URI = "http://libdnet.googlecode.com/files/libdnet-${PV}.tgz"
+SRC_URI = "https://github.com/dugsong/${BPN}/archive/${BP}.tar.gz"

Hi Martin,

It is weird that the tag 'libdnet-1.12' is not contained in any branch. I am afraid it could NOT use git repo for libdnet.

Ref:
https://github.com/dugsong/libdnet/commit/12fca29a6d4e99d1b9
23d6820887fe7b24226904

Regards,
Kai

meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb SECTION = "libs" · line 14

Quoted 11 lines

-SRC_URI[md5sum] = "9253ef6de1b5e28e9c9a62b882e44cc9"
-SRC_URI[sha256sum] = "83b33039787cf99990e977cef7f18 a5d5e7aaffc4505548a83d31bd3515eb026"

meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb +2 -0
+SRC_URI[md5sum] = "d2f1b72eac2a1070959667e9e61dcf20"
+SRC_URI[sha256sum] = "b6360659c93fa2e3cde9e0a1fc9c0

7bc4111f3448c5de856e095eb98315dd424"

meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb +2 -0
+
+S = "${WORKDIR}/${BPN}-${BP}"
    inherit autotools

--
Regards,
Neil | Kai Kang

author
#9 lore raw

Re: [PATCH 3/5] libdnet: update SRC_URI

Quoted 1 line · Martin Jansa

Yes, you can use git repo, just add nobranch=1 parameter.

OK. Thanks.

--Kai

Quoted 74 lines · On Wed, Mar 22, 2017 at 9:16 AM, Kang Kai <[email protected]…
    On 2017年03月13日 11:29, [email protected]
    <mailto:[email protected]> wrote:

        From: Kai Kang <[email protected]
        <mailto:[email protected]>>

        The official site libdnet.googlecode.com
        <http://libdnet.googlecode.com> is redirected to github. So
        update SRC_URI and its checksums. And update S as well.

        Signed-off-by: Kai Kang <[email protected]
        <mailto:[email protected]>>
        ---
          meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
        <http://libdnet_1.12.bb> | 8 +++++---
          1 file changed, 5 insertions(+), 3 deletions(-)

        diff --git
        a/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
        <http://libdnet_1.12.bb>
        b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
        <http://libdnet_1.12.bb>
        index 28b6c82..aff64c2 100644
        ---
        a/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
        <http://libdnet_1.12.bb>
        +++
        b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
        <http://libdnet_1.12.bb>
        @@ -4,10 +4,12 @@ SECTION = "libs"
          LICENSE = "BSD"
          LIC_FILES_CHKSUM =
        "file://LICENSE;md5=0036c1b155f4e999f3e0a373490b5db9"
          -SRC_URI =
        "http://libdnet.googlecode.com/files/libdnet-${PV}.tgz
        <http://libdnet.googlecode.com/files/libdnet-$%7BPV%7D.tgz>"
        +SRC_URI =
        "https://github.com/dugsong/${BPN}/archive/${BP}.tar.gz
        <https://github.com/dugsong/$%7BBPN%7D/archive/$%7BBP%7D.tar.gz>"


    Hi Martin,

    It is weird that the tag 'libdnet-1.12' is not contained in any
    branch. I am afraid it could NOT use git repo for libdnet.

    Ref:
    https://github.com/dugsong/libdnet/commit/12fca29a6d4e99d1b923d6820887fe7b24226904
    <https://github.com/dugsong/libdnet/commit/12fca29a6d4e99d1b923d6820887fe7b24226904>


    Regards,
    Kai

          -SRC_URI[md5sum] = "9253ef6de1b5e28e9c9a62b882e44cc9"
        -SRC_URI[sha256sum] =
        "83b33039787cf99990e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026"
        +SRC_URI[md5sum] = "d2f1b72eac2a1070959667e9e61dcf20"
        +SRC_URI[sha256sum] =
        "b6360659c93fa2e3cde9e0a1fc9c07bc4111f3448c5de856e095eb98315dd424"
        +
        +S = "${WORKDIR}/${BPN}-${BP}"
            inherit autotools



    -- 
    Regards,
    Neil | Kai Kang
Signature · 2 lines
Regards,
Neil | Kai Kang