Patchwork [2/2] libcap: fetch from Debian

login
register
mail settings
Submitter Marcin Juszkiewicz
Date Aug. 23, 2012, 7:24 a.m.
Message ID <1345706669-28914-2-git-send-email-marcin.juszkiewicz@linaro.org>
Download mbox | patch
Permalink /patch/35209/
State Accepted
Commit 149b8bebe21ebf2f126d3ab2a21c036c556a63c7
Headers show

Comments

Marcin Juszkiewicz - Aug. 23, 2012, 7:24 a.m.
Original location was kernel.org and it was not restored after server
was hacked.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 meta/recipes-support/libcap/libcap.inc     |    2 +-
 meta/recipes-support/libcap/libcap_2.22.bb |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Martin Jansa - Aug. 23, 2012, 7:31 a.m.
On Thu, Aug 23, 2012 at 09:24:29AM +0200, Marcin Juszkiewicz wrote:
> Original location was kernel.org and it was not restored after server
> was hacked.

So the SRC_URI checksums are different because it was repackaged? Please
include diff of content from those 2 archives in commit message.

Cheers,

> 
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
>  meta/recipes-support/libcap/libcap.inc     |    2 +-
>  meta/recipes-support/libcap/libcap_2.22.bb |    4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/recipes-support/libcap/libcap.inc b/meta/recipes-support/libcap/libcap.inc
> index 5b03671..5d7291e 100644
> --- a/meta/recipes-support/libcap/libcap.inc
> +++ b/meta/recipes-support/libcap/libcap.inc
> @@ -10,7 +10,7 @@ DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
>  # attr and pam are disabled by EXTRA_OEMAKE_virtclass-native
>  DEPENDS_virtclass-native = "perl-native-runtime"
>  
> -SRC_URI = "${KERNELORG_MIRROR}/linux/libs/security/linux-privs/libcap2/${BPN}-${PV}.tar.bz2"
> +SRC_URI = "${DEBIAN_MIRROR}/main/libc/libcap2/${BPN}2_${PV}.orig.tar.gz"
>  
>  PR = "r1"
>  
> diff --git a/meta/recipes-support/libcap/libcap_2.22.bb b/meta/recipes-support/libcap/libcap_2.22.bb
> index be1df54..b631c51 100644
> --- a/meta/recipes-support/libcap/libcap_2.22.bb
> +++ b/meta/recipes-support/libcap/libcap_2.22.bb
> @@ -2,5 +2,5 @@ require libcap.inc
>  
>  PR = "r3"
>  
> -SRC_URI[md5sum] = "ce64058bdb3f086ddbfca8ce6c919845"
> -SRC_URI[sha256sum] = "73ebbd4877b5f69dd28b72098e510c5b318bc480f8201c4061ac98b78c04050f"
> +SRC_URI[md5sum] = "b4896816b626bea445f0b3849bdd4077"
> +SRC_URI[sha256sum] = "e1cae65d8febf2579be37c255d2e058715785ead481a4e6a4357a06aff84721f"
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Marcin Juszkiewicz - Aug. 23, 2012, 7:36 a.m.
W dniu 23.08.2012 09:31, Martin Jansa pisze:
> On Thu, Aug 23, 2012 at 09:24:29AM +0200, Marcin Juszkiewicz wrote:
>> Original location was kernel.org and it was not restored after server
>> was hacked.
> 
> So the SRC_URI checksums are different because it was repackaged? Please
> include diff of content from those 2 archives in commit message.

Content of those archives is exactly same. Checked md5 sums of all file
in both.

Patch

diff --git a/meta/recipes-support/libcap/libcap.inc b/meta/recipes-support/libcap/libcap.inc
index 5b03671..5d7291e 100644
--- a/meta/recipes-support/libcap/libcap.inc
+++ b/meta/recipes-support/libcap/libcap.inc
@@ -10,7 +10,7 @@  DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 # attr and pam are disabled by EXTRA_OEMAKE_virtclass-native
 DEPENDS_virtclass-native = "perl-native-runtime"
 
-SRC_URI = "${KERNELORG_MIRROR}/linux/libs/security/linux-privs/libcap2/${BPN}-${PV}.tar.bz2"
+SRC_URI = "${DEBIAN_MIRROR}/main/libc/libcap2/${BPN}2_${PV}.orig.tar.gz"
 
 PR = "r1"
 
diff --git a/meta/recipes-support/libcap/libcap_2.22.bb b/meta/recipes-support/libcap/libcap_2.22.bb
index be1df54..b631c51 100644
--- a/meta/recipes-support/libcap/libcap_2.22.bb
+++ b/meta/recipes-support/libcap/libcap_2.22.bb
@@ -2,5 +2,5 @@  require libcap.inc
 
 PR = "r3"
 
-SRC_URI[md5sum] = "ce64058bdb3f086ddbfca8ce6c919845"
-SRC_URI[sha256sum] = "73ebbd4877b5f69dd28b72098e510c5b318bc480f8201c4061ac98b78c04050f"
+SRC_URI[md5sum] = "b4896816b626bea445f0b3849bdd4077"
+SRC_URI[sha256sum] = "e1cae65d8febf2579be37c255d2e058715785ead481a4e6a4357a06aff84721f"