diff options
author | Christian Andreetta <satya@gentoo.org> | 2005-03-17 11:27:40 +0000 |
---|---|---|
committer | Christian Andreetta <satya@gentoo.org> | 2005-03-17 11:27:40 +0000 |
commit | 9aa1c82f19407a74103c1d4c8d87bd2c4d9db9fb (patch) | |
tree | afb238f7c42b78a0c288093873d518f3bef93bfe /net-nds | |
parent | Readd patch that was mistakenly removed. (diff) | |
download | gentoo-2-9aa1c82f19407a74103c1d4c8d87bd2c4d9db9fb.tar.gz gentoo-2-9aa1c82f19407a74103c1d4c8d87bd2c4d9db9fb.tar.bz2 gentoo-2-9aa1c82f19407a74103c1d4c8d87bd2c4d9db9fb.zip |
new ebuild: split from samba-3.0.11 ebuild. Addresses bugs #77482, #83196, #85048
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-nds')
-rw-r--r-- | net-nds/smbldap-tools/ChangeLog | 8 | ||||
-rw-r--r-- | net-nds/smbldap-tools/Manifest | 5 | ||||
-rw-r--r-- | net-nds/smbldap-tools/files/digest-smbldap-tools-0.8.6 | 1 | ||||
-rw-r--r-- | net-nds/smbldap-tools/files/digest-smbldap-tools-0.8.7 | 1 | ||||
-rw-r--r-- | net-nds/smbldap-tools/metadata.xml | 13 | ||||
-rw-r--r-- | net-nds/smbldap-tools/smbldap-tools-0.8.6.ebuild | 60 | ||||
-rw-r--r-- | net-nds/smbldap-tools/smbldap-tools-0.8.7.ebuild | 60 |
7 files changed, 148 insertions, 0 deletions
diff --git a/net-nds/smbldap-tools/ChangeLog b/net-nds/smbldap-tools/ChangeLog new file mode 100644 index 000000000000..d72b7f840da1 --- /dev/null +++ b/net-nds/smbldap-tools/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-nds/smbldap-tools +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/smbldap-tools/ChangeLog,v 1.1 2005/03/17 11:27:40 satya Exp $ + + 17 Mar 2005; Christian Andreetta <satya@gentoo.org> : + new ebuild: split from samba-3.0.11 ebuild. Addresses bugs #77482, #83196, + #85048 + diff --git a/net-nds/smbldap-tools/Manifest b/net-nds/smbldap-tools/Manifest new file mode 100644 index 000000000000..946fc6bf57ef --- /dev/null +++ b/net-nds/smbldap-tools/Manifest @@ -0,0 +1,5 @@ +MD5 4d977c8d0e4c74bdf3805379a1d3ba32 smbldap-tools-0.8.7.ebuild 2560 +MD5 ec0194fe323a6bea2905c0b4ed98b1ce metadata.xml 372 +MD5 4d977c8d0e4c74bdf3805379a1d3ba32 smbldap-tools-0.8.6.ebuild 2560 +MD5 1bc5bcf921de35c1f98ad557642fa53f files/digest-smbldap-tools-0.8.6 68 +MD5 03035f043a4eb25331508a7a6aa60d72 files/digest-smbldap-tools-0.8.7 68 diff --git a/net-nds/smbldap-tools/files/digest-smbldap-tools-0.8.6 b/net-nds/smbldap-tools/files/digest-smbldap-tools-0.8.6 new file mode 100644 index 000000000000..3a18ac5a8e56 --- /dev/null +++ b/net-nds/smbldap-tools/files/digest-smbldap-tools-0.8.6 @@ -0,0 +1 @@ +MD5 ce266c508c7628b4ff382933a4f25b46 smbldap-tools-0.8.6.tgz 277464 diff --git a/net-nds/smbldap-tools/files/digest-smbldap-tools-0.8.7 b/net-nds/smbldap-tools/files/digest-smbldap-tools-0.8.7 new file mode 100644 index 000000000000..45f2ff43fc41 --- /dev/null +++ b/net-nds/smbldap-tools/files/digest-smbldap-tools-0.8.7 @@ -0,0 +1 @@ +MD5 11564bd9be125aa8e356d14464507522 smbldap-tools-0.8.7.tgz 288685 diff --git a/net-nds/smbldap-tools/metadata.xml b/net-nds/smbldap-tools/metadata.xml new file mode 100644 index 000000000000..29716e179b8b --- /dev/null +++ b/net-nds/smbldap-tools/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>samba@gentoo.org</email> + <name>Samba Team</name> +</maintainer> +<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.8.6.ebuild b/net-nds/smbldap-tools/smbldap-tools-0.8.6.ebuild new file mode 100644 index 000000000000..c8dd2598942e --- /dev/null +++ b/net-nds/smbldap-tools/smbldap-tools-0.8.6.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2005 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.8.6.ebuild,v 1.1 2005/03/17 11:27:40 satya Exp $ + +#------------------------------------------------------------------------------ +inherit eutils +#------------------------------------------------------------------------------ +MY_PN=${PN/-*/} +S=${WORKDIR}/${PF} +DESCRIPTION="Idealx samba ldap management tools" +SRC_URI="http://samba.idealx.org/dist/${PF}.tgz" +HOMEPAGE="http://samba.idealx.org" +#------------------------------------------------------------------------------ +IUSE="" +DEPEND="net-nds/openldap + >=net-fs/samba-3.0.1 + dev-perl/perl-ldap + dev-perl/Crypt-SmbHash + dev-perl/Digest-SHA1" +#------------------------------------------------------------------------------ +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +#============================================================================== +src_compile() { + einfo "COMPILE: nothing to compile; scripts package" +} +#============================================================================== +src_install() { + #corrections as per bug #41796 + local prefix=/opt/IDEALX + local sysconfdir=/etc/opt/IDEALX + local sbin_dir="${prefix}/sbin/" + local sbin_ln_dir="/usr/sbin/" + local script_list="${MY_PN}-*" + #legacy install ------------------------------------------------------- + cd ${S} + make install prefix=${D}/${prefix} sysconfdir=${D}/${sysconfdir} + #libs ----------------------------------------------------------------- + exeinto /etc/samba ; doexe smbldap_tools.pm + eval `perl '-V:installarchlib'` + dodir ${installarchlib} + #dosym /etc/samba/smbldap_conf.pm ${installarchlib} + #dosym /etc/samba/smbldap_conf.pm ${sbin_dir} + dosym /etc/samba/smbldap_tools.pm ${installarchlib} + dosym /etc/samba/smbldap_tools.pm ${sbin_dir} + #scripts -------------------------------------------------------------- + dodir ${sbin_ln_dir} + for script in ${script_list}; do + dosym ${sbin_dir}/${script} ${sbin_ln_dir}/${script} + done + #docs ----------------------------------------------------------------- + dodoc CONTRIBUTORS COPYING ChangeLog FILES INFRA INSTALL README TODO +} +#============================================================================== +pkg_postinst() { + draw_line " " + einfo "A good howto is found on http://samba.idealx.org" + draw_line " " +} diff --git a/net-nds/smbldap-tools/smbldap-tools-0.8.7.ebuild b/net-nds/smbldap-tools/smbldap-tools-0.8.7.ebuild new file mode 100644 index 000000000000..992440eef038 --- /dev/null +++ b/net-nds/smbldap-tools/smbldap-tools-0.8.7.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2005 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.8.7.ebuild,v 1.1 2005/03/17 11:27:40 satya Exp $ + +#------------------------------------------------------------------------------ +inherit eutils +#------------------------------------------------------------------------------ +MY_PN=${PN/-*/} +S=${WORKDIR}/${PF} +DESCRIPTION="Idealx samba ldap management tools" +SRC_URI="http://samba.idealx.org/dist/${PF}.tgz" +HOMEPAGE="http://samba.idealx.org" +#------------------------------------------------------------------------------ +IUSE="" +DEPEND="net-nds/openldap + >=net-fs/samba-3.0.1 + dev-perl/perl-ldap + dev-perl/Crypt-SmbHash + dev-perl/Digest-SHA1" +#------------------------------------------------------------------------------ +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +#============================================================================== +src_compile() { + einfo "COMPILE: nothing to compile; scripts package" +} +#============================================================================== +src_install() { + #corrections as per bug #41796 + local prefix=/opt/IDEALX + local sysconfdir=/etc/opt/IDEALX + local sbin_dir="${prefix}/sbin/" + local sbin_ln_dir="/usr/sbin/" + local script_list="${MY_PN}-*" + #legacy install ------------------------------------------------------- + cd ${S} + make install prefix=${D}/${prefix} sysconfdir=${D}/${sysconfdir} + #libs ----------------------------------------------------------------- + exeinto /etc/samba ; doexe smbldap_tools.pm + eval `perl '-V:installarchlib'` + dodir ${installarchlib} + #dosym /etc/samba/smbldap_conf.pm ${installarchlib} + #dosym /etc/samba/smbldap_conf.pm ${sbin_dir} + dosym /etc/samba/smbldap_tools.pm ${installarchlib} + dosym /etc/samba/smbldap_tools.pm ${sbin_dir} + #scripts -------------------------------------------------------------- + dodir ${sbin_ln_dir} + for script in ${script_list}; do + dosym ${sbin_dir}/${script} ${sbin_ln_dir}/${script} + done + #docs ----------------------------------------------------------------- + dodoc CONTRIBUTORS COPYING ChangeLog FILES INFRA INSTALL README TODO +} +#============================================================================== +pkg_postinst() { + draw_line " " + einfo "A good howto is found on http://samba.idealx.org" + draw_line " " +} |