Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2003 17:12:19 +0100 (CET)
From:      Andreas Fehlner <fehlner@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/59588: [NEW PORT] sysutils/userneu-devel: Account management and creation tool
Message-ID:  <20031122161219.9FBFA35@btmdx8.mat.uni-bayreuth.de>
Resent-Message-ID: <200311221620.hAMGK4V6076311@freefall.freebsd.org>

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

>Number:         59588
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/userneu-devel: Account management and creation tool
>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 Nov 22 08:20:04 PST 2003
>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:
'userneu' is a Perl script that parses a list of usernames and additional
information (such as the real name or other information to be put in the 
GECOS field in /etc/passwd) and creates Unix accounts and (if desired)
Samba accounts as well. If the script stumbles upon duplicate user names
it can append random characters to the username until it fits.

WWW: http://btmdx8.mat.uni-bayreuth.de/~johannes/code.html

-Andreas Fehlner
fehlner@gmx.de

>How-To-Repeat:
>Fix:

--- userneu-devel-1.43.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:
#
#	userneu-devel
#	userneu-devel/pkg-plist
#	userneu-devel/pkg-descr
#	userneu-devel/distinfo
#	userneu-devel/Makefile
#
echo c - userneu-devel
mkdir -p userneu-devel > /dev/null 2>&1
echo x - userneu-devel/pkg-plist
sed 's/^X//' >userneu-devel/pkg-plist << 'END-of-userneu-devel/pkg-plist'
Xsbin/userneu.pl
Xsbin/smbrepair.pl
Xsbin/userquick
X%%PORTDOCS%%%%DOCSDIR%%/BUGS
X%%PORTDOCS%%%%DOCSDIR%%/CHANGES
X%%PORTDOCS%%%%DOCSDIR%%/REQUIREMENTS
X%%PORTDOCS%%%%DOCSDIR%%/TODO
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL
X%%PORTDOCS%%%%DOCSDIR%%/CREDITS
X%%PORTDOCS%%%%DOCSDIR%%/userneu.pod
X%%PORTDOCS%%%%DOCSDIR%%/userneu.conf.pod
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%EXAMPLESDIR%%/userlist
X%%EXAMPLESDIR%%/userneu.conf.example
X@dirrm %%EXAMPLESDIR%%
END-of-userneu-devel/pkg-plist
echo x - userneu-devel/pkg-descr
sed 's/^X//' >userneu-devel/pkg-descr << 'END-of-userneu-devel/pkg-descr'
X'userneu' is a Perl script that parses a list of usernames and additional
Xinformation (such as the real name or other information to be put in the 
XGECOS field in /etc/passwd) and creates Unix accounts and (if desired)
XSamba accounts as well. If the script stumbles upon duplicate user names
Xit can append random characters to the username until it fits.
X
XWWW: http://btmdx8.mat.uni-bayreuth.de/~johannes/code.html
X
X-Andreas Fehlner
Xfehlner@gmx.de
END-of-userneu-devel/pkg-descr
echo x - userneu-devel/distinfo
sed 's/^X//' >userneu-devel/distinfo << 'END-of-userneu-devel/distinfo'
XMD5 (userneu-1.43b.tar.gz) = 024f6639646e6adfedd4f16a399ecf97
END-of-userneu-devel/distinfo
echo x - userneu-devel/Makefile
sed 's/^X//' >userneu-devel/Makefile << 'END-of-userneu-devel/Makefile'
X# New ports collection makefile for:	userneu-devel
X# Date created:		22 November 2003
X# Whom:			Andreas Fehlner (fehlner@gmx.de)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	userneu
XPORTVERSION=	1.43
XCATEGORIES=	sysutils
XMASTER_SITES=	http://btmdx8.mat.uni-bayreuth.de/~johannes/files/userneu/ \
X		http://home.arcor.de/fehlner/inhalt/download/
XPKGNAMESUFFIX=	-devel
XDISTNAME=	${PORTNAME}-${PORTVERSION}b
X
XMAINTAINER=	fehlner@gmx.de
XCOMMENT=	Account management and creation tool
X
XRUN_DEPENDS=	\
X    ${SITE_PERL}/Crypt/PasswdMD5.pm:${PORTSDIR}/security/p5-Crypt-PasswdMD5/ \
X    ${SITE_PERL}/Crypt/RandPasswd.pm:${PORTSDIR}/security/p5-Crypt-RandPasswd/ \
X    ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5/
X
XUSE_PERL5=	yes
XNO_BUILD=	yes
X
XSCRIPTS=	userneu.pl smbrepair.pl
XMAN5=		userneu.conf.5
XMAN8=		userneu.8
XDOCS=		BUGS CHANGES CREDITS REQUIREMENTS TODO \
X		doc/README doc/INSTALL doc/userneu.pod doc/userneu.conf.pod
XEXAMPLES=	userlist userneu.conf.example
X
Xdo-install:
X	cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN8} ${MANPREFIX}/man/man8
X	cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN5} ${MANPREFIX}/man/man5
X	cd ${WRKSRC} && ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/sbin
X	${LN} ${PREFIX}/sbin/userneu.pl ${PREFIX}/sbin/userquick
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-userneu-devel/Makefile
exit
--- userneu-devel-1.43.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?20031122161219.9FBFA35>