Bug 124951 - New port: net/p5-Net-LDAP-Makepath Provides a methode for creating paths in LDAP simply.
Summary: New port: net/p5-Net-LDAP-Makepath Provides a methode for creating paths...
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: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-24 18:50 UTC by Zane C. Bowers-Hadley
Modified: 2008-06-28 23:50 UTC (History)
0 users

See Also:


Attachments
net_p5-Net-LDAP-Makepath.shar (2.88 KB, text/plain)
2008-06-24 18:50 UTC, Zane C. Bowers-Hadley
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zane C. Bowers-Hadley 2008-06-24 18:50:04 UTC

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.
Comment 1 Zane C. Bowers-Hadley 2008-06-24 19:46:49 UTC
On Tue, 24 Jun 2008 17:50:04 GMT
FreeBSD-gnats-submit@FreeBSD.org wrote:

> Thank you very much for your problem report.
> It has the internal identification `ports/124951'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs. 
> 
> You can access the state of your problem report at any time
> via this link:
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=124951
> 
> >Category:       ports
> >Responsible:    freebsd-ports-bugs
> >Synopsis:       Net port: net/p5-Net-LDAP-Makepath      Provides a
> >methode for creating paths in LDAP simply. Arrival-Date:   Tue Jun
> >24 17:50:04 UTC 2008



This fixes a issue with a missing dependency.


--- Makefile.orig       2008-06-24 13:44:35.000000000 -0500
+++ Makefile    2008-06-24 13:43:40.000000000 -0500
@@ -15,6 +15,8 @@
 MAINTAINER=    vvelox@vvelox.net
 COMMENT=       Provides a methode for creating paths in LDAP simply.
 
+RUN_DEPENDS=    ${SITE_PERL}/Net/LDAP/Entry.pm:${PORTSDIR}/net/p5-Net-LDAP
+
 PERL_CONFIGURE=        yes
 
 MAN3=          Net::LDAP::Makepath.3
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2008-06-24 22:15:49 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2008-06-28 23:41:56 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2008-06-28 23:42:12 UTC
miwi        2008-06-28 22:42:07 UTC

  FreeBSD ports repository

  Modified files:
    net                  Makefile 
  Added files:
    net/p5-Net-LDAP-Makepath Makefile distinfo pkg-descr pkg-plist 
  Log:
   Provides a methode for creating paths in LDAP simply.
  
  WWW: http://search.cpan.org/dist/Net-LDAP-Makepath/
  
  PR:             ports/124951
  Submitted by:   Zane C, Bowers <vvelox at vvelox.net>
  
  Revision  Changes    Path
  1.2015    +1 -0      ports/net/Makefile
  1.1       +22 -0     ports/net/p5-Net-LDAP-Makepath/Makefile (new)
  1.1       +3 -0      ports/net/p5-Net-LDAP-Makepath/distinfo (new)
  1.1       +3 -0      ports/net/p5-Net-LDAP-Makepath/pkg-descr (new)
  1.1       +7 -0      ports/net/p5-Net-LDAP-Makepath/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"