Patchwork [2011.03-maintenance,5/7] libcap: update SRC_URI

login
register
mail settings
Submitter Apelete Seketeli
Date March 2, 2013, 11:57 a.m.
Message ID <72d98f98a772a3a7aabc11531e8c70bf52f11a88.1362223895.git.apelete@seketeli.net>
Download mbox | patch
Permalink /patch/45425/
State New, archived
Headers show

Comments

Apelete Seketeli - March 2, 2013, 11:57 a.m.
Update SRC_URI to downloads.yoctoproject.org since libcap source
packages are no longer available from kernel.org.
---
 recipes/libcap/libcap2_2.20.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Martin Jansa - March 2, 2013, 1:16 p.m.
On Sat, Mar 02, 2013 at 12:57:06PM +0100, Apelete Seketeli wrote:
> Update SRC_URI to downloads.yoctoproject.org since libcap source
> packages are no longer available from kernel.org.
> ---
>  recipes/libcap/libcap2_2.20.bb |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes/libcap/libcap2_2.20.bb b/recipes/libcap/libcap2_2.20.bb
> index e3a18ec..3e7d4bd 100644
> --- a/recipes/libcap/libcap2_2.20.bb
> +++ b/recipes/libcap/libcap2_2.20.bb
> @@ -9,7 +9,7 @@ BUILD_CFLAGS += "-I${S}/libcap/include"
>  CFLAGS += "-I${S}/libcap/include"
>  LDFLAGS =+ "-L../libcap"
>  
> -SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/security/linux-privs/libcap2/libcap-${PV}.tar.bz2 \
> +SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/libcap-${PV}.tar.bz2 \

Why not add downloads.yoctoproject.org to default MIRRORS it will
resolve IIRC 3 patches from this set.

>  	   file://make.patch \
>  	"
>  
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Patch

diff --git a/recipes/libcap/libcap2_2.20.bb b/recipes/libcap/libcap2_2.20.bb
index e3a18ec..3e7d4bd 100644
--- a/recipes/libcap/libcap2_2.20.bb
+++ b/recipes/libcap/libcap2_2.20.bb
@@ -9,7 +9,7 @@  BUILD_CFLAGS += "-I${S}/libcap/include"
 CFLAGS += "-I${S}/libcap/include"
 LDFLAGS =+ "-L../libcap"
 
-SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/security/linux-privs/libcap2/libcap-${PV}.tar.bz2 \
+SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/libcap-${PV}.tar.bz2 \
 	   file://make.patch \
 	"