From owner-svn-src-user@freebsd.org Sat May 28 18:44:53 2016 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 70579B4ECAE for ; Sat, 28 May 2016 18:44:53 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3CA681AA1; Sat, 28 May 2016 18:44:53 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4SIiqCu042187; Sat, 28 May 2016 18:44:52 GMT (envelope-from des@FreeBSD.org) Received: (from des@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4SIiqFt042186; Sat, 28 May 2016 18:44:52 GMT (envelope-from des@FreeBSD.org) Message-Id: <201605281844.u4SIiqFt042186@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: des set sender to des@FreeBSD.org using -f From: =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= Date: Sat, 28 May 2016 18:44:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r300908 - user/des/fbce/lib/FBCE/Script X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2016 18:44:53 -0000 Author: des Date: Sat May 28 18:44:52 2016 New Revision: 300908 URL: https://svnweb.freebsd.org/changeset/base/300908 Log: Rename the file and tarball options. Add author and license. Modified: user/des/fbce/lib/FBCE/Script/User.pm Modified: user/des/fbce/lib/FBCE/Script/User.pm ============================================================================== --- user/des/fbce/lib/FBCE/Script/User.pm Sat May 28 18:28:28 2016 (r300907) +++ user/des/fbce/lib/FBCE/Script/User.pm Sat May 28 18:44:52 2016 (r300908) @@ -26,7 +26,7 @@ has dryrun => ( documentation => q{Dry run}, ); -has tarball => ( +has pwtarball => ( traits => [qw(Getopt)], cmd_aliases => 't', isa => Str, @@ -35,7 +35,7 @@ has tarball => ( default => 'fbce-passwords.tgz', ); -has file => ( +has pwfile => ( traits => [qw(Getopt)], cmd_aliases => 'f', isa => Str, @@ -305,10 +305,10 @@ sub cmd_pwgen($@) { if @argv; # Please don't overwrite an existing password tarball! - my $tarball = $self->tarball; + my $tarball = $self->pwtarball; die("$tarball exists, delete or move and try again\n") if -e $tarball; - my $pwfile = $self->file; + my $pwfile = $self->pwfile; # Generate enough passwords for everybody my $persons = FBCE->model('FBCE::Person')-> @@ -375,3 +375,14 @@ __PACKAGE__->meta->make_immutable; 1; # $FreeBSD$ + +=head1 AUTHOR + +Dag-Erling Smørgrav + +=head1 LICENSE + +This library is free software. You can redistribute it and/or modify +it under the same terms as Perl itself. + +=cut