diff options
Diffstat (limited to 'net-nds/smbldap-tools')
-rw-r--r-- | net-nds/smbldap-tools/Manifest | 3 | ||||
-rw-r--r-- | net-nds/smbldap-tools/files/smbldap-tools-0.9.10-smbldap-config-pod.patch | 37 | ||||
-rw-r--r-- | net-nds/smbldap-tools/metadata.xml | 9 | ||||
-rw-r--r-- | net-nds/smbldap-tools/smbldap-tools-0.9.10-r1.ebuild | 57 | ||||
-rw-r--r-- | net-nds/smbldap-tools/smbldap-tools-0.9.10.ebuild | 53 | ||||
-rw-r--r-- | net-nds/smbldap-tools/smbldap-tools-0.9.8.ebuild | 53 | ||||
-rw-r--r-- | net-nds/smbldap-tools/smbldap-tools-0.9.9.ebuild | 53 |
7 files changed, 265 insertions, 0 deletions
diff --git a/net-nds/smbldap-tools/Manifest b/net-nds/smbldap-tools/Manifest new file mode 100644 index 000000000000..63c07737d289 --- /dev/null +++ b/net-nds/smbldap-tools/Manifest @@ -0,0 +1,3 @@ +DIST smbldap-tools-0.9.10.tar.gz 336840 SHA256 c4efc62b86f4ef8f160852d779a711bf24f69069b3610f6d9a3718eda8de1aa6 SHA512 e1aef98d91ec722427b27f3aed25d8ef4cd4a6c845f98935e2f99075dea93275fc0335760d517398be8ca7898084bfee457ada0a718b66226e6ce3f38fdf2b2e WHIRLPOOL ef07eb53137a58a5483c6dcced769790b10b6d3fda8e45c263632ea4cea30825745f2040ad92fdaca823758f3f94debb1d7094e62d132594effaa3c5d7d7ba45 +DIST smbldap-tools-0.9.8.tar.gz 335484 SHA256 9860cc5f01ba96e66d6d51763ba7894a07d280a38e76247a812b153d2a9caa26 +DIST smbldap-tools-0.9.9.tar.gz 336212 SHA256 0c8599a851017e19733cd674a2188bfca5f2a4285cfd8ed5b04d8c682e3196b7 SHA512 c51eb2c03dc45aaadb4c3467c07ecab080891223e6e0bd5fff5c1b8ea6ca3d2839163b2014764c280e37df30b029417ecea8d93b3b6a5459f6fa068eea5d71a9 WHIRLPOOL 6a8c26fb4440d58b9099ecd9b3378976bdcd7399fb9f1797a9e38e67835e7295840bb9678960da21abfc121ef8261dd55e121e4cba585b6edba77cdef53f04a8 diff --git a/net-nds/smbldap-tools/files/smbldap-tools-0.9.10-smbldap-config-pod.patch b/net-nds/smbldap-tools/files/smbldap-tools-0.9.10-smbldap-config-pod.patch new file mode 100644 index 000000000000..127bc353f47d --- /dev/null +++ b/net-nds/smbldap-tools/files/smbldap-tools-0.9.10-smbldap-config-pod.patch @@ -0,0 +1,37 @@ +From 4e3337697aa91f41ca970927233f96dbfa0b2d5d Mon Sep 17 00:00:00 2001 +From: Paul Howarth <paul@city-fan.org> +Date: Mon, 3 Aug 2015 19:18:18 +0200 +Subject: [PATCH] Support podlators >=2.5.0 + +http://gna.org/support/?3013 +--- + smbldap-config.pl | 16 ++++++++++++++++ + 1 file changed, 16 insertions(+) + +diff --git a/smbldap-config.pl b/smbldap-config.pl +index ecd9369..5660170 100644 +--- a/smbldap-config.pl ++++ b/smbldap-config.pl +@@ -557,3 +557,19 @@ print " $smbldap_bind_conf done.\n"; + $mode=0600; + chmod $mode,"$smbldap_bind_conf","$smbldap_bind_conf.old"; + ++__END__ ++ ++=head1 NAME ++ ++smbldap-config - Configure the smbldap-tools ++ ++=head1 SYNOPSIS ++ ++smbldap-config ++ ++=head1 DESCRIPTION ++ ++An interactive script to configure the smbldap-tools to work with your ++existing LDAP server(s). Before running it, you should ensure that your ++samba controller is up and running, and that the domain SID is defined ++(you can check it by running 'net getlocalsid'). +-- +2.4.6 + diff --git a/net-nds/smbldap-tools/metadata.xml b/net-nds/smbldap-tools/metadata.xml new file mode 100644 index 000000000000..2ed0a54726f0 --- /dev/null +++ b/net-nds/smbldap-tools/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>samba</herd> +<longdescription> +smbldap-tools is a Idealx contribution to samba database management through ldap +backend. +</longdescription> +</pkgmetadata> diff --git a/net-nds/smbldap-tools/smbldap-tools-0.9.10-r1.ebuild b/net-nds/smbldap-tools/smbldap-tools-0.9.10-r1.ebuild new file mode 100644 index 000000000000..5f8acb05be96 --- /dev/null +++ b/net-nds/smbldap-tools/smbldap-tools-0.9.10-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils + +DESCRIPTION="Samba LDAP management tools" +HOMEPAGE="https://gna.org/projects/smbldap-tools/" +SRC_URI="http://download.gna.org/smbldap-tools/sources/${PV}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +RDEPEND=" + dev-perl/perl-ldap + dev-perl/Crypt-SmbHash + dev-perl/Digest-SHA1 + dev-perl/Unicode-MapUTF8 + dev-perl/IO-Socket-SSL + net-nds/openldap + net-fs/samba +" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-smbldap-config-pod.patch +} + +src_install() { + default + + newsbin smbldap-config.cmd smbldap-config + dosym smbldap-passwd /usr/sbin/smbldap-passwd.cmd + + dodoc CONTRIBUTORS ChangeLog FILES INFRA INSTALL README TODO doc/*conf* doc/smbldap-tools* + dodoc -r doc/migration_scripts + + sed -i 's/.CMD//g' smbldap-[gpu]*.8 || die + doman smbldap-[gpu]*.8 + + insinto /etc/smbldap-tools + doins smbldap.conf smbldap_bind.conf + + elog "Remember to read INSTALL when updating." +} + +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 ${EPREFIX}/usr/share/doc/${PF}," + elog " together with the migration-scripts." + elog "- Also remember to read INSTALL when updating." +} diff --git a/net-nds/smbldap-tools/smbldap-tools-0.9.10.ebuild b/net-nds/smbldap-tools/smbldap-tools-0.9.10.ebuild new file mode 100644 index 000000000000..db99fbc63a64 --- /dev/null +++ b/net-nds/smbldap-tools/smbldap-tools-0.9.10.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils + +DESCRIPTION="Samba LDAP management tools" +HOMEPAGE="https://gna.org/projects/smbldap-tools/" +SRC_URI="http://download.gna.org/smbldap-tools/sources/${PV}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +RDEPEND=" + dev-perl/perl-ldap + dev-perl/Crypt-SmbHash + dev-perl/Digest-SHA1 + dev-perl/Unicode-MapUTF8 + dev-perl/IO-Socket-SSL + net-nds/openldap + net-fs/samba +" +DEPEND="${RDEPEND}" + +src_install() { + default + + newsbin smbldap-config.cmd smbldap-config + dosym smbldap-passwd /usr/sbin/smbldap-passwd.cmd + + dodoc CONTRIBUTORS ChangeLog FILES INFRA INSTALL README TODO doc/*conf* doc/smbldap-tools* + dodoc -r doc/migration_scripts + + sed -i 's/.CMD//g' smbldap-[gpu]*.8 || die + doman smbldap-[gpu]*.8 + + insinto /etc/smbldap-tools + doins smbldap.conf smbldap_bind.conf + + elog "Remember to read INSTALL when updating." +} + +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 ${EPREFIX}/usr/share/doc/${PF}," + elog " together with the migration-scripts." + elog "- Also remember to read INSTALL when updating." +} diff --git a/net-nds/smbldap-tools/smbldap-tools-0.9.8.ebuild b/net-nds/smbldap-tools/smbldap-tools-0.9.8.ebuild new file mode 100644 index 000000000000..3908e94653a4 --- /dev/null +++ b/net-nds/smbldap-tools/smbldap-tools-0.9.8.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils + +DESCRIPTION="Samba LDAP management tools" +HOMEPAGE="https://gna.org/projects/smbldap-tools/" +SRC_URI="http://download.gna.org/smbldap-tools/sources/${PV}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 s390 sparc x86" +IUSE="" + +RDEPEND=" + dev-perl/perl-ldap + dev-perl/Crypt-SmbHash + dev-perl/Digest-SHA1 + dev-perl/Unicode-MapUTF8 + dev-perl/IO-Socket-SSL + net-nds/openldap + net-fs/samba +" +DEPEND="${RDEPEND}" + +src_install() { + default + + newsbin smbldap-config.cmd smbldap-config + dosym smbldap-passwd /usr/sbin/smbldap-passwd.cmd + + dodoc CONTRIBUTORS ChangeLog FILES INFRA INSTALL README TODO doc/*conf* doc/smbldap-tools* + dodoc -r doc/migration_scripts + + sed -i 's/.CMD//g' smbldap-[gpu]*.8 || die + doman smbldap-[gpu]*.8 + + insinto /etc/smbldap-tools + doins smbldap.conf smbldap_bind.conf + + elog "Remember to read INSTALL when updating." +} + +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 ${EPREFIX}/usr/share/doc/${PF}," + elog " together with the migration-scripts." + elog "- Also remember to read INSTALL when updating." +} diff --git a/net-nds/smbldap-tools/smbldap-tools-0.9.9.ebuild b/net-nds/smbldap-tools/smbldap-tools-0.9.9.ebuild new file mode 100644 index 000000000000..1aca621efb96 --- /dev/null +++ b/net-nds/smbldap-tools/smbldap-tools-0.9.9.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils + +DESCRIPTION="Samba LDAP management tools" +HOMEPAGE="https://gna.org/projects/smbldap-tools/" +SRC_URI="http://download.gna.org/smbldap-tools/sources/${PV}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +RDEPEND=" + dev-perl/perl-ldap + dev-perl/Crypt-SmbHash + dev-perl/Digest-SHA1 + dev-perl/Unicode-MapUTF8 + dev-perl/IO-Socket-SSL + net-nds/openldap + net-fs/samba +" +DEPEND="${RDEPEND}" + +src_install() { + default + + newsbin smbldap-config.cmd smbldap-config + dosym smbldap-passwd /usr/sbin/smbldap-passwd.cmd + + dodoc CONTRIBUTORS ChangeLog FILES INFRA INSTALL README TODO doc/*conf* doc/smbldap-tools* + dodoc -r doc/migration_scripts + + sed -i 's/.CMD//g' smbldap-[gpu]*.8 || die + doman smbldap-[gpu]*.8 + + insinto /etc/smbldap-tools + doins smbldap.conf smbldap_bind.conf + + elog "Remember to read INSTALL when updating." +} + +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 ${EPREFIX}/usr/share/doc/${PF}," + elog " together with the migration-scripts." + elog "- Also remember to read INSTALL when updating." +} |