diff options
author | Victor Ostorga <vostorga@gentoo.org> | 2011-05-06 15:20:19 +0000 |
---|---|---|
committer | Victor Ostorga <vostorga@gentoo.org> | 2011-05-06 15:20:19 +0000 |
commit | e8574b0c736630c1b730550411ca2a5d1f9842ab (patch) | |
tree | 95fa02c8ecf7fc87f9c02c9122cc257d4b41e82f /net-nds/smbldap-tools/smbldap-tools-0.9.6.ebuild | |
parent | Version bump. (diff) | |
download | gentoo-2-e8574b0c736630c1b730550411ca2a5d1f9842ab.tar.gz gentoo-2-e8574b0c736630c1b730550411ca2a5d1f9842ab.tar.bz2 gentoo-2-e8574b0c736630c1b730550411ca2a5d1f9842ab.zip |
Version bump to 0.9.6, Fixing sambagrouptype bug 242428, fixing home directory ownership bug 284277, dropping old ebuild
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'net-nds/smbldap-tools/smbldap-tools-0.9.6.ebuild')
-rw-r--r-- | net-nds/smbldap-tools/smbldap-tools-0.9.6.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/net-nds/smbldap-tools/smbldap-tools-0.9.6.ebuild b/net-nds/smbldap-tools/smbldap-tools-0.9.6.ebuild new file mode 100644 index 000000000000..3dfb1af47c3e --- /dev/null +++ b/net-nds/smbldap-tools/smbldap-tools-0.9.6.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/smbldap-tools/smbldap-tools-0.9.6.ebuild,v 1.1 2011/05/06 15:20:19 vostorga Exp $ + +inherit eutils + +DESCRIPTION="Samba LDAP management tools" +HOMEPAGE="https://gna.org/projects/smbldap-tools/" +SRC_URI="http://download.gna.org/smbldap-tools/packages/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +RDEPEND="net-nds/openldap + net-fs/samba + dev-perl/perl-ldap + dev-perl/Crypt-SmbHash + dev-perl/Digest-SHA1 + dev-perl/Unicode-MapUTF8 + dev-perl/IO-Socket-SSL" +DEPEND="${RDEPEND}" + +src_compile() { + mkdir man + for i in smbldap-[gpu]*; do + pod2man --section=8 $i > man/$i.8 || die "generation manpage for ${i} failed" + done +} + +src_install() { + emake install prefix="${D}/usr" sysconfdir="${D}/etc" || die "emake install failed" + + into /usr + newsbin configure.pl smbldap-configure.pl + + rm -f "${D}/usr/sbin"/*.spec + + dodoc CONTRIBUTORS ChangeLog FILES INFRA README TODO doc/*.conf + + doman man/* + + insinto /usr/share/doc/${PF} + doins -r doc/migration_scripts + doins doc/*.pdf +} + +pkg_postinst() { + elog "- A good howto is found on http://download.gna.org/smbldap-tools/docs/samba-ldap-howto/" + elog " and http://download.gna.org/smbldap-tools/docs/smbldap-tools/" + elog "- The configure script is installed as smbldap-configure.pl. Please run it to configure the tools." + elog "- Examples configuration files for Samba and slapd have been copied to /usr/share/doc/${PF}," + elog " together with the migration-scripts." +} |