aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/usermatic/Makefile48
-rw-r--r--sysutils/usermatic/distinfo2
-rw-r--r--sysutils/usermatic/pkg-descr19
-rw-r--r--sysutils/usermatic/pkg-plist16
5 files changed, 86 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 78cffe0a3100..1755273bff62 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -415,6 +415,7 @@
SUBDIR += uschedule
SUBDIR += userinfo
SUBDIR += userlist
+ SUBDIR += usermatic
SUBDIR += usermin
SUBDIR += userneu
SUBDIR += userneu-devel
diff --git a/sysutils/usermatic/Makefile b/sysutils/usermatic/Makefile
new file mode 100644
index 000000000000..496bd9973829
--- /dev/null
+++ b/sysutils/usermatic/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: usermatic
+# Date created: 10 Januar 2004
+# Whom: Andreas Fehlner (fehlner@gmx.de)
+#
+# $FreeBSD$
+#
+
+PORTNAME= usermatic
+PORTVERSION= 0.6.1
+CATEGORIES= sysutils
+MASTER_SITES= http://btmdx8.mat.uni-bayreuth.de/~johannes/usermatic/\
+ http://home.arcor.de/fehlner/inhalt/download/\
+ http://home.arcor.de/teambushido/
+
+MAINTAINER= fehlner@gmx.de
+COMMENT= Scripts to automate the maintenance of accounts
+
+NO_BUILD= yes
+USE_PERL5_RUN= yes
+
+MAN1= digestion.pl.1
+MAN8= hunter-seeker.pl.8 newusers.pl.8 reaper.pl.8
+
+DOCS= Artistic COPYING README CHANGES \
+ doc/digestion.pl.pod doc/hunter-seeker.pl.pod \
+ doc/reaper.pl.pod
+EXAMPLES= digestion/list_digested digestion/list_raw \
+ newusers/sums_to_ignore
+
+RUN_DEPENDS+= ${PREFIX}/sbin/userneu.pl:${PORTSDIR}/sysutils/userneu
+
+do-install:
+ cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1
+ cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN8} ${MANPREFIX}/man/man8
+
+ cd ${WRKSRC}/digestion && ${INSTALL_SCRIPT} digestion.pl ${PREFIX}/sbin
+ cd ${WRKSRC}/hunter-seeker && ${INSTALL_SCRIPT} hunter-seeker.pl \
+ ${PREFIX}/sbin
+ cd ${WRKSRC}/reaper && ${INSTALL_SCRIPT} reaper.pl ${PREFIX}/sbin
+ cd ${WRKSRC}/newusers && ${INSTALL_SCRIPT} newusers.pl ${PREFIX}/sbin
+ @${MKDIR} ${EXAMPLESDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/usermatic/distinfo b/sysutils/usermatic/distinfo
new file mode 100644
index 000000000000..89144e577709
--- /dev/null
+++ b/sysutils/usermatic/distinfo
@@ -0,0 +1,2 @@
+MD5 (usermatic-0.6.1.tar.gz) = 167f2ee870d2f7fe9081ccc2fd42af5e
+SIZE (usermatic-0.6.1.tar.gz) = 17633
diff --git a/sysutils/usermatic/pkg-descr b/sysutils/usermatic/pkg-descr
new file mode 100644
index 000000000000..90c7ceb7d238
--- /dev/null
+++ b/sysutils/usermatic/pkg-descr
@@ -0,0 +1,19 @@
+usermatic
+
+is a collection of Perl scripts to automate maintenance of the
+user database on Linux and FreeBSD. Originally it was developed for
+FreeBSD, but it should work on Linux as well. These scripts compare the
+passwd database to the current list of employees/students/etc. which has
+to be supplied in a suitable format. This package was designed to work
+together with userneu.pl (sysutils/userneu/) and contains no facilities
+to do the actual account creation work, instead it outputs a list suitable
+for processing with userneu. Stale accounts can be deleted using the reaper.pl
+script.
+
+These scripts are experimental but they should work ok.
+Please report bugs to me if you find them.
+
+WWW: http://btmdx8.mat.uni-bayreuth.de/~johannes/usermatic/usermatic.html
+
+-Andreas Fehlner
+fehlner@gmx.de
diff --git a/sysutils/usermatic/pkg-plist b/sysutils/usermatic/pkg-plist
new file mode 100644
index 000000000000..d5cee053a407
--- /dev/null
+++ b/sysutils/usermatic/pkg-plist
@@ -0,0 +1,16 @@
+sbin/digestion.pl
+sbin/hunter-seeker.pl
+sbin/reaper.pl
+sbin/newusers.pl
+%%PORTDOCS%%%%DOCSDIR%%/Artistic
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/digestion.pl.pod
+%%PORTDOCS%%%%DOCSDIR%%/hunter-seeker.pl.pod
+%%PORTDOCS%%%%DOCSDIR%%/reaper.pl.pod
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%EXAMPLESDIR%%/list_digested
+%%EXAMPLESDIR%%/list_raw
+%%EXAMPLESDIR%%/sums_to_ignore
+@dirrm %%EXAMPLESDIR%%