/[gentoo-x86]/net-nds/smbldap-tools/smbldap-tools-0.9.9.ebuild
Gentoo

Contents of /net-nds/smbldap-tools/smbldap-tools-0.9.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Sep 13 19:15:03 2012 UTC (2 years, 2 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Stabilise 0.9.8 on relevant arches, remove older. Add latest version.

(Portage version: 2.2.0_alpha125/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-nds/smbldap-tools/smbldap-tools-0.9.8.ebuild,v 1.2 2012/06/12 20:05:05 vostorga Exp $
4
5 EAPI=4
6
7 inherit eutils
8
9 DESCRIPTION="Samba LDAP management tools"
10 HOMEPAGE="https://gna.org/projects/smbldap-tools/"
11 SRC_URI="http://download.gna.org/smbldap-tools/sources/${PV}/${P}.tar.gz"
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
15 IUSE=""
16
17 RDEPEND="
18 dev-perl/perl-ldap
19 dev-perl/Crypt-SmbHash
20 dev-perl/Digest-SHA1
21 dev-perl/Unicode-MapUTF8
22 dev-perl/IO-Socket-SSL
23 net-nds/openldap
24 net-fs/samba
25 "
26 DEPEND="${RDEPEND}"
27
28 src_install() {
29 default
30
31 newsbin smbldap-config.cmd smbldap-config
32 dosym smbldap-passwd /usr/sbin/smbldap-passwd.cmd
33
34 dodoc CONTRIBUTORS ChangeLog FILES INFRA INSTALL README TODO doc/*conf* doc/smbldap-tools*
35 dodoc -r doc/migration_scripts
36
37 sed -i 's/.CMD//g' smbldap-[gpu]*.8 || die
38 doman smbldap-[gpu]*.8
39
40 insinto /etc/smbldap-tools
41 doins smbldap.conf smbldap_bind.conf
42
43 elog "Remember to read INSTALL when updating."
44 }
45
46 pkg_postinst() {
47 elog "- A good howto is found on http://download.gna.org/smbldap-tools/docs/samba-ldap-howto/"
48 elog " and http://download.gna.org/smbldap-tools/docs/smbldap-tools/"
49 elog "- The configure script is installed as smbldap-configure.pl. Please run it to configure the tools."
50 elog "- Examples configuration files for Samba and slapd have been copied to ${EPREFIX}/usr/share/doc/${PF},"
51 elog " together with the migration-scripts."
52 elog "- Also remember to read INSTALL when updating."
53 }

  ViewVC Help
Powered by ViewVC 1.1.20