From patchwork Sat Jun 2 11:40:30 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarkko Sakkinen X-Patchwork-Id: 162408 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id D9648B700E for ; Sat, 2 Jun 2012 21:40:45 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 473AF10BDBF; Sat, 2 Jun 2012 11:40:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1LFQK2yaEswb; Sat, 2 Jun 2012 11:40:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4DD6410BDD1; Sat, 2 Jun 2012 11:40:42 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id D01E18F753 for ; Sat, 2 Jun 2012 11:40:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C668E9100B for ; Sat, 2 Jun 2012 11:40:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BZiOuPhlI20w for ; Sat, 2 Jun 2012 11:40:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by whitealder.osuosl.org (Postfix) with ESMTP id 9BF6E90FEE for ; Sat, 2 Jun 2012 11:40:39 +0000 (UTC) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 02 Jun 2012 04:40:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,352,1309762800"; d="scan'208";a="147308497" Received: from unknown (HELO jsakkine-mobl1.amr.corp.intel.com) ([10.255.12.38]) by orsmga001.jf.intel.com with ESMTP; 02 Jun 2012 04:40:36 -0700 From: Jarkko Sakkinen To: buildroot@busybox.net Date: Sat, 2 Jun 2012 14:40:30 +0300 Message-Id: <1338637230-6694-1-git-send-email-jarkko.sakkinen@intel.com> X-Mailer: git-send-email 1.7.9.5 Cc: Jarkko Sakkinen Subject: [Buildroot] [PATCH] quota: new package (v8) X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Jarkko Sakkinen Acked-by: Arnout Vandecappelle (Essensium/Mind) --- package/Config.in | 3 +++ package/quota/Config.in | 13 +++++++++++++ package/quota/quota.mk | 18 ++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 package/quota/Config.in create mode 100644 package/quota/quota.mk [update: TARGET_CFLAGS] 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..62dcdfb --- /dev/null +++ b/package/quota/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_QUOTA + bool "quota" + depends on BR2_INET_RPC + depends on BR2_LARGEFILE + depends on BR2_USE_WCHAR + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_MOUNT + help + Implementation of the disk quota system. + http://sourceforge.net/projects/linuxquota/ + +comment "quota requires a toolchain with RPC + LARGEFILE + WCHAR support" + depends on !(BR2_INET_RPC && BR2_LARGEFILE && BR2_USE_WCHAR) diff --git a/package/quota/quota.mk b/package/quota/quota.mk new file mode 100644 index 0000000..845eefb --- /dev/null +++ b/package/quota/quota.mk @@ -0,0 +1,18 @@ +############################################################# +# +# 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_MAKE_OPT = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" + +# Package uses autoconf but not automake. +QUOTA_INSTALL_TARGET_OPT = \ + ROOTDIR=$(TARGET_DIR) \ + install + +$(eval $(call AUTOTARGETS))