Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/diradm: ChangeLog diradm-2.9.5.ebuild
Date: Wed, 24 Sep 2008 00:56:01
Message-Id: E1KiIfe-0005AE-6O@stork.gentoo.org
1 robbat2 08/09/24 00:55:58
2
3 Modified: ChangeLog
4 Added: diradm-2.9.5.ebuild
5 Log:
6 Version bump, upstream fix for UID generation per bug 230209 thanks to Eric Thibodeau <kyron@××××××××.com> and Horatiu Halmaghi <hha13@×××.ca>.
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64)
8
9 Revision Changes Path
10 1.34 app-admin/diradm/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/diradm/ChangeLog?rev=1.34&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/diradm/ChangeLog?rev=1.34&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/diradm/ChangeLog?r1=1.33&r2=1.34
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-admin/diradm/ChangeLog,v
19 retrieving revision 1.33
20 retrieving revision 1.34
21 diff -p -w -b -B -u -u -r1.33 -r1.34
22 --- ChangeLog 17 Jul 2008 21:21:40 -0000 1.33
23 +++ ChangeLog 24 Sep 2008 00:55:57 -0000 1.34
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-admin/diradm
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-admin/diradm/ChangeLog,v 1.33 2008/07/17 21:21:40 cardoe Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-admin/diradm/ChangeLog,v 1.34 2008/09/24 00:55:57 robbat2 Exp $
29 +
30 +*diradm-2.9.5 (24 Sep 2008)
31 +
32 + 24 Sep 2008; Robin H. Johnson <robbat2@g.o> +diradm-2.9.5.ebuild:
33 + Version bump, upstream fix for UID generation per bug 230209 thanks to
34 + Eric Thibodeau <kyron@××××××××.com> and Horatiu Halmaghi <hha13@×××.ca>.
35
36 17 Jul 2008; Doug Goldstein <cardoe@g.o> metadata.xml:
37 add GLEP 56 USE flag desc from use.local.desc
38
39
40
41 1.1 app-admin/diradm/diradm-2.9.5.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/diradm/diradm-2.9.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/diradm/diradm-2.9.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: diradm-2.9.5.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-admin/diradm/diradm-2.9.5.ebuild,v 1.1 2008/09/24 00:55:57 robbat2 Exp $
51
52 inherit eutils
53
54 DESCRIPTION="diradm is a nearly complete nss/shadow suite for managing POSIX users/groups/data in LDAP."
55 #HOMEPAGE="http://research.iat.sfu.ca/custom-software/diradm/"
56 #SRC_URI="${HOMEPAGE}/${P}.tar.bz2"
57 HOMEPAGE="http://orbis-terrarum.net/~robbat2/"
58 SRC_URI="http://orbis-terrarum.net/~robbat2/${P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
63 IUSE="samba irixpasswd automount test"
64 DEPEND=">=net-nds/openldap-2.3
65 sys-apps/gawk
66 sys-apps/coreutils
67 sys-apps/grep
68 dev-lang/perl
69 app-shells/bash
70 sys-apps/sed
71 virtual/perl-MIME-Base64
72 samba? (
73 dev-perl/Crypt-SmbHash
74 >=net-fs/samba-3.0.6
75 )
76 test? ( dev-perl/Crypt-SmbHash >=net-fs/samba-3.0.6 dev-util/dejagnu )"
77
78 pkg_setup() {
79 if use test; then
80 if built_with_use net-nds/openldap minimal ; then
81 die "You MUST have a non-minimal build of OpenLDAP to use the testcases!"
82 fi
83 elog "Warning, for test usage, diradm is built with all optional features!"
84 fi
85 }
86
87 src_compile() {
88 local myconf
89 if use test; then
90 myconf="--enable-samba --enable-automount --enable-irixpasswd"
91 else
92 myconf="`use_enable samba` `use_enable automount` `use_enable irixpasswd`"
93 fi
94 econf ${myconf} || die "econf failed"
95 emake || die "emake failed"
96 }
97
98 src_install() {
99 emake install DESTDIR="${D}" || die "emake install failed"
100 dodoc CHANGES* README AUTHORS ChangeLog NEWS README.prefork THANKS TODO KNOWN-BUGS
101 if use irixpasswd; then
102 insinto /etc/openldap/schema
103 doins irixpassword.schema
104 fi
105 }
106
107 pkg_postinst() {
108 elog "The new diradm pulls many settings from your LDAP configuration."
109 elog "But don't forget to customize /etc/diradm.conf for other settings."
110 elog "Please see the README to instructions if you problems."
111 }
112
113 src_test() {
114 use test || die "You must build diradm with USE=test to run the testcases!"
115 emake -j1 check
116 }