if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
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"
--- /dev/null
+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)
--- /dev/null
+#############################################################
+#
+# 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))