quota: new package (v3)
PATCH 1/1 quota: new package (v3)
Added linuxquota package.
[update: removed invalid change]
--- package/Config.in | 3 +++ package/quota/Config.in | 11 +++++++++++ package/quota/quota.mk | 20 ++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 package/quota/Config.in create mode 100644 package/quota/quota.mk
package/Config.in +3 -0
@@ -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"
package/quota/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_QUOTA + bool "quota" + depends on BR2_INET_RPC + 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 support" + depends on !BR2_INET_RPC
package/quota/quota.mk new file +20 -0
@@ -0,0 +1,20 @@ +############################################################# +# +# 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 = \ + CC="$(TARGET_CC)" \ + CXX="$(TARGET_CXX)" \ + LD="$(TARGET_LD)" + +QUOTA_INSTALL_TARGET_OPT = \ + ROOTDIR=$(TARGET_DIR) \ + install + +$(eval $(call AUTOTARGETS))
Signature · 1 line
1.7.9.5
PATCH 1/1 quota: new package (v3)
Hello,
The (v3) should not be at the end of the title, but inside the [PATCH v3]. The title becomes part of the commit history of the project, except what is between [].
Le Wed, 30 May 2012 00:00:05 +0300,
Jarkko Sakkinen <[email protected]> a ?crit :
Quoted 1 line
Added linuxquota package.
This is useless as it repeats the title.
Quoted 1 line
[update: removed invalid change]
This should be below the ---, so that it does not become part of the commit history.
Quoted 2 lines
Signed-off-by Jarkko Sakkinen <[email protected]>---
It should be here.
Quoted 14 lines
package/Config.in | 3 +++ package/quota/Config.in | 11 +++++++++++ package/quota/quota.mk | 20 ++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 package/quota/Config.in create mode 100644 package/quota/quota.mksource "package/sysvinit/Config.in"
package/quota/Config.in new file +0
-0
package/quota/Config.in line 8
Quoted 8 lines
package/quota/Config.in new file +8
-0@@ -0,0 +1,11 @@ +config BR2_PACKAGE_QUOTA + bool "quota" + depends on BR2_INET_RPC + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_MOUNT + help + Implementation of the disk quota system. + http://sourceforge.net/projects/linuxquota/
Indentation for the help text is one tab + two spaces, and not two tabs.
Quoted 8 lines
index 0000000..5fd83c7
package/quota/quota.mk new file +4
-0@@ -0,0 +1,20 @@ +############################################################# +# +# QUOTA +#
package/quota/quota.mk line 14
Quoted 10 lines
package/quota/quota.mk new file +10
-0+############################################################# + +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 = \ + CC="$(TARGET_CC)" \ + CXX="$(TARGET_CXX)" \ + LD="$(TARGET_LD)"
What about CFLAGS, CXXFLAGS and LDFLAGS? Maybe you should just be doing:
QUOTA_MAKE_OPT = $(TARGET_CONFIGURE_OPTS)
package/quota/quota.mk line 18
Quoted 4 lines
package/quota/quota.mk new file +4
-0+ +QUOTA_INSTALL_TARGET_OPT = \ + ROOTDIR=$(TARGET_DIR) \ + install
Above those two variable definitions, please mention that this is needed because the package uses autoconf but not automake. (Had the package been using automake, those definitions wouldn't have been necessary).
Best regards,
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 1/1 quota: new package (v3)
Quoted 6 lines · Thomas Petazzoni
Hello,
The (v3) should not be at the end of the title, but inside the [PATCH v3]. The title becomes part of the commit history of the project, except what is between [].
Quoted 6 lines
Le Wed, 30 May 2012 00:00:05 +0300,
Jarkko Sakkinen <[email protected]> a ?crit :Quoted 1 line
Added linuxquota package.
This is useless as it repeats the title.
ACK
Quoted 5 lines
Quoted 2 lines
[update: removed invalid change]
This should be below the ---, so that it does not become part of the commit history.
ACK
Quoted 52 lines
Quoted 3 lines
Signed-off-by Jarkko Sakkinen <[email protected]>---
It should be here.
Quoted 14 lines
package/Config.in | 3 +++ package/quota/Config.in | 11 +++++++++++ package/quota/quota.mk | 20 ++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 package/quota/Config.in create mode 100644 package/quota/quota.mksource "package/sysvinit/Config.in"
package/quota/Config.in new file +0
-0package/quota/Config.in line 8
Quoted 8 lines
package/quota/Config.in new file +8
-0@@ -0,0 +1,11 @@ +config BR2_PACKAGE_QUOTA + bool "quota" + depends on BR2_INET_RPC + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_MOUNT + help + Implementation of the disk quota system. + http://sourceforge.net/projects/linuxquota/Indentation for the help text is one tab + two spaces, and not two tabs.
Quoted 8 lines
index 0000000..5fd83c7
package/quota/quota.mk new file +4
-0@@ -0,0 +1,20 @@ +############################################################# +# +# QUOTA +#package/quota/quota.mk line 14
Quoted 10 lines
package/quota/quota.mk new file +10
-0+############################################################# + +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 = \ + CC="$(TARGET_CC)" \ + CXX="$(TARGET_CXX)" \ + LD="$(TARGET_LD)"What about CFLAGS, CXXFLAGS and LDFLAGS? Maybe you should just be doing:
Quoted 1 line
QUOTA_MAKE_OPT= $(TARGET_CONFIGURE_OPTS)
ACK
Quoted 10 lines
package/quota/quota.mk line 18
Quoted 5 lines
package/quota/quota.mk new file +4
-0+ +QUOTA_INSTALL_TARGET_OPT = \ + ROOTDIR=$(TARGET_DIR) \ + installAbove those two variable definitions, please mention that this is needed because the package uses autoconf but not automake. (Had the package been using automake, those definitions wouldn't have been necessary).
Makes sense, I'll add comment.
Thanks for these comments!
Quoted 10 lines
Best regards,
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
/Jarkko