Bug 66405 - New port: net/smbldap-tools - Useful package for managing users and groups in a LDAP directory
Summary: New port: net/smbldap-tools - Useful package for managing users and groups in...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-08 22:10 UTC by Florent Thoumie
Modified: 2004-05-25 22:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florent Thoumie 2004-05-08 22:10:18 UTC
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/

Fix: --- smbldap-tools-0.8.4.shar begins here. ---



--- smbldap-tools-0.8.4.shar begins here. -----ZkwajHcdYXrbVUwt2NKXqsjfzguwMSmWrB4EcL5aeLaSH07i
Content-Type: text/plain; name="file.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.shar"

# 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@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@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@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@dirrm etc/smbldap-tools
X@dirrm %%EXAMPLESDIR%%
END-of-smbldap-tools/pkg-plist
exit
How-To-Repeat: 
N/A
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-05-25 22:21:25 UTC
State Changed
From-To: open->closed

New port added, thank you!