Mail archive
alpine-devel

Re: [alpine-devel] [PATCH] testing/ecryptfs-utils: New aport

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Tue, 16 Dec 2014 15:07:19 +0100

On Thu, 11 Dec 2014 08:59:31 +0400
k0r10n <k0r10n.dev_at_gmail.com> wrote:

> ---
> testing/ecryptfs-utils/APKBUILD | 56 ++++++++++++++++++++++++++++++++
> testing/ecryptfs-utils/fix-headers.patch | 28 ++++++++++++++++
> 2 files changed, 84 insertions(+)
> create mode 100644 testing/ecryptfs-utils/APKBUILD
> create mode 100644 testing/ecryptfs-utils/fix-headers.patch

applied + some post fixes.

I have a question about the patch below:

...

> diff --git a/testing/ecryptfs-utils/fix-headers.patch b/testing/ecryptfs-utils/fix-headers.patch
> new file mode 100644
> index 0000000..eb2ca3e
> --- /dev/null
> +++ b/testing/ecryptfs-utils/fix-headers.patch
> _at_@ -0,0 +1,28 @@
> +--- a/src/utils/mount.ecryptfs.c.orig
> ++++ b/src/utils/mount.ecryptfs.c
> +_at_@ -24,7 +24,6 @@
> + #include <errno.h>
> + #include <fcntl.h>
> + #include <getopt.h>
> +-#include <keyutils.h>
> + #include <stdio.h>
> + #include <stdlib.h>
> + #include <string.h>
> +_at_@ -34,6 +33,7 @@
> + #include <sys/stat.h>
> + #include <sys/types.h>
> + #include <sys/wait.h>
> ++#include <keyutils.h>
> + #include "ecryptfs.h"
> + #include "decision_graph.h"
> + #include "io.h"

It looks like this only move the include of keyutils.h down? why is
that needed?

-nc


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Tue Dec 16 2014 - 15:07:19 GMT