From 8c57d8790a51a3dba246d04103937ce91c2dca5a Mon Sep 17 00:00:00 2001 From: edwin Date: Fri, 16 Jan 2004 01:33:12 +0000 Subject: [REPOCOPY WAITING] sysutils/userneu-devel: Account management and creation tool '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/userneu/userneu.html -Andreas Fehlner fehlner@gmx.de PR: ports/60584 Submitted by: Andreas Fehlner --- sysutils/Makefile | 1 + sysutils/userneu-devel/Makefile | 32 +++++++++++++++++++------------- sysutils/userneu-devel/distinfo | 2 +- sysutils/userneu-devel/pkg-descr | 2 +- sysutils/userneu-devel/pkg-plist | 15 +++------------ 5 files changed, 25 insertions(+), 27 deletions(-) (limited to 'sysutils') diff --git a/sysutils/Makefile b/sysutils/Makefile index 2f2b704abc1d..e38125b967af 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -360,6 +360,7 @@ SUBDIR += userlist SUBDIR += usermin SUBDIR += userneu + SUBDIR += userneu-devel SUBDIR += utcount SUBDIR += uwatch SUBDIR += vcp diff --git a/sysutils/userneu-devel/Makefile b/sysutils/userneu-devel/Makefile index 14dd38a1e410..0b0bb5a88c1d 100644 --- a/sysutils/userneu-devel/Makefile +++ b/sysutils/userneu-devel/Makefile @@ -1,42 +1,48 @@ -# New ports collection makefile for: userneu -# Date created: 7 August 2003 +# New ports collection makefile for: userneu-devel +# Date created: 22 November 2003 # Whom: Andreas Fehlner (fehlner@gmx.de) # # $FreeBSD$ # PORTNAME= userneu -PORTVERSION= 1.38 +PORTVERSION= 1.43 CATEGORIES= sysutils MASTER_SITES= http://btmdx8.mat.uni-bayreuth.de/~johannes/files/userneu/ \ http://home.arcor.de/fehlner/inhalt/download/ -DISTNAME= ${PORTNAME}-${PORTVERSION}_1 +PKGNAMESUFFIX= -devel +DISTNAME= ${PORTNAME}-${PORTVERSION}b MAINTAINER= fehlner@gmx.de COMMENT= Account management and creation tool RUN_DEPENDS= \ - ${SITE_PERL}/Crypt/PasswdMD5.pm:${PORTSDIR}/security/p5-Crypt-PasswdMD5 \ - ${SITE_PERL}/Crypt/RandPasswd.pm:${PORTSDIR}/security/p5-Crypt-RandPasswd \ - ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 + ${SITE_PERL}/Crypt/PasswdMD5.pm:${PORTSDIR}/security/p5-Crypt-PasswdMD5/ \ + ${SITE_PERL}/Crypt/RandPasswd.pm:${PORTSDIR}/security/p5-Crypt-RandPasswd/ \ + ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5/ USE_PERL5= yes NO_BUILD= yes -SCRIPTS= userneu.pl userquick.pl smbrepair.pl -MAN8= userneu.8 userquick.8 -DOCS= BUGS CHANGES CREDITS REQUIREMENTS TODO \ - doc/README doc/INSTALL doc/userneu.pod doc/userquick.pod -EXAMPLES= list-sample +CONFLICTS= userneu + +SCRIPTS= userneu.pl smbrepair.pl +MAN5= userneu.conf.5 +MAN8= userneu.8 +PORTDOCS= BUGS CHANGES CREDITS REQUIREMENTS TODO \ + doc/README doc/INSTALL doc/userneu.pod doc/userneu.conf.pod +EXAMPLES= userlist userneu.conf.example do-install: cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN8} ${MANPREFIX}/man/man8 + cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN5} ${MANPREFIX}/man/man5 cd ${WRKSRC} && ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/sbin + ${LN} ${PREFIX}/sbin/userneu.pl ${PREFIX}/sbin/userquick @${MKDIR} ${EXAMPLESDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif .include diff --git a/sysutils/userneu-devel/distinfo b/sysutils/userneu-devel/distinfo index 54f6edf21088..32c2cd582076 100644 --- a/sysutils/userneu-devel/distinfo +++ b/sysutils/userneu-devel/distinfo @@ -1 +1 @@ -MD5 (userneu-1.38_1.tar.gz) = 069cfe28ab1b8eed8a7847c9f9e3fb87 +MD5 (userneu-1.43b.tar.gz) = 024f6639646e6adfedd4f16a399ecf97 diff --git a/sysutils/userneu-devel/pkg-descr b/sysutils/userneu-devel/pkg-descr index eede843d9639..bac3b5667c55 100644 --- a/sysutils/userneu-devel/pkg-descr +++ b/sysutils/userneu-devel/pkg-descr @@ -4,7 +4,7 @@ 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 +WWW: http://btmdx8.mat.uni-bayreuth.de/~johannes/userneu/userneu.html -Andreas Fehlner fehlner@gmx.de diff --git a/sysutils/userneu-devel/pkg-plist b/sysutils/userneu-devel/pkg-plist index 931417cbb340..71877e2b4af9 100644 --- a/sysutils/userneu-devel/pkg-plist +++ b/sysutils/userneu-devel/pkg-plist @@ -1,15 +1,6 @@ sbin/userneu.pl -sbin/userquick.pl sbin/smbrepair.pl -%%PORTDOCS%%%%DOCSDIR%%/BUGS -%%PORTDOCS%%%%DOCSDIR%%/CHANGES -%%PORTDOCS%%%%DOCSDIR%%/REQUIREMENTS -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%%%DOCSDIR%%/CREDITS -%%PORTDOCS%%%%DOCSDIR%%/userneu.pod -%%PORTDOCS%%%%DOCSDIR%%/userquick.pod -%%PORTDOCS%%@dirrm %%DOCSDIR%% -%%EXAMPLESDIR%%/list-sample +sbin/userquick +%%EXAMPLESDIR%%/userlist +%%EXAMPLESDIR%%/userneu.conf.example @dirrm %%EXAMPLESDIR%% -- cgit