aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/lugtools/Makefile48
-rw-r--r--sysutils/lugtools/distinfo3
-rw-r--r--sysutils/lugtools/pkg-descr10
4 files changed, 62 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 31161ac64a3a..a35f93a7e0a6 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -364,6 +364,7 @@
SUBDIR += lookupd_ldap
SUBDIR += lsof
SUBDIR += ltrace
+ SUBDIR += lugtools
SUBDIR += luma
SUBDIR += lxsplit
SUBDIR += magicrescue
diff --git a/sysutils/lugtools/Makefile b/sysutils/lugtools/Makefile
new file mode 100644
index 000000000000..52565a014030
--- /dev/null
+++ b/sysutils/lugtools/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: lugtools
+# Date created: 20 April 2007
+# Whom: kitsune
+#
+# $FreeBSD$
+#
+
+PORTNAME= lugtools
+PORTVERSION= 0.1.0
+CATEGORIES= sysutils net
+MASTER_SITES= http://vvelox.net/src/ldap/
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= vvelox@vvelox.net
+COMMENT= Handles creation and removal of LDAP POSIX user and groups
+
+WANT_OPENLDAP_VER?= 23
+.if (${WANT_OPENLDAP_VER} != 21) && (${WANT_OPENLDAP_VER} != 22) && (${WANT_OPENLDAP_VER} != 23) && (${WANT_OPENLDAP_VER} != 24)
+BROKEN= Incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}
+.endif
+
+RUN_DEPENDS+= ldapadd:${PORTSDIR}/net/openldap${WANT_OPENLDAP_VER}-client
+
+USE_PERL5= yes
+
+PLIST_FILES= bin/lgadd bin/lgrm bin/lpwo bin/luadd bin/lurm
+
+MAN1= lpwo.1 \
+ luadd.1 \
+ lurm.1
+
+MAN5= dotlugtools.5
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+#nothing to configure
+do-configure:
+ @${ECHO} -n
+
+#nothing to build
+do-build:
+ @${ECHO} -n
+
+do-install:
+ @${EXEC} cd ${WRKDIR}/${PORTNAME}/ ; ${WRKDIR}/${PORTNAME}/install ${PREFIX}
+
+.include <bsd.port.mk>
diff --git a/sysutils/lugtools/distinfo b/sysutils/lugtools/distinfo
new file mode 100644
index 000000000000..b7147edcc4b8
--- /dev/null
+++ b/sysutils/lugtools/distinfo
@@ -0,0 +1,3 @@
+MD5 (lugtools-0.1.0.tgz) = e121f1ba0c909275d2d65686f6436e7f
+SHA256 (lugtools-0.1.0.tgz) = c68c764f5fa28c2aa964a1c7e4b002445e3e88aabcaf0270ead9d322c244cff2
+SIZE (lugtools-0.1.0.tgz) = 8356
diff --git a/sysutils/lugtools/pkg-descr b/sysutils/lugtools/pkg-descr
new file mode 100644
index 000000000000..43c2883c7d49
--- /dev/null
+++ b/sysutils/lugtools/pkg-descr
@@ -0,0 +1,10 @@
+A set of shell scripts for managing LDAP POSIX user and group creation
+and removal.
+
+lgadd - add a LDAP group
+lgrm - remove a LDAP group
+lpwo - change a LDAP password
+luadd - add a LDAP user
+lurm - remove a LDAP user
+
+WWW: http://vvelox.net/projects/lugtools/