1 |
commit: 32e8402247a68db5c3ac17fb04b33b42b1892443 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 30 10:59:19 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 30 11:02:34 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32e84022 |
7 |
|
8 |
sys-fs/quota: Bump to version 4.05 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-fs/quota/Manifest | 1 + |
14 |
sys-fs/quota/quota-4.05.ebuild | 78 ++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 79 insertions(+) |
16 |
|
17 |
diff --git a/sys-fs/quota/Manifest b/sys-fs/quota/Manifest |
18 |
index 7e49bf9984f..a33aab6419d 100644 |
19 |
--- a/sys-fs/quota/Manifest |
20 |
+++ b/sys-fs/quota/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST quota-4.03.tar.gz 564352 BLAKE2B b474be79576fd2db7ad5f7c4e93d665fca19004727f4ff12e960da3251091b026c1458adecc0ed3a803da3bfcef6c857f612c44c7800ecc53c9ae53450d10338 SHA512 9603940048dcc0c4db6d6e14173769c815641ebc78a0cc457a0622dbfc597319bae1eaad4ef3281c52757995d47424b96dc66426ce540a8b538b996eea2dc5f8 |
23 |
DIST quota-4.04.tar.gz 577303 BLAKE2B 8ee1e8f99b70f626ec051e4e9afe53c788b625a29f26afbe075039cf88dde9f6641c39e0ccfdbfcc6981fabe35e8fd15e7203989e9bbbdd1f1772949566531f6 SHA512 adc33863d2a966b4c46983fa3926e6b6ba75e260ed21bdff646584237840e6beb0dcfbfd2f655969aa5675c3c398ac2e483afb933f03f983756ebb3352d0eaad |
24 |
+DIST quota-4.05.tar.gz 577313 BLAKE2B ab0adc04a2bee46f5b4f528c3a1b7f1dfbfc93cc153aebef91cf563e0b03344479b4d465f7d91cfee60c533052f27ce54f24a937c0c1ec312a5fff763cb82bd1 SHA512 a13ca93fb6fad032cb032874dda2f5d792e619b41e89b481e6aaa4f06ac5774e2728b09dd625addfbe22efccb1d85892b093736084c72f75675a60df168b92f2 |
25 |
|
26 |
diff --git a/sys-fs/quota/quota-4.05.ebuild b/sys-fs/quota/quota-4.05.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..06512aaf271 |
29 |
--- /dev/null |
30 |
+++ b/sys-fs/quota/quota-4.05.ebuild |
31 |
@@ -0,0 +1,78 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit autotools |
38 |
+ |
39 |
+DESCRIPTION="Linux quota tools" |
40 |
+HOMEPAGE="https://sourceforge.net/projects/linuxquota/" |
41 |
+SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
46 |
+IUSE="ldap netlink nls rpc tcpd" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ sys-fs/e2fsprogs |
50 |
+ ldap? ( >=net-nds/openldap-2.3.35 ) |
51 |
+ netlink? ( |
52 |
+ sys-apps/dbus |
53 |
+ dev-libs/libnl:3 |
54 |
+ ) |
55 |
+ rpc? ( |
56 |
+ net-nds/rpcbind |
57 |
+ elibc_glibc? ( sys-libs/glibc[-rpc(-)] ) |
58 |
+ net-libs/libtirpc |
59 |
+ net-libs/rpcsvc-proto |
60 |
+ ) |
61 |
+ tcpd? ( sys-apps/tcp-wrappers ) |
62 |
+" |
63 |
+DEPEND=" |
64 |
+ ${RDEPEND} |
65 |
+ nls? ( sys-devel/gettext ) |
66 |
+" |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ default |
70 |
+ eautoreconf |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ local myeconfargs=( |
75 |
+ --enable-ext2direct |
76 |
+ $(use_enable nls) |
77 |
+ $(use_enable ldap ldapmail) |
78 |
+ $(use_enable netlink) |
79 |
+ $(use_enable rpc) |
80 |
+ $(use_enable rpc rpcsetquota) |
81 |
+ ) |
82 |
+ econf "${myeconfargs[@]}" |
83 |
+} |
84 |
+ |
85 |
+src_install() { |
86 |
+ emake DESTDIR="${D}" install |
87 |
+ dodoc doc/* README.* Changelog |
88 |
+ |
89 |
+ insinto /etc |
90 |
+ insopts -m0644 |
91 |
+ doins warnquota.conf quotatab |
92 |
+ |
93 |
+ newinitd "${FILESDIR}"/quota.rc7 quota |
94 |
+ newconfd "${FILESDIR}"/quota.confd quota |
95 |
+ |
96 |
+ if use rpc ; then |
97 |
+ newinitd "${FILESDIR}"/rpc.rquotad.initd rpc.rquotad |
98 |
+ fi |
99 |
+ |
100 |
+ if use ldap ; then |
101 |
+ insinto /etc/openldap/schema |
102 |
+ insopts -m0644 |
103 |
+ doins "${FILESDIR}"/ldap-scripts/quota.schema |
104 |
+ |
105 |
+ exeinto /usr/share/quota/ldap-scripts |
106 |
+ doexe "${FILESDIR}"/ldap-scripts/*.pl |
107 |
+ doexe "${FILESDIR}"/ldap-scripts/edquota_editor |
108 |
+ fi |
109 |
+} |