commit:     32e8402247a68db5c3ac17fb04b33b42b1892443
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 30 10:59:19 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat Mar 30 11:02:34 2019 +0000
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 <polynomial-c <AT> 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 00000000000..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
+}

Reply via email to