Page MenuHomeFreeBSD

New port: trac-ldapacctmngr
ClosedPublic

Authored by matthew on Jan 5 2016, 8:29 AM.

Details

Summary

This is a LDAP authentication plugin for Trac account manager.

Once installed, LDAP user accounts will automatically be available as
Trac user accounts.

WWW: https://trac-hacks.org/wiki/LDAPAcctMngrPlugin

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

matthew retitled this revision from to New port: trac-ldapacctmngr.
matthew updated this object.
matthew edited the test plan for this revision. (Show Details)
koobs requested changes to this revision.Jan 5 2016, 1:10 PM
koobs added a reviewer: koobs.
koobs added a subscriber: koobs.
koobs added inline comments.
www/trac-ldapacctmngr/Makefile
6 ↗(On Diff #11940)

CHEESESHOP

8 ↗(On Diff #11940)

https://pypi.python.org/pypi/TracLdapPlugin (Sources for LdapPlugin at trac-hacks)

13 ↗(On Diff #11940)

Add LICENSE_FILE if one exists in ${WRKSRC}

15 ↗(On Diff #11940)

s/+=/=

20 ↗(On Diff #11940)

:2 means 'depend on the python2 symlink, provided by the lang/python2 port' not 'any version of Python 2.x'

Use -2.7 instead

This revision now requires changes to proceed.Jan 5 2016, 1:10 PM
matthew added inline comments.
www/trac-ldapacctmngr/Makefile
8 ↗(On Diff #11940)

That's actually a different plugin to what I'm trying to port here -- this LdapAcctMngr doesn't appear to be available on pypi.

However, I do want to port TracLdapPlugin as well...

matthew edited edge metadata.
  • USES python:-2.7
  • RUN_DEPENDS= rather than RUN_DEPENDS+=
www/trac-ldapacctmngr/Makefile
13 ↗(On Diff #11940)

Doesn't exist in ${WRKSRC} unfortunately.

matthew edited edge metadata.

Include the other two related ports I'm working on.

Downloading sources from pipy is a no-go: the TracLdapPlugin code is
incomplete on pipy (missing the entire LdapUtil class?), and the other
two plugins don't exist on that site at all.

Back to plan A -- check out of trac-hacks SVN and roll our own
tarballs.

Check out a specific SVN revision and add the rev. no. to the package
version, for repeatabilities' sake.

Add LICENCE_FILE, PORTSCOUT settings.

This revision was automatically updated to reflect the committed changes.