ports/124951: Net port: net/p5-Net-LDAP-Makepath Provides a methode for creating paths in LDAP simply.
Zane C.B.
vvelox at vvelox.net
Tue Jun 24 17:50:04 UTC 2008
>Number: 124951
>Category: ports
>Synopsis: Net port: net/p5-Net-LDAP-Makepath Provides a methode for creating paths in LDAP simply.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 24 17:50:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Zane C.B.
>Release: FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD 6.3-STABLE #3: Mon May 26 17:37:16 CDT 2008
root at vixen42.vulpes:/usr/obj/usr/src/sys/SMP
>Description:
This adds Net::LDAP::Makepath in preparation to porting ZConf 0.2.0.
#Uses $ldap to create the new entries.
#The objectClasses used are top and organizationalUnit.
#The attribute used for the DNs is ou.
#The path to be created is "some/path".
#The base is "dc=foo,dc=bar".
#
#The resulting entries are...
#dn: ou=some,dc=foo,dc=bar
#objectClass: top
#objectClass: orginationalUnit
#ou: some
#
#dn: ou=path,ou=some,dc=foo,dc=ath
#objectClass: top
#objectClass: orginationalUnit
#ou: path
my $returned=LDAPmakep+athSimple($ldap, ["top", "organizationalUnit"], "ou",
"some,path", "dc=foo,dc=bar")
>How-To-Repeat:
1: Unshar
2:
3: Install and enjoy.
>Fix:
--- net_p5-Net-LDAP-Makepath.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:
#
# net/p5-Net-LDAP-Makepath/
# net/p5-Net-LDAP-Makepath/Makefile
# net/p5-Net-LDAP-Makepath/distinfo
# net/p5-Net-LDAP-Makepath/pkg-descr
# net/p5-Net-LDAP-Makepath/pkg-plist
#
echo c - net/p5-Net-LDAP-Makepath/
mkdir -p net/p5-Net-LDAP-Makepath/ > /dev/null 2>&1
echo x - net/p5-Net-LDAP-Makepath/Makefile
sed 's/^X//' >net/p5-Net-LDAP-Makepath/Makefile << 'END-of-net/p5-Net-LDAP-Makepath/Makefile'
X# New ports collection makefile for: p5-Net-LDAP-Makepath
X# Date created: 2008-06-24
X# Whom: Zane C, Bowers <vvelox at vvelox.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= Net-LDAP-Makepath
XPORTVERSION= 1.0.0
XCATEGORIES= net perl5
XMASTER_SITES= CPAN
XMASTER_SITE_SUBDIR= ../../authors/id/V/VV/VVELOX
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= vvelox at vvelox.net
XCOMMENT= Provides a methode for creating paths in LDAP simply.
X
XPERL_CONFIGURE= yes
X
XMAN3= Net::LDAP::Makepath.3
X
X.include <bsd.port.mk>
END-of-net/p5-Net-LDAP-Makepath/Makefile
echo x - net/p5-Net-LDAP-Makepath/distinfo
sed 's/^X//' >net/p5-Net-LDAP-Makepath/distinfo << 'END-of-net/p5-Net-LDAP-Makepath/distinfo'
XMD5 (Net-LDAP-Makepath-1.0.0.tar.gz) = 5c18f3f8a8b2a486b2d17f2ae0041906
XSHA256 (Net-LDAP-Makepath-1.0.0.tar.gz) = c21c265dda73ac9032b1ad7c0147415008de3664bd290057a6e1571e0a055dcf
XSIZE (Net-LDAP-Makepath-1.0.0.tar.gz) = 3595
END-of-net/p5-Net-LDAP-Makepath/distinfo
echo x - net/p5-Net-LDAP-Makepath/pkg-descr
sed 's/^X//' >net/p5-Net-LDAP-Makepath/pkg-descr << 'END-of-net/p5-Net-LDAP-Makepath/pkg-descr'
X#Uses $ldap to create the new entries.
X#The objectClasses used are top and organizationalUnit.
X#The attribute used for the DNs is ou.
X#The path to be created is "some/path".
X#The base is "dc=foo,dc=bar".
X#
X#The resulting entries are...
X#dn: ou=some,dc=foo,dc=bar
X#objectClass: top
X#objectClass: orginationalUnit
X#ou: some
X#
X#dn: ou=path,ou=some,dc=foo,dc=ath
X#objectClass: top
X#objectClass: orginationalUnit
X#ou: path
Xmy $returned=LDAPmakep+athSimple($ldap, ["top", "organizationalUnit"], "ou",
X "some,path", "dc=foo,dc=bar")
X
XWWW: http://search.cpan.org/dist/Net-LDAP-Makepath/
END-of-net/p5-Net-LDAP-Makepath/pkg-descr
echo x - net/p5-Net-LDAP-Makepath/pkg-plist
sed 's/^X//' >net/p5-Net-LDAP-Makepath/pkg-plist << 'END-of-net/p5-Net-LDAP-Makepath/pkg-plist'
X%%SITE_PERL%%/Net/LDAP/Makepath.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/LDAP/Makepath/.packlist
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/LDAP/Makepath
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/LDAP
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
X at dirrmtry %%SITE_PERL%%/Net/LDAP
X at dirrmtry %%SITE_PERL%%/Net
END-of-net/p5-Net-LDAP-Makepath/pkg-plist
exit
--- net_p5-Net-LDAP-Makepath.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list