--- gpw-0.0.19940601.orig/gpw.c +++ gpw-0.0.19940601/gpw.c @@ -63,7 +63,7 @@ } } if (argc > 3 || password_length > 99 || - password_length < 0 || n_passwords < 0) { + password_length < 4 || n_passwords < 0) { printf (" USAGE: gpw [npasswds] [pwlength]\n"); exit (4); } --- gpw-0.0.19940601.orig/README +++ gpw-0.0.19940601/README @@ -1,4 +1,4 @@ -Fssword Generator +Password Generator This password generator gives you a list of ten "pronounceable" passwords. It is modeled after Morrie --- gpw-0.0.19940601.orig/Makefile.Debian +++ gpw-0.0.19940601/Makefile.Debian @@ -15,7 +15,7 @@ $(COMPILER) $(DEBUGARGS) -o gpw gpw.o trigram.h : loadtris - ./loadtris /usr/share/dict/words | sed "s/, }/}/" > trigram.h + ./loadtris /usr/share/dict/american-english | sed "s/, }/}/" > trigram.h gpw.o : gpw.c trigram.h $(COMPILER) $(DEBUGARGS) -o gpw.o -c gpw.c --- gpw-0.0.19940601.orig/debian/gpw.1 +++ gpw-0.0.19940601/debian/gpw.1 @@ -0,0 +1,65 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH GPW 1 "Aug 24, 2001" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +gpw \- program to generate pronounceable passwords +.SH SYNOPSIS +.B gpw +.RI [ number_of_passwords \ [ length_of_passwords ] ] +.SH DESCRIPTION +This manual page documents briefly the +.B gpw +command. +This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBGpw\fP is a program that generate pronounceable passwords of whatever +length is desidered. It uses the statistics of three-letter combinations +(trigraphs) of the english system dictionary. It is based on the ideas +in Morrie Gasser's password generator for Multics, and Dan Edwards's +generator for CTSS. FIPS Standard 181 describes a similar digraph-based +generator, derived from Gasser's. +.SH OPTIONS +This program accepts two optional numbers as command\-line arguments. +The first value is the number of password to generate, the second one is +the length of the passwords required, up to 99. +Defaults are 10 and 8 respectively. +.SH NOTE +Password length should be choosen consistently with the encryption +standard used. +.br +So, a value of eight is useful with DES encryption, and a longer value +should be used with MD5 encryption. +.SH SEE ALSO +.BR passwd (1), pwgen(1). +.br +.SH AUTHOR +This program has been written by Tom Van Vleck +in 1994. +.br +.SH CREDITS +Based on the ideas in Morrie Gasser's password generator for Multics, and Dan +Edwards's generator for CTSS. FIPS Standard 181 describes a similar +digraph-based generator, derived from Gasser's. +.br +This manual page was written by +Francesco P. Lovergine , +for the Debian GNU/Linux system (but may be used by others), who also +modified and packaged sources to port it under GNU/Linux. --- gpw-0.0.19940601.orig/debian/changelog +++ gpw-0.0.19940601/debian/changelog @@ -0,0 +1,69 @@ +gpw (0.0.19940601-8.1) unstable; urgency=medium + + * Non-maintainer upload. + * Build-depend on wamerican instead of wenglish. Thanks to Matt Kraai + for the patch. Closes: #355076. + + -- Matej Vela Fri, 10 Mar 2006 15:25:27 +0100 + +gpw (0.0.19940601-8) unstable; urgency=low + + * Policy updated. + * Copyright file revised. + * Typo in changelog. + + -- Francesco Paolo Lovergine Wed, 18 Dec 2002 12:40:22 +0100 + +gpw (0.0.19940601-7) unstable; urgency=low + + * Force the use of american-english dictionary in Makefile.Debian, + using /usr/share/dict/american-english instead of words. + + -- Francesco Paolo Lovergine Wed, 9 Oct 2002 14:36:55 +0200 + +gpw (0.0.19940601-6) unstable; urgency=low + + * Limits password_length to the range [4..99] + (Closes: #137865) + + -- Francesco Paolo Lovergine Mon, 11 Mar 2002 17:09:10 +0100 + +gpw (0.0.19940601-5) unstable; urgency=high + + * Changed make destination dir in rules files. The old one is incorrect + with current version of dhelp. + (Closes: #128806) + + -- Francesco Paolo Lovergine Mon, 14 Jan 2002 13:03:20 +0100 + +gpw (0.0.19940601-4) unstable; urgency=low + + * Rules file updated to current debhelper version. + + -- Francesco Paolo Lovergine Wed, 9 Jan 2002 10:50:06 +0100 + +gpw (0.0.19940601-3) unstable; urgency=low + + * Set correct section in gpw.1 man file. + + -- Francesco Paolo Lovergine Fri, 24 Aug 2001 15:27:45 +0200 + +gpw (0.0.19940601-2) unstable; urgency=low + + * Addeded Build-Depends: wenglish, debhelper in pkg control file. + Policy standard updated as required by latest lintian. + (Closes: #99648) + + -- Francesco Paolo Lovergine Sat, 2 Jun 2001 13:32:54 +0200 + +gpw (0.0.19940601-1) unstable; urgency=low + + * Initial Release. + * A Debian Makefile has been written + * Some syntax error which generate warnings with GCC have been corrected + + -- Francesco Paolo Lovergine Wed, 30 May 2001 19:29:37 +0200 + +Local variables: +mode: debian-changelog +End: --- gpw-0.0.19940601.orig/debian/control +++ gpw-0.0.19940601/debian/control @@ -0,0 +1,19 @@ +Source: gpw +Section: utils +Priority: optional +Maintainer: Francesco Paolo Lovergine +Build-Depends: debhelper (>> 3.0.0), wamerican +Standards-Version: 3.5.8 + +Package: gpw +Architecture: any +Depends: ${shlibs:Depends} +Description: Trigraph Password Generator + This package generates pronounceable passwords. It uses the statistics of + three-letter combinations (trigraphs) taken from whatever dictionaries you + feed it. + . + Thus pronounceability may differ from language to language. Based + on the ideas in Morrie Gasser's password generator for Multics, and Dan + Edwards's generator for CTSS. FIPS Standard 181 describes a similar + digraph-based generator, derived from Gasser's. --- gpw-0.0.19940601.orig/debian/manpages +++ gpw-0.0.19940601/debian/manpages @@ -0,0 +1 @@ +debian/gpw.1 --- gpw-0.0.19940601.orig/debian/copyright +++ gpw-0.0.19940601/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Francesco Paolo Lovergine on +Wed, 30 May 2001 19:29:37 +0200. + +It was downloaded from http://www.multicians.org/thvv/tvvtools.html + +Upstream Author: Tom Van Vleck + +Copyright: + +Copyright (c) 2001, Tom Van Vleck +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Give me credit, and all the other pioneers, if you use the algorithms. +4. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --- gpw-0.0.19940601.orig/debian/dirs +++ gpw-0.0.19940601/debian/dirs @@ -0,0 +1 @@ +usr/bin --- gpw-0.0.19940601.orig/debian/rules +++ gpw-0.0.19940601/debian/rules @@ -0,0 +1,73 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=3 + +build: build-stamp +build-stamp: + dh_testdir + + + # Add here commands to compile the package. + $(MAKE) -f Makefile.Debian + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) -f Makefile.Debian clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + $(MAKE) -f Makefile.Debian install DESTDIR=`pwd`/debian/gpw + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install +# dh_testversion + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs +# dh_installexamples +# dh_installmenu +# dh_installemacsen +# dh_installpam +# dh_installinit +# dh_installcron + dh_installman +# dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- gpw-0.0.19940601.orig/debian/docs +++ gpw-0.0.19940601/debian/docs @@ -0,0 +1 @@ +README