[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 0577f9917d9e8a5f87bf62f6726a6f4c3762d4f4 Author: Sam James gentoo org> AuthorDate: Wed Jun 28 07:38:22 2023 + Commit: Sam James gentoo org> CommitDate: Wed Jun 28 07:50:11 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0577f991 sys-fs/quota: add missing selinux policy dep Signed-off-by: Sam James gentoo.org> sys-fs/quota/quota-4.09.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys-fs/quota/quota-4.09.ebuild b/sys-fs/quota/quota-4.09.ebuild index 18be0e78f485..8bf802bd6d36 100644 --- a/sys-fs/quota/quota-4.09.ebuild +++ b/sys-fs/quota/quota-4.09.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" -IUSE="ldap netlink nls rpc tcpd" +IUSE="ldap netlink nls rpc selinux tcpd" RDEPEND=" sys-fs/e2fsprogs @@ -31,6 +31,7 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND="nls? ( sys-devel/gettext )" PDEPEND="rpc? ( net-nds/rpcbind )" +RDEPEND+=" selinux? ( sec-policy/selinux-quota )" PATCHES=( "${FILESDIR}"/${PN}-4.09-configure-bashism.patch
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/files/, sys-fs/quota/
commit: 6bb6fbc076b1d9e9cf16bb9af8e79c672ec42203 Author: Sam James gentoo org> AuthorDate: Mon Dec 26 08:29:59 2022 + Commit: Sam James gentoo org> CommitDate: Mon Dec 26 08:33:06 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bb6fbc0 sys-fs/quota: drop 4.06-r1 Signed-off-by: Sam James gentoo.org> sys-fs/quota/Manifest | 1 - sys-fs/quota/files/quota-4.06-musl-cdefs.patch | 20 --- sys-fs/quota/quota-4.06-r1.ebuild | 82 -- 3 files changed, 103 deletions(-) diff --git a/sys-fs/quota/Manifest b/sys-fs/quota/Manifest index c18c1f799be4..de8eeb05f7a9 100644 --- a/sys-fs/quota/Manifest +++ b/sys-fs/quota/Manifest @@ -1,2 +1 @@ -DIST quota-4.06.tar.gz 520448 BLAKE2B 2cbadeade228d0154f3a8d455cc1aa6e85c9ad7854007e3188c9035abe4d5fdbdf97985fd2fa6308f486ffbe60461e0fe1139f1ec0ca415ce08292d74e0ddde1 SHA512 cece46b8e3a82e8afcf8bfc9f6b310ec91afe034102cebc031bc7d7e04287fdbffb21ab1d3e6e1825175cffa4bad0a4ecbefec0efee028d961b14ac626d5c871 DIST quota-4.09.tar.gz 523191 BLAKE2B 30b3828a45dcd7d99ff053f362917c138b1f0bcbde5f6fd3dfc1b48cb12615e5673d852f9276f2b370f9c799a2103e220d91ddf6a770aaaf8944cfb5c1131a74 SHA512 003d45f33543d4c87446e6547079cdae293b8dade01c58cf3626623721a1400ee07681395ad656c23a9ea2a62ab27c6ad24ad55600890e6e25334aba27ab1ad5 diff --git a/sys-fs/quota/files/quota-4.06-musl-cdefs.patch b/sys-fs/quota/files/quota-4.06-musl-cdefs.patch deleted file mode 100644 index 286fc481b6b3.. --- a/sys-fs/quota/files/quota-4.06-musl-cdefs.patch +++ /dev/null @@ -1,20 +0,0 @@ -https://sourceforge.net/p/linuxquota/code/ci/1959f3768a284315250acd4d17a9f5ef0b8ea189/tree/quota.h?diff=43b6e31f39edbe7de4f4feeef4d0cf6be093e021 -https://bugs.gentoo.org/713390 a/quota.h -+++ b/quota.h -@@ -1,7 +1,6 @@ - #ifndef GUARD_QUOTA_H - #define GUARD_QUOTA_H - --#include - #include - #include - -@@ -182,6 +181,6 @@ - #endif - #endif - --long quotactl __P((int, const char *, qid_t, caddr_t)); -+long quotactl(int, const char *, qid_t, caddr_t); - - #endif /* _QUOTA_ */ diff --git a/sys-fs/quota/quota-4.06-r1.ebuild b/sys-fs/quota/quota-4.06-r1.ebuild deleted file mode 100644 index 60b635e13264.. --- a/sys-fs/quota/quota-4.06-r1.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="Linux quota tools" -HOMEPAGE="https://sourceforge.net/projects/linuxquota/; -SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" -IUSE="ldap netlink nls rpc tcpd" - -RDEPEND=" - sys-fs/e2fsprogs - ldap? ( >=net-nds/openldap-2.3.35:= ) - netlink? ( - sys-apps/dbus - dev-libs/libnl:3 - ) - rpc? ( - elibc_glibc? ( sys-libs/glibc[-rpc(-)] ) - net-libs/libtirpc:= - net-libs/rpcsvc-proto - ) - tcpd? ( sys-apps/tcp-wrappers ) -" -DEPEND="${RDEPEND}" -BDEPEND="nls? ( sys-devel/gettext )" -PDEPEND="rpc? ( net-nds/rpcbind )" - -PATCHES=( - "${FILESDIR}"/${P}-musl-cdefs.patch -) - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-ext2direct - $(use_enable nls) - $(use_enable ldap ldapmail) - $(use_enable netlink) - $(use_enable rpc) - $(use_enable rpc rpcsetquota) - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - dodoc doc/* README.* Changelog - - insinto /etc - insopts -m0644 - doins warnquota.conf quotatab - - newinitd "${FILESDIR}"/quota.rc7 quota - newconfd "${FILESDIR}"/quota.confd quota - - if use rpc ; then - newinitd "${FILESDIR}"/rpc.rquotad.initd rpc.rquotad - fi - - if use ldap ; then - insinto /etc/openldap/schema - insopts -m0644 - doins "${FILESDIR}"/ldap-scripts/quota.schema - - exeinto /usr/share/quota/ldap-scripts - doexe "${FILESDIR}"/ldap-scripts/*.pl - doexe "${FILESDIR}"/ldap-scripts/edquota_editor - fi -}
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: ab3119dab575b976de4cda547cf1bfe95966554c Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Nov 4 08:14:58 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Nov 4 08:14:58 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab3119da sys-fs/quota: Stabilize 4.09 x86, #879281 Signed-off-by: Agostino Sarubbo gentoo.org> sys-fs/quota/quota-4.09.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.09.ebuild b/sys-fs/quota/quota-4.09.ebuild index 094170ebac2c..18be0e78f485 100644 --- a/sys-fs/quota/quota-4.09.ebuild +++ b/sys-fs/quota/quota-4.09.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: e2df929bc7d5db7abcb6f662267beae2a1cce14d Author: Sam James gentoo org> AuthorDate: Thu Nov 3 19:12:59 2022 + Commit: Sam James gentoo org> CommitDate: Thu Nov 3 19:13:14 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2df929b sys-fs/quota: Stabilize 4.09 amd64, #879281 Signed-off-by: Sam James gentoo.org> sys-fs/quota/quota-4.09.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.09.ebuild b/sys-fs/quota/quota-4.09.ebuild index c471f776371c..094170ebac2c 100644 --- a/sys-fs/quota/quota-4.09.ebuild +++ b/sys-fs/quota/quota-4.09.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 659af1881e24538024a5648317f03bae5b82a010 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Nov 3 18:41:39 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Nov 3 18:41:39 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=659af188 sys-fs/quota: Stabilize 4.09 ppc, #879281 Signed-off-by: Arthur Zamarin gentoo.org> sys-fs/quota/quota-4.09.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.09.ebuild b/sys-fs/quota/quota-4.09.ebuild index 5cf065126041..c471f776371c 100644 --- a/sys-fs/quota/quota-4.09.ebuild +++ b/sys-fs/quota/quota-4.09.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 1a5db09e1bdf3aab7beff31dfbb9a85caa83d08c Author: Arthur Zamarin gentoo org> AuthorDate: Thu Nov 3 17:23:30 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Nov 3 17:24:05 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a5db09e sys-fs/quota: Stabilize 4.09 arm64, #879281 Signed-off-by: Arthur Zamarin gentoo.org> sys-fs/quota/quota-4.09.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.09.ebuild b/sys-fs/quota/quota-4.09.ebuild index 90cac2f2a07f..2e8ca9bea009 100644 --- a/sys-fs/quota/quota-4.09.ebuild +++ b/sys-fs/quota/quota-4.09.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 676a1c22b6d40f9f38e89168e2e70b53c7e5585b Author: Arthur Zamarin gentoo org> AuthorDate: Thu Nov 3 17:23:31 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Nov 3 17:24:05 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=676a1c22 sys-fs/quota: Stabilize 4.09 ppc64, #879281 Signed-off-by: Arthur Zamarin gentoo.org> sys-fs/quota/quota-4.09.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.09.ebuild b/sys-fs/quota/quota-4.09.ebuild index 2e8ca9bea009..a87e84ce26b5 100644 --- a/sys-fs/quota/quota-4.09.ebuild +++ b/sys-fs/quota/quota-4.09.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 5f8a264454bfb280b88bf83141acdecf6a5a5af0 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Nov 3 17:23:32 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Nov 3 17:24:05 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f8a2644 sys-fs/quota: Stabilize 4.09 sparc, #879281 Signed-off-by: Arthur Zamarin gentoo.org> sys-fs/quota/quota-4.09.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.09.ebuild b/sys-fs/quota/quota-4.09.ebuild index a87e84ce26b5..5cf065126041 100644 --- a/sys-fs/quota/quota-4.09.ebuild +++ b/sys-fs/quota/quota-4.09.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/files/, sys-fs/quota/
commit: 113ecc58b17cf02f9d1ef1b9b0ccc0978fd86f92 Author: Sam James gentoo org> AuthorDate: Fri Sep 23 02:42:22 2022 + Commit: Sam James gentoo org> CommitDate: Fri Sep 23 02:42:22 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=113ecc58 sys-fs/quota: add 4.09 Signed-off-by: Sam James gentoo.org> sys-fs/quota/Manifest | 1 + .../quota/files/quota-4.09-configure-bashism.patch | 16 + .../quota/files/quota-4.09-gettext-version.patch | 14 sys-fs/quota/quota-4.09.ebuild | 84 ++ 4 files changed, 115 insertions(+) diff --git a/sys-fs/quota/Manifest b/sys-fs/quota/Manifest index ebd4c38e4346..c18c1f799be4 100644 --- a/sys-fs/quota/Manifest +++ b/sys-fs/quota/Manifest @@ -1 +1,2 @@ DIST quota-4.06.tar.gz 520448 BLAKE2B 2cbadeade228d0154f3a8d455cc1aa6e85c9ad7854007e3188c9035abe4d5fdbdf97985fd2fa6308f486ffbe60461e0fe1139f1ec0ca415ce08292d74e0ddde1 SHA512 cece46b8e3a82e8afcf8bfc9f6b310ec91afe034102cebc031bc7d7e04287fdbffb21ab1d3e6e1825175cffa4bad0a4ecbefec0efee028d961b14ac626d5c871 +DIST quota-4.09.tar.gz 523191 BLAKE2B 30b3828a45dcd7d99ff053f362917c138b1f0bcbde5f6fd3dfc1b48cb12615e5673d852f9276f2b370f9c799a2103e220d91ddf6a770aaaf8944cfb5c1131a74 SHA512 003d45f33543d4c87446e6547079cdae293b8dade01c58cf3626623721a1400ee07681395ad656c23a9ea2a62ab27c6ad24ad55600890e6e25334aba27ab1ad5 diff --git a/sys-fs/quota/files/quota-4.09-configure-bashism.patch b/sys-fs/quota/files/quota-4.09-configure-bashism.patch new file mode 100644 index ..5866d3873dde --- /dev/null +++ b/sys-fs/quota/files/quota-4.09-configure-bashism.patch @@ -0,0 +1,16 @@ +https://sourceforge.net/p/linuxquota/patches/56/ + +configure: WARNING: tcpd.h not found +./configure: 8453: test: X: unexpected operator +checking that generated files are newer than configure... done +--- a/configure.ac b/configure.ac +@@ -283,7 +283,7 @@ AC_ARG_WITH([pid-dir], + [AS_HELP_STRING([--with-pid-dir=DIRECTORY], [Create PID files in this directory instead of /var/run])], + [with_pid_dir="$withval"] + ) +-AS_IF([test "X$with_pid_dir" == "X" -o "$with_pid_dir" == "yes" -o "$with_pid_dir" == "no"],[ ++AS_IF([test "X$with_pid_dir" = "X" -o "$with_pid_dir" = "yes" -o "$with_pid_dir" = "no"],[ + with_pid_dir="/var/run" + ]) + AC_DEFINE_UNQUOTED([PID_DIR], ["$with_pid_dir"], [Directory for PID files]) diff --git a/sys-fs/quota/files/quota-4.09-gettext-version.patch b/sys-fs/quota/files/quota-4.09-gettext-version.patch new file mode 100644 index ..1dc194f8b473 --- /dev/null +++ b/sys-fs/quota/files/quota-4.09-gettext-version.patch @@ -0,0 +1,14 @@ +https://sourceforge.net/p/linuxquota/bugs/142/ + +Avoids e.g. egrep warnings. +--- a/configure.ac b/configure.ac +@@ -43,7 +43,7 @@ AC_CHECK_FUNC([nl_langinfo], [ + # Gettext support + # === + AM_GNU_GETTEXT([external]) +-AM_GNU_GETTEXT_VERSION([0.12.1]) ++AM_GNU_GETTEXT_VERSION([0.21]) + + AS_IF([test "$enable_nls" != "no"], [ + enable_nls="yes" diff --git a/sys-fs/quota/quota-4.09.ebuild b/sys-fs/quota/quota-4.09.ebuild new file mode 100644 index ..2c2297f50915 --- /dev/null +++ b/sys-fs/quota/quota-4.09.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Linux quota tools" +HOMEPAGE="https://sourceforge.net/projects/linuxquota/; +SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="ldap netlink nls rpc tcpd" + +RDEPEND=" + sys-fs/e2fsprogs + ldap? ( >=net-nds/openldap-2.3.35:= ) + netlink? ( + sys-apps/dbus + dev-libs/libnl:3 + ) + rpc? ( + elibc_glibc? ( sys-libs/glibc[-rpc(-)] ) + net-libs/libtirpc:= + net-libs/rpcsvc-proto + ) + tcpd? ( sys-apps/tcp-wrappers ) +" +DEPEND="${RDEPEND}" +BDEPEND="nls? ( sys-devel/gettext )" +PDEPEND="rpc? ( net-nds/rpcbind )" + +PATCHES=( + "${FILESDIR}"/${PN}-4.09-configure-bashism.patch + "${FILESDIR}"/${PN}-4.09-gettext-version.patch +) + +src_prepare() { + default + + # Only needed for bashism patch and stale macros patch + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-ext2direct + $(use_enable nls) + $(use_enable ldap ldapmail) + $(use_enable netlink) + $(use_enable rpc) + $(use_enable rpc rpcsetquota) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc doc/* README.* Changelog + + insinto /etc + insopts -m0644 + doins warnquota.conf quotatab + + newinitd "${FILESDIR}"/quota.rc7 quota +
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 903d026dda6c6ba0dc4a9eb17e4d8fda79c5b7df Author: Yixun Lan gentoo org> AuthorDate: Thu Apr 28 22:51:14 2022 + Commit: Yixun Lan gentoo org> CommitDate: Thu Apr 28 22:52:42 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=903d026d sys-fs/quota: Keyword 4.06-r1 riscv, #841374 Signed-off-by: Yixun Lan gentoo.org> sys-fs/quota/quota-4.06-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.06-r1.ebuild b/sys-fs/quota/quota-4.06-r1.ebuild index c60ede4d7067..60b635e13264 100644 --- a/sys-fs/quota/quota-4.06-r1.ebuild +++ b/sys-fs/quota/quota-4.06-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 812a70d7be32201db2a4e3d50f1f0565cac72bae Author: Sam James gentoo org> AuthorDate: Wed Mar 23 00:08:55 2022 + Commit: Sam James gentoo org> CommitDate: Wed Mar 23 00:13:34 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=812a70d7 sys-fs/quota: add subslot dep on OpenLDAP New OpenLDAP breaks ABI (changes SONAME) Signed-off-by: Sam James gentoo.org> sys-fs/quota/{quota-4.06.ebuild => quota-4.06-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.06.ebuild b/sys-fs/quota/quota-4.06-r1.ebuild similarity index 97% rename from sys-fs/quota/quota-4.06.ebuild rename to sys-fs/quota/quota-4.06-r1.ebuild index 1c4cd2de9211..c60ede4d7067 100644 --- a/sys-fs/quota/quota-4.06.ebuild +++ b/sys-fs/quota/quota-4.06-r1.ebuild @@ -16,7 +16,7 @@ IUSE="ldap netlink nls rpc tcpd" RDEPEND=" sys-fs/e2fsprogs - ldap? ( >=net-nds/openldap-2.3.35 ) + ldap? ( >=net-nds/openldap-2.3.35:= ) netlink? ( sys-apps/dbus dev-libs/libnl:3
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/files/, sys-fs/quota/
commit: f4cae72bff7ab14e21f3f73f97308e0b035db769 Author: Sam James gentoo org> AuthorDate: Thu Jan 13 10:25:21 2022 + Commit: Sam James gentoo org> CommitDate: Thu Jan 13 10:25:28 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4cae72b sys-fs/quota: fix build on musl Closes: https://bugs.gentoo.org/713390 Signed-off-by: Sam James gentoo.org> sys-fs/quota/files/quota-4.06-musl-cdefs.patch | 20 sys-fs/quota/quota-4.06.ebuild | 18 ++ 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/sys-fs/quota/files/quota-4.06-musl-cdefs.patch b/sys-fs/quota/files/quota-4.06-musl-cdefs.patch new file mode 100644 index ..286fc481b6b3 --- /dev/null +++ b/sys-fs/quota/files/quota-4.06-musl-cdefs.patch @@ -0,0 +1,20 @@ +https://sourceforge.net/p/linuxquota/code/ci/1959f3768a284315250acd4d17a9f5ef0b8ea189/tree/quota.h?diff=43b6e31f39edbe7de4f4feeef4d0cf6be093e021 +https://bugs.gentoo.org/713390 +--- a/quota.h b/quota.h +@@ -1,7 +1,6 @@ + #ifndef GUARD_QUOTA_H + #define GUARD_QUOTA_H + +-#include + #include + #include + +@@ -182,6 +181,6 @@ + #endif + #endif + +-long quotactl __P((int, const char *, qid_t, caddr_t)); ++long quotactl(int, const char *, qid_t, caddr_t); + + #endif /* _QUOTA_ */ diff --git a/sys-fs/quota/quota-4.06.ebuild b/sys-fs/quota/quota-4.06.ebuild index 3ca2ad3dd987..1c4cd2de9211 100644 --- a/sys-fs/quota/quota-4.06.ebuild +++ b/sys-fs/quota/quota-4.06.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -23,21 +23,22 @@ RDEPEND=" ) rpc? ( elibc_glibc? ( sys-libs/glibc[-rpc(-)] ) - net-libs/libtirpc + net-libs/libtirpc:= net-libs/rpcsvc-proto ) tcpd? ( sys-apps/tcp-wrappers ) " DEPEND="${RDEPEND}" -BDEPEND=" - nls? ( sys-devel/gettext ) -" -PDEPEND=" - rpc? ( net-nds/rpcbind ) -" +BDEPEND="nls? ( sys-devel/gettext )" +PDEPEND="rpc? ( net-nds/rpcbind )" + +PATCHES=( + "${FILESDIR}"/${P}-musl-cdefs.patch +) src_prepare() { default + eautoreconf } @@ -50,6 +51,7 @@ src_configure() { $(use_enable rpc) $(use_enable rpc rpcsetquota) ) + econf "${myeconfargs[@]}" }
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: e02c7a67a1fa28c9d82c1d0e03f84f597a346342 Author: David Seifert gentoo org> AuthorDate: Fri May 14 22:13:41 2021 + Commit: David Seifert gentoo org> CommitDate: Fri May 14 22:13:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e02c7a67 sys-fs/quota: drop 4.05-r1 Signed-off-by: David Seifert gentoo.org> sys-fs/quota/Manifest | 1 - sys-fs/quota/quota-4.05-r1.ebuild | 80 --- 2 files changed, 81 deletions(-) diff --git a/sys-fs/quota/Manifest b/sys-fs/quota/Manifest index 54bfef226d5..ebd4c38e434 100644 --- a/sys-fs/quota/Manifest +++ b/sys-fs/quota/Manifest @@ -1,2 +1 @@ -DIST quota-4.05.tar.gz 577313 BLAKE2B ab0adc04a2bee46f5b4f528c3a1b7f1dfbfc93cc153aebef91cf563e0b03344479b4d465f7d91cfee60c533052f27ce54f24a937c0c1ec312a5fff763cb82bd1 SHA512 a13ca93fb6fad032cb032874dda2f5d792e619b41e89b481e6aaa4f06ac5774e2728b09dd625addfbe22efccb1d85892b093736084c72f75675a60df168b92f2 DIST quota-4.06.tar.gz 520448 BLAKE2B 2cbadeade228d0154f3a8d455cc1aa6e85c9ad7854007e3188c9035abe4d5fdbdf97985fd2fa6308f486ffbe60461e0fe1139f1ec0ca415ce08292d74e0ddde1 SHA512 cece46b8e3a82e8afcf8bfc9f6b310ec91afe034102cebc031bc7d7e04287fdbffb21ab1d3e6e1825175cffa4bad0a4ecbefec0efee028d961b14ac626d5c871 diff --git a/sys-fs/quota/quota-4.05-r1.ebuild b/sys-fs/quota/quota-4.05-r1.ebuild deleted file mode 100644 index 25220c8565b..000 --- a/sys-fs/quota/quota-4.05-r1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools - -DESCRIPTION="Linux quota tools" -HOMEPAGE="https://sourceforge.net/projects/linuxquota/; -SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" -IUSE="ldap netlink nls rpc tcpd" - -RDEPEND=" - sys-fs/e2fsprogs - ldap? ( >=net-nds/openldap-2.3.35 ) - netlink? ( - sys-apps/dbus - dev-libs/libnl:3 - ) - rpc? ( - elibc_glibc? ( sys-libs/glibc[-rpc(-)] ) - net-libs/libtirpc - net-libs/rpcsvc-proto - ) - tcpd? ( sys-apps/tcp-wrappers ) -" -DEPEND=" - ${RDEPEND} - nls? ( sys-devel/gettext ) -" -PDEPEND=" - rpc? ( net-nds/rpcbind ) -" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-ext2direct - $(use_enable nls) - $(use_enable ldap ldapmail) - $(use_enable netlink) - $(use_enable rpc) - $(use_enable rpc rpcsetquota) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - dodoc doc/* README.* Changelog - - insinto /etc - insopts -m0644 - doins warnquota.conf quotatab - - newinitd "${FILESDIR}"/quota.rc7 quota - newconfd "${FILESDIR}"/quota.confd quota - - if use rpc ; then - newinitd "${FILESDIR}"/rpc.rquotad.initd rpc.rquotad - fi - - if use ldap ; then - insinto /etc/openldap/schema - insopts -m0644 - doins "${FILESDIR}"/ldap-scripts/quota.schema - - exeinto /usr/share/quota/ldap-scripts - doexe "${FILESDIR}"/ldap-scripts/*.pl - doexe "${FILESDIR}"/ldap-scripts/edquota_editor - fi -}
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 021119ee5a83d88997fe6ad64e9a33d06d970de9 Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Mar 7 14:40:57 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Mar 7 14:40:57 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=021119ee sys-fs/quota: amd64 stable wrt bug #774342 Package-Manager: Portage-3.0.13, Repoman-3.0.2 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-fs/quota/quota-4.06.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.06.ebuild b/sys-fs/quota/quota-4.06.ebuild index eab87b62cc4..3ca2ad3dd98 100644 --- a/sys-fs/quota/quota-4.06.ebuild +++ b/sys-fs/quota/quota-4.06.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 3b933de3cb6314c89d92f8b86f6f340e4fd0d6b1 Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Mar 6 15:34:51 2021 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Mar 6 15:37:07 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b933de3 sys-fs/quota: x86 stable (bug #774342) Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann gentoo.org> sys-fs/quota/quota-4.06.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.06.ebuild b/sys-fs/quota/quota-4.06.ebuild index afd6dd15c87..eab87b62cc4 100644 --- a/sys-fs/quota/quota-4.06.ebuild +++ b/sys-fs/quota/quota-4.06.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 64922d9d839bc1ad69be1e4f15d8263dcffdf05a Author: Sam James gentoo org> AuthorDate: Sat Mar 6 07:26:17 2021 + Commit: Sam James gentoo org> CommitDate: Sat Mar 6 07:26:17 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64922d9d sys-fs/quota: Stabilize 4.06 arm64, #774342 Signed-off-by: Sam James gentoo.org> sys-fs/quota/quota-4.06.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.06.ebuild b/sys-fs/quota/quota-4.06.ebuild index 5e2b2448d8e..afd6dd15c87 100644 --- a/sys-fs/quota/quota-4.06.ebuild +++ b/sys-fs/quota/quota-4.06.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: d99fff7649f1dec1440d7de9e58582631a54f3f7 Author: Sam James gentoo org> AuthorDate: Fri Mar 5 22:14:01 2021 + Commit: Sam James gentoo org> CommitDate: Fri Mar 5 22:14:01 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d99fff76 sys-fs/quota: Stabilize 4.06 sparc, #774342 Signed-off-by: Sam James gentoo.org> sys-fs/quota/quota-4.06.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.06.ebuild b/sys-fs/quota/quota-4.06.ebuild index 6f4bf339005..5e2b2448d8e 100644 --- a/sys-fs/quota/quota-4.06.ebuild +++ b/sys-fs/quota/quota-4.06.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 9292b58539a153ee27b43f014a39c06c1ed4fdc3 Author: Sam James gentoo org> AuthorDate: Fri Mar 5 21:42:36 2021 + Commit: Sam James gentoo org> CommitDate: Fri Mar 5 21:42:36 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9292b585 sys-fs/quota: Stabilize 4.06 arm, #774342 Signed-off-by: Sam James gentoo.org> sys-fs/quota/quota-4.06.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.06.ebuild b/sys-fs/quota/quota-4.06.ebuild index 3134862df2a..6f4bf339005 100644 --- a/sys-fs/quota/quota-4.06.ebuild +++ b/sys-fs/quota/quota-4.06.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 1a2c2c988200dd64909885bbda8831e544ec99cf Author: Sam James gentoo org> AuthorDate: Fri Mar 5 20:33:26 2021 + Commit: Sam James gentoo org> CommitDate: Fri Mar 5 20:33:26 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a2c2c98 sys-fs/quota: Stabilize 4.06 ppc64, #774342 Signed-off-by: Sam James gentoo.org> sys-fs/quota/quota-4.06.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.06.ebuild b/sys-fs/quota/quota-4.06.ebuild index 5653891defe..3134862df2a 100644 --- a/sys-fs/quota/quota-4.06.ebuild +++ b/sys-fs/quota/quota-4.06.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 061c6e2d107508c1e3c9b4d8868347175904ef74 Author: Sam James gentoo org> AuthorDate: Fri Mar 5 20:32:21 2021 + Commit: Sam James gentoo org> CommitDate: Fri Mar 5 20:32:21 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=061c6e2d sys-fs/quota: Stabilize 4.06 ppc, #774342 Signed-off-by: Sam James gentoo.org> sys-fs/quota/quota-4.06.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-fs/quota/quota-4.06.ebuild b/sys-fs/quota/quota-4.06.ebuild index 18e04a76197..5653891defe 100644 --- a/sys-fs/quota/quota-4.06.ebuild +++ b/sys-fs/quota/quota-4.06.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/files/, sys-fs/quota/
commit: 430c71cb5a39799ec0dc511eebeb090b2bf99eba Author: Lars Wendler gentoo org> AuthorDate: Tue Nov 10 13:34:02 2020 + Commit: Lars Wendler gentoo org> CommitDate: Tue Nov 10 13:34:23 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=430c71cb sys-fs/quota: Removed old Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Lars Wendler gentoo.org> sys-fs/quota/Manifest | 1 - .../files/quota-4.04-Listen-on-a-TCP-socket.patch | 77 sys-fs/quota/files/quota-4.04-glibc226.patch | 43 --- sys-fs/quota/quota-4.04-r3.ebuild | 85 -- 4 files changed, 206 deletions(-) diff --git a/sys-fs/quota/Manifest b/sys-fs/quota/Manifest index 32589367d8a..54bfef226d5 100644 --- a/sys-fs/quota/Manifest +++ b/sys-fs/quota/Manifest @@ -1,3 +1,2 @@ -DIST quota-4.04.tar.gz 577303 BLAKE2B 8ee1e8f99b70f626ec051e4e9afe53c788b625a29f26afbe075039cf88dde9f6641c39e0ccfdbfcc6981fabe35e8fd15e7203989e9bbbdd1f1772949566531f6 SHA512 adc33863d2a966b4c46983fa3926e6b6ba75e260ed21bdff646584237840e6beb0dcfbfd2f655969aa5675c3c398ac2e483afb933f03f983756ebb3352d0eaad DIST quota-4.05.tar.gz 577313 BLAKE2B ab0adc04a2bee46f5b4f528c3a1b7f1dfbfc93cc153aebef91cf563e0b03344479b4d465f7d91cfee60c533052f27ce54f24a937c0c1ec312a5fff763cb82bd1 SHA512 a13ca93fb6fad032cb032874dda2f5d792e619b41e89b481e6aaa4f06ac5774e2728b09dd625addfbe22efccb1d85892b093736084c72f75675a60df168b92f2 DIST quota-4.06.tar.gz 520448 BLAKE2B 2cbadeade228d0154f3a8d455cc1aa6e85c9ad7854007e3188c9035abe4d5fdbdf97985fd2fa6308f486ffbe60461e0fe1139f1ec0ca415ce08292d74e0ddde1 SHA512 cece46b8e3a82e8afcf8bfc9f6b310ec91afe034102cebc031bc7d7e04287fdbffb21ab1d3e6e1825175cffa4bad0a4ecbefec0efee028d961b14ac626d5c871 diff --git a/sys-fs/quota/files/quota-4.04-Listen-on-a-TCP-socket.patch b/sys-fs/quota/files/quota-4.04-Listen-on-a-TCP-socket.patch deleted file mode 100644 index cf1bd4aad32..000 --- a/sys-fs/quota/files/quota-4.04-Listen-on-a-TCP-socket.patch +++ /dev/null @@ -1,77 +0,0 @@ -From 31ecd29b3b3f51145fd78f63087c10e9fcadf999 Mon Sep 17 00:00:00 2001 -From: Steve Dickson -Date: Tue, 22 May 2018 12:41:59 +0200 -Subject: [PATCH] Listen on a TCP socket -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -rpc.rquotad spins in libtirpc's rendezvous_request() on accepting TCP -connections because the polled TCP socket is not listening: - -poll([{fd=4, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}, {fd=5, - events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}, {fd=6, - events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}, {fd=7, - events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 4, -1) = 2 ([{fd=5, - revents=POLLHUP}, {fd=7, revents=POLLHUP}]) -accept(5, 0x7ffe61698700, [128])= -1 EINVAL (Invalid argument) -accept(7, 0x7ffe61698700, [128])= -1 EINVAL (Invalid argument) - -The polled descriptors are: - -rpc.rquot 21981 root4u IPv4 80449159 0t0 UDP *:rquotad -rpc.rquot 21981 root5u sock 0,9 0t0 80449162 protocol: TCP -rpc.rquot 21981 root6u IPv6 80449165 0t0 UDP *:rquotad -rpc.rquot 21981 root7u sock 0,9 0t0 80449168 protocol: TCPv6 - -That results into a high CPU usage just after staring rpc.rquotad -process. - -This patch adds a listen() call to svc_create_sock() -routine which is needed with libtirpc version of svc_tli_create() -as well as a needed IPv6 setsockopt(). - -Signed-off-by: Petr Písař - svc_socket.c | 18 ++ - 1 file changed, 18 insertions(+) - -diff --git a/svc_socket.c b/svc_socket.c -index 8a44604..d2e3abf 100644 a/svc_socket.c -+++ b/svc_socket.c -@@ -118,6 +118,15 @@ static int svc_create_sock(struct addrinfo *ai) - return -1; - } - -+ if (ai->ai_family == AF_INET6) { -+ if (setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, -+ , sizeof(optval)) < 0) { -+ errstr(_("Cannot set IPv6 socket options: %s\n"), strerror(errno)); -+ close(fd); -+ return -1; -+ } -+ } -+ - if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, , sizeof(optval)) < 0) { - errstr(_("Cannot set socket options: %s\n"), strerror(errno)); - close(fd); -@@ -129,6 +138,15 @@ static int svc_create_sock(struct addrinfo *ai) - close(fd); - return -1; - } -+ -+ if (ai->ai_protocol == IPPROTO_TCP) { -+ if (listen(fd, SOMAXCONN) < 0) { -+ errstr(_("Cannot listen to address: %s\n"), strerror(errno)); -+ close(fd); -+ return -1; -+ } -+ } -+ - return fd; - } - --- -2.14.3 - diff --git a/sys-fs/quota/files/quota-4.04-glibc226.patch b/sys-fs/quota/files/quota-4.04-glibc226.patch deleted file mode 100644 index
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 450e6f9522b6cd96e0b562e4e73798adb7a65d2a Author: Lars Wendler gentoo org> AuthorDate: Tue Nov 10 13:31:46 2020 + Commit: Lars Wendler gentoo org> CommitDate: Tue Nov 10 13:34:22 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=450e6f95 sys-fs/quota: Bump to version 4.06 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Lars Wendler gentoo.org> sys-fs/quota/Manifest | 1 + sys-fs/quota/quota-4.06.ebuild | 80 ++ 2 files changed, 81 insertions(+) diff --git a/sys-fs/quota/Manifest b/sys-fs/quota/Manifest index 43911e834b7..32589367d8a 100644 --- a/sys-fs/quota/Manifest +++ b/sys-fs/quota/Manifest @@ -1,2 +1,3 @@ DIST quota-4.04.tar.gz 577303 BLAKE2B 8ee1e8f99b70f626ec051e4e9afe53c788b625a29f26afbe075039cf88dde9f6641c39e0ccfdbfcc6981fabe35e8fd15e7203989e9bbbdd1f1772949566531f6 SHA512 adc33863d2a966b4c46983fa3926e6b6ba75e260ed21bdff646584237840e6beb0dcfbfd2f655969aa5675c3c398ac2e483afb933f03f983756ebb3352d0eaad DIST quota-4.05.tar.gz 577313 BLAKE2B ab0adc04a2bee46f5b4f528c3a1b7f1dfbfc93cc153aebef91cf563e0b03344479b4d465f7d91cfee60c533052f27ce54f24a937c0c1ec312a5fff763cb82bd1 SHA512 a13ca93fb6fad032cb032874dda2f5d792e619b41e89b481e6aaa4f06ac5774e2728b09dd625addfbe22efccb1d85892b093736084c72f75675a60df168b92f2 +DIST quota-4.06.tar.gz 520448 BLAKE2B 2cbadeade228d0154f3a8d455cc1aa6e85c9ad7854007e3188c9035abe4d5fdbdf97985fd2fa6308f486ffbe60461e0fe1139f1ec0ca415ce08292d74e0ddde1 SHA512 cece46b8e3a82e8afcf8bfc9f6b310ec91afe034102cebc031bc7d7e04287fdbffb21ab1d3e6e1825175cffa4bad0a4ecbefec0efee028d961b14ac626d5c871 diff --git a/sys-fs/quota/quota-4.06.ebuild b/sys-fs/quota/quota-4.06.ebuild new file mode 100644 index 000..18e04a76197 --- /dev/null +++ b/sys-fs/quota/quota-4.06.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Linux quota tools" +HOMEPAGE="https://sourceforge.net/projects/linuxquota/; +SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="ldap netlink nls rpc tcpd" + +RDEPEND=" + sys-fs/e2fsprogs + ldap? ( >=net-nds/openldap-2.3.35 ) + netlink? ( + sys-apps/dbus + dev-libs/libnl:3 + ) + rpc? ( + elibc_glibc? ( sys-libs/glibc[-rpc(-)] ) + net-libs/libtirpc + net-libs/rpcsvc-proto + ) + tcpd? ( sys-apps/tcp-wrappers ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + nls? ( sys-devel/gettext ) +" +PDEPEND=" + rpc? ( net-nds/rpcbind ) +" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-ext2direct + $(use_enable nls) + $(use_enable ldap ldapmail) + $(use_enable netlink) + $(use_enable rpc) + $(use_enable rpc rpcsetquota) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc doc/* README.* Changelog + + insinto /etc + insopts -m0644 + doins warnquota.conf quotatab + + newinitd "${FILESDIR}"/quota.rc7 quota + newconfd "${FILESDIR}"/quota.confd quota + + if use rpc ; then + newinitd "${FILESDIR}"/rpc.rquotad.initd rpc.rquotad + fi + + if use ldap ; then + insinto /etc/openldap/schema + insopts -m0644 + doins "${FILESDIR}"/ldap-scripts/quota.schema + + exeinto /usr/share/quota/ldap-scripts + doexe "${FILESDIR}"/ldap-scripts/*.pl + doexe "${FILESDIR}"/ldap-scripts/edquota_editor + fi +}
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: fbe076ec1cd617f96313bb54bc496e1afb5dd4e5 Author: Mart Raudsepp gentoo org> AuthorDate: Thu Mar 19 11:38:39 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Thu Mar 19 11:38:39 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbe076ec sys-fs/quota: arm64 stable (bug #705172) Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp gentoo.org> sys-fs/quota/quota-4.05-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.05-r1.ebuild b/sys-fs/quota/quota-4.05-r1.ebuild index 77a577f560c..09f52dd1696 100644 --- a/sys-fs/quota/quota-4.05-r1.ebuild +++ b/sys-fs/quota/quota-4.05-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: b6cb115e46d2c2e11a00a1c864493bd95ca27085 Author: Mikle Kolyada gentoo org> AuthorDate: Mon Jan 27 11:24:53 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Mon Jan 27 11:24:53 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6cb115e sys-fs/quota: arm stable wrt bug #705172 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="arm" Signed-off-by: Mikle Kolyada gentoo.org> sys-fs/quota/quota-4.05-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.05-r1.ebuild b/sys-fs/quota/quota-4.05-r1.ebuild index 4dffa5237d0..77a577f560c 100644 --- a/sys-fs/quota/quota-4.05-r1.ebuild +++ b/sys-fs/quota/quota-4.05-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 1e706b18b6f8c9ddf288681d62fd529eef2124ed Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Jan 17 10:29:36 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Jan 17 10:29:36 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e706b18 sys-fs/quota: x86 stable wrt bug #705172 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> sys-fs/quota/quota-4.05-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.05-r1.ebuild b/sys-fs/quota/quota-4.05-r1.ebuild index 13739926a00..4dffa5237d0 100644 --- a/sys-fs/quota/quota-4.05-r1.ebuild +++ b/sys-fs/quota/quota-4.05-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: f7e9e17d0554ca70ebaf565050ab2d173b6a570c Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Jan 15 22:56:39 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Jan 15 23:51:59 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7e9e17d sys-fs/quota: stable 4.05-r1 for ia64, bug #705172 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="ia64" Signed-off-by: Sergei Trofimovich gentoo.org> sys-fs/quota/quota-4.05-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.05-r1.ebuild b/sys-fs/quota/quota-4.05-r1.ebuild index bbab3f55820..13739926a00 100644 --- a/sys-fs/quota/quota-4.05-r1.ebuild +++ b/sys-fs/quota/quota-4.05-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 9b88edd7a1f2f4a595fe59ad7812286beb4b2799 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Jan 14 16:13:57 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Jan 14 16:13:57 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b88edd7 sys-fs/quota: amd64 stable wrt bug #705172 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-fs/quota/quota-4.05-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.05-r1.ebuild b/sys-fs/quota/quota-4.05-r1.ebuild index d377340610d..bbab3f55820 100644 --- a/sys-fs/quota/quota-4.05-r1.ebuild +++ b/sys-fs/quota/quota-4.05-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 645c2143e9669ae0e0ada6aaafb40ec036b72ee0 Author: Rolf Eike Beer sf-mail de> AuthorDate: Mon Jan 13 07:46:23 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Jan 13 08:25:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=645c2143 sys-fs/quota: stable 4.05-r1 for hppa/sparc, bug #705172 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="hppa sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> sys-fs/quota/quota-4.05-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.05-r1.ebuild b/sys-fs/quota/quota-4.05-r1.ebuild index a827ea87a04..d377340610d 100644 --- a/sys-fs/quota/quota-4.05-r1.ebuild +++ b/sys-fs/quota/quota-4.05-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 9997c7582413d068672bc256d6c2e6e6781b4989 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Jan 12 23:16:30 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Jan 12 23:22:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9997c758 sys-fs/quota: stable 4.05-r1 for ppc, bug #705172 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc" Signed-off-by: Sergei Trofimovich gentoo.org> sys-fs/quota/quota-4.05-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.05-r1.ebuild b/sys-fs/quota/quota-4.05-r1.ebuild index 24a71ffa02e..a827ea87a04 100644 --- a/sys-fs/quota/quota-4.05-r1.ebuild +++ b/sys-fs/quota/quota-4.05-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 8b10677080354b9acdb55306e90fb8a7532cb472 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Jan 12 22:51:41 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Jan 12 22:53:39 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b106770 sys-fs/quota: stable 4.05-r1 for ppc64, bug #705172 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Sergei Trofimovich gentoo.org> sys-fs/quota/quota-4.05-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.05-r1.ebuild b/sys-fs/quota/quota-4.05-r1.ebuild index 775d9babfdb..24a71ffa02e 100644 --- a/sys-fs/quota/quota-4.05-r1.ebuild +++ b/sys-fs/quota/quota-4.05-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 36368577143e1d8fec5b8575d98a2cc0787a5710 Author: Jeroen Roovers gentoo org> AuthorDate: Sun Jan 12 09:29:36 2020 + Commit: Jeroen Roovers gentoo org> CommitDate: Sun Jan 12 09:39:59 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36368577 sys-fs/quota: Stable for hppa too Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --ignore-arches Signed-off-by: Jeroen Roovers gentoo.org> sys-fs/quota/quota-4.04-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04-r3.ebuild b/sys-fs/quota/quota-4.04-r3.ebuild index 527e114c75e..cd21f0e4414 100644 --- a/sys-fs/quota/quota-4.04-r3.ebuild +++ b/sys-fs/quota/quota-4.04-r3.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: d329c48e1b298cd0d42610e42840b9101c439bae Author: Mike Gilbert gentoo org> AuthorDate: Sat Jan 11 17:32:59 2020 + Commit: Mike Gilbert gentoo org> CommitDate: Sat Jan 11 17:36:09 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d329c48e sys-fs/quota: move net-nds/rpcbind to PDEPEND Bug: https://bugs.gentoo.org/665222 Package-Manager: Portage-2.3.84_p2, Repoman-2.3.20_p24 Signed-off-by: Mike Gilbert gentoo.org> sys-fs/quota/{quota-4.04-r2.ebuild => quota-4.04-r3.ebuild} | 6 -- sys-fs/quota/{quota-4.05.ebuild => quota-4.05-r1.ebuild}| 6 -- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/sys-fs/quota/quota-4.04-r2.ebuild b/sys-fs/quota/quota-4.04-r3.ebuild similarity index 95% rename from sys-fs/quota/quota-4.04-r2.ebuild rename to sys-fs/quota/quota-4.04-r3.ebuild index 1d128be85e6..527e114c75e 100644 --- a/sys-fs/quota/quota-4.04-r2.ebuild +++ b/sys-fs/quota/quota-4.04-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -22,7 +22,6 @@ RDEPEND=" dev-libs/libnl:3 ) rpc? ( - net-nds/rpcbind elibc_glibc? ( sys-libs/glibc[-rpc(-)] ) net-libs/libtirpc net-libs/rpcsvc-proto @@ -33,6 +32,9 @@ DEPEND=" ${RDEPEND} nls? ( sys-devel/gettext ) " +PDEPEND=" + rpc? ( net-nds/rpcbind ) +" PATCHES=( "${FILESDIR}/${P}-glibc226.patch" diff --git a/sys-fs/quota/quota-4.05.ebuild b/sys-fs/quota/quota-4.05-r1.ebuild similarity index 95% rename from sys-fs/quota/quota-4.05.ebuild rename to sys-fs/quota/quota-4.05-r1.ebuild index 06512aaf271..775d9babfdb 100644 --- a/sys-fs/quota/quota-4.05.ebuild +++ b/sys-fs/quota/quota-4.05-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -22,7 +22,6 @@ RDEPEND=" dev-libs/libnl:3 ) rpc? ( - net-nds/rpcbind elibc_glibc? ( sys-libs/glibc[-rpc(-)] ) net-libs/libtirpc net-libs/rpcsvc-proto @@ -33,6 +32,9 @@ DEPEND=" ${RDEPEND} nls? ( sys-devel/gettext ) " +PDEPEND=" + rpc? ( net-nds/rpcbind ) +" src_prepare() { default
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/files/ldap-scripts/
commit: 47115fcb37cffd0fe5375c0fd3ccae4ee1ee1083 Author: Mike Gilbert gentoo org> AuthorDate: Thu Sep 19 15:32:21 2019 + Commit: Mike Gilbert gentoo org> CommitDate: Thu Sep 19 15:32:21 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47115fcb sys-fs/quota: chmod -x files/ldap-scripts/* Closes: https://bugs.gentoo.org/694868 Signed-off-by: Mike Gilbert gentoo.org> sys-fs/quota/files/ldap-scripts/applySystemQuotas.pl | 0 sys-fs/quota/files/ldap-scripts/edquota_editor | 0 sys-fs/quota/files/ldap-scripts/setSystemQuotas.pl | 0 3 files changed, 0 insertions(+), 0 deletions(-) diff --git a/sys-fs/quota/files/ldap-scripts/applySystemQuotas.pl b/sys-fs/quota/files/ldap-scripts/applySystemQuotas.pl old mode 100755 new mode 100644 diff --git a/sys-fs/quota/files/ldap-scripts/edquota_editor b/sys-fs/quota/files/ldap-scripts/edquota_editor old mode 100755 new mode 100644 diff --git a/sys-fs/quota/files/ldap-scripts/setSystemQuotas.pl b/sys-fs/quota/files/ldap-scripts/setSystemQuotas.pl old mode 100755 new mode 100644
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/, sys-fs/quota/files/
commit: 4ef6b79ce1ed8862e4d3bc6e04c68242a4b33f7b Author: Lars Wendler gentoo org> AuthorDate: Mon Apr 29 00:25:41 2019 + Commit: Lars Wendler gentoo org> CommitDate: Mon Apr 29 00:25:41 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ef6b79c sys-fs/quota: Removed old. Package-Manager: Portage-2.3.65, Repoman-2.3.12 Signed-off-by: Lars Wendler gentoo.org> sys-fs/quota/Manifest | 1 - .../quota/files/quota-4.03-default_fpic_fpie.patch | 32 .../files/quota-4.03-distribute_ldap-scripts.patch | 23 -- .../files/quota-4.03-dont_override_cflags.patch| 22 -- ...a-4.03-explicitely_print_disabled_options.patch | 69 -- .../files/quota-4.03-fix_build_without_ldap.patch | 85 -- sys-fs/quota/files/quota-4.03-no_rpc.patch | 57 --- sys-fs/quota/files/quota-4.03-noldap_linking.patch | 75 --- .../files/quota-4.03-repqouta_F_option_arg.patch | 27 --- sys-fs/quota/files/quota-4.03-respect_docdir.patch | 21 -- sys-fs/quota/quota-4.03.ebuild | 83 - sys-fs/quota/quota-4.04-r1.ebuild | 81 - 12 files changed, 576 deletions(-) diff --git a/sys-fs/quota/Manifest b/sys-fs/quota/Manifest index a33aab6419d..43911e834b7 100644 --- a/sys-fs/quota/Manifest +++ b/sys-fs/quota/Manifest @@ -1,3 +1,2 @@ -DIST quota-4.03.tar.gz 564352 BLAKE2B b474be79576fd2db7ad5f7c4e93d665fca19004727f4ff12e960da3251091b026c1458adecc0ed3a803da3bfcef6c857f612c44c7800ecc53c9ae53450d10338 SHA512 9603940048dcc0c4db6d6e14173769c815641ebc78a0cc457a0622dbfc597319bae1eaad4ef3281c52757995d47424b96dc66426ce540a8b538b996eea2dc5f8 DIST quota-4.04.tar.gz 577303 BLAKE2B 8ee1e8f99b70f626ec051e4e9afe53c788b625a29f26afbe075039cf88dde9f6641c39e0ccfdbfcc6981fabe35e8fd15e7203989e9bbbdd1f1772949566531f6 SHA512 adc33863d2a966b4c46983fa3926e6b6ba75e260ed21bdff646584237840e6beb0dcfbfd2f655969aa5675c3c398ac2e483afb933f03f983756ebb3352d0eaad DIST quota-4.05.tar.gz 577313 BLAKE2B ab0adc04a2bee46f5b4f528c3a1b7f1dfbfc93cc153aebef91cf563e0b03344479b4d465f7d91cfee60c533052f27ce54f24a937c0c1ec312a5fff763cb82bd1 SHA512 a13ca93fb6fad032cb032874dda2f5d792e619b41e89b481e6aaa4f06ac5774e2728b09dd625addfbe22efccb1d85892b093736084c72f75675a60df168b92f2 diff --git a/sys-fs/quota/files/quota-4.03-default_fpic_fpie.patch b/sys-fs/quota/files/quota-4.03-default_fpic_fpie.patch deleted file mode 100644 index 2ff519f2b84..000 --- a/sys-fs/quota/files/quota-4.03-default_fpic_fpie.patch +++ /dev/null @@ -1,32 +0,0 @@ -commit cd9dff0b5b53279442458360003831b6c14adc22 -Author: Tomáš Chvátal -Date: Tue Jan 5 11:20:52 2016 +0100 - -Set -fPIC and -pie as default params when building - -Signed-off-by: Tomáš Chvátal -Signed-off-by: Jan Kara - -diff --git a/Makefile.am b/Makefile.am -index 7c7a866..77f8400 100644 a/Makefile.am -+++ b/Makefile.am -@@ -1,4 +1,5 @@ - ACLOCAL_AMFLAGS = -I m4 -+AM_LDFLAGS = -pie - - BUILT_SOURCES = rquota.h rquota.c rquota_clnt.c - -diff --git a/configure.ac b/configure.ac -index 1552c15..68d5924 100644 a/configure.ac -+++ b/configure.ac -@@ -53,7 +53,7 @@ AS_IF([test "x${prefix}" = "xNONE"], [ - # - # Check for cflags - # --CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" -+CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC" - AC_ARG_ENABLE([werror], - [AS_HELP_STRING([--enable-werror], [Treat all warnings as errors, useful for development])], - [enable_werror="$enableval"], diff --git a/sys-fs/quota/files/quota-4.03-distribute_ldap-scripts.patch b/sys-fs/quota/files/quota-4.03-distribute_ldap-scripts.patch deleted file mode 100644 index 83339159e0f..000 --- a/sys-fs/quota/files/quota-4.03-distribute_ldap-scripts.patch +++ /dev/null @@ -1,23 +0,0 @@ -commit 861154efb90ed049e0473cc36935b8d03c78a869 -Author: Tomáš Chvátal -Date: Mon Jan 4 13:01:36 2016 +0100 - -Distribute ldap-scripts directory too - -Signed-off-by: Tomáš Chvátal -Signed-off-by: Jan Kara - -diff --git a/Makefile.am b/Makefile.am -index eb62617..a880ebe 100644 a/Makefile.am -+++ b/Makefile.am -@@ -52,7 +52,8 @@ EXTRA_DIST = \ - $(man_MANS) \ - $(rpcsvc_DATA) \ - autogen.sh \ -- Changelog -+ Changelog \ -+ ldap-scripts - - noinst_LIBRARIES = \ - libquota.a \ diff --git a/sys-fs/quota/files/quota-4.03-dont_override_cflags.patch b/sys-fs/quota/files/quota-4.03-dont_override_cflags.patch deleted file mode 100644 index e59341a702a..000 --- a/sys-fs/quota/files/quota-4.03-dont_override_cflags.patch +++ /dev/null @@ -1,22 +0,0 @@ -commit 776757a23e9930588950c7fcbc7827ec7a3e51c4 -Author: Tomáš Chvátal -Date: Mon Jan 4 15:48:19 2016 +0100 - -Do not accidentaly override commandline passed CFLAGS. - -
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 1f1af20f67a351e7e3bb2fdcfca7e7afb9846582 Author: Mikle Kolyada gentoo org> AuthorDate: Sun Apr 28 20:13:43 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun Apr 28 20:13:43 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f1af20f sys-fs/quota: arm stable wrt bug #682058 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 RepoMan-Options: --include-arches="arm" sys-fs/quota/quota-4.04-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04-r2.ebuild b/sys-fs/quota/quota-4.04-r2.ebuild index a7dc2fb0040..1d128be85e6 100644 --- a/sys-fs/quota/quota-4.04-r2.ebuild +++ b/sys-fs/quota/quota-4.04-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: e3079e5a19bd1e6f1fa8a95d253fe1a66f360349 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Apr 7 21:30:37 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Apr 7 21:34:02 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3079e5a sys-fs/quota: stable 4.04-r2 for ppc64, bug #682058 Package-Manager: Portage-2.3.62, Repoman-2.3.12 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Sergei Trofimovich gentoo.org> sys-fs/quota/quota-4.04-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04-r2.ebuild b/sys-fs/quota/quota-4.04-r2.ebuild index e3c71544e98..a7dc2fb0040 100644 --- a/sys-fs/quota/quota-4.04-r2.ebuild +++ b/sys-fs/quota/quota-4.04-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 sparc x86" +KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: e2c48b89319ddeef73905c755aaee3de3c45d635 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Apr 7 21:10:42 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Apr 7 21:10:42 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2c48b89 sys-fs/quota: stable 4.04-r2 for ppc, bug #682058 Package-Manager: Portage-2.3.62, Repoman-2.3.12 RepoMan-Options: --include-arches="ppc" Signed-off-by: Sergei Trofimovich gentoo.org> sys-fs/quota/quota-4.04-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04-r2.ebuild b/sys-fs/quota/quota-4.04-r2.ebuild index eadb8b087c9..e3c71544e98 100644 --- a/sys-fs/quota/quota-4.04-r2.ebuild +++ b/sys-fs/quota/quota-4.04-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 sparc x86" +KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: b32f89e2b20ba1f361db431d8742e542eca15b00 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Apr 7 20:58:14 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Apr 7 21:00:48 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b32f89e2 sys-fs/quota: stable 4.04-r2 for ia64, bug #682058 Package-Manager: Portage-2.3.62, Repoman-2.3.12 RepoMan-Options: --include-arches="ia64" Signed-off-by: Sergei Trofimovich gentoo.org> sys-fs/quota/quota-4.04-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04-r2.ebuild b/sys-fs/quota/quota-4.04-r2.ebuild index 608abfbe1db..eadb8b087c9 100644 --- a/sys-fs/quota/quota-4.04-r2.ebuild +++ b/sys-fs/quota/quota-4.04-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86" +KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 85ea263764ab37fef0d6566d96dbf4f333baa1e5 Author: Mikle Kolyada gentoo org> AuthorDate: Sat Apr 6 13:43:11 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Apr 6 13:43:11 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85ea2637 sys-fs/quota: alpha stable wrt bug #682058 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 RepoMan-Options: --include-arches="alpha" sys-fs/quota/quota-4.04-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04-r2.ebuild b/sys-fs/quota/quota-4.04-r2.ebuild index 3ee741ee095..608abfbe1db 100644 --- a/sys-fs/quota/quota-4.04-r2.ebuild +++ b/sys-fs/quota/quota-4.04-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86" +KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: cde1650af77822a9f63e4dc56ff54a2f260167c9 Author: Mikle Kolyada gentoo org> AuthorDate: Tue Apr 2 09:08:04 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Tue Apr 2 09:09:48 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cde1650a sys-fs/quota: amd64 stable wrt bug #682058 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 RepoMan-Options: --include-arches="amd64" sys-fs/quota/quota-4.04-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04-r2.ebuild b/sys-fs/quota/quota-4.04-r2.ebuild index 77cc15112c0..3ee741ee095 100644 --- a/sys-fs/quota/quota-4.04-r2.ebuild +++ b/sys-fs/quota/quota-4.04-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 63a3385f7126974ed34452f0db08d846dc5f0a4d Author: Thomas Deutschmann gentoo org> AuthorDate: Tue Apr 2 01:30:16 2019 + Commit: Thomas Deutschmann gentoo org> CommitDate: Tue Apr 2 01:30:16 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63a3385f sys-fs/quota: x86 stable (bug #682058) Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann gentoo.org> sys-fs/quota/quota-4.04-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04-r2.ebuild b/sys-fs/quota/quota-4.04-r2.ebuild index 9fdf31ad1ae..77cc15112c0 100644 --- a/sys-fs/quota/quota-4.04-r2.ebuild +++ b/sys-fs/quota/quota-4.04-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 9e2b4419101f3d3cd2b3dec40db132a6bf71b527 Author: Rolf Eike Beer sf-mail de> AuthorDate: Mon Apr 1 20:17:12 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Apr 1 22:43:53 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e2b4419 sys-fs/quota: stable 4.04-r2 for sparc, bug #682058 Signed-off-by: Rolf Eike Beer sf-mail.de> Package-Manager: Portage-2.3.62, Repoman-2.3.11 RepoMan-Options: --include-arches="sparc" Signed-off-by: Sergei Trofimovich gentoo.org> sys-fs/quota/quota-4.04-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04-r2.ebuild b/sys-fs/quota/quota-4.04-r2.ebuild index 083be06559b..9fdf31ad1ae 100644 --- a/sys-fs/quota/quota-4.04-r2.ebuild +++ b/sys-fs/quota/quota-4.04-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 32e8402247a68db5c3ac17fb04b33b42b1892443 Author: Lars Wendler gentoo org> AuthorDate: Sat Mar 30 10:59:19 2019 + Commit: Lars Wendler gentoo org> CommitDate: Sat Mar 30 11:02:34 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32e84022 sys-fs/quota: Bump to version 4.05 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler gentoo.org> sys-fs/quota/Manifest | 1 + sys-fs/quota/quota-4.05.ebuild | 78 ++ 2 files changed, 79 insertions(+) diff --git a/sys-fs/quota/Manifest b/sys-fs/quota/Manifest index 7e49bf9984f..a33aab6419d 100644 --- a/sys-fs/quota/Manifest +++ b/sys-fs/quota/Manifest @@ -1,2 +1,3 @@ DIST quota-4.03.tar.gz 564352 BLAKE2B b474be79576fd2db7ad5f7c4e93d665fca19004727f4ff12e960da3251091b026c1458adecc0ed3a803da3bfcef6c857f612c44c7800ecc53c9ae53450d10338 SHA512 9603940048dcc0c4db6d6e14173769c815641ebc78a0cc457a0622dbfc597319bae1eaad4ef3281c52757995d47424b96dc66426ce540a8b538b996eea2dc5f8 DIST quota-4.04.tar.gz 577303 BLAKE2B 8ee1e8f99b70f626ec051e4e9afe53c788b625a29f26afbe075039cf88dde9f6641c39e0ccfdbfcc6981fabe35e8fd15e7203989e9bbbdd1f1772949566531f6 SHA512 adc33863d2a966b4c46983fa3926e6b6ba75e260ed21bdff646584237840e6beb0dcfbfd2f655969aa5675c3c398ac2e483afb933f03f983756ebb3352d0eaad +DIST quota-4.05.tar.gz 577313 BLAKE2B ab0adc04a2bee46f5b4f528c3a1b7f1dfbfc93cc153aebef91cf563e0b03344479b4d465f7d91cfee60c533052f27ce54f24a937c0c1ec312a5fff763cb82bd1 SHA512 a13ca93fb6fad032cb032874dda2f5d792e619b41e89b481e6aaa4f06ac5774e2728b09dd625addfbe22efccb1d85892b093736084c72f75675a60df168b92f2 diff --git a/sys-fs/quota/quota-4.05.ebuild b/sys-fs/quota/quota-4.05.ebuild new file mode 100644 index 000..06512aaf271 --- /dev/null +++ b/sys-fs/quota/quota-4.05.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Linux quota tools" +HOMEPAGE="https://sourceforge.net/projects/linuxquota/; +SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="ldap netlink nls rpc tcpd" + +RDEPEND=" + sys-fs/e2fsprogs + ldap? ( >=net-nds/openldap-2.3.35 ) + netlink? ( + sys-apps/dbus + dev-libs/libnl:3 + ) + rpc? ( + net-nds/rpcbind + elibc_glibc? ( sys-libs/glibc[-rpc(-)] ) + net-libs/libtirpc + net-libs/rpcsvc-proto + ) + tcpd? ( sys-apps/tcp-wrappers ) +" +DEPEND=" + ${RDEPEND} + nls? ( sys-devel/gettext ) +" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-ext2direct + $(use_enable nls) + $(use_enable ldap ldapmail) + $(use_enable netlink) + $(use_enable rpc) + $(use_enable rpc rpcsetquota) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc doc/* README.* Changelog + + insinto /etc + insopts -m0644 + doins warnquota.conf quotatab + + newinitd "${FILESDIR}"/quota.rc7 quota + newconfd "${FILESDIR}"/quota.confd quota + + if use rpc ; then + newinitd "${FILESDIR}"/rpc.rquotad.initd rpc.rquotad + fi + + if use ldap ; then + insinto /etc/openldap/schema + insopts -m0644 + doins "${FILESDIR}"/ldap-scripts/quota.schema + + exeinto /usr/share/quota/ldap-scripts + doexe "${FILESDIR}"/ldap-scripts/*.pl + doexe "${FILESDIR}"/ldap-scripts/edquota_editor + fi +}
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: c762565080a9b6fb54f5b5da9b696d836765d211 Author: Lars Wendler gentoo org> AuthorDate: Sat Mar 30 11:01:40 2019 + Commit: Lars Wendler gentoo org> CommitDate: Sat Mar 30 11:02:35 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7625650 sys-fs/quota: Added sys-fs/e2fsprogs to RDEPEND. Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler gentoo.org> sys-fs/quota/quota-4.04-r2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys-fs/quota/quota-4.04-r2.ebuild b/sys-fs/quota/quota-4.04-r2.ebuild index a6080157d8e..083be06559b 100644 --- a/sys-fs/quota/quota-4.04-r2.ebuild +++ b/sys-fs/quota/quota-4.04-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -15,6 +15,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND=" + sys-fs/e2fsprogs ldap? ( >=net-nds/openldap-2.3.35 ) netlink? ( sys-apps/dbus @@ -45,7 +46,7 @@ src_prepare() { src_configure() { local myeconfargs=( - --docdir="${EPREFIX%/}/usr/share/doc/${PF}" + --enable-ext2direct $(use_enable nls) $(use_enable ldap ldapmail) $(use_enable netlink)
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/files/, sys-fs/quota/
commit: b97ff58fca5ce104dbc558200389dd6ddda9e64e Author: Lars Wendler gentoo org> AuthorDate: Tue Sep 18 08:54:01 2018 + Commit: Lars Wendler gentoo org> CommitDate: Tue Sep 18 08:54:01 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b97ff58f sys-fs/quota: Fixed high CPU usage with USE="rpc". Closes: https://bugs.gentoo.org/658022 Package-Manager: Portage-2.3.49, Repoman-2.3.10 .../files/quota-4.04-Listen-on-a-TCP-socket.patch | 77 sys-fs/quota/quota-4.04-r2.ebuild | 82 ++ 2 files changed, 159 insertions(+) diff --git a/sys-fs/quota/files/quota-4.04-Listen-on-a-TCP-socket.patch b/sys-fs/quota/files/quota-4.04-Listen-on-a-TCP-socket.patch new file mode 100644 index 000..cf1bd4aad32 --- /dev/null +++ b/sys-fs/quota/files/quota-4.04-Listen-on-a-TCP-socket.patch @@ -0,0 +1,77 @@ +From 31ecd29b3b3f51145fd78f63087c10e9fcadf999 Mon Sep 17 00:00:00 2001 +From: Steve Dickson +Date: Tue, 22 May 2018 12:41:59 +0200 +Subject: [PATCH] Listen on a TCP socket +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +rpc.rquotad spins in libtirpc's rendezvous_request() on accepting TCP +connections because the polled TCP socket is not listening: + +poll([{fd=4, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}, {fd=5, + events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}, {fd=6, + events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}, {fd=7, + events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 4, -1) = 2 ([{fd=5, + revents=POLLHUP}, {fd=7, revents=POLLHUP}]) +accept(5, 0x7ffe61698700, [128])= -1 EINVAL (Invalid argument) +accept(7, 0x7ffe61698700, [128])= -1 EINVAL (Invalid argument) + +The polled descriptors are: + +rpc.rquot 21981 root4u IPv4 80449159 0t0 UDP *:rquotad +rpc.rquot 21981 root5u sock 0,9 0t0 80449162 protocol: TCP +rpc.rquot 21981 root6u IPv6 80449165 0t0 UDP *:rquotad +rpc.rquot 21981 root7u sock 0,9 0t0 80449168 protocol: TCPv6 + +That results into a high CPU usage just after staring rpc.rquotad +process. + +This patch adds a listen() call to svc_create_sock() +routine which is needed with libtirpc version of svc_tli_create() +as well as a needed IPv6 setsockopt(). + +Signed-off-by: Petr Písař +--- + svc_socket.c | 18 ++ + 1 file changed, 18 insertions(+) + +diff --git a/svc_socket.c b/svc_socket.c +index 8a44604..d2e3abf 100644 +--- a/svc_socket.c b/svc_socket.c +@@ -118,6 +118,15 @@ static int svc_create_sock(struct addrinfo *ai) + return -1; + } + ++ if (ai->ai_family == AF_INET6) { ++ if (setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, ++ , sizeof(optval)) < 0) { ++ errstr(_("Cannot set IPv6 socket options: %s\n"), strerror(errno)); ++ close(fd); ++ return -1; ++ } ++ } ++ + if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, , sizeof(optval)) < 0) { + errstr(_("Cannot set socket options: %s\n"), strerror(errno)); + close(fd); +@@ -129,6 +138,15 @@ static int svc_create_sock(struct addrinfo *ai) + close(fd); + return -1; + } ++ ++ if (ai->ai_protocol == IPPROTO_TCP) { ++ if (listen(fd, SOMAXCONN) < 0) { ++ errstr(_("Cannot listen to address: %s\n"), strerror(errno)); ++ close(fd); ++ return -1; ++ } ++ } ++ + return fd; + } + +-- +2.14.3 + diff --git a/sys-fs/quota/quota-4.04-r2.ebuild b/sys-fs/quota/quota-4.04-r2.ebuild new file mode 100644 index 000..a6080157d8e --- /dev/null +++ b/sys-fs/quota/quota-4.04-r2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Linux quota tools" +HOMEPAGE="https://sourceforge.net/projects/linuxquota/; +SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="ldap netlink nls rpc tcpd" + +RDEPEND=" + ldap? ( >=net-nds/openldap-2.3.35 ) + netlink? ( + sys-apps/dbus + dev-libs/libnl:3 + ) + rpc? ( + net-nds/rpcbind + elibc_glibc? ( sys-libs/glibc[-rpc(-)] ) + net-libs/libtirpc + net-libs/rpcsvc-proto + ) + tcpd? ( sys-apps/tcp-wrappers ) +" +DEPEND=" + ${RDEPEND} + nls? ( sys-devel/gettext ) +" + +PATCHES=( + "${FILESDIR}/${P}-glibc226.patch" + "${FILESDIR}/${P}-Listen-on-a-TCP-socket.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( +
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: bd67fbe88c25f91b367ce7a3b28d0f22142485e2 Author: Mikle Kolyada gentoo org> AuthorDate: Sun May 20 11:25:46 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun May 20 11:26:11 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd67fbe8 sys-fs/quota: unstable hppa Package-Manager: Portage-2.3.24, Repoman-2.3.6 sys-fs/quota/quota-4.03.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-fs/quota/quota-4.03.ebuild b/sys-fs/quota/quota-4.03.ebuild index 28fb821fc5d..2bab377c69b 100644 --- a/sys-fs/quota/quota-4.03.ebuild +++ b/sys-fs/quota/quota-4.03.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86" +KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="ldap? ( >=net-nds/openldap-2.3.35 )
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 76e1727ed3c01dfa19625207d112d81ee01b9129 Author: Tobias Klausmann gentoo org> AuthorDate: Mon May 14 08:15:10 2018 + Commit: Tobias Klausmann gentoo org> CommitDate: Mon May 14 08:15:10 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76e1727e sys-fs/quota-4.04-r1: alpha stable Gentoo-Bug: http://bugs.gentoo.org/653798 sys-fs/quota/quota-4.04-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04-r1.ebuild b/sys-fs/quota/quota-4.04-r1.ebuild index fcd630e5665..9b5fdbca442 100644 --- a/sys-fs/quota/quota-4.04-r1.ebuild +++ b/sys-fs/quota/quota-4.04-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 5d1eaecb4248904eadb7897fa06b31584d933406 Author: Mikle Kolyada gentoo org> AuthorDate: Sat Apr 28 07:07:13 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Apr 28 07:09:39 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d1eaecb sys-fs/quota: arm stable wrt bug #653798 Package-Manager: Portage-2.3.24, Repoman-2.3.6 sys-fs/quota/quota-4.04-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04-r1.ebuild b/sys-fs/quota/quota-4.04-r1.ebuild index 458eedfc6a0..fcd630e5665 100644 --- a/sys-fs/quota/quota-4.04-r1.ebuild +++ b/sys-fs/quota/quota-4.04-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 824c9daa6fa0ab26c10920f3d3444390ee4fbe34 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Apr 26 06:40:27 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Apr 26 06:40:27 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=824c9daa sys-fs/quota: stable 4.04-r1 for ia64, bug #653798 Bug: https://bugs.gentoo.org/653798 Package-Manager: Portage-2.3.28, Repoman-2.3.9 RepoMan-Options: --include-arches="ia64" sys-fs/quota/quota-4.04-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04-r1.ebuild b/sys-fs/quota/quota-4.04-r1.ebuild index 2d3c9e9c006..458eedfc6a0 100644 --- a/sys-fs/quota/quota-4.04-r1.ebuild +++ b/sys-fs/quota/quota-4.04-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: be19d0080b9ca780103fd6e492e16528e7306525 Author: Matt Turner gentoo org> AuthorDate: Thu Apr 26 05:08:08 2018 + Commit: Matt Turner gentoo org> CommitDate: Thu Apr 26 05:08:08 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be19d008 sys-fs/quota-4.04-r1: ppc stable, bug 653798 sys-fs/quota/quota-4.04-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04-r1.ebuild b/sys-fs/quota/quota-4.04-r1.ebuild index 9cafdf56672..6fbe0204d04 100644 --- a/sys-fs/quota/quota-4.04-r1.ebuild +++ b/sys-fs/quota/quota-4.04-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 23ba0744f50431e9e9e692b2ce1fd2ebab7be4e0 Author: Matt Turner gentoo org> AuthorDate: Thu Apr 26 05:08:12 2018 + Commit: Matt Turner gentoo org> CommitDate: Thu Apr 26 05:08:12 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23ba0744 sys-fs/quota-4.04-r1: ppc64 stable, bug 653798 sys-fs/quota/quota-4.04-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04-r1.ebuild b/sys-fs/quota/quota-4.04-r1.ebuild index 6fbe0204d04..2d3c9e9c006 100644 --- a/sys-fs/quota/quota-4.04-r1.ebuild +++ b/sys-fs/quota/quota-4.04-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 sparc x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: d23aaded73cf4b0a9bf16642ec1041ef10556d20 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Apr 24 11:47:53 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Apr 24 18:55:09 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d23aaded sys-fs/quota: stable 4.04-r1 for sparc Bug: https://bugs.gentoo.org/653798 Package-Manager: Portage-2.3.24, Repoman-2.3.6 RepoMan-Options: --include-arches="sparc" sys-fs/quota/quota-4.04-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04-r1.ebuild b/sys-fs/quota/quota-4.04-r1.ebuild index 03b4fbef406..54401f70975 100644 --- a/sys-fs/quota/quota-4.04-r1.ebuild +++ b/sys-fs/quota/quota-4.04-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 4aa2b2f2c74d092b5d5b0f9c0858e6cae6a9267a Author: Aaron Bauman gentoo org> AuthorDate: Sun Apr 22 23:40:12 2018 + Commit: Aaron Bauman gentoo org> CommitDate: Sun Apr 22 23:40:12 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aa2b2f2 sys-fs/quota: amd64 stable wrt bug #653798 Bug: https://bugs.gentoo.org/653798 Package-Manager: Portage-2.3.31, Repoman-2.3.9 sys-fs/quota/quota-4.04-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04-r1.ebuild b/sys-fs/quota/quota-4.04-r1.ebuild index 9ced66121c1..03b4fbef406 100644 --- a/sys-fs/quota/quota-4.04-r1.ebuild +++ b/sys-fs/quota/quota-4.04-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: bd9053ccb5e5dbb1ae011daa975fba4dabaac8b5 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sun Apr 22 16:15:25 2018 + Commit: Andreas Hüttel gentoo org> CommitDate: Sun Apr 22 16:15:25 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd9053cc Revert "sys-fs/quota: Drop glibc[-rpc] requirement", see bug 630534 This reverts commit 8fad556c59de6d260338d7110b41f44079ec5fc9. sys-fs/quota/quota-4.04-r1.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/sys-fs/quota/quota-4.04-r1.ebuild b/sys-fs/quota/quota-4.04-r1.ebuild index 5408cdcf494..9ced66121c1 100644 --- a/sys-fs/quota/quota-4.04-r1.ebuild +++ b/sys-fs/quota/quota-4.04-r1.ebuild @@ -22,6 +22,7 @@ RDEPEND=" ) rpc? ( net-nds/rpcbind + elibc_glibc? ( sys-libs/glibc[-rpc(-)] ) net-libs/libtirpc net-libs/rpcsvc-proto )
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 8fad556c59de6d260338d7110b41f44079ec5fc9 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sun Apr 22 16:13:13 2018 + Commit: Andreas Hüttel gentoo org> CommitDate: Sun Apr 22 16:13:40 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fad556c sys-fs/quota: Drop glibc[-rpc] requirement Package-Manager: Portage-2.3.31, Repoman-2.3.9 sys-fs/quota/quota-4.04-r1.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04-r1.ebuild b/sys-fs/quota/quota-4.04-r1.ebuild index 9ced66121c1..5408cdcf494 100644 --- a/sys-fs/quota/quota-4.04-r1.ebuild +++ b/sys-fs/quota/quota-4.04-r1.ebuild @@ -22,7 +22,6 @@ RDEPEND=" ) rpc? ( net-nds/rpcbind - elibc_glibc? ( sys-libs/glibc[-rpc(-)] ) net-libs/libtirpc net-libs/rpcsvc-proto )
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 8d9f0da95030d3dd16700cf2c82b4087ffefd30e Author: Mart Raudsepp gentoo org> AuthorDate: Fri Jan 5 00:53:09 2018 + Commit: Mart Raudsepp gentoo org> CommitDate: Fri Jan 5 01:07:09 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d9f0da9 sys-fs/quota-4.04-r1: add ~arm64 keyword Bug: https://bugs.gentoo.org/642652 Package-Manager: Portage-2.3.19, Repoman-2.3.6 sys-fs/quota/quota-4.04-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-fs/quota/quota-4.04-r1.ebuild b/sys-fs/quota/quota-4.04-r1.ebuild index b4b4a726d94..9ced66121c1 100644 --- a/sys-fs/quota/quota-4.04-r1.ebuild +++ b/sys-fs/quota/quota-4.04-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: ec1d210e7d85aba515fe6519601c95f03337ade2 Author: Andreas K. Hüttel gentoo org> AuthorDate: Mon Dec 18 19:33:40 2017 + Commit: Andreas Hüttel gentoo org> CommitDate: Mon Dec 18 19:33:59 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec1d210e sys-fs/quota: Require glibc without rpc support if rpc support is selected here, bug 636934 Otherwise we get file collisions: * sys-libs/glibc-2.25-r9:2.2::gentoo * /usr/include/rpcsvc/rquota.h * /usr/include/rpcsvc/rquota.x Closes: https://bugs.gentoo.org/636934 Package-Manager: Portage-2.3.19, Repoman-2.3.6 sys-fs/quota/quota-4.04-r1.ebuild | 8 ++-- sys-fs/quota/quota-4.04.ebuild| 79 --- 2 files changed, 3 insertions(+), 84 deletions(-) diff --git a/sys-fs/quota/quota-4.04-r1.ebuild b/sys-fs/quota/quota-4.04-r1.ebuild index 0fccc223e07..b4b4a726d94 100644 --- a/sys-fs/quota/quota-4.04-r1.ebuild +++ b/sys-fs/quota/quota-4.04-r1.ebuild @@ -22,11 +22,9 @@ RDEPEND=" ) rpc? ( net-nds/rpcbind - || (sys-libs/glibc[rpc(-)] - ( - net-libs/rpcsvc-proto - ) - ) + elibc_glibc? ( sys-libs/glibc[-rpc(-)] ) + net-libs/libtirpc + net-libs/rpcsvc-proto ) tcpd? ( sys-apps/tcp-wrappers ) " diff --git a/sys-fs/quota/quota-4.04.ebuild b/sys-fs/quota/quota-4.04.ebuild deleted file mode 100644 index d077fb35d66..000 --- a/sys-fs/quota/quota-4.04.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools - -DESCRIPTION="Linux quota tools" -HOMEPAGE="https://sourceforge.net/projects/linuxquota/; -SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="ldap netlink nls rpc tcpd" - -RDEPEND=" - ldap? ( >=net-nds/openldap-2.3.35 ) - netlink? ( - sys-apps/dbus - dev-libs/libnl:3 - ) - rpc? ( - net-nds/rpcbind - || (sys-libs/glibc[rpc(-)] - ( - net-libs/rpcsvc-proto - ) - ) - ) - tcpd? ( sys-apps/tcp-wrappers ) -" -DEPEND=" - ${RDEPEND} - nls? ( sys-devel/gettext ) -" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - --docdir="${EPREFIX%/}/usr/share/doc/${PF}" - $(use_enable nls) - $(use_enable ldap ldapmail) - $(use_enable netlink) - $(use_enable rpc) - $(use_enable rpc rpcsetquota) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - dodoc doc/* README.* Changelog - - insinto /etc - insopts -m0644 - doins warnquota.conf quotatab - - newinitd "${FILESDIR}"/quota.rc7 quota - newconfd "${FILESDIR}"/quota.confd quota - - if use rpc ; then - newinitd "${FILESDIR}"/rpc.rquotad.initd rpc.rquotad - fi - - if use ldap ; then - insinto /etc/openldap/schema - insopts -m0644 - doins "${FILESDIR}"/ldap-scripts/quota.schema - - exeinto /usr/share/quota/ldap-scripts - doexe "${FILESDIR}"/ldap-scripts/*.pl - doexe "${FILESDIR}"/ldap-scripts/edquota_editor - fi -}
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 480f8a4ef38d59b629fb26aa1be11400a26f9f75 Author: Lars Wendler gentoo org> AuthorDate: Fri Oct 6 11:51:37 2017 + Commit: Lars Wendler gentoo org> CommitDate: Fri Oct 6 12:22:54 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=480f8a4e sys-fs/quota: Removed old. Package-Manager: Portage-2.3.11, Repoman-2.3.3 sys-fs/quota/Manifest | 1 - sys-fs/quota/quota-4.02.ebuild | 77 -- 2 files changed, 78 deletions(-) diff --git a/sys-fs/quota/Manifest b/sys-fs/quota/Manifest index 39d08c64a55..7de12a71692 100644 --- a/sys-fs/quota/Manifest +++ b/sys-fs/quota/Manifest @@ -1,3 +1,2 @@ -DIST quota-4.02.tar.gz 489289 SHA256 f4c2f48abf94bbdc396df33d276f2e9d19af58c232cb85eef9c174a747c33795 SHA512 547e08893b95928e5d183d29bee70d1932f85a675b96f64446e5a723d0759ad2d31223f8b6a5652cd698fce4907a15c294b91c18de32faddbef4975c9f22f2aa WHIRLPOOL eb102a14dfe780b7ed062c3c7abec1ef766beb31c18d92c5115ca703672ebb7e7bfb0479885c6c8c78520554aeb477bc1f4d48fbb76b0336047f42b55af49036 DIST quota-4.03.tar.gz 564352 SHA256 9c6c4d9ae7bf30506dd2aa3d8056c4ff2f8d087930d7c721616f5c093bdc674b SHA512 9603940048dcc0c4db6d6e14173769c815641ebc78a0cc457a0622dbfc597319bae1eaad4ef3281c52757995d47424b96dc66426ce540a8b538b996eea2dc5f8 WHIRLPOOL 4a6354f7732e6c60782dbfb60fbfae47c96c438315572dccaf7d2563b8dab5eb46072f999481abe237df8dafaf252b095c9bcd5d58beecdf75db6aca8d46f4ab DIST quota-4.04.tar.gz 577303 SHA256 735be1887e7f51f54165e778ae43fc859c04e44d88834ecb2f470e91d4ef8edf SHA512 adc33863d2a966b4c46983fa3926e6b6ba75e260ed21bdff646584237840e6beb0dcfbfd2f655969aa5675c3c398ac2e483afb933f03f983756ebb3352d0eaad WHIRLPOOL ac6466fffaa0954b13a812827bba4f8753640b80fefb6cbbd582a3c916cc7b302e865ddfb3919335a2fe23168bf5894032a7393b4f1ef4615b75f30adc501f3e diff --git a/sys-fs/quota/quota-4.02.ebuild b/sys-fs/quota/quota-4.02.ebuild deleted file mode 100644 index f2ec225b3dd..000 --- a/sys-fs/quota/quota-4.02.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit eutils - -DESCRIPTION="Linux quota tools" -HOMEPAGE="https://sourceforge.net/projects/linuxquota/; -SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86" -IUSE="ldap netlink nls rpc tcpd" - -RDEPEND="ldap? ( >=net-nds/openldap-2.3.35 ) - netlink? ( - sys-apps/dbus - dev-libs/libnl:3 - ) - rpc? ( net-nds/rpcbind ) - tcpd? ( sys-apps/tcp-wrappers )" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/quota-tools - -src_prepare() { - local args=( - -e '1iCC = @CC@' #446277 - ) - if ! use rpc ; then - args+=( #465810 - -e '/^PROGS/s:rpc.rquotad::' - -e '/^RPCGEN/s:=.*:=false:' - -e '/^RPCCLNTOBJS/s:=.*:=:' - ) - fi - sed -i "${args[@]}" Makefile.in || die -} - -src_configure() { - econf \ - $(use_enable nls) \ - $(use_enable ldap ldapmail) \ - $(use_enable netlink) \ - $(use_enable rpc) \ - $(use_enable rpc rpcsetquota) -} - -src_install() { - emake STRIP="" ROOTDIR="${D}" install - dodoc doc/* README.* Changelog - rm -r "${ED}"/usr/include || die #70938 - - insinto /etc - insopts -m0644 - doins warnquota.conf quotatab - - newinitd "${FILESDIR}"/quota.rc7 quota - newconfd "${FILESDIR}"/quota.confd quota - - if use rpc ; then - newinitd "${FILESDIR}"/rpc.rquotad.initd rpc.rquotad - fi - - if use ldap ; then - insinto /etc/openldap/schema - insopts -m0644 - doins ldap-scripts/quota.schema - - exeinto /usr/share/quota/ldap-scripts - doexe ldap-scripts/*.pl - doexe ldap-scripts/edquota_editor - fi -}
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 43e94d3dcea30190b7e7a06e5315e382a68c10ce Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Oct 5 13:14:38 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Oct 5 13:15:48 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43e94d3d sys-fs/quota: stable 4.03 for sparc, bug #630040 (thanks to Rolf Eike Beer) Package-Manager: Portage-2.3.10, Repoman-2.3.3 RepoMan-Options: --include-arches="sparc" sys-fs/quota/quota-4.03.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.03.ebuild b/sys-fs/quota/quota-4.03.ebuild index f503641bf56..28fb821fc5d 100644 --- a/sys-fs/quota/quota-4.03.ebuild +++ b/sys-fs/quota/quota-4.03.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sparc x86" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="ldap? ( >=net-nds/openldap-2.3.35 )
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 1155a2a1a82d5c997acbac5cd90d47c305141f24 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Oct 5 08:34:14 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Oct 5 08:37:10 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1155a2a1 sys-fs/quota: stable 4.03 for ppc, bug #630040 Package-Manager: Portage-2.3.10, Repoman-2.3.3 RepoMan-Options: --include-arches="ppc" sys-fs/quota/quota-4.03.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.03.ebuild b/sys-fs/quota/quota-4.03.ebuild index 38aef896b22..f503641bf56 100644 --- a/sys-fs/quota/quota-4.03.ebuild +++ b/sys-fs/quota/quota-4.03.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ppc64 ~sparc x86" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="ldap? ( >=net-nds/openldap-2.3.35 )
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: d1be0112f4852d8bbcb19bc97913517fb0bd9de4 Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Sep 30 23:03:07 2017 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Sep 30 23:38:06 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1be0112 sys-fs/quota: x86 stable (bug #630040) Package-Manager: Portage-2.3.10, Repoman-2.3.3 sys-fs/quota/quota-4.03.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.03.ebuild b/sys-fs/quota/quota-4.03.ebuild index 9df117a257e..38aef896b22 100644 --- a/sys-fs/quota/quota-4.03.ebuild +++ b/sys-fs/quota/quota-4.03.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ppc64 ~sparc ~x86" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ppc64 ~sparc x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="ldap? ( >=net-nds/openldap-2.3.35 )
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 7b59ac42654128d54fcf5c125069962cb41313ec Author: Manuel Rüger gentoo org> AuthorDate: Tue Sep 26 22:53:09 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Tue Sep 26 22:53:09 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b59ac42 sys-fs/quota: amd64 stable Package-Manager: Portage-2.3.10, Repoman-2.3.3 sys-fs/quota/quota-4.03.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.03.ebuild b/sys-fs/quota/quota-4.03.ebuild index 26ed6ee4b59..9df117a257e 100644 --- a/sys-fs/quota/quota-4.03.ebuild +++ b/sys-fs/quota/quota-4.03.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha ~amd64 arm hppa ia64 ~mips ~ppc ppc64 ~sparc ~x86" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ppc64 ~sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="ldap? ( >=net-nds/openldap-2.3.35 )
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/files/, sys-fs/quota/
commit: 610af1a698ac2ca712034ff1928d56b51b61458c Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat Sep 16 11:53:07 2017 + Commit: Andreas Hüttel gentoo org> CommitDate: Sat Sep 16 11:53:47 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=610af1a6 sys-fs/quota: Fix build with glibc-2.26 and libtirpc. Revbump since I'm not 100% sure about side effects if in previous glibc+libtirpc combinations duplicate headers were installed. Package-Manager: Portage-2.3.8, Repoman-2.3.3 sys-fs/quota/files/quota-4.04-glibc226.patch | 43 ++ sys-fs/quota/quota-4.04-r1.ebuild| 83 2 files changed, 126 insertions(+) diff --git a/sys-fs/quota/files/quota-4.04-glibc226.patch b/sys-fs/quota/files/quota-4.04-glibc226.patch new file mode 100644 index 000..5f63cde7d42 --- /dev/null +++ b/sys-fs/quota/files/quota-4.04-glibc226.patch @@ -0,0 +1,43 @@ +From bbb8819fc0f6ed379a05d635a61bcf9c8986079f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?=+Date: Sat, 16 Sep 2017 13:09:43 +0200 +Subject: [PATCH] Add $(TIRPC_CFLAGS) globally to CFLAGS for RPC support, + needed for libc 2.26 + +--- + Makefile.am | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 8d80bee..278290a 100644 +--- a/Makefile.am b/Makefile.am +@@ -51,6 +51,8 @@ EXTRA_DIST = \ + noinst_LIBRARIES = libquota.a + + if WITH_RPC ++CFLAGS += $(TIRPC_CFLAGS) ++ + rpcsvcdir = $(includedir)/rpcsvc + rpcsvc_DATA = \ + rquota.h \ +@@ -100,8 +102,6 @@ libquota_a_SOURCES = \ + mntopt.h \ + pot.c \ + pot.h +-libquota_a_CFLAGS = \ +- $(TIRPC_CFLAGS) + libquota_a_LIBADD = \ + $(RPCLIBS) + +@@ -235,7 +235,6 @@ rpc_rquotad_SOURCES = \ + rquota_server.c \ + rquota_svc.c \ + svc_socket.c +-rpc_rquotad_CFLAGS = $(TIRPC_CFLAGS) + rpc_rquotad_LDADD = \ + libquota.a \ + $(WRAP_LIBS) \ +-- +2.14.1 + diff --git a/sys-fs/quota/quota-4.04-r1.ebuild b/sys-fs/quota/quota-4.04-r1.ebuild new file mode 100644 index 000..0fccc223e07 --- /dev/null +++ b/sys-fs/quota/quota-4.04-r1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Linux quota tools" +HOMEPAGE="https://sourceforge.net/projects/linuxquota/; +SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="ldap netlink nls rpc tcpd" + +RDEPEND=" + ldap? ( >=net-nds/openldap-2.3.35 ) + netlink? ( + sys-apps/dbus + dev-libs/libnl:3 + ) + rpc? ( + net-nds/rpcbind + || (sys-libs/glibc[rpc(-)] + ( + net-libs/rpcsvc-proto + ) + ) + ) + tcpd? ( sys-apps/tcp-wrappers ) +" +DEPEND=" + ${RDEPEND} + nls? ( sys-devel/gettext ) +" + +PATCHES=( + "${FILESDIR}/${P}-glibc226.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --docdir="${EPREFIX%/}/usr/share/doc/${PF}" + $(use_enable nls) + $(use_enable ldap ldapmail) + $(use_enable netlink) + $(use_enable rpc) + $(use_enable rpc rpcsetquota) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc doc/* README.* Changelog + + insinto /etc + insopts -m0644 + doins warnquota.conf quotatab + + newinitd "${FILESDIR}"/quota.rc7 quota + newconfd "${FILESDIR}"/quota.confd quota + + if use rpc ; then + newinitd "${FILESDIR}"/rpc.rquotad.initd rpc.rquotad + fi + + if use ldap ; then + insinto /etc/openldap/schema + insopts -m0644 + doins "${FILESDIR}"/ldap-scripts/quota.schema + + exeinto /usr/share/quota/ldap-scripts + doexe "${FILESDIR}"/ldap-scripts/*.pl + doexe "${FILESDIR}"/ldap-scripts/edquota_editor + fi +}
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 2c7ed4d3c925115bd4ac7d895581d9361e51c81e Author: Tobias Klausmann gentoo org> AuthorDate: Fri Sep 15 15:37:49 2017 + Commit: Tobias Klausmann gentoo org> CommitDate: Fri Sep 15 15:37:49 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c7ed4d3 sys-fs/quota-4.03-r0: alpha stable Gentoo-Bug: 630040 sys-fs/quota/quota-4.03.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.03.ebuild b/sys-fs/quota/quota-4.03.ebuild index f519359b398..26ed6ee4b59 100644 --- a/sys-fs/quota/quota-4.03.ebuild +++ b/sys-fs/quota/quota-4.03.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm hppa ia64 ~mips ~ppc ppc64 ~sparc ~x86" +KEYWORDS="alpha ~amd64 arm hppa ia64 ~mips ~ppc ppc64 ~sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="ldap? ( >=net-nds/openldap-2.3.35 )
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: b00d370985fe74f89b008cb80a78c0591f0b2082 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Sep 10 20:45:32 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Sep 10 20:45:59 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b00d3709 sys-fs/quota: stable 4.03 for ppc64, bug #630040 Package-Manager: Portage-2.3.8, Repoman-2.3.3 RepoMan-Options: --include-arches="ppc64" sys-fs/quota/quota-4.03.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.03.ebuild b/sys-fs/quota/quota-4.03.ebuild index 3bacaa52c2d..f519359b398 100644 --- a/sys-fs/quota/quota-4.03.ebuild +++ b/sys-fs/quota/quota-4.03.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm hppa ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm hppa ia64 ~mips ~ppc ppc64 ~sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="ldap? ( >=net-nds/openldap-2.3.35 )
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 6d9f1296e35552988b308cce94ba3663ef4c2880 Author: Andreas K. Hüttel gentoo org> AuthorDate: Fri Sep 8 21:00:44 2017 + Commit: Andreas Hüttel gentoo org> CommitDate: Sat Sep 9 19:19:57 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d9f1296 sys-fs/quota: Add missing dependency Package-Manager: Portage-2.3.8, Repoman-2.3.3 sys-fs/quota/quota-4.04.ebuild | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.04.ebuild b/sys-fs/quota/quota-4.04.ebuild index ab9d32e4f24..d077fb35d66 100644 --- a/sys-fs/quota/quota-4.04.ebuild +++ b/sys-fs/quota/quota-4.04.ebuild @@ -20,7 +20,14 @@ RDEPEND=" sys-apps/dbus dev-libs/libnl:3 ) - rpc? ( net-nds/rpcbind ) + rpc? ( + net-nds/rpcbind + || (sys-libs/glibc[rpc(-)] + ( + net-libs/rpcsvc-proto + ) + ) + ) tcpd? ( sys-apps/tcp-wrappers ) " DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: f7a706125da1fefbce630b75ac7da719ad5f4614 Author: Markus Meier gentoo org> AuthorDate: Sat Sep 9 10:26:33 2017 + Commit: Markus Meier gentoo org> CommitDate: Sat Sep 9 10:26:33 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7a70612 sys-fs/quota: arm stable, bug #630040 Package-Manager: Portage-2.3.6, Repoman-2.3.1 RepoMan-Options: --include-arches="arm" sys-fs/quota/quota-4.03.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.03.ebuild b/sys-fs/quota/quota-4.03.ebuild index d4fa81dee94..3bacaa52c2d 100644 --- a/sys-fs/quota/quota-4.03.ebuild +++ b/sys-fs/quota/quota-4.03.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm hppa ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm hppa ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="ldap? ( >=net-nds/openldap-2.3.35 )
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 7f4bd9b319360a54f63211bd0ab3b015b03b0185 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Sep 7 20:50:10 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Sep 7 20:50:27 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f4bd9b3 sys-fs/quota: stable 4.03 for hppa, bug #630040 Package-Manager: Portage-2.3.8, Repoman-2.3.3 RepoMan-Options: --include-arches="hppa" sys-fs/quota/quota-4.03.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.03.ebuild b/sys-fs/quota/quota-4.03.ebuild index 711129b569f..d4fa81dee94 100644 --- a/sys-fs/quota/quota-4.03.ebuild +++ b/sys-fs/quota/quota-4.03.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm hppa ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="ldap? ( >=net-nds/openldap-2.3.35 )
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: b6d91bba5c81c388d37fd1894c4bb3decaa7a91e Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Sep 5 21:47:35 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Sep 5 21:51:00 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6d91bba sys-fs/quota: stable 4.03 for ia64, bug #630040 Package-Manager: Portage-2.3.8, Repoman-2.3.3 RepoMan-Options: --include-arches="ia64" sys-fs/quota/quota-4.03.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-fs/quota/quota-4.03.ebuild b/sys-fs/quota/quota-4.03.ebuild index 417b0483a12..711129b569f 100644 --- a/sys-fs/quota/quota-4.03.ebuild +++ b/sys-fs/quota/quota-4.03.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="ldap netlink nls rpc tcpd" RDEPEND="ldap? ( >=net-nds/openldap-2.3.35 )
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/files/, sys-fs/quota/
commit: e2959e4f145e23e7e9bb9936c1df7a9233c85791 Author: Lars Wendler gentoo org> AuthorDate: Tue Sep 5 20:35:19 2017 + Commit: Lars Wendler gentoo org> CommitDate: Tue Sep 5 20:40:09 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2959e4f sys-fs/quota: Removed old. Package-Manager: Portage-2.3.8, Repoman-2.3.3 sys-fs/quota/Manifest | 1 - sys-fs/quota/files/quota-no-quotactl-manpage.patch | 19 -- sys-fs/quota/quota-3.17-r1.ebuild | 79 -- 3 files changed, 99 deletions(-) diff --git a/sys-fs/quota/Manifest b/sys-fs/quota/Manifest index a032eaee588..39d08c64a55 100644 --- a/sys-fs/quota/Manifest +++ b/sys-fs/quota/Manifest @@ -1,4 +1,3 @@ -DIST quota-3.17.tar.gz 439168 SHA256 253320993bb132814c724ca268a6346368be41846ad600f65ee4232ec8597d6f SHA512 7d200862f5ebee024295352289d940a1b728cb017e7c2c4f422a5a98d58ba8f62130640a4c08bdec02f94ea0f4abe146fb494c039b43021fd410ec17fd32b238 WHIRLPOOL e334f22a7c2f8097a2f7145217d1cf134a135a1b6705470121e3a9c0492d59677508bfaa06bcb4eecb9992491910f5b29068e005cafb5086df39da591e375613 DIST quota-4.02.tar.gz 489289 SHA256 f4c2f48abf94bbdc396df33d276f2e9d19af58c232cb85eef9c174a747c33795 SHA512 547e08893b95928e5d183d29bee70d1932f85a675b96f64446e5a723d0759ad2d31223f8b6a5652cd698fce4907a15c294b91c18de32faddbef4975c9f22f2aa WHIRLPOOL eb102a14dfe780b7ed062c3c7abec1ef766beb31c18d92c5115ca703672ebb7e7bfb0479885c6c8c78520554aeb477bc1f4d48fbb76b0336047f42b55af49036 DIST quota-4.03.tar.gz 564352 SHA256 9c6c4d9ae7bf30506dd2aa3d8056c4ff2f8d087930d7c721616f5c093bdc674b SHA512 9603940048dcc0c4db6d6e14173769c815641ebc78a0cc457a0622dbfc597319bae1eaad4ef3281c52757995d47424b96dc66426ce540a8b538b996eea2dc5f8 WHIRLPOOL 4a6354f7732e6c60782dbfb60fbfae47c96c438315572dccaf7d2563b8dab5eb46072f999481abe237df8dafaf252b095c9bcd5d58beecdf75db6aca8d46f4ab DIST quota-4.04.tar.gz 577303 SHA256 735be1887e7f51f54165e778ae43fc859c04e44d88834ecb2f470e91d4ef8edf SHA512 adc33863d2a966b4c46983fa3926e6b6ba75e260ed21bdff646584237840e6beb0dcfbfd2f655969aa5675c3c398ac2e483afb933f03f983756ebb3352d0eaad WHIRLPOOL ac6466fffaa0954b13a812827bba4f8753640b80fefb6cbbd582a3c916cc7b302e865ddfb3919335a2fe23168bf5894032a7393b4f1ef4615b75f30adc501f3e diff --git a/sys-fs/quota/files/quota-no-quotactl-manpage.patch b/sys-fs/quota/files/quota-no-quotactl-manpage.patch deleted file mode 100644 index bf0014d0459..000 --- a/sys-fs/quota/files/quota-no-quotactl-manpage.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -urN quota-tools.orig/Makefile.in quota-tools/Makefile.in quota-tools.orig/Makefile.in 2003-04-08 06:04:25.0 -0700 -+++ quota-tools/Makefile.in2003-12-10 02:07:40.0 -0800 -@@ -88,7 +88,6 @@ - -$(INSTALL) -m $(DEF_CONF_MODE) quotatab $(ROOTDIR)$(sysconfdir) - -$(INSTALL) -m $(DEF_CONF_MODE) quotagrpadmins $(ROOTDIR)$(sysconfdir) - -mkdir -p $(ROOTDIR)$(mandir)/man1 -- -mkdir -p $(ROOTDIR)$(mandir)/man2 - -mkdir -p $(ROOTDIR)$(mandir)/man3 - -mkdir -p $(ROOTDIR)$(mandir)/man8 - -$(INSTALL) -m 755 -d $(ROOTDIR)$(includedir)/rpcsvc -@@ -96,7 +95,6 @@ - -$(INSTALL) -s -m $(DEF_SBIN_MODE) quota $(ROOTDIR)$(bindir) - -$(INSTALL) -s -m $(DEF_SBIN_MODE) rpc.rquotad $(ROOTDIR)$(sbindir) - -$(INSTALL) -m $(DEF_MAN_MODE) *.1 $(ROOTDIR)$(mandir)/man1 -- -$(INSTALL) -m $(DEF_MAN_MODE) *.2 $(ROOTDIR)$(mandir)/man2 - -$(INSTALL) -m $(DEF_MAN_MODE) *.3 $(ROOTDIR)$(mandir)/man3 - -$(INSTALL) -m $(DEF_MAN_MODE) *.8 $(ROOTDIR)$(mandir)/man8 - diff --git a/sys-fs/quota/quota-3.17-r1.ebuild b/sys-fs/quota/quota-3.17-r1.ebuild deleted file mode 100644 index 54332981cf3..000 --- a/sys-fs/quota/quota-3.17-r1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils flag-o-matic - -DESCRIPTION="Linux quota tools" -HOMEPAGE="https://sourceforge.net/projects/linuxquota/; -SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86" -IUSE="nls tcpd ldap rpc" - -RDEPEND="ldap? ( >=net-nds/openldap-2.3.35 ) - tcpd? ( sys-apps/tcp-wrappers ) - rpc? ( || ( net-nds/portmap net-nds/rpcbind ) )" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/quota-tools - -src_unpack() { - unpack ${A} - cd "${S}" - - # patch to prevent quotactl.2 manpage from being installed - # that page is provided by man-pages instead - epatch "${FILESDIR}"/${PN}-no-quotactl-manpage.patch - - # This was for openldap-2.2 support before, - # Now we only support >=2.3 - append-cppflags -DLDAP_DEPRECATED=0 - - sed -i -e "s:,LIBS=\"\$saved_LIBS=\":;LIBS=\"\$saved_LIBS\":" configure -} - -src_compile() { - econf \ - $(use_enable nls) \ -
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 7a763126417c545024f2b88aeb70d210e48b9ad7 Author: Lars Wendler gentoo org> AuthorDate: Tue Sep 5 20:33:13 2017 + Commit: Lars Wendler gentoo org> CommitDate: Tue Sep 5 20:40:07 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a763126 sys-fs/quota: Bump to version 4.04 Package-Manager: Portage-2.3.8, Repoman-2.3.3 sys-fs/quota/Manifest | 1 + sys-fs/quota/quota-4.04.ebuild | 72 ++ 2 files changed, 73 insertions(+) diff --git a/sys-fs/quota/Manifest b/sys-fs/quota/Manifest index 1311971bb79..a032eaee588 100644 --- a/sys-fs/quota/Manifest +++ b/sys-fs/quota/Manifest @@ -1,3 +1,4 @@ DIST quota-3.17.tar.gz 439168 SHA256 253320993bb132814c724ca268a6346368be41846ad600f65ee4232ec8597d6f SHA512 7d200862f5ebee024295352289d940a1b728cb017e7c2c4f422a5a98d58ba8f62130640a4c08bdec02f94ea0f4abe146fb494c039b43021fd410ec17fd32b238 WHIRLPOOL e334f22a7c2f8097a2f7145217d1cf134a135a1b6705470121e3a9c0492d59677508bfaa06bcb4eecb9992491910f5b29068e005cafb5086df39da591e375613 DIST quota-4.02.tar.gz 489289 SHA256 f4c2f48abf94bbdc396df33d276f2e9d19af58c232cb85eef9c174a747c33795 SHA512 547e08893b95928e5d183d29bee70d1932f85a675b96f64446e5a723d0759ad2d31223f8b6a5652cd698fce4907a15c294b91c18de32faddbef4975c9f22f2aa WHIRLPOOL eb102a14dfe780b7ed062c3c7abec1ef766beb31c18d92c5115ca703672ebb7e7bfb0479885c6c8c78520554aeb477bc1f4d48fbb76b0336047f42b55af49036 DIST quota-4.03.tar.gz 564352 SHA256 9c6c4d9ae7bf30506dd2aa3d8056c4ff2f8d087930d7c721616f5c093bdc674b SHA512 9603940048dcc0c4db6d6e14173769c815641ebc78a0cc457a0622dbfc597319bae1eaad4ef3281c52757995d47424b96dc66426ce540a8b538b996eea2dc5f8 WHIRLPOOL 4a6354f7732e6c60782dbfb60fbfae47c96c438315572dccaf7d2563b8dab5eb46072f999481abe237df8dafaf252b095c9bcd5d58beecdf75db6aca8d46f4ab +DIST quota-4.04.tar.gz 577303 SHA256 735be1887e7f51f54165e778ae43fc859c04e44d88834ecb2f470e91d4ef8edf SHA512 adc33863d2a966b4c46983fa3926e6b6ba75e260ed21bdff646584237840e6beb0dcfbfd2f655969aa5675c3c398ac2e483afb933f03f983756ebb3352d0eaad WHIRLPOOL ac6466fffaa0954b13a812827bba4f8753640b80fefb6cbbd582a3c916cc7b302e865ddfb3919335a2fe23168bf5894032a7393b4f1ef4615b75f30adc501f3e diff --git a/sys-fs/quota/quota-4.04.ebuild b/sys-fs/quota/quota-4.04.ebuild new file mode 100644 index 000..ab9d32e4f24 --- /dev/null +++ b/sys-fs/quota/quota-4.04.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Linux quota tools" +HOMEPAGE="https://sourceforge.net/projects/linuxquota/; +SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="ldap netlink nls rpc tcpd" + +RDEPEND=" + ldap? ( >=net-nds/openldap-2.3.35 ) + netlink? ( + sys-apps/dbus + dev-libs/libnl:3 + ) + rpc? ( net-nds/rpcbind ) + tcpd? ( sys-apps/tcp-wrappers ) +" +DEPEND=" + ${RDEPEND} + nls? ( sys-devel/gettext ) +" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --docdir="${EPREFIX%/}/usr/share/doc/${PF}" + $(use_enable nls) + $(use_enable ldap ldapmail) + $(use_enable netlink) + $(use_enable rpc) + $(use_enable rpc rpcsetquota) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc doc/* README.* Changelog + + insinto /etc + insopts -m0644 + doins warnquota.conf quotatab + + newinitd "${FILESDIR}"/quota.rc7 quota + newconfd "${FILESDIR}"/quota.confd quota + + if use rpc ; then + newinitd "${FILESDIR}"/rpc.rquotad.initd rpc.rquotad + fi + + if use ldap ; then + insinto /etc/openldap/schema + insopts -m0644 + doins "${FILESDIR}"/ldap-scripts/quota.schema + + exeinto /usr/share/quota/ldap-scripts + doexe "${FILESDIR}"/ldap-scripts/*.pl + doexe "${FILESDIR}"/ldap-scripts/edquota_editor + fi +}
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/files/
commit: dabe8ab859be7c0428c151326bfa48573fa840ff Author: Mike Frysinger gentoo org> AuthorDate: Wed Feb 15 17:55:32 2017 + Commit: Mike Frysinger gentoo org> CommitDate: Wed Feb 15 17:55:45 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dabe8ab8 sys-fs/quota: switch init script to use `.` instead of `source` #609118 sys-fs/quota/files/rpc.rquotad.initd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/files/rpc.rquotad.initd b/sys-fs/quota/files/rpc.rquotad.initd index 047759a8d7..bb43beb82e 100644 --- a/sys-fs/quota/files/rpc.rquotad.initd +++ b/sys-fs/quota/files/rpc.rquotad.initd @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -[ -e /etc/conf.d/nfs ] && source /etc/conf.d/nfs +[ -e /etc/conf.d/nfs ] && . /etc/conf.d/nfs rpc_bin=/usr/sbin/rpc.rquotad
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/, sys-fs/quota/files/ldap-scripts/
commit: 2e5cbc1691bba9bff270fc29084423cd38852269 Author: Lars Wendler gentoo org> AuthorDate: Tue Feb 23 07:42:09 2016 + Commit: Lars Wendler gentoo org> CommitDate: Tue Feb 23 07:42:28 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e5cbc16 sys-fs/quota: Install ldap-scripts with USE=ldap (bug #575424). Package-Manager: portage-2.2.27 Signed-off-by: Lars Wendler gentoo.org> .../quota/files/ldap-scripts/applySystemQuotas.pl | 104 +++ sys-fs/quota/files/ldap-scripts/edquota_editor | 32 + sys-fs/quota/files/ldap-scripts/quota.schema | 18 +++ sys-fs/quota/files/ldap-scripts/setSystemQuotas.pl | 140 +++ sys-fs/quota/files/ldap-scripts/setquota-ldap.pl | 148 + sys-fs/quota/quota-4.03.ebuild | 7 +- 6 files changed, 446 insertions(+), 3 deletions(-) diff --git a/sys-fs/quota/files/ldap-scripts/applySystemQuotas.pl b/sys-fs/quota/files/ldap-scripts/applySystemQuotas.pl new file mode 100755 index 000..41c74d9 --- /dev/null +++ b/sys-fs/quota/files/ldap-scripts/applySystemQuotas.pl @@ -0,0 +1,104 @@ +#!/usr/bin/perl -w + +# $0 -b "ou=People,dc=borgia,dc=com" -F '(attr=value)' + +# Synopsis +# applyQuotas.pl is a script solely for making the quota set within LDAP take +# affect by running the linuxquota tool edquota with the figures set in LDAP. +# This tool is capable of applying standard LDAP filters to the user-supplied +# base DN for applying multiple users' quotas at once. + +# Examples: +# Apply the quotas using the linuxquota tool edquota for user stefan +# ./applySystemQuotas.pl -b "uid=stefan,ou=People,dc=borgia,dc=com" +# +# Apply the quotas using the linuxquota tool edquota for all People with description of Student +# ./applySystemQuotas.pl -b "ou=People,dc=borgia,dc=com" -F "(description=Student)" + +use strict; +use Net::LDAP; +use Getopt::Long; + +chomp(my $Password = `cat /etc/ldap.secret`); +my $Host = 'localhost'; +my $Port = '389'; +my $BindDN = 'cn=Manager,dc=borgia,dc=com'; +my $SSL = 0; +my $edquota_editor = '/usr/sbin/edquota_editor'; +my $edquota = '/usr/sbin/edquota'; + +my $b = ''; +my $F = ''; +GetOptions( +'b=s' => \$b, + 'F=s' => \$F, +); + +die "Usage: $0 -b basedn [-F '(extrafilter)']\n" unless $b; + +my $ldap = connectLDAP(); + +my $search; +$search = $ldap->search( + base => $b, + filter => "(&(objectClass=systemQuotas)$F)", + attrs => ['uid', 'quota'], +); +$search->code && die $search->error; +my $i = 0; +my $max = $search->count; +for ( $i=0; $i<$max; $i++ ) { + my $entry = $search->entry($i); + my $editor = $ENV{'VISUAL'} if $ENV{'VISUAL'}; + $ENV{'VISUAL'} = $edquota_editor; + $ENV{'QUOTA_USER'} = $entry->get_value('uid'); + # Delete all existing quotas for QUOTA_USER + $ENV{'QUOTA_FILESYS'} = '*'; + $ENV{'QUOTA_SBLOCKS'} = 0; + $ENV{'QUOTA_HBLOCKS'} = 0; + $ENV{'QUOTA_SFILES'} = 0; + $ENV{'QUOTA_HFILES'} = 0; + print "$ENV{'QUOTA_USER'}: $ENV{'QUOTA_FILESYS'}:$ENV{'QUOTA_SBLOCKS'},$ENV{'QUOTA_HBLOCKS'},$ENV{'QUOTA_SFILES'},$ENV{'QUOTA_HFILES'}\n"; + qx(/usr/sbin/edquota -u $ENV{'QUOTA_USER'}); + my @quotas = $entry->get_value('quota'); + if ( $#quotas >= 0 ) { + foreach ( @quotas ) { + my @quota = split /:/; + $ENV{'QUOTA_FILESYS'} = $quota[0]; + $ENV{'QUOTA_SBLOCKS'} = $quota[1]; + $ENV{'QUOTA_HBLOCKS'} = $quota[2]; + $ENV{'QUOTA_SFILES'} = $quota[3]; + $ENV{'QUOTA_HFILES'} = $quota[4]; + print "$ENV{'QUOTA_USER'}: $ENV{'QUOTA_FILESYS'}:$ENV{'QUOTA_SBLOCKS'},$ENV{'QUOTA_HBLOCKS'},$ENV{'QUOTA_SFILES'},$ENV{'QUOTA_HFILES'}\n"; + qx($edquota -u $ENV{'QUOTA_USER'}); + } + } + if ($editor) { + $ENV{'VISUAL'} = $editor; + } + else { + delete $ENV{'VISUAL'}; + } +} +$search = $ldap->unbind; + +sub connectLDAP { +# bind to a directory with dn and password +my $ldap = Net::LDAP->new( +$Host, +port => $Port, +version => 3, +#debug => 0x, +) or die "Can't contact LDAP server ($@)\n"; +if ( $SSL ) { +$ldap->start_tls( +# verify => 'require', +# clientcert => 'mycert.pem', +# clientkey => 'mykey.pem', +# decryptkey => sub { 'secret'; }, +# capath => '/usr/local/cacerts/' +); +} +$ldap->bind($BindDN, password=>$Password); +return $ldap; +} diff --git a/sys-fs/quota/files/ldap-scripts/edquota_editor b/sys-fs/quota/files/ldap-scripts/edquota_editor new file mode 100755 index
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/, sys-fs/quota/files/
commit: 0ca37b549d8b6543182dc17957ce7b7ce32f4074 Author: Lars Wendler gentoo org> AuthorDate: Mon Feb 15 13:55:24 2016 + Commit: Lars Wendler gentoo org> CommitDate: Mon Feb 15 13:58:36 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ca37b54 sys-fs/quota: Removed old. Package-Manager: portage-2.2.27 Signed-off-by: Lars Wendler gentoo.org> sys-fs/quota/Manifest | 1 - sys-fs/quota/files/quota-4.01-cflags.patch | 58 -- sys-fs/quota/files/quota-4.01-mnt.patch| 13 - sys-fs/quota/quota-4.01.ebuild | 80 -- 4 files changed, 152 deletions(-) diff --git a/sys-fs/quota/Manifest b/sys-fs/quota/Manifest index affd0f3..1311971 100644 --- a/sys-fs/quota/Manifest +++ b/sys-fs/quota/Manifest @@ -1,4 +1,3 @@ DIST quota-3.17.tar.gz 439168 SHA256 253320993bb132814c724ca268a6346368be41846ad600f65ee4232ec8597d6f SHA512 7d200862f5ebee024295352289d940a1b728cb017e7c2c4f422a5a98d58ba8f62130640a4c08bdec02f94ea0f4abe146fb494c039b43021fd410ec17fd32b238 WHIRLPOOL e334f22a7c2f8097a2f7145217d1cf134a135a1b6705470121e3a9c0492d59677508bfaa06bcb4eecb9992491910f5b29068e005cafb5086df39da591e375613 -DIST quota-4.01.tar.gz 458123 SHA256 a36300bbc126b79b745bf937245092808b4585aa3309ef3335d4ab9d873cd206 SHA512 57f79efe7e538f3109d0e44e4f87388ec4e8134f34ba92a30acb5d223090e8fb0087dfc558a951facc7f9b4d2301b4e305b710576363c13f5e70b06c91194dda WHIRLPOOL ff4aba698fe067e33c7c4fcd2463d5b5b2f557e49d59cb98cceefb145a7e0d2ee371e411a6d8c4d51ddd28c102d34c95f03a733dac47dd52582ea4d31f102c31 DIST quota-4.02.tar.gz 489289 SHA256 f4c2f48abf94bbdc396df33d276f2e9d19af58c232cb85eef9c174a747c33795 SHA512 547e08893b95928e5d183d29bee70d1932f85a675b96f64446e5a723d0759ad2d31223f8b6a5652cd698fce4907a15c294b91c18de32faddbef4975c9f22f2aa WHIRLPOOL eb102a14dfe780b7ed062c3c7abec1ef766beb31c18d92c5115ca703672ebb7e7bfb0479885c6c8c78520554aeb477bc1f4d48fbb76b0336047f42b55af49036 DIST quota-4.03.tar.gz 564352 SHA256 9c6c4d9ae7bf30506dd2aa3d8056c4ff2f8d087930d7c721616f5c093bdc674b SHA512 9603940048dcc0c4db6d6e14173769c815641ebc78a0cc457a0622dbfc597319bae1eaad4ef3281c52757995d47424b96dc66426ce540a8b538b996eea2dc5f8 WHIRLPOOL 4a6354f7732e6c60782dbfb60fbfae47c96c438315572dccaf7d2563b8dab5eb46072f999481abe237df8dafaf252b095c9bcd5d58beecdf75db6aca8d46f4ab diff --git a/sys-fs/quota/files/quota-4.01-cflags.patch b/sys-fs/quota/files/quota-4.01-cflags.patch deleted file mode 100644 index 4e61855..000 --- a/sys-fs/quota/files/quota-4.01-cflags.patch +++ /dev/null @@ -1,58 +0,0 @@ -From: Julian Ospald-Date: Mon Apr 21 10:36:28 UTC 2014 -Subject: respect CFLAGS in linking command wrt #446281 - quota-tools/Makefile.in -+++ quota-tools/Makefile.in -@@ -105,37 +105,47 @@ - -$(INSTALL) -m $(DEF_MAN_MODE) *.8 $(ROOTDIR)$(mandir)/man8 - - quotaon: quotaon.o quotaon_xfs.o $(LIBOBJS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ - - quotacheck: quotacheck.o quotacheck_v1.o quotacheck_v2.o quotaops.o $(LIBOBJS) -- $(CC) $(LDFLAGS) -o $@ $^ $(EXT2LIBS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(EXT2LIBS) - - quota: quota.o quotaops.o $(LIBOBJS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ - - quotasync: quotasync.o $(LIBOBJS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ - - quot: quot.o $(LIBOBJS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ - - repquota: repquota.o $(LIBOBJS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ - - warnquota: warnquota.o $(LIBOBJS) -- $(CC) $(LDFLAGS) -o $@ $^ $(LDAPLIBS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDAPLIBS) - - quotastats: quotastats.o common.o pot.o -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ - - xqmstats: xqmstats.o common.o pot.o -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ - - edquota: edquota.o quotaops.o $(LIBOBJS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ - - setquota: setquota.o quotaops.o $(LIBOBJS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ - - convertquota: convertquota.o $(LIBOBJS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ - - rpc.rquotad: rquota_server.o rquota_svc.o svc_socket.o $(LIBOBJS) -- $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) - - ifneq ($(NETLINKLIBS),) - quota_nld: quota_nld.o $(LIBOBJS) -- $(CC) $(LDFLAGS) -o $@ $^ $(NETLINKLIBS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(NETLINKLIBS) - endif - - pot.o: pot.c pot.h diff --git a/sys-fs/quota/files/quota-4.01-mnt.patch b/sys-fs/quota/files/quota-4.01-mnt.patch deleted file mode 100644 index 1aa1590..000 --- a/sys-fs/quota/files/quota-4.01-mnt.patch +++ /dev/null @@ -1,13 +0,0 @@ -https://sourceforge.net/tracker/?func=detail=3599717_id=18136=318136 - a/quotasys.c -+++ b/quotasys.c -@@ -642,7 +642,7 @@ - die(2, _("Cannot initialize mountpoint scan.\n")); - while ((mnt = get_next_mount())) { - #ifndef RPC -- if (nfs_fstype(mnt->mnt_type)) -+ if
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/, sys-fs/quota/files/
commit: 259c01e6bfb7838d76f7e23a9724baea704ecc1f Author: Lars Wendler gentoo org> AuthorDate: Mon Feb 15 13:53:21 2016 + Commit: Lars Wendler gentoo org> CommitDate: Mon Feb 15 13:58:33 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=259c01e6 sys-fs/quota: Bump to version 4.03 Package-Manager: portage-2.2.27 Signed-off-by: Lars Wendler gentoo.org> sys-fs/quota/Manifest | 1 + .../quota/files/quota-4.03-default_fpic_fpie.patch | 32 .../files/quota-4.03-distribute_ldap-scripts.patch | 23 ++ .../files/quota-4.03-dont_override_cflags.patch| 22 ++ ...a-4.03-explicitely_print_disabled_options.patch | 69 ++ .../files/quota-4.03-fix_build_without_ldap.patch | 85 ++ sys-fs/quota/files/quota-4.03-no_rpc.patch | 57 +++ sys-fs/quota/files/quota-4.03-noldap_linking.patch | 75 +++ .../files/quota-4.03-repqouta_F_option_arg.patch | 27 +++ sys-fs/quota/files/quota-4.03-respect_docdir.patch | 21 ++ sys-fs/quota/quota-4.03.ebuild | 83 + 11 files changed, 495 insertions(+) diff --git a/sys-fs/quota/Manifest b/sys-fs/quota/Manifest index 6d6fede..affd0f3 100644 --- a/sys-fs/quota/Manifest +++ b/sys-fs/quota/Manifest @@ -1,3 +1,4 @@ DIST quota-3.17.tar.gz 439168 SHA256 253320993bb132814c724ca268a6346368be41846ad600f65ee4232ec8597d6f SHA512 7d200862f5ebee024295352289d940a1b728cb017e7c2c4f422a5a98d58ba8f62130640a4c08bdec02f94ea0f4abe146fb494c039b43021fd410ec17fd32b238 WHIRLPOOL e334f22a7c2f8097a2f7145217d1cf134a135a1b6705470121e3a9c0492d59677508bfaa06bcb4eecb9992491910f5b29068e005cafb5086df39da591e375613 DIST quota-4.01.tar.gz 458123 SHA256 a36300bbc126b79b745bf937245092808b4585aa3309ef3335d4ab9d873cd206 SHA512 57f79efe7e538f3109d0e44e4f87388ec4e8134f34ba92a30acb5d223090e8fb0087dfc558a951facc7f9b4d2301b4e305b710576363c13f5e70b06c91194dda WHIRLPOOL ff4aba698fe067e33c7c4fcd2463d5b5b2f557e49d59cb98cceefb145a7e0d2ee371e411a6d8c4d51ddd28c102d34c95f03a733dac47dd52582ea4d31f102c31 DIST quota-4.02.tar.gz 489289 SHA256 f4c2f48abf94bbdc396df33d276f2e9d19af58c232cb85eef9c174a747c33795 SHA512 547e08893b95928e5d183d29bee70d1932f85a675b96f64446e5a723d0759ad2d31223f8b6a5652cd698fce4907a15c294b91c18de32faddbef4975c9f22f2aa WHIRLPOOL eb102a14dfe780b7ed062c3c7abec1ef766beb31c18d92c5115ca703672ebb7e7bfb0479885c6c8c78520554aeb477bc1f4d48fbb76b0336047f42b55af49036 +DIST quota-4.03.tar.gz 564352 SHA256 9c6c4d9ae7bf30506dd2aa3d8056c4ff2f8d087930d7c721616f5c093bdc674b SHA512 9603940048dcc0c4db6d6e14173769c815641ebc78a0cc457a0622dbfc597319bae1eaad4ef3281c52757995d47424b96dc66426ce540a8b538b996eea2dc5f8 WHIRLPOOL 4a6354f7732e6c60782dbfb60fbfae47c96c438315572dccaf7d2563b8dab5eb46072f999481abe237df8dafaf252b095c9bcd5d58beecdf75db6aca8d46f4ab diff --git a/sys-fs/quota/files/quota-4.03-default_fpic_fpie.patch b/sys-fs/quota/files/quota-4.03-default_fpic_fpie.patch new file mode 100644 index 000..2ff519f --- /dev/null +++ b/sys-fs/quota/files/quota-4.03-default_fpic_fpie.patch @@ -0,0 +1,32 @@ +commit cd9dff0b5b53279442458360003831b6c14adc22 +Author: Tomáš Chvátal+Date: Tue Jan 5 11:20:52 2016 +0100 + +Set -fPIC and -pie as default params when building + +Signed-off-by: Tomáš Chvátal +Signed-off-by: Jan Kara + +diff --git a/Makefile.am b/Makefile.am +index 7c7a866..77f8400 100644 +--- a/Makefile.am b/Makefile.am +@@ -1,4 +1,5 @@ + ACLOCAL_AMFLAGS = -I m4 ++AM_LDFLAGS = -pie + + BUILT_SOURCES = rquota.h rquota.c rquota_clnt.c + +diff --git a/configure.ac b/configure.ac +index 1552c15..68d5924 100644 +--- a/configure.ac b/configure.ac +@@ -53,7 +53,7 @@ AS_IF([test "x${prefix}" = "xNONE"], [ + # + # Check for cflags + # +-CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" ++CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC" + AC_ARG_ENABLE([werror], + [AS_HELP_STRING([--enable-werror], [Treat all warnings as errors, useful for development])], + [enable_werror="$enableval"], diff --git a/sys-fs/quota/files/quota-4.03-distribute_ldap-scripts.patch b/sys-fs/quota/files/quota-4.03-distribute_ldap-scripts.patch new file mode 100644 index 000..8333915 --- /dev/null +++ b/sys-fs/quota/files/quota-4.03-distribute_ldap-scripts.patch @@ -0,0 +1,23 @@ +commit 861154efb90ed049e0473cc36935b8d03c78a869 +Author: Tomáš Chvátal +Date: Mon Jan 4 13:01:36 2016 +0100 + +Distribute ldap-scripts directory too + +Signed-off-by: Tomáš Chvátal +Signed-off-by: Jan Kara + +diff --git a/Makefile.am b/Makefile.am +index eb62617..a880ebe 100644 +--- a/Makefile.am b/Makefile.am +@@ -52,7 +52,8 @@ EXTRA_DIST = \ + $(man_MANS) \ + $(rpcsvc_DATA)
[gentoo-commits] repo/gentoo:master commit in: sys-fs/quota/
commit: 1a2989dd8fecdf1e8adbe5889f5b9291dce3ba17 Author: Mike Frysinger gentoo org> AuthorDate: Sun Oct 25 01:09:51 2015 + Commit: Mike Frysinger gentoo org> CommitDate: Sun Oct 25 01:09:51 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a2989dd sys-fs/quota: update libnl SLOT dep #563544 The 4.01 release used libnl:1.1, but the 4.02 release updated to libnl:3. Update the dependency to match the source. sys-fs/quota/quota-4.02.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/quota/quota-4.02.ebuild b/sys-fs/quota/quota-4.02.ebuild index 46f418c..a32694f 100644 --- a/sys-fs/quota/quota-4.02.ebuild +++ b/sys-fs/quota/quota-4.02.ebuild @@ -18,7 +18,7 @@ IUSE="ldap netlink nls rpc tcpd" RDEPEND="ldap? ( >=net-nds/openldap-2.3.35 ) netlink? ( sys-apps/dbus - dev-libs/libnl:1.1 + dev-libs/libnl:3 ) rpc? ( net-nds/rpcbind ) tcpd? ( sys-apps/tcp-wrappers )"