From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 24 17:50:04 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B702E1065680 for ; Tue, 24 Jun 2008 17:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9F9A28FC1E for ; Tue, 24 Jun 2008 17:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5OHo4WK026951 for ; Tue, 24 Jun 2008 17:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5OHo4Wf026950; Tue, 24 Jun 2008 17:50:04 GMT (envelope-from gnats) Resent-Date: Tue, 24 Jun 2008 17:50:04 GMT Resent-Message-Id: <200806241750.m5OHo4Wf026950@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Zane C.B." Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DF831065674 for ; Tue, 24 Jun 2008 17:49:09 +0000 (UTC) (envelope-from vvelox@vvelox.net) Received: from vulpes.vvelox.net (vulpes.vvelox.NET [74.200.198.26]) by mx1.freebsd.org (Postfix) with ESMTP id 41DEF8FC2A for ; Tue, 24 Jun 2008 17:49:09 +0000 (UTC) (envelope-from vvelox@vvelox.net) Received: from vixen42.vulpes (c-67-173-22-216.hsd1.il.comcast.net [67.173.22.216]) (Authenticated sender: vvelox) by vulpes.vvelox.net (Postfix) with ESMTP id C3EDAB856 for ; Tue, 24 Jun 2008 12:51:20 -0500 (CDT) Message-Id: <1214329765.48566@vixen42.vulpes> Date: Tue, 24 Jun 2008 12:49:25 -0500 From: "Zane C.B." To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.9 Cc: Subject: ports/124951: Net port: net/p5-Net-LDAP-Makepath Provides a methode for creating paths in LDAP simply. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 17:50:04 -0000 >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@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 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@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 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@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/LDAP/Makepath X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/LDAP X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net X@dirrmtry %%SITE_PERL%%/Net/LDAP X@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: