All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/pure-ftpd: add optional support for linux-pam
@ 2018-08-01 13:21 Artem Panfilov
  2018-08-01 16:22 ` Bernd Kuhls
  2018-08-05 12:41 ` Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Artem Panfilov @ 2018-08-01 13:21 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Artem Panfilov <apanfilov@spectracom.com>
---
 package/pure-ftpd/pure-ftpd.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/pure-ftpd/pure-ftpd.mk b/package/pure-ftpd/pure-ftpd.mk
index 457e67ea60..ea7578c2cd 100644
--- a/package/pure-ftpd/pure-ftpd.mk
+++ b/package/pure-ftpd/pure-ftpd.mk
@@ -57,4 +57,9 @@ ifeq ($(BR2_PACKAGE_PURE_FTPD_UPLOADSCRIPT),y)
 PURE_FTPD_CONF_OPTS += --with-uploadscript
 endif
 
+ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
+PURE_FTPD_CONF_OPTS += --with-pam
+PURE_FTPD_DEPENDENCIES += linux-pam
+endif
+
 $(eval $(autotools-package))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/pure-ftpd: add optional support for linux-pam
  2018-08-01 13:21 [Buildroot] [PATCH 1/1] package/pure-ftpd: add optional support for linux-pam Artem Panfilov
@ 2018-08-01 16:22 ` Bernd Kuhls
  2018-08-02  8:37   ` Artem Panfilov
  2018-08-05 12:41 ` Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Bernd Kuhls @ 2018-08-01 16:22 UTC (permalink / raw)
  To: buildroot

Am Wed, 01 Aug 2018 16:21:14 +0300 schrieb Artem Panfilov:

> +ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
> +PURE_FTPD_CONF_OPTS += --with-pam
> +PURE_FTPD_DEPENDENCIES += linux-pam
> +endif

Hi Artem,

could you please add

	else
	PURE_FTPD_CONF_OPTS += --without-pam

to make sure the outcome of the configure step takes our config into 
account and not defaults chosen by upstream?

Thanks!

Regards, Bernd

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/pure-ftpd: add optional support for linux-pam
  2018-08-01 16:22 ` Bernd Kuhls
@ 2018-08-02  8:37   ` Artem Panfilov
  0 siblings, 0 replies; 4+ messages in thread
From: Artem Panfilov @ 2018-08-02  8:37 UTC (permalink / raw)
  To: buildroot

Hi Bernd,

 > could you please add
 >
 > ??? else
 > ??? PURE_FTPD_CONF_OPTS += --without-pam

I added your change, thanks.

Best Regards,
Artyom

 From fd70cdf2634e279eb604bbf3381ce70eefd9a7b2 Mon Sep 17 00:00:00 2001
From: Artem Panfilov <apanfilov@spectracom.com>
Date: Wed, 1 Aug 2018 16:05:59 +0300
Subject: [PATCH 1/1] package/pure-ftpd: add optional support for linux-pam

Signed-off-by: Artem Panfilov <apanfilov@spectracom.com>
---
 ?package/pure-ftpd/pure-ftpd.mk | 7 +++++++
 ?1 file changed, 7 insertions(+)

diff --git a/package/pure-ftpd/pure-ftpd.mk b/package/pure-ftpd/pure-ftpd.mk
index 457e67ea60..ae3ca9d1f0 100644
--- a/package/pure-ftpd/pure-ftpd.mk
+++ b/package/pure-ftpd/pure-ftpd.mk
@@ -57,4 +57,11 @@ ifeq ($(BR2_PACKAGE_PURE_FTPD_UPLOADSCRIPT),y)
 ?PURE_FTPD_CONF_OPTS += --with-uploadscript
 ?endif

+ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
+PURE_FTPD_CONF_OPTS += --with-pam
+PURE_FTPD_DEPENDENCIES += linux-pam
+else
+PURE_FTPD_CONF_OPTS += --without-pam
+endif
+
 ?$(eval $(autotools-package))
-- 
2.17.1

On 01.08.2018 19:22, Bernd Kuhls wrote:
> Am Wed, 01 Aug 2018 16:21:14 +0300 schrieb Artem Panfilov:
>
>> +ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
>> +PURE_FTPD_CONF_OPTS += --with-pam
>> +PURE_FTPD_DEPENDENCIES += linux-pam
>> +endif
> Hi Artem,
>
> could you please add
>
> 	else
> 	PURE_FTPD_CONF_OPTS += --without-pam
>
> to make sure the outcome of the configure step takes our config into
> account and not defaults chosen by upstream?
>
> Thanks!
>
> Regards, Bernd
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/pure-ftpd: add optional support for linux-pam
  2018-08-01 13:21 [Buildroot] [PATCH 1/1] package/pure-ftpd: add optional support for linux-pam Artem Panfilov
  2018-08-01 16:22 ` Bernd Kuhls
@ 2018-08-05 12:41 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2018-08-05 12:41 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed,  1 Aug 2018 16:21:14 +0300, Artem Panfilov wrote:
> Signed-off-by: Artem Panfilov <apanfilov@spectracom.com>
> ---
>  package/pure-ftpd/pure-ftpd.mk | 5 +++++
>  1 file changed, 5 insertions(+)

Applied to master after adding an explicit --without-pam, as suggested
by Bernd.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-05 12:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-01 13:21 [Buildroot] [PATCH 1/1] package/pure-ftpd: add optional support for linux-pam Artem Panfilov
2018-08-01 16:22 ` Bernd Kuhls
2018-08-02  8:37   ` Artem Panfilov
2018-08-05 12:41 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.