Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v5 01/24] sepolgen: new package
Date: Mon, 18 May 2015 23:16:59 +0200	[thread overview]
Message-ID: <20150518231659.5973a78f@free-electrons.com> (raw)
In-Reply-To: <1431553177-7280-2-git-send-email-clayton.shotwell@rockwellcollins.com>

Dear Clayton Shotwell,

On Wed, 13 May 2015 16:39:14 -0500, Clayton Shotwell wrote:

> Changes v4 -> v5:
>   - Fixed package name to be BR2_PACKAGE_HOST_SEPOLGEN (Suggested by
>     Thomas P.)

This contradicts...

>   - No menu entry needed as host dependency aren't reflected in
>     Config.in files (Suggested by Thomas P.)

.. this, no? :-)

> diff --git a/package/sepolgen/sepolgen.hash b/package/sepolgen/sepolgen.hash
> new file mode 100644
> index 0000000..a377c66
> --- /dev/null
> +++ b/package/sepolgen/sepolgen.hash
> @@ -0,0 +1,2 @@
> +# https://github.com/SELinuxProject/selinux/wiki/Releases
> +sha256 8a1c6d3a78c9b6ad3555c74def555f65a62950bf21c111c585bfc382fec3a645  sepolgen-1.1.9.tar.gz
> diff --git a/package/sepolgen/sepolgen.mk b/package/sepolgen/sepolgen.mk
> new file mode 100644
> index 0000000..7c95866
> --- /dev/null
> +++ b/package/sepolgen/sepolgen.mk
> @@ -0,0 +1,30 @@
> +################################################################################
> +#
> +# sepolgen
> +#
> +################################################################################
> +
> +SEPOLGEN_VERSION = 1.1.9
> +SEPOLGEN_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20130423
> +SEPOLGEN_LICENSE = GPLv2
> +SEPOLGEN_LICENSE_FILES = COPYING
> +
> +ifeq ($(BR2_PACKAGE_PYTHON3),y)
> +HOST_SEPOLGEN_DEPENDENCIES = host-python3
> +HOST_SEPOLGEN_MAKE_CMDS = $(HOST_CONFIGURE_OPTS) \
> +	PYTHONLIBDIR=/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages
> +else
> +HOST_SEPOLGEN_DEPENDENCIES = host-python
> +HOST_SEPOLGEN_MAKE_CMDS = $(HOST_CONFIGURE_OPTS) \
> +	PYTHONLIBDIR=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages
> +endif
> +
> +define HOST_SEPOLGEN_BUILD_CMDS
> +	$(MAKE) -C $(@D) $(HOST_SEPOLGEN_MAKE_CMDS) DESTDIR=$(HOST_DIR)
> +endef
> +
> +define HOST_SEPOLGEN_INSTALL_CMDS
> +	$(MAKE) -C $(@D) $(HOST_SEPOLGEN_MAKE_CMDS) DESTDIR=$(HOST_DIR) install
> +endef
> +
> +$(eval $(host-generic-package))

This looks good to me. Any reason not to use the latest 1.2.2 version?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2015-05-18 21:16 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-13 21:39 [Buildroot] [PATCH v5 00/24] SELinux Buildroot Additions Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 01/24] sepolgen: new package Clayton Shotwell
2015-05-18 21:16   ` Thomas Petazzoni [this message]
2015-05-18 21:30     ` Clayton Shotwell
2015-05-18 21:33       ` Thomas Petazzoni
2015-05-21 21:15   ` Thomas Petazzoni
2015-05-13 21:39 ` [Buildroot] [PATCH v5 02/24] sqlite: Add host build support Clayton Shotwell
2015-05-18 21:17   ` Thomas Petazzoni
2015-05-18 21:26     ` Clayton Shotwell
2015-05-18 21:33       ` Thomas Petazzoni
2015-05-13 21:39 ` [Buildroot] [PATCH v5 03/24] setools: new package Clayton Shotwell
2015-05-18 21:31   ` Thomas Petazzoni
2015-05-19 13:22     ` Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 04/24] python-pyparsing: Add host build option Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 05/24] audit: new package Clayton Shotwell
2015-05-14 17:31   ` Samuel Martin
2015-05-18 13:51     ` Clayton Shotwell
2015-05-21 21:33   ` Thomas Petazzoni
2015-05-22 18:28     ` Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 06/24] policycoreutils: " Clayton Shotwell
2015-05-15  5:29   ` Samuel Martin
2015-05-15  5:55     ` Samuel Martin
2015-05-13 21:39 ` [Buildroot] [PATCH v5 07/24] refpolicy: " Clayton Shotwell
2015-05-13 22:01   ` Ryan Barnett
2015-05-15  6:00   ` Samuel Martin
2015-05-18 14:03     ` Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 08/24] busybox: applets as individual binaries Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 09/24] busybox: selinux support Clayton Shotwell
2015-05-15  6:22   ` Samuel Martin
2015-05-18 14:14     ` Clayton Shotwell
2015-05-18 14:30       ` Thomas Petazzoni
2015-05-18 14:31         ` Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 10/24] linux-pam: " Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 11/24] busybox: added linux-pam support Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 12/24] sysvinit: added libselinux dependency Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 13/24] dbus: selinux file context support Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 14/24] openssh: selinux and pam support Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 15/24] util-linux: selinux, audit, " Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 16/24] vim: selinux support Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 17/24] rsyslog: fix config file comment style Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 18/24] qemu x86 selinux: added common selinux support files Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 19/24] qemu x86 selinux: base br defconfig Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 20/24] libsemanage: cleanup python use and license definition Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 21/24] bash: added option to disable locale support Clayton Shotwell
2015-05-14  0:42   ` Matthew Weber
2015-05-13 21:39 ` [Buildroot] [PATCH v5 22/24] squashfs: Add xattr support Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 23/24] mtd: " Clayton Shotwell
2015-05-13 21:39 ` [Buildroot] [PATCH v5 24/24] cpio: new package Clayton Shotwell
2015-05-15  7:26   ` Samuel Martin
2015-05-18 14:09     ` Clayton Shotwell
2015-05-18 14:13       ` Thomas Petazzoni
2015-05-18 14:16         ` Clayton Shotwell
2015-05-18 14:24           ` Samuel Martin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150518231659.5973a78f@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox