aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ldap-account-manager
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-30 11:49:06 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-30 11:49:06 +0000
commit2c24ba8059468b5da86c2e5b0af76767c9230162 (patch)
tree4f709bf6dc1f39ecbb69cbe22e86087e4bba5b8e /sysutils/ldap-account-manager
parentaa8b98e7167f7aea2e4f9b68b66ee50ba80031d3 (diff)
downloadports-2c24ba8059468b5da86c2e5b0af76767c9230162.tar.gz
ports-2c24ba8059468b5da86c2e5b0af76767c9230162.zip
Notes
Diffstat (limited to 'sysutils/ldap-account-manager')
-rw-r--r--sysutils/ldap-account-manager/Makefile86
-rw-r--r--sysutils/ldap-account-manager/distinfo1
-rw-r--r--sysutils/ldap-account-manager/pkg-descr12
-rw-r--r--sysutils/ldap-account-manager/pkg-plist112
4 files changed, 211 insertions, 0 deletions
diff --git a/sysutils/ldap-account-manager/Makefile b/sysutils/ldap-account-manager/Makefile
new file mode 100644
index 000000000000..19a3574b24d4
--- /dev/null
+++ b/sysutils/ldap-account-manager/Makefile
@@ -0,0 +1,86 @@
+# New ports collection makefile for: LDAP-Account-Manager
+# Date created: August, 2nd 2003
+# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= LDAP-Account-Manager
+PORTVERSION= 0.3
+CATEGORIES= sysutils www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= lam
+DISTNAME= ${PORTNAME}-${PORTVERSION}-1
+
+MAINTAINER= sheepkiller@cultdeadsheep.org
+COMMENT= Webfrontend for managing accounts stored in an OpenLDAP server
+
+RUN_DEPENDS= ${LOCALBASE}/${MOD_DIR}/libphp4.so:${PORTSDIR}/www/apache2 \
+ ${SITE_PERL}/${PERL_ARCH}/Quota.pm:${PORTSDIR}/sysutils/p5-Quota\
+ ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap
+
+USE_REINPLACE= YES
+NO_BUILD= YES
+WRKSRC= ${WRKDIR}/lam
+
+.if defined(WITH_APACHE2)
+MOD_DIR= libexec/apache2
+.else
+MOD_DIR= libexec/apache
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if !exists(${LOCALBASE}/lib/libldap.so.2)
+IGNORE+= "OpenLDAP support is required \(2.0 or greater\)"
+.endif
+
+.if !exists(${LOCALBASE}/lib/libmcrypt.so)
+IGNORE+= "mcrypt support is required"
+.endif
+
+.if !exists(${LOCALBASE}/lib/libintl.so)
+IGNORE+= "gettext support is required"
+.endif
+
+WWW_ROOT?= www/lam
+PLIST_SUB+= WWWROOT=${WWW_ROOT}
+WWW_USER?= www
+WWW_GROUP?= www
+WWW_DIR= config graphics help lib locale sess style templates
+DOC_FILES= COPYING HISTORY INSTALL README TODO docs/README.fpdf \
+ docs/README.lamdaemon.pl docs/README.openldap docs/README.shells
+
+CVS_DIRS= ${WRKSRC}/lib/font/CVS ${WRKSRC}/lib/font/makefont/CVS
+
+post-extract:
+ @${RM} -fr ${CVS_DIRS}
+
+do-install:
+ @${MKDIR} ${PREFIX}/${WWW_ROOT}
+ @${INSTALL_DATA} ${WRKSRC}/index.html ${PREFIX}/${WWW_ROOT}
+.for DIR in ${WWW_DIR}
+ @${MKDIR} ${PREFIX}/${WWW_ROOT}/${DIR}
+ @${CP} -Rf ${WRKSRC}/${DIR} ${PREFIX}/${WWW_ROOT}
+.endfor
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for FILE in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
+.endif
+ @${CHOWN} -R ${WWW_USER}:${WWW_GROUP} ${PREFIX}/${WWW_ROOT}
+
+post-install:
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} " To use LDAP-account-manager, you have to install"
+ @${ECHO_MSG} " and set up Samba 2.x or 3.x schemas."
+ @${ECHO_MSG} " Like this :"
+ @${ECHO_MSG} " include ${LOCALBASE}/etc/openldap/schema/core.schema"
+ @${ECHO_MSG} " include ${LOCALBASE}/etc/openldap/schema/cosine.schema"
+ @${ECHO_MSG} " include ${LOCALBASE}/etc/openldap/schema/inetorgperson.schema"
+ @${ECHO_MSG} " include ${LOCALBASE}/etc/openldap/schema/nis.schema"
+ @${ECHO_MSG} " include ${LOCALBASE}/etc/openldap/schema/samba.schema"
+ @${ECHO_MSG} ""
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/ldap-account-manager/distinfo b/sysutils/ldap-account-manager/distinfo
new file mode 100644
index 000000000000..dcc5b849fefa
--- /dev/null
+++ b/sysutils/ldap-account-manager/distinfo
@@ -0,0 +1 @@
+MD5 (LDAP-Account-Manager-0.3-1.tar.gz) = ad0296a4dfed74785722fd89dfae429b
diff --git a/sysutils/ldap-account-manager/pkg-descr b/sysutils/ldap-account-manager/pkg-descr
new file mode 100644
index 000000000000..77e05e04d305
--- /dev/null
+++ b/sysutils/ldap-account-manager/pkg-descr
@@ -0,0 +1,12 @@
+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)
+
+WWW: http://lam.sf.net/
diff --git a/sysutils/ldap-account-manager/pkg-plist b/sysutils/ldap-account-manager/pkg-plist
new file mode 100644
index 000000000000..3d089a549166
--- /dev/null
+++ b/sysutils/ldap-account-manager/pkg-plist
@@ -0,0 +1,112 @@
+%%WWWROOT%%/index.html
+%%WWWROOT%%/config/profiles/groups/default.prg
+%%WWWROOT%%/config/profiles/hosts/default.prh
+%%WWWROOT%%/config/profiles/users/default.pru
+%%WWWROOT%%/config/.htaccess
+%%WWWROOT%%/config/lam.conf_sample
+%%WWWROOT%%/config/language
+%%WWWROOT%%/config/config.cfg_sample
+%%WWWROOT%%/config/shells
+%%WWWROOT%%/graphics/banner.jpg
+%%WWWROOT%%/graphics/printLogo.jpg
+%%WWWROOT%%/help/extFileExample.php
+%%WWWROOT%%/help/help_numbers.assign
+%%WWWROOT%%/help/help.inc
+%%WWWROOT%%/lib/font/makefont/cp1250.map
+%%WWWROOT%%/lib/font/makefont/cp1251.map
+%%WWWROOT%%/lib/font/makefont/cp1252.map
+%%WWWROOT%%/lib/font/makefont/cp1253.map
+%%WWWROOT%%/lib/font/makefont/cp1254.map
+%%WWWROOT%%/lib/font/makefont/cp1257.map
+%%WWWROOT%%/lib/font/makefont/iso-8859-1.map
+%%WWWROOT%%/lib/font/makefont/iso-8859-15.map
+%%WWWROOT%%/lib/font/makefont/iso-8859-16.map
+%%WWWROOT%%/lib/font/makefont/iso-8859-2.map
+%%WWWROOT%%/lib/font/makefont/iso-8859-4.map
+%%WWWROOT%%/lib/font/makefont/iso-8859-5.map
+%%WWWROOT%%/lib/font/makefont/iso-8859-7.map
+%%WWWROOT%%/lib/font/makefont/iso-8859-9.map
+%%WWWROOT%%/lib/font/makefont/koi8-r.map
+%%WWWROOT%%/lib/font/makefont/makefont.php
+%%WWWROOT%%/lib/font/courier.php
+%%WWWROOT%%/lib/font/helveticab.php
+%%WWWROOT%%/lib/font/helveticabi.php
+%%WWWROOT%%/lib/font/helveticai.php
+%%WWWROOT%%/lib/font/symbol.php
+%%WWWROOT%%/lib/font/times.php
+%%WWWROOT%%/lib/font/timesb.php
+%%WWWROOT%%/lib/font/timesbi.php
+%%WWWROOT%%/lib/font/timesi.php
+%%WWWROOT%%/lib/font/zapfdingbats.php
+%%WWWROOT%%/lib/font/helvetica.php
+%%WWWROOT%%/lib/account.inc
+%%WWWROOT%%/lib/config.inc
+%%WWWROOT%%/lib/createntlm.pl
+%%WWWROOT%%/lib/fpdf.php
+%%WWWROOT%%/lib/functions.js
+%%WWWROOT%%/lib/lamdaemon.pl
+%%WWWROOT%%/lib/profiles.inc
+%%WWWROOT%%/lib/status.inc
+%%WWWROOT%%/lib/ldap.inc
+%%WWWROOT%%/lib/.htaccess
+%%WWWROOT%%/lib/pdf.inc
+%%WWWROOT%%/locale/de_DE/LC_MESSAGES/messages.mo
+%%WWWROOT%%/locale/de_DE/LC_MESSAGES/messages.po
+%%WWWROOT%%/sess/.htaccess
+%%WWWROOT%%/style/layout.css
+%%WWWROOT%%/templates/lists/listgroups.php
+%%WWWROOT%%/templates/lists/listhosts.php
+%%WWWROOT%%/templates/lists/listusers.php
+%%WWWROOT%%/templates/lists/userlink.php
+%%WWWROOT%%/templates/lists/listdomains.php
+%%WWWROOT%%/templates/profedit/profilecreate.php
+%%WWWROOT%%/templates/profedit/profiledelete.php
+%%WWWROOT%%/templates/profedit/profilehost.php
+%%WWWROOT%%/templates/profedit/profilemain.php
+%%WWWROOT%%/templates/profedit/profileuser.php
+%%WWWROOT%%/templates/config/conflogin.php
+%%WWWROOT%%/templates/config/confmain.php
+%%WWWROOT%%/templates/config/confsave.php
+%%WWWROOT%%/templates/config/profmanage.php
+%%WWWROOT%%/templates/login.php
+%%WWWROOT%%/templates/logout.php
+%%WWWROOT%%/templates/main.php
+%%WWWROOT%%/templates/main_header.php
+%%WWWROOT%%/templates/ou_edit.php
+%%WWWROOT%%/templates/massdetail.php
+%%WWWROOT%%/templates/domain.php
+%%WWWROOT%%/templates/initsuff.php
+%%WWWROOT%%/templates/account.php
+%%WWWROOT%%/templates/masscreate.php
+%%WWWROOT%%/templates/delete.php
+%%WWWROOT%%/templates/help.php
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/HISTORY
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/README.fpdf
+%%PORTDOCS%%%%DOCSDIR%%/README.lamdaemon.pl
+%%PORTDOCS%%%%DOCSDIR%%/README.openldap
+%%PORTDOCS%%%%DOCSDIR%%/README.shells
+@dirrm %%PORTDOCS%%%%DOCSDIR%%
+@dirrm %%WWWROOT%%/graphics
+@dirrm %%WWWROOT%%/help
+@dirrm %%WWWROOT%%/lib/font/makefont
+@dirrm %%WWWROOT%%/lib/font
+@dirrm %%WWWROOT%%/lib
+@dirrm %%WWWROOT%%/locale/de_DE/LC_MESSAGES
+@dirrm %%WWWROOT%%/locale/de_DE
+@dirrm %%WWWROOT%%/locale
+@dirrm %%WWWROOT%%/style
+@dirrm %%WWWROOT%%/templates/lists
+@dirrm %%WWWROOT%%/templates/profedit
+@dirrm %%WWWROOT%%/templates/config
+@dirrm %%WWWROOT%%/templates
+@unexec rmdir %D/%%WWWROOT%%/config/profiles/groups 2>/dev/null || true
+@unexec rmdir %D/%%WWWROOT%%/config/profiles/hosts 2>/dev/null || true
+@unexec rmdir %D/%%WWWROOT%%/config/profiles/users 2>/dev/null || true
+@unexec rmdir %D/%%WWWROOT%%/config/profiles 2>/dev/null || true
+@unexec rmdir %D/%%WWWROOT%%/config 2>/dev/null || true
+@unexec rmdir %D/%%WWWROOT%%/sess || true
+@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