ports/55202: [new port] sysutils/ldap-account-manager: Webfrontend for managing accounts stored in an OpenLDAP server
Clement Laforet
sheepkiller at cultdeadsheep.org
Sun Aug 3 01:00:29 UTC 2003
>Number: 55202
>Category: ports
>Synopsis: [new port] sysutils/ldap-account-manager: Webfrontend for managing accounts stored in an OpenLDAP server
>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: Sat Aug 02 18:00:27 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Clement Laforet
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD chuck.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Thu Jul 31 03:00:20 CEST 2003 clement at chuck.cultdeadsheep.org:/usr/obj/usr/src/sys/CHUCK i386
>Description:
LDAP Account Manager (lam) is a webfrontend for managing accounts stored
in an openLDAP server.
Features:
- management of Unix user and group accounts (posixAccount/posixGroup)
- management of Samba 2.x user and host accounts (sambaAccount)
- automatic creation/deletion of home directories (experimental)
- setting quotas (experimental)
- support for LDAP+SSL
- multi-language support (default language: English, German only partial)
>How-To-Repeat:
N/A.
>Fix:
--- ldap-account-manager.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:
#
# ldap-account-manager
# ldap-account-manager/Makefile
# ldap-account-manager/distinfo
# ldap-account-manager/pkg-descr
# ldap-account-manager/pkg-plist
#
echo c - ldap-account-manager
mkdir -p ldap-account-manager > /dev/null 2>&1
echo x - ldap-account-manager/Makefile
sed 's/^X//' >ldap-account-manager/Makefile << 'END-of-ldap-account-manager/Makefile'
X# New ports collection makefile for: LDAP-Account-Manager
X# Date created: August, 2nd 2003
X# Whom: Clement Laforet <sheepkiller at cultdeadsheep.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= LDAP-Account-Manager
XPORTVERSION= 0.2
XCATEGORIES= sysutils www
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= lam
XDISTNAME= ${PORTNAME}-${PORTVERSION}-1
X
XMAINTAINER= sheepkiller at cultdeadsheep.org
XCOMMENT= Webfrontend for managing accounts stored in an OpenLDAP server
X
XRUN_DEPENDS= ${LOCALBASE}/${MOD_DIR}/libphp4.so:${PORTSDIR}/www/apache2
X
XNO_PACKAGE= "${PORTNAME} requires at least LDAP, gettext and mcrypt support within mod_php."
X
XUSE_REINPLACE= YES
XNO_BUILD= YES
XWRKSRC= ${WRKDIR}/lam
X
X.if defined(WITH_APACHE2)
XMOD_DIR= libexec/apache2
X.else
XMOD_DIR= libexec/apache
X.endif
X
X.include <bsd.port.pre.mk>
X
X.if !exists(${LOCALBASE}/lib/libldap.so.2)
XIGNORE+= "OpenLDAP support is required \(2.0 or greater\)."
X.endif
X
X.if !exists(${LOCALBASE}/lib/libmcrypt.so)
XIGNORE+= "mcrypt support is required."
X.endif
X
X.if !exists(${LOCALBASE}/lib/libintl.so)
XIGNORE+= "gettext support is required."
X.endif
X
XWWW_ROOT?= www/lam
XPLIST_SUB+= WWWROOT=${WWW_ROOT}
XWWW_USER?= www
XWWW_GROUP?= www
XWWW_DIR= config graphics help lib locale sess style templates
XDOC_FILES= COPYING HISTORY INSTALL README TODO docs/README.fpdf \
X docs/README.lamdaemon.pl docs/README.openldap docs/README.shells
X
Xdo-install:
X @${MKDIR} ${PREFIX}/${WWW_ROOT}
X @${INSTALL_DATA} ${WRKSRC}/index.html ${PREFIX}/${WWW_ROOT}
X.for DIR in ${WWW_DIR}
X @${MKDIR} ${PREFIX}/${WWW_ROOT}/${DIR}
X @${CP} -Rf ${WRKSRC}/${DIR} ${PREFIX}/${WWW_ROOT}
X.endfor
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X.for FILE in ${DOC_FILES}
X @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
X.endfor
X.endif
X @${CHOWN} -R ${WWW_USER}:${WWW_GROUP} ${PREFIX}/${WWW_ROOT}
X
X.include <bsd.port.post.mk>
END-of-ldap-account-manager/Makefile
echo x - ldap-account-manager/distinfo
sed 's/^X//' >ldap-account-manager/distinfo << 'END-of-ldap-account-manager/distinfo'
XMD5 (LDAP-Account-Manager-0.2-1.tar.gz) = e51cd521160dcca8ab71d25f6fd5df5e
END-of-ldap-account-manager/distinfo
echo x - ldap-account-manager/pkg-descr
sed 's/^X//' >ldap-account-manager/pkg-descr << 'END-of-ldap-account-manager/pkg-descr'
XLDAP Account Manager (lam) is a webfrontend for managing accounts stored
Xin an openLDAP server.
X
XFeatures:
X- management of Unix user and group accounts (posixAccount/posixGroup)
X- management of Samba 2.x user and host accounts (sambaAccount)
X- automatic creation/deletion of home directories (experimental)
X- setting quotas (experimental)
X- support for LDAP+SSL
X- multi-language support (default language: English, German only partial)
END-of-ldap-account-manager/pkg-descr
echo x - ldap-account-manager/pkg-plist
sed 's/^X//' >ldap-account-manager/pkg-plist << 'END-of-ldap-account-manager/pkg-plist'
X%%WWWROOT%%/index.html
X%%WWWROOT%%/config/profiles/groups/default.prg
X%%WWWROOT%%/config/profiles/hosts/default.prh
X%%WWWROOT%%/config/profiles/users/default.pru
X%%WWWROOT%%/config/.htaccess
X%%WWWROOT%%/config/lam.conf_sample
X%%WWWROOT%%/config/.cvsignore
X%%WWWROOT%%/config/print.html
X%%WWWROOT%%/config/shells
X%%WWWROOT%%/config/language.conf
X%%WWWROOT%%/graphics/banner.jpg
X%%WWWROOT%%/help/extFileExample.php
X%%WWWROOT%%/help/help.inc
X%%WWWROOT%%/help/help_numbers.assign
X%%WWWROOT%%/lib/font/makefont/makefont.php
X%%WWWROOT%%/lib/font/makefont/cp1251.map
X%%WWWROOT%%/lib/font/makefont/cp1252.map
X%%WWWROOT%%/lib/font/makefont/cp1253.map
X%%WWWROOT%%/lib/font/makefont/cp1254.map
X%%WWWROOT%%/lib/font/makefont/cp1257.map
X%%WWWROOT%%/lib/font/makefont/iso-8859-1.map
X%%WWWROOT%%/lib/font/makefont/iso-8859-15.map
X%%WWWROOT%%/lib/font/makefont/iso-8859-16.map
X%%WWWROOT%%/lib/font/makefont/iso-8859-2.map
X%%WWWROOT%%/lib/font/makefont/iso-8859-4.map
X%%WWWROOT%%/lib/font/makefont/iso-8859-5.map
X%%WWWROOT%%/lib/font/makefont/iso-8859-7.map
X%%WWWROOT%%/lib/font/makefont/iso-8859-9.map
X%%WWWROOT%%/lib/font/makefont/koi8-r.map
X%%WWWROOT%%/lib/font/makefont/cp1250.map
X%%WWWROOT%%/lib/font/helvetica.php
X%%WWWROOT%%/lib/font/helveticab.php
X%%WWWROOT%%/lib/font/helveticabi.php
X%%WWWROOT%%/lib/font/helveticai.php
X%%WWWROOT%%/lib/font/symbol.php
X%%WWWROOT%%/lib/font/courier.php
X%%WWWROOT%%/lib/font/timesb.php
X%%WWWROOT%%/lib/font/timesbi.php
X%%WWWROOT%%/lib/font/timesi.php
X%%WWWROOT%%/lib/font/zapfdingbats.php
X%%WWWROOT%%/lib/font/times.php
X%%WWWROOT%%/lib/account.inc
X%%WWWROOT%%/lib/config.inc
X%%WWWROOT%%/lib/createntlm.pl
X%%WWWROOT%%/lib/fpdf.php
X%%WWWROOT%%/lib/functions.js
X%%WWWROOT%%/lib/.htaccess
X%%WWWROOT%%/lib/ldap.inc
X%%WWWROOT%%/lib/pdf.inc
X%%WWWROOT%%/lib/profiles.inc
X%%WWWROOT%%/lib/status.inc
X%%WWWROOT%%/lib/lamdaemon.pl
X%%WWWROOT%%/locale/de_DE/LC_MESSAGES/messages.mo
X%%WWWROOT%%/locale/de_DE/LC_MESSAGES/messages.po
X%%WWWROOT%%/style/layout.css
X%%WWWROOT%%/templates/config/conflogin.php
X%%WWWROOT%%/templates/config/confmain.php
X%%WWWROOT%%/templates/config/confsave.php
X%%WWWROOT%%/templates/lists/listgroups.php
X%%WWWROOT%%/templates/lists/listhosts.php
X%%WWWROOT%%/templates/lists/listusers.php
X%%WWWROOT%%/templates/lists/userlink.php
X%%WWWROOT%%/templates/profedit/profilecreate.php
X%%WWWROOT%%/templates/profedit/profiledelete.php
X%%WWWROOT%%/templates/profedit/profilehost.php
X%%WWWROOT%%/templates/profedit/profilemain.php
X%%WWWROOT%%/templates/profedit/profileuser.php
X%%WWWROOT%%/templates/login.php
X%%WWWROOT%%/templates/logout.php
X%%WWWROOT%%/templates/main.php
X%%WWWROOT%%/templates/account.php
X%%WWWROOT%%/templates/masscreate.php
X%%WWWROOT%%/templates/ou_edit.php
X%%WWWROOT%%/templates/main_header.php
X%%WWWROOT%%/templates/delete.php
X%%WWWROOT%%/templates/help.php
X%%PORTDOCS%%%%DOCSDIR%%/COPYING
X%%PORTDOCS%%%%DOCSDIR%%/HISTORY
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/TODO
X%%PORTDOCS%%%%DOCSDIR%%/README.fpdf
X%%PORTDOCS%%%%DOCSDIR%%/README.lamdaemon.pl
X%%PORTDOCS%%%%DOCSDIR%%/README.openldap
X%%PORTDOCS%%%%DOCSDIR%%/README.shells
X at unexec rmdir %D/%%WWWROOT%%/config/profiles/groups 2>/dev/null || true
X at unexec rmdir %D/%%WWWROOT%%/config/profiles/hosts 2>/dev/null || true
X at unexec rmdir %D/%%WWWROOT%%/config/profiles/users 2>/dev/null || true
X at unexec rmdir %D/%%WWWROOT%%/config/profiles 2>/dev/null || true
X at unexec rmdir %D/%%WWWROOT%%/config 2>/dev/null || true
X at dirrm %%WWWROOT%%/graphics
X at dirrm %%WWWROOT%%/help
X at dirrm %%WWWROOT%%/lib/font/makefont
X at dirrm %%WWWROOT%%/lib/font
X at dirrm %%WWWROOT%%/lib
X at dirrm %%WWWROOT%%/locale/de_DE/LC_MESSAGES
X at dirrm %%WWWROOT%%/locale/de_DE
X at dirrm %%WWWROOT%%/locale
X at unexec rmdir %D/%%WWWROOT%%/sess || true
X at dirrm %%WWWROOT%%/style
X at dirrm %%WWWROOT%%/templates/config
X at dirrm %%WWWROOT%%/templates/lists
X at dirrm %%WWWROOT%%/templates/profedit
X at dirrm %%WWWROOT%%/templates
X at unexec rmdir %D/%%WWWROOT%% 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf %D/%%WWWROOT%%`` to remove any files left." | fmt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-ldap-account-manager/pkg-plist
exit
--- ldap-account-manager.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list