All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] quota: add package
@ 2012-05-25  6:33 Jarkko Sakkinen
  2012-05-29 19:38 ` Arnout Vandecappelle
  0 siblings, 1 reply; 3+ messages in thread
From: Jarkko Sakkinen @ 2012-05-25  6:33 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@intel.com>
---
 package/Config.in       |    3 +++
 package/quota/Config.in |    9 +++++++++
 package/quota/quota.mk  |   19 +++++++++++++++++++
 3 files changed, 31 insertions(+)
 create mode 100644 package/quota/Config.in
 create mode 100644 package/quota/quota.mk

diff --git a/package/Config.in b/package/Config.in
index fb1b08f..eb76e14 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -632,6 +632,9 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 source "package/module-init-tools/Config.in"
 source "package/procps/Config.in"
 source "package/psmisc/Config.in"
+endif
+source "package/quota/Config.in"
+if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 source "package/rsyslog/Config.in"
 source "package/sysklogd/Config.in"
 source "package/sysvinit/Config.in"
diff --git a/package/quota/Config.in b/package/quota/Config.in
new file mode 100644
index 0000000..d2b7490
--- /dev/null
+++ b/package/quota/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_QUOTA
+	bool "quota"
+	depends on BR2_INET_RPC
+	help
+		Implementation of the disk quota system.
+		http://sourceforge.net/projects/linuxquota/
+
+comment "quota requires a toolchain with RPC support"
+	depends on !BR2_INET_RPC
diff --git a/package/quota/quota.mk b/package/quota/quota.mk
new file mode 100644
index 0000000..90254ba
--- /dev/null
+++ b/package/quota/quota.mk
@@ -0,0 +1,19 @@
+#############################################################
+#
+# QUOTA
+#
+#############################################################
+
+QUOTA_VERSION = 4.00
+QUOTA_SOURCE = quota-$(QUOTA_VERSION).tar.gz
+QUOTA_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION)
+
+QUOTA_CONF_OPT = \
+	--prefix=$(TARGET_DIR) \
+	--exec-prefix=$(TARGET_DIR)
+
+QUOTA_MAKE_OPT = \
+	CC="$(TARGET_CC)" \
+	CXX="$(TARGET_CXX)"
+
+$(eval $(call AUTOTARGETS))
-- 
1.7.9.5

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

* [Buildroot] [PATCH] quota: add package
  2012-05-25  6:33 [Buildroot] [PATCH] quota: add package Jarkko Sakkinen
@ 2012-05-29 19:38 ` Arnout Vandecappelle
  2012-05-30  5:48   ` Jarkko Sakkinen
  0 siblings, 1 reply; 3+ messages in thread
From: Arnout Vandecappelle @ 2012-05-29 19:38 UTC (permalink / raw)
  To: buildroot

On 05/25/12 08:33, Jarkko Sakkinen wrote:
[snip]
> +QUOTA_CONF_OPT = \
> +	--prefix=$(TARGET_DIR) \
> +	--exec-prefix=$(TARGET_DIR)

  Although this probably works, it's better to use /usr as prefix, and add
ROOTDIR=$(TARGET_DIR) to QUOTA_MAKE_OPT.  You may want to add the
--enable-rootsbin=yes configure option as well.

  Regards,
  Arnout

[snip]
-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
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:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

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

* [Buildroot] [PATCH] quota: add package
  2012-05-29 19:38 ` Arnout Vandecappelle
@ 2012-05-30  5:48   ` Jarkko Sakkinen
  0 siblings, 0 replies; 3+ messages in thread
From: Jarkko Sakkinen @ 2012-05-30  5:48 UTC (permalink / raw)
  To: buildroot

Hi

On Tue, 29 May 2012, Arnout Vandecappelle wrote:

> On 05/25/12 08:33, Jarkko Sakkinen wrote:
> [snip]
>> +QUOTA_CONF_OPT = \
>> +	--prefix=$(TARGET_DIR) \
>> +	--exec-prefix=$(TARGET_DIR)
>
> Although this probably works, it's better to use /usr as prefix, and add
> ROOTDIR=$(TARGET_DIR) to QUOTA_MAKE_OPT.  You may want to add the
> --enable-rootsbin=yes configure option as well.


I've now reworked this a bit:
http://patchwork.ozlabs.org/patch/161803/

Thanks for your comments!

>
> Regards,
> Arnout
>
> [snip]
> -- 
> Arnout Vandecappelle                               arnout at mind be
> Senior Embedded Software Architect                 +32-16-286540
> 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:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
>

/Jarkko

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

end of thread, other threads:[~2012-05-30  5:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-25  6:33 [Buildroot] [PATCH] quota: add package Jarkko Sakkinen
2012-05-29 19:38 ` Arnout Vandecappelle
2012-05-30  5:48   ` Jarkko Sakkinen

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.