Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/quota: ChangeLog quota-3.17-r1.ebuild
Date: Thu, 03 Mar 2011 07:26:37
Message-Id: 20110303072627.3507720054@flycatcher.gentoo.org
1 jlec 11/03/03 07:26:27
2
3 Modified: ChangeLog
4 Added: quota-3.17-r1.ebuild
5 Log:
6 Add check() to initscript, #357089
7
8 (Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.50 sys-fs/quota/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/quota/ChangeLog?rev=1.50&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/quota/ChangeLog?rev=1.50&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/quota/ChangeLog?r1=1.49&r2=1.50
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-fs/quota/ChangeLog,v
20 retrieving revision 1.49
21 retrieving revision 1.50
22 diff -u -r1.49 -r1.50
23 --- ChangeLog 26 Feb 2011 16:49:17 -0000 1.49
24 +++ ChangeLog 3 Mar 2011 07:26:27 -0000 1.50
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-fs/quota
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/quota/ChangeLog,v 1.49 2011/02/26 16:49:17 xarthisius Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/quota/ChangeLog,v 1.50 2011/03/03 07:26:27 jlec Exp $
30 +
31 +*quota-3.17-r1 (03 Mar 2011)
32 +
33 + 03 Mar 2011; Justin Lecher <jlec@g.o> +quota-3.17-r1.ebuild,
34 + +files/quota.rc7:
35 + Add check() to initscript, #357089
36
37 26 Feb 2011; Kacper Kowalik <xarthisius@g.o> quota-3.17.ebuild:
38 Marked ~ppc64 wrt #340455
39
40
41
42 1.1 sys-fs/quota/quota-3.17-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/quota/quota-3.17-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/quota/quota-3.17-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: quota-3.17-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-fs/quota/quota-3.17-r1.ebuild,v 1.1 2011/03/03 07:26:27 jlec Exp $
52
53 inherit eutils flag-o-matic
54
55 DESCRIPTION="Linux quota tools"
56 HOMEPAGE="http://sourceforge.net/projects/linuxquota/"
57 SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
62 IUSE="nls tcpd ldap rpc"
63
64 RDEPEND="ldap? ( >=net-nds/openldap-2.3.35 )
65 tcpd? ( sys-apps/tcp-wrappers )
66 rpc? ( || ( net-nds/portmap net-nds/rpcbind ) )"
67 DEPEND="${RDEPEND}
68 nls? ( sys-devel/gettext )"
69
70 S=${WORKDIR}/quota-tools
71
72 src_unpack() {
73 unpack ${A}
74 cd "${S}"
75
76 # patch to prevent quotactl.2 manpage from being installed
77 # that page is provided by man-pages instead
78 epatch "${FILESDIR}"/${PN}-no-quotactl-manpage.patch
79
80 # This was for openldap-2.2 support before,
81 # Now we only support >=2.3
82 append-cppflags -DLDAP_DEPRECATED=0
83
84 sed -i -e "s:,LIBS=\"\$saved_LIBS=\":;LIBS=\"\$saved_LIBS\":" configure
85 }
86
87 src_compile() {
88 econf \
89 $(use_enable nls) \
90 $(use_enable ldap ldapmail) \
91 $(use_enable rpc) \
92 $(use_enable rpc rpcsetquota) \
93 || die
94 emake || die
95 }
96
97 src_install() {
98 emake STRIP="" ROOTDIR="${D}" install || die
99 rm -r "${D}"/usr/include || die #70938
100
101 insinto /etc
102 insopts -m0644
103 doins warnquota.conf quotatab
104
105 dodoc doc/*
106 dodoc README.*
107 dodoc Changelog
108
109 newinitd "${FILESDIR}"/quota.rc7 quota
110 newconfd "${FILESDIR}"/quota.confd quota
111
112 if use rpc ; then
113 newinitd "${FILESDIR}"/rpc.rquotad.initd rpc.rquotad
114 else
115 rm -f "${D}"/usr/sbin/rpc.rquotad
116 fi
117
118 if use ldap ; then
119 insinto /etc/openldap/schema
120 insopts -m0644
121 doins ldap-scripts/quota.schema
122
123 exeinto /usr/share/quota/ldap-scripts
124 doexe ldap-scripts/*.pl
125 doexe ldap-scripts/edquota_editor
126 fi
127 }