* [Buildroot] [PATCH 2/7] util-linux: add optional dependency on audit
2016-09-15 10:27 [Buildroot] [PATCH 1/7] util-linux: add optional dependency on readline Rahul Bedarkar
@ 2016-09-15 10:27 ` Rahul Bedarkar
2016-09-16 16:43 ` Thomas Petazzoni
2016-09-15 10:27 ` [Buildroot] [PATCH 3/7] audit: disable autoreconf Rahul Bedarkar
` (3 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: Rahul Bedarkar @ 2016-09-15 10:27 UTC (permalink / raw)
To: buildroot
login and hwclock can be built with audit support. This patch adds
optional dependency on audit package if it is already selected.
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
---
package/util-linux/util-linux.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
index 7b16ca4..82230bc 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -153,6 +153,13 @@ else
UTIL_LINUX_CONF_OPTS += --without-readline
endif
+ifeq ($(BR2_PACKAGE_AUDIT),y)
+UTIL_LINUX_CONF_OPTS += --with-audit
+UTIL_LINUX_DEPENDENCIES += audit
+else
+UTIL_LINUX_CONF_OPTS += --without-audit
+endif
+
# Install PAM configuration files
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS),y)
define UTIL_LINUX_INSTALL_PAMFILES
--
2.6.2
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH 3/7] audit: disable autoreconf
2016-09-15 10:27 [Buildroot] [PATCH 1/7] util-linux: add optional dependency on readline Rahul Bedarkar
2016-09-15 10:27 ` [Buildroot] [PATCH 2/7] util-linux: add optional dependency on audit Rahul Bedarkar
@ 2016-09-15 10:27 ` Rahul Bedarkar
2016-09-16 16:44 ` Thomas Petazzoni
2016-09-15 10:27 ` [Buildroot] [PATCH 4/7] audit: bump version to 2.6.7 Rahul Bedarkar
` (2 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: Rahul Bedarkar @ 2016-09-15 10:27 UTC (permalink / raw)
To: buildroot
Commit upstream 51925b7dd6d0("package/audit: Bump to version 2.6.5")
removed patch 0002 as part of version bump. But forgot to disable
autoreconf.
Fixes: 51925b7dd6d0("package/audit: Bump to version 2.6.5")
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
---
package/audit/audit.mk | 2 --
1 file changed, 2 deletions(-)
diff --git a/package/audit/audit.mk b/package/audit/audit.mk
index 06ec959..11ee8df 100644
--- a/package/audit/audit.mk
+++ b/package/audit/audit.mk
@@ -8,8 +8,6 @@ AUDIT_VERSION = 2.6.5
AUDIT_SITE = http://people.redhat.com/sgrubb/audit
AUDIT_LICENSE = GPLv2
AUDIT_LICENSE_FILES = COPYING
-# 0002-Fix-usage-of-audit_status.feature_bitmap.patch
-AUDIT_AUTORECONF = YES
AUDIT_INSTALL_STAGING = YES
--
2.6.2
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH 4/7] audit: bump version to 2.6.7
2016-09-15 10:27 [Buildroot] [PATCH 1/7] util-linux: add optional dependency on readline Rahul Bedarkar
2016-09-15 10:27 ` [Buildroot] [PATCH 2/7] util-linux: add optional dependency on audit Rahul Bedarkar
2016-09-15 10:27 ` [Buildroot] [PATCH 3/7] audit: disable autoreconf Rahul Bedarkar
@ 2016-09-15 10:27 ` Rahul Bedarkar
2016-09-16 16:44 ` Thomas Petazzoni
2016-09-15 10:27 ` [Buildroot] [PATCH 5/7] audit: update legal info Rahul Bedarkar
2016-09-16 16:42 ` [Buildroot] [PATCH 1/7] util-linux: add optional dependency on readline Thomas Petazzoni
4 siblings, 1 reply; 11+ messages in thread
From: Rahul Bedarkar @ 2016-09-15 10:27 UTC (permalink / raw)
To: buildroot
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
---
package/audit/audit.hash | 2 +-
package/audit/audit.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/audit/audit.hash b/package/audit/audit.hash
index 2ce381f..794a93a 100644
--- a/package/audit/audit.hash
+++ b/package/audit/audit.hash
@@ -1,2 +1,2 @@
#Locally computed
-sha256 d99339a63fc6efaaee89efe7fa0e0c395f661392a4ae5056b2c9d10c67ca63a1 audit-2.6.5.tar.gz
+sha256 8923917332daa7833bbc0c1d9eb012167093fbad000da4a9630fb3356aff8cdc audit-2.6.7.tar.gz
diff --git a/package/audit/audit.mk b/package/audit/audit.mk
index 11ee8df..7137208 100644
--- a/package/audit/audit.mk
+++ b/package/audit/audit.mk
@@ -4,7 +4,7 @@
#
################################################################################
-AUDIT_VERSION = 2.6.5
+AUDIT_VERSION = 2.6.7
AUDIT_SITE = http://people.redhat.com/sgrubb/audit
AUDIT_LICENSE = GPLv2
AUDIT_LICENSE_FILES = COPYING
--
2.6.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 4/7] audit: bump version to 2.6.7
2016-09-15 10:27 ` [Buildroot] [PATCH 4/7] audit: bump version to 2.6.7 Rahul Bedarkar
@ 2016-09-16 16:44 ` Thomas Petazzoni
0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2016-09-16 16:44 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 15 Sep 2016 15:57:05 +0530, Rahul Bedarkar wrote:
> Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
> ---
> package/audit/audit.hash | 2 +-
> package/audit/audit.mk | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 5/7] audit: update legal info
2016-09-15 10:27 [Buildroot] [PATCH 1/7] util-linux: add optional dependency on readline Rahul Bedarkar
` (2 preceding siblings ...)
2016-09-15 10:27 ` [Buildroot] [PATCH 4/7] audit: bump version to 2.6.7 Rahul Bedarkar
@ 2016-09-15 10:27 ` Rahul Bedarkar
2016-09-15 16:20 ` Arnout Vandecappelle
2016-09-16 16:45 ` Thomas Petazzoni
2016-09-16 16:42 ` [Buildroot] [PATCH 1/7] util-linux: add optional dependency on readline Thomas Petazzoni
4 siblings, 2 replies; 11+ messages in thread
From: Rahul Bedarkar @ 2016-09-15 10:27 UTC (permalink / raw)
To: buildroot
Programs are released under GPLv2+. README file says libraries
libaudit.* and libauparse.* are released under LGPL but there are two
files auparse/strsplit.c and lib/strsplit.c which are released under
GPLv2+ which makes both libraries GPL. Until we review situation with
upstream, we don't add license for libraries.
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
---
package/audit/audit.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/audit/audit.mk b/package/audit/audit.mk
index 7137208..1a203ce 100644
--- a/package/audit/audit.mk
+++ b/package/audit/audit.mk
@@ -6,7 +6,7 @@
AUDIT_VERSION = 2.6.7
AUDIT_SITE = http://people.redhat.com/sgrubb/audit
-AUDIT_LICENSE = GPLv2
+AUDIT_LICENSE = GPLv2+ (programs)
AUDIT_LICENSE_FILES = COPYING
AUDIT_INSTALL_STAGING = YES
--
2.6.2
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH 5/7] audit: update legal info
2016-09-15 10:27 ` [Buildroot] [PATCH 5/7] audit: update legal info Rahul Bedarkar
@ 2016-09-15 16:20 ` Arnout Vandecappelle
2016-09-16 16:45 ` Thomas Petazzoni
1 sibling, 0 replies; 11+ messages in thread
From: Arnout Vandecappelle @ 2016-09-15 16:20 UTC (permalink / raw)
To: buildroot
On 15-09-16 12:27, Rahul Bedarkar wrote:
> Programs are released under GPLv2+. README file says libraries
> libaudit.* and libauparse.* are released under LGPL but there are two
> files auparse/strsplit.c and lib/strsplit.c which are released under
> GPLv2+ which makes both libraries GPL. Until we review situation with
> upstream, we don't add license for libraries.
In that case, I'd prefer to add "unclear (libraries)".
Regards,
Arnout
>
> Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
> ---
> package/audit/audit.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/audit/audit.mk b/package/audit/audit.mk
> index 7137208..1a203ce 100644
> --- a/package/audit/audit.mk
> +++ b/package/audit/audit.mk
> @@ -6,7 +6,7 @@
>
> AUDIT_VERSION = 2.6.7
> AUDIT_SITE = http://people.redhat.com/sgrubb/audit
> -AUDIT_LICENSE = GPLv2
> +AUDIT_LICENSE = GPLv2+ (programs)
> AUDIT_LICENSE_FILES = COPYING
>
> AUDIT_INSTALL_STAGING = YES
>
--
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 5/7] audit: update legal info
2016-09-15 10:27 ` [Buildroot] [PATCH 5/7] audit: update legal info Rahul Bedarkar
2016-09-15 16:20 ` Arnout Vandecappelle
@ 2016-09-16 16:45 ` Thomas Petazzoni
1 sibling, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2016-09-16 16:45 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 15 Sep 2016 15:57:06 +0530, Rahul Bedarkar wrote:
> Programs are released under GPLv2+. README file says libraries
> libaudit.* and libauparse.* are released under LGPL but there are two
> files auparse/strsplit.c and lib/strsplit.c which are released under
> GPLv2+ which makes both libraries GPL. Until we review situation with
> upstream, we don't add license for libraries.
>
> Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
> ---
> package/audit/audit.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, after taking into account Arnout's suggestion of
adding "unclear (libraries)" to the license information.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 1/7] util-linux: add optional dependency on readline
2016-09-15 10:27 [Buildroot] [PATCH 1/7] util-linux: add optional dependency on readline Rahul Bedarkar
` (3 preceding siblings ...)
2016-09-15 10:27 ` [Buildroot] [PATCH 5/7] audit: update legal info Rahul Bedarkar
@ 2016-09-16 16:42 ` Thomas Petazzoni
4 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2016-09-16 16:42 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 15 Sep 2016 15:57:02 +0530, Rahul Bedarkar wrote:
> fdisk and sfdisk tools can be built with readline support. This patch
> adds optional dependency on readline if it is already selected.
>
> Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
> ---
> package/util-linux/util-linux.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread