Patchwork libcap2: add libpam to DEPENDS

login
register
mail settings
Submitter Andreas Oberritter
Date Jan. 13, 2011, 9:19 p.m.
Message ID <1294953575-30765-1-git-send-email-obi@opendreambox.org>
Download mbox | patch
Permalink /patch/275/
State Superseded
Headers show

Comments

Andreas Oberritter - Jan. 13, 2011, 9:19 p.m.
* Fixes the following compile error:

pam_cap.c:19:34: error: security/pam_modules.h: No such file or
directory
pam_cap.c:20:34: error: security/_pam_macros.h: No such file or
directory

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
CC: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
---
 recipes/libcap/libcap2_2.16.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Otavio Salvador - Jan. 13, 2011, 9:25 p.m.
Acked-by: Otavio Salvador <otavio@ossystems.com.br>

On Thu, Jan 13, 2011 at 19:19, Andreas Oberritter <obi@opendreambox.org> wrote:
> * Fixes the following compile error:
>
> pam_cap.c:19:34: error: security/pam_modules.h: No such file or
> directory
> pam_cap.c:20:34: error: security/_pam_macros.h: No such file or
> directory
>
> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
> CC: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
> ---
>  recipes/libcap/libcap2_2.16.bb |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes/libcap/libcap2_2.16.bb b/recipes/libcap/libcap2_2.16.bb
> index 97b03d5..be0788e 100644
> --- a/recipes/libcap/libcap2_2.16.bb
> +++ b/recipes/libcap/libcap2_2.16.bb
> @@ -2,8 +2,8 @@ DESCRIPTION = "Libcap is a library for getting and setting POSIX.1e (formerly PO
>  PRIORITY = "optional"
>  SECTION = "libs"
>  LICENSE = "GPL"
> -DEPENDS = "bison-native flex-native attr"
> -PR = "r2"
> +DEPENDS = "bison-native flex-native attr libpam"
> +PR = "r3"
>
>  BUILD_CFLAGS += "-I${S}/libcap/include"
>  CFLAGS += "-I${S}/libcap/include"
> --
> 1.7.2.3
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
Tom Rini - Jan. 13, 2011, 9:29 p.m.
On 01/13/2011 02:19 PM, Andreas Oberritter wrote:
> * Fixes the following compile error:
>
> pam_cap.c:19:34: error: security/pam_modules.h: No such file or
> directory
> pam_cap.c:20:34: error: security/_pam_macros.h: No such file or
> directory
>
> Signed-off-by: Andreas Oberritter<obi@opendreambox.org>
> CC: Frans Meulenbroeks<fransmeulenbroeks@gmail.com>

Possible to use the pam DISTRO_FEATURE?

> ---
>   recipes/libcap/libcap2_2.16.bb |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes/libcap/libcap2_2.16.bb b/recipes/libcap/libcap2_2.16.bb
> index 97b03d5..be0788e 100644
> --- a/recipes/libcap/libcap2_2.16.bb
> +++ b/recipes/libcap/libcap2_2.16.bb
> @@ -2,8 +2,8 @@ DESCRIPTION = "Libcap is a library for getting and setting POSIX.1e (formerly PO
>   PRIORITY = "optional"
>   SECTION = "libs"
>   LICENSE = "GPL"
> -DEPENDS = "bison-native flex-native attr"
> -PR = "r2"
> +DEPENDS = "bison-native flex-native attr libpam"
> +PR = "r3"
>
>   BUILD_CFLAGS += "-I${S}/libcap/include"
>   CFLAGS += "-I${S}/libcap/include"

Patch

diff --git a/recipes/libcap/libcap2_2.16.bb b/recipes/libcap/libcap2_2.16.bb
index 97b03d5..be0788e 100644
--- a/recipes/libcap/libcap2_2.16.bb
+++ b/recipes/libcap/libcap2_2.16.bb
@@ -2,8 +2,8 @@  DESCRIPTION = "Libcap is a library for getting and setting POSIX.1e (formerly PO
 PRIORITY = "optional"
 SECTION = "libs"
 LICENSE = "GPL"
-DEPENDS = "bison-native flex-native attr"
-PR = "r2"
+DEPENDS = "bison-native flex-native attr libpam"
+PR = "r3"
 
 BUILD_CFLAGS += "-I${S}/libcap/include"
 CFLAGS += "-I${S}/libcap/include"