From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnout Vandecappelle Date: Mon, 1 Feb 2016 19:41:24 +0100 Subject: [Buildroot] [PATCH] package: aespipe: add host variant In-Reply-To: <1454341047-14412-1-git-send-email-ariel@vanguardiasur.com.ar> References: <1454341047-14412-1-git-send-email-ariel@vanguardiasur.com.ar> Message-ID: <56AFA6D4.3060109@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 01-02-16 16:37, Ariel D'Alessandro wrote: > Signed-off-by: Ariel D'Alessandro Your commit message should explain why this is needed. Something like: Post-image scripts may want to encrypt the resulting image with aespipe (and decrypt it in the update tool on the target), so it is useful to have the host version and to be able to select it in the configuration. > --- > package/Config.in.host | 1 + > package/aespipe/Config.in.host | 10 ++++++++++ > package/aespipe/aespipe.mk | 1 + > 3 files changed, 12 insertions(+) > create mode 100644 package/aespipe/Config.in.host > > diff --git a/package/Config.in.host b/package/Config.in.host > index 8e6b870..1c691a3 100644 > --- a/package/Config.in.host > +++ b/package/Config.in.host > @@ -1,5 +1,6 @@ > menu "Host utilities" > > + source "package/aespipe/Config.in.host" > source "package/checkpolicy/Config.in.host" > source "package/cramfs/Config.in.host" > source "package/dfu-util/Config.in.host" > diff --git a/package/aespipe/Config.in.host b/package/aespipe/Config.in.host > new file mode 100644 > index 0000000..29f6232 > --- /dev/null > +++ b/package/aespipe/Config.in.host > @@ -0,0 +1,10 @@ > +config BR2_PACKAGE_HOST_AESPIPE > + bool "host aespipe" > + depends on BR2_USE_MMU # fork() This shouldn't be there. If the target doesn't have a MMU, you can still build it for the host. Otherwise looks good to me. Regards, Arnout > + help > + aespipe program is AES encrypting or decrypting pipe. It reads from > + standard input and writes to standard output. It can be used to > + create and restore encrypted tar or cpio archives. It can be used to > + encrypt and decrypt loop-AES compatible encrypted disk images. > + > + http://koti.tnnet.fi/jari.ruusu/linux/ > diff --git a/package/aespipe/aespipe.mk b/package/aespipe/aespipe.mk > index a220688..c567092 100644 > --- a/package/aespipe/aespipe.mk > +++ b/package/aespipe/aespipe.mk > @@ -10,3 +10,4 @@ AESPIPE_SITE = http://loop-aes.sourceforge.net/aespipe > AESPIPE_LICENSE = GPL > > $(eval $(autotools-package)) > +$(eval $(host-autotools-package)) > -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF