Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  9 Jul 2004 19:00:11 +0200 (CEST)
From:      Andreas Fehlner <fehlner@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68870: [NEW PORT] sysutils/usermatic: Scripts to automate the maintenance of accounts
Message-ID:  <20040709170011.7CCDB6E@btmdx8.mat.uni-bayreuth.de>
Resent-Message-ID: <200407091700.i69H0Yu2000647@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         68870
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/usermatic: Scripts to automate the maintenance of accounts
>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:   Fri Jul 09 17:00:33 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Fehlner
>Release:        FreeBSD 4.9-RC i386
>Organization:
>Environment:
System: FreeBSD btmdx8.mat.uni-bayreuth.de 4.9-RC FreeBSD 4.9-RC #0: Tue Sep 30 12:53:20 CEST 2003
>Description:
Updates ports/62583

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

>How-To-Repeat:
>Fix:

--- usermatic-0.6.1.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:
#
#	usermatic
#	usermatic/pkg-plist
#	usermatic/pkg-descr
#	usermatic/distinfo
#	usermatic/Makefile
#
echo c - usermatic
mkdir -p usermatic > /dev/null 2>&1
echo x - usermatic/pkg-plist
sed 's/^X//' >usermatic/pkg-plist << 'END-of-usermatic/pkg-plist'
Xsbin/digestion.pl
Xsbin/hunter-seeker.pl
Xsbin/reaper.pl
Xsbin/newusers.pl
X%%PORTDOCS%%%%DOCSDIR%%/Artistic
X%%PORTDOCS%%%%DOCSDIR%%/COPYING
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/CHANGES
X%%PORTDOCS%%%%DOCSDIR%%/digestion.pl.pod
X%%PORTDOCS%%%%DOCSDIR%%/hunter-seeker.pl.pod
X%%PORTDOCS%%%%DOCSDIR%%/reaper.pl.pod
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%EXAMPLESDIR%%/list_digested
X%%EXAMPLESDIR%%/list_raw
X%%EXAMPLESDIR%%/sums_to_ignore
X@dirrm %%EXAMPLESDIR%%
END-of-usermatic/pkg-plist
echo x - usermatic/pkg-descr
sed 's/^X//' >usermatic/pkg-descr << 'END-of-usermatic/pkg-descr'
Xusermatic
X
Xis a collection of Perl scripts to automate maintenance of the
Xuser database on Linux and FreeBSD. Originally it was developed for
XFreeBSD, but it should work on Linux as well. These scripts compare the
Xpasswd database to the current list of employees/students/etc. which has
Xto be supplied in a suitable format. This package was designed to work
Xtogether with userneu.pl (sysutils/userneu/) and contains no facilities 
Xto do the actual account creation work, instead it outputs a list suitable 
Xfor processing with userneu. Stale accounts can be deleted using the reaper.pl
Xscript.
X
XThese scripts are experimental but they should work ok. 
XPlease report bugs to me if you find them.
X
XWWW: http://btmdx8.mat.uni-bayreuth.de/~johannes/usermatic/usermatic.html
X
X-Andreas Fehlner
Xfehlner@gmx.de
END-of-usermatic/pkg-descr
echo x - usermatic/distinfo
sed 's/^X//' >usermatic/distinfo << 'END-of-usermatic/distinfo'
XMD5 (usermatic-0.6.1.tar.gz) = 167f2ee870d2f7fe9081ccc2fd42af5e
XSIZE (usermatic-0.6.1.tar.gz) = 17633
END-of-usermatic/distinfo
echo x - usermatic/Makefile
sed 's/^X//' >usermatic/Makefile << 'END-of-usermatic/Makefile'
X# New ports collection makefile for:	usermatic
X# Date created:		10 Januar 2004
X# Whom:			Andreas Fehlner (fehlner@gmx.de)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	usermatic
XPORTVERSION=	0.6.1
XCATEGORIES=	sysutils
XMASTER_SITES=	http://btmdx8.mat.uni-bayreuth.de/~johannes/usermatic/\
X		http://home.arcor.de/fehlner/inhalt/download/\
X		http://home.arcor.de/teambushido/
X
XMAINTAINER=	fehlner@gmx.de
XCOMMENT=	Scripts to automate the maintenance of accounts
X
XUSE_PERL5_RUN=	yes
X
XMAN1=	digestion.pl.1
XMAN8=	hunter-seeker.pl.8 newusers.pl.8 reaper.pl.8
X
XDOCS=		Artistic COPYING README CHANGES \
X		doc/digestion.pl.pod doc/hunter-seeker.pl.pod \
X		doc/reaper.pl.pod
XEXAMPLES=	digestion/list_digested digestion/list_raw \
X		newusers/sums_to_ignore
X
XRUN_DEPENDS+=	${PREFIX}/sbin/userneu.pl:${PORTSDIR}/sysutils/userneu
X
Xdo-install:
X	cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1
X	cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN8} ${MANPREFIX}/man/man8
X
X	cd ${WRKSRC}/digestion && ${INSTALL_SCRIPT}  digestion.pl ${PREFIX}/sbin
X	cd ${WRKSRC}/hunter-seeker && ${INSTALL_SCRIPT} hunter-seeker.pl \
X		${PREFIX}/sbin
X	cd ${WRKSRC}/reaper && ${INSTALL_SCRIPT} reaper.pl ${PREFIX}/sbin
X	cd ${WRKSRC}/newusers && ${INSTALL_SCRIPT} newusers.pl ${PREFIX}/sbin
X	@${MKDIR} ${EXAMPLESDIR}
X	cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-usermatic/Makefile
exit
--- usermatic-0.6.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040709170011.7CCDB6E>