Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/quota: ChangeLog quota-3.15.ebuild
Date: Mon, 24 Dec 2007 12:00:15
Message-Id: E1J6lyb-0004ce-GL@stork.gentoo.org
1 vapier 07/12/24 12:00:09
2
3 Modified: ChangeLog
4 Added: quota-3.15.ebuild
5 Log:
6 Version bump #200397 by Hanno Boeck.
7 (Portage version: 2.1.4_rc11)
8
9 Revision Changes Path
10 1.32 sys-fs/quota/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/quota/ChangeLog?rev=1.32&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/quota/ChangeLog?rev=1.32&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/quota/ChangeLog?r1=1.31&r2=1.32
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-fs/quota/ChangeLog,v
19 retrieving revision 1.31
20 retrieving revision 1.32
21 diff -u -r1.31 -r1.32
22 --- ChangeLog 12 Jul 2007 18:34:02 -0000 1.31
23 +++ ChangeLog 24 Dec 2007 12:00:08 -0000 1.32
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-fs/quota
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/quota/ChangeLog,v 1.31 2007/07/12 18:34:02 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/quota/ChangeLog,v 1.32 2007/12/24 12:00:08 vapier Exp $
29 +
30 +*quota-3.15 (24 Dec 2007)
31 +
32 + 24 Dec 2007; Mike Frysinger <vapier@g.o> +quota-3.15.ebuild:
33 + Version bump #200397 by Hanno Boeck.
34
35 12 Jul 2007; Jeroen Roovers <jer@g.o> quota-3.14-r1.ebuild:
36 Stable for HPPA (bug #184382).
37
38
39
40 1.1 sys-fs/quota/quota-3.15.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/quota/quota-3.15.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/quota/quota-3.15.ebuild?rev=1.1&content-type=text/plain
44
45 Index: quota-3.15.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-fs/quota/quota-3.15.ebuild,v 1.1 2007/12/24 12:00:08 vapier Exp $
50
51 inherit eutils flag-o-matic
52
53 DESCRIPTION="Linux quota tools"
54 HOMEPAGE="http://sourceforge.net/projects/linuxquota/"
55 SRC_URI="mirror://sourceforge/linuxquota/${P}.tar.gz"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
60 IUSE="nls tcpd ldap rpc"
61
62 RDEPEND="ldap? ( net-nds/openldap )
63 tcpd? ( sys-apps/tcp-wrappers )
64 rpc? ( net-nds/portmap )"
65 DEPEND="${RDEPEND}
66 nls? ( sys-devel/gettext )"
67
68 S=${WORKDIR}/quota-tools
69
70 src_unpack() {
71 unpack ${A}
72 cd "${S}"
73
74 # patch to prevent quotactl.2 manpage from being installed
75 # that page is provided by man-pages instead
76 epatch "${FILESDIR}"/${PN}-no-quotactl-manpage.patch
77
78 # Don't strip binaries (from Fedora)
79 epatch "${FILESDIR}"/quota-3.06-no-stripping.patch
80
81 append-cppflags -DLDAP_DEPRECATED=1
82
83 sed -i -e "s:,LIBS=\"\$saved_LIBS=\":;LIBS=\"\$saved_LIBS\":" configure
84 }
85
86 src_compile() {
87 econf \
88 $(use_enable nls) \
89 $(use_enable ldap ldapmail) \
90 $(use_enable rpc) \
91 $(use_enable rpc rpcsetquota) \
92 || die
93 emake || die
94 }
95
96 src_install() {
97 emake ROOTDIR="${D}" install || die
98 rm -r "${D}"/usr/include || die #70938
99
100 insinto /etc
101 insopts -m0644
102 doins warnquota.conf quotatab
103
104 dodoc doc/*
105 dodoc README.*
106 dodoc Changelog
107
108 newinitd "${FILESDIR}"/quota.rc6 quota
109 newconfd "${FILESDIR}"/quota.confd quota
110
111 if use rpc ; then
112 newinitd "${FILESDIR}"/rpc.rquotad.initd rpc.rquotad
113 else
114 rm -f "${D}"/usr/sbin/rpc.rquotad
115 fi
116
117 if use ldap ; then
118 insinto /etc/openldap/schema
119 insopts -m0644
120 doins ldap-scripts/quota.schema
121
122 exeinto /usr/share/quota/ldap-scripts
123 doexe ldap-scripts/*.pl
124 doexe ldap-scripts/edquota_editor
125 fi
126 }
127
128
129
130 --
131 gentoo-commits@g.o mailing list