ports/66405: New port: net/smbldap-tools - Useful package for managing users and groups in a LDAP directory
Florent Thoumie
flz at xbsd.org
Sat May 8 21:10:19 UTC 2004
>Number: 66405
>Category: ports
>Synopsis: New port: net/smbldap-tools - Useful package for managing users and groups in a LDAP directory
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat May 08 14:10:18 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Florent Thoumie
>Release: FreeBSD 4.9-RC i386
>Organization:
Xbsd.org
>Environment:
System: FreeBSD gw 4.9-RC FreeBSD 4.9-RC #4: Sun Oct 5 14:25:09 CEST 2003 rf at gw:/usr/src/sys/compile/GW i386
>Description:
A collection of scripts, «over» user{add,del,mod} and group{add,del,mod}
system tools to manipulate users and groups stored in LDAP directory,
for DEN system like SAMBA-LDAP and pam/nss_ldap systems.
Additionnaly, some scripts are designed to ease your migration from
a Windows NT 4.0 PDC Server to a Samba-LDAP PDC Server (Killer?;-):
smbldap-populate, smbldap-migrate-groups, smbldap-migrate-accounts.
WWW: http://samba.idealx.org/
>How-To-Repeat:
N/A
>Fix:
--- smbldap-tools-0.8.4.shar begins here. ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# smbldap-tools
# smbldap-tools/distinfo
# smbldap-tools/pkg-descr
# smbldap-tools/Makefile
# smbldap-tools/pkg-plist
#
echo c - smbldap-tools
mkdir -p smbldap-tools > /dev/null 2>&1
echo x - smbldap-tools/distinfo
sed 's/^X//' >smbldap-tools/distinfo << 'END-of-smbldap-tools/distinfo'
XMD5 (smbldap-tools-0.8.4.tgz) = 34ef159fc49a2c30ff27b481dc8e1215
XSIZE (smbldap-tools-0.8.4.tgz) = 286290
END-of-smbldap-tools/distinfo
echo x - smbldap-tools/pkg-descr
sed 's/^X//' >smbldap-tools/pkg-descr << 'END-of-smbldap-tools/pkg-descr'
XA collection of scripts, «over» user{add,del,mod} and group{add,del,mod}
Xsystem tools to manipulate users and groups stored in LDAP directory,
Xfor DEN system like SAMBA-LDAP and pam/nss_ldap systems.
X
XAdditionnaly, some scripts are designed to ease your migration from
Xa Windows NT 4.0 PDC Server to a Samba-LDAP PDC Server (Killer?;-):
Xsmbldap-populate, smbldap-migrate-groups, smbldap-migrate-accounts.
X
XWWW: http://samba.idealx.org/
X
X- Florent Thoumie
Xflz at xbsd.org
END-of-smbldap-tools/pkg-descr
echo x - smbldap-tools/Makefile
sed 's/^X//' >smbldap-tools/Makefile << 'END-of-smbldap-tools/Makefile'
X# New ports collection makefile for: smbldap-tools
X# Date created: May 8 2004
X# Whom: Florent Thoumie <flz at xbsd.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= smbldap-tools
XPORTVERSION= 0.8.4
XCATEGORIES= net
XMASTER_SITES= http://www.idealx.org/prj/samba/dist/
XEXTRACT_SUFX= .tgz
X
XMAINTAINER= flz at xbsd.org
XCOMMENT= Useful package for managing users and groups in a LDAP directory
X
XBUILD_DEPENDS= ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XUSE_PERL5= yes
XNO_BUILD= yes
XUSE_REINPLACE= yes
X
Xpost-patch:
X ${REINPLACE_CMD} -e 's#/etc/samba#${PREFIX}/etc/samba#' ${WRKSRC}/configure.pl \
X ${WRKSRC}/smb.conf
X ${REINPLACE_CMD} -e 's#/etc/smb#${PREFIX}/etc/smb#' ${WRKSRC}/configure.pl \
X ${WRKSRC}/smbldap.conf \
X ${WRKSRC}/smbldap_tools.pm
X
Xdo-install:
X ${MKDIR} ${EXAMPLESDIR}
X ${MKDIR} ${PREFIX}/etc/${PORTNAME}
X ${INSTALL_SCRIPT} ${WRKSRC}/configure.pl ${PREFIX}/etc/${PORTNAME}/
X.for i in smbldap.conf smbldap_bind.conf
X ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/etc/${PORTNAME}/$i.default
X.endfor
X.for i in smbldap-groupadd smbldap-groupdel smbldap-groupmod smbldap-groupshow smbldap-useradd smbldap-userdel smbldap-usermod smbldap-usershow smbldap-migrate-accounts smbldap-migrate-groups smbldap-passwd smbldap-populate
X ${INSTALL_SCRIPT} ${WRKSRC}/$i ${PREFIX}/sbin
X.endfor
X ${INSTALL_DATA} ${WRKSRC}/smbldap_tools.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/
X ${INSTALL_DATA} ${WRKSRC}/smb.conf ${EXAMPLESDIR}/
X
X.include <bsd.port.mk>
END-of-smbldap-tools/Makefile
echo x - smbldap-tools/pkg-plist
sed 's/^X//' >smbldap-tools/pkg-plist << 'END-of-smbldap-tools/pkg-plist'
Xetc/smbldap-tools/configure.pl
Xetc/smbldap-tools/smbldap.conf.default
Xetc/smbldap-tools/smbldap_bind.conf.default
Xsbin/smbldap-groupadd
Xsbin/smbldap-groupdel
Xsbin/smbldap-groupmod
Xsbin/smbldap-groupshow
Xsbin/smbldap-migrate-accounts
Xsbin/smbldap-migrate-groups
Xsbin/smbldap-passwd
Xsbin/smbldap-populate
Xsbin/smbldap-useradd
Xsbin/smbldap-userdel
Xsbin/smbldap-usermod
Xsbin/smbldap-usershow
X%%EXAMPLESDIR%%/smb.conf
X%%SITE_PERL%%/smbldap_tools.pm
X at dirrm etc/smbldap-tools
X at dirrm %%EXAMPLESDIR%%
END-of-smbldap-tools/pkg-plist
exit
--- smbldap-tools-0.8.4.shar begins here. ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list