summaryrefslogtreecommitdiffstats
path: root/package/quota
Commit message (Collapse)AuthorAgeFilesLines
* quota: fix build with libtirpcJérôme Pouiller2015-07-291-2/+2
| | | | | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/bba8faf210414d956cc07629b8ba99ceed0ebdf6/ http://autobuild.buildroot.net/results/f525b48e2982adc4987cb772be92eeda30569c13/ http://autobuild.buildroot.net/results/0d2c2cd0bda1dd3c1e137117df535d8e02d67e8b/ http://autobuild.buildroot.net/results/a815a4f943e6a07f87f8f6bbf9910459575db311/ http://autobuild.buildroot.net/results/1b72769e65444322de4bfcb02200b7d999f9f5c1/ http://autobuild.buildroot.net/results/195f6c34904b8185d44611c3d56084cb7d3e8a14/ http://autobuild.buildroot.net/results/aac02dd6c5ea04ea70cfa6921a04b5558a9bbe7f/ http://autobuild.buildroot.net/results/fbaec431108bec088ff543771c52f2bc20e15b31/ [...] QUOTA_CFLAGS / QUOTA_LIBS shouldn't be quoted since QUOTA_MAKE_OPTS and QUOTA_CONF_ENV already add quotes. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* quota: use pkg-config for libtirpc flagsThomas De Schampheleire2015-07-261-3/+3
| | | | | | | Instead of hardcoding the flags needed for libtirpc, use pkg-config. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-4/+2
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* quota: fix static linkingThomas Petazzoni2014-11-092-5/+59
| | | | | | | | | | | The aim of this patch is to fix bug #7574, i.e fix the static linking of the quota package. It does so by introducing a patch to the quota build system that generalizes the use of $(LIBS), and then changes quota.mk to use LIBS instead of LDFLAGS to link against intl and tirpc when needed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* quota: remove dependency on util-linuxThomas Petazzoni2014-11-091-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The dependency on util-linux is only present in Config.in, and not in quota.mk, and quota indeed builds properly without util-linux. It could be a runtime dependency, but there is no indication that it is the case, and I don't see why quota would run-time depend on util-linux utilities. Looking back at when the quota package was introduced, in one of the preliminary patch, he following explanation was given by the original author: [Update: I added check for util-linux mount because it support usrquota and grpquota mount options.] But I still don't see why usrquota and grpquota mount options would be the source of a dependency of the quota utilities on util-linux. Here is what the util-linux mount man page says about those two mount options: grpquota|noquota|quota|usrquota These options are accepted but ignored. (However, quota utilities may react to such strings in /etc/fstab.) So indeed, the quota tools will look at /proc/mounts and see if those options are used for certain mount points, but that doesn't create a dependency of quota on util-linux. Therefore, this commit gets rid of the dependency of quota on util-linux. It allows to re-enable quota on Microblaze, since this dependency was inherited from util-linux. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* quota: rename patch to the new conventionThomas Petazzoni2014-11-091-0/+0
| | | | | | | | As a preparation to the introduction of an additional patch to quota, let's rename the existing patch to the new naming convention. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* quota: don't try to strip binaries during installationPeter Korsgaard2014-10-081-0/+1
| | | | | | | | | quota strips binaries during installation by default using 'install -s', but that uses the host strip so doesn't work for cross compilation, and stripping or not is handled globally in Buildroot during target-finalize, so disable it here. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* quota: bump to version 4.01Jerzy Grzegorek2014-10-083-3/+6
| | | | | | | | Also add hash file. [Peter: fix .hash comment typo] Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* quota: rename patchJerzy Grzegorek2014-10-081-0/+0
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_INSTALL_TARGET_OPT into FOO_INSTALL_TARGET_OPTSThomas De Schampheleire2014-10-041-1/+1
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_INSTALL_TARGET_OPT. Sed command used: find * -type f | xargs sed -i 's#_INSTALL_TARGET_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_MAKE_OPT into FOO_MAKE_OPTSThomas De Schampheleire2014-10-041-1/+1
| | | | | | | | | | | | | | | | | | | | | While the autotools infrastructure was using FOO_MAKE_OPT, generic packages were typically using FOO_MAKE_OPTS. This inconsistency becomes a problem when a new infrastructure is introduced that wants to make use of FOO_MAKE_OPT(S), and can live alongside either generic-package or autotools-package. The new infrastructure will have to choose between either OPT or OPTS, and thus rule out transparent usage by respectively generic packages or generic packages. An example of such an infrastructure is kconfig-package, which provides kconfig-related make targets. The OPTS variant is more logical, as there are typically multiple options. This patch renames all occurrences of FOO_MAKE_OPT in FOO_MAKE_OPTS. Sed command used: find * -type f | xargs sed -i 's#_MAKE_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* quota: add license informationGustavo Zacarias2014-07-081-0/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: add missing dependencies to toolchain option commentsThomas De Schampheleire2013-11-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a package A depends on config option B and toolchain option C, then the comment that is given when C is not fulfilled should also depend on B. For example: config BR2_PACKAGE_A depends on BR2_B depends on BR2_LARGEFILE depends on BR2_WCHAR comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR This comment should actually be: comment "A needs a toolchain w/ largefile, wchar" depends on BR2_B depends on !BR2_LARGEFILE || !BR2_WCHAR or if possible (typically when B is a package config option declared in that same Config.in file): if BR2_B comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR [other config options depending on B] endif Otherwise, the comment would be visible even though the other dependencies are not met. This patch adds such missing dependencies, and changes existing such dependencies from depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC to depends on BR2_BASE_DEP depends on !BR2_TOOLCHAIN_USES_GLIBC so that (positive) base dependencies are separate from the (negative) toolchain dependencies. This strategy makes it easier to write such comments (because one can simply copy the base dependency from the actual package config option), but also avoids complex and long boolean expressions. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (untested) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-1/+1
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: remove the default value of the $(PKG)_SOURCE variableJerzy Grzegorek2013-10-061-1/+0
| | | | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com) Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libtirpc: requires toolchain with threading supportSamuel Martin2013-09-201-2/+5
| | | | | | | | | Fixes: http://autobuild.buildroot.org/results/8ba720f47f74df94b8c70ac4befd47c47ce65f2f Signed-off-by: Gilles Talis <gilles.talis@gmail.com> Signed-off-by: "Samuel Martin" <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Convert headers to lower case when relevantAlexandre Belloni2013-06-061-1/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* quota: fix dependenciesGustavo Zacarias2013-05-131-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* quota: needs host-gettextGustavo Zacarias2013-04-031-1/+1
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/ce1016e38e3e629dec8a54fa2d1436252831e0bf/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* quota: select BR2_PACKAGE_UTIL_LINUX_BINARIESGustavo Zacarias2013-03-241-0/+2
| | | | | | | | | | | | All of the util-linux tools options depend on BR2_PACKAGE_UTIL_LINUX_BINARIES that select all the required util-linux libraries and enable the tools build process. So basically quota is selecting a hidden/unavailable option and triggering a util-linux build failure. Fixes: http://autobuild.buildroot.net/results/bc3c75e7c60fe6db54ea56dd7c398ba7878bff83/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* quota: needs mmuPeter Korsgaard2013-02-271-0/+1
| | | | | | Fixes http://autobuild.buildroot.net/results/85e3c73d1c0b5c6843d65a487203b20f62bf3075 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* quota: allow usage of getrpcbynumber() instead of getrpcbynumber_r()Thomas Petazzoni2012-11-142-0/+46
| | | | | | | | | libtirpc does not implement the reentrant function getrpcbynumber_r(), so allow quota to use the non-reentrant version getrpcbynumber(). This should not be a problem as quota tools are not multi-threaded. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* quota: add support to use RPC support from libtirpcThomas Petazzoni2012-11-062-5/+14
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Rename BR2_INET_RPC to BR2_TOOLCHAIN_HAS_NATIVE_RPCThomas Petazzoni2012-11-041-2/+2
| | | | | | | | | | The BR2_INET_RPC has for a long time been a not very descriptive configuration option name, and with the advent of non-RPC glibc toolchains and the apparition of libtirpc, we really need to rename it to something more sensible, BR2_TOOLCHAIN_HAS_NATIVE_RPC. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove all references to libintlThomas Petazzoni2012-09-202-2/+1
| | | | | | | | | | | | | | | From now on, packages only need to select the BR2_PACKAGE_GETTEXT option and depend on the 'gettext' package to get the necessary i18n libraries installed on the target. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [yann.morin.1998@free.fr: remove BR2_PACKAGE_LIBINTL] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> CC: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* remove rest of the BR2_SOURCEFORGE_MIRROR referencesStefan Fröberg2012-08-281-1/+1
| | | | | Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* quota: fix build on uClibc with locale supportPeter Korsgaard2012-06-282-0/+7
| | | | | | Fixes http://autobuild.buildroot.net/results/508f2ee3f97dfdf782eb1c0b03c2fffb87c4953f Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* quota: new package (v8)Jarkko Sakkinen2012-06-242-0/+32
[Peter: fix help text whitespace] Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@intel.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud