From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Sprang Subject: Re: [PATCH] gnu: Add pwgen. Date: Wed, 19 Aug 2015 15:35:14 -0700 Message-ID: References: <87mvxndrd4.fsf@netris.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a11333df6002e17051db1a6bc Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSBx0-0003nt-K5 for guix-devel@gnu.org; Wed, 19 Aug 2015 18:35:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSBwy-0001pW-AT for guix-devel@gnu.org; Wed, 19 Aug 2015 18:35:18 -0400 Received: from mail-ob0-x231.google.com ([2607:f8b0:4003:c01::231]:35025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSBwy-0001lR-2l for guix-devel@gnu.org; Wed, 19 Aug 2015 18:35:16 -0400 Received: by obbwr7 with SMTP id wr7so17366488obb.2 for ; Wed, 19 Aug 2015 15:35:15 -0700 (PDT) In-Reply-To: <87mvxndrd4.fsf@netris.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Mark H Weaver Cc: guix-devel@gnu.org --001a11333df6002e17051db1a6bc Content-Type: multipart/alternative; boundary=001a11333df6002e12051db1a6ba --001a11333df6002e12051db1a6ba Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sure, here you go. -Steve On Wed, Aug 19, 2015 at 12:12 PM, Mark H Weaver wrote: > Steve Sprang writes: > > > From 54acc1b8327291b66120cc83e03b140c242393aa Mon Sep 17 00:00:00 2001 > > From: Steve Sprang > > Date: Tue, 18 Aug 2015 11:09:03 -0700 > > Subject: [PATCH] gnu: Add pwgen. > > > > * gnu/packages/password-utils.scm: New file. > > * gnu-system.am (GNU_SYSTEM_MODULES): Add it. > > --- > > gnu-system.am | 1 + > > gnu/packages/password-utils.scm | 43 > +++++++++++++++++++++++++++++++++++++++++ > > 2 files changed, 44 insertions(+) > > create mode 100644 gnu/packages/password-utils.scm > > > > diff --git a/gnu-system.am b/gnu-system.am > > index 9f46f7b..6a086dc 100644 > > --- a/gnu-system.am > > +++ b/gnu-system.am > > @@ -239,6 +239,7 @@ GNU_SYSTEM_MODULES =3D = \ > > gnu/packages/ots.scm \ > > gnu/packages/package-management.scm \ > > gnu/packages/parallel.scm \ > > + gnu/packages/password-utils.scm \ > > gnu/packages/patchutils.scm \ > > gnu/packages/pciutils.scm \ > > gnu/packages/pcre.scm \ > > diff --git a/gnu/packages/password-utils.scm > b/gnu/packages/password-utils.scm > > new file mode 100644 > > index 0000000..e13495f > > --- /dev/null > > +++ b/gnu/packages/password-utils.scm > > @@ -0,0 +1,43 @@ > > +;;; GNU Guix --- Functional package management for GNU > > +;;; Copyright =C2=A9 2015 Steve Sprang > > +;;; > > +;;; This file is part of GNU Guix. > > +;;; > > +;;; GNU Guix is free software; you can redistribute it and/or modify i= t > > +;;; under the terms of the GNU General Public License as published by > > +;;; the Free Software Foundation; either version 3 of the License, or > (at > > +;;; your option) any later version. > > +;;; > > +;;; GNU Guix is distributed in the hope that it will be useful, but > > +;;; WITHOUT ANY WARRANTY; without even the implied warranty of > > +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > +;;; GNU General Public License for more details. > > +;;; > > +;;; You should have received a copy of the GNU General Public License > > +;;; along with GNU Guix. If not, see . > > + > > +(define-module (gnu packages password-utils) > > + #:use-module ((guix licenses) #:prefix license:) > > + #:use-module (guix build-system gnu) > > + #:use-module (guix download) > > + #:use-module (guix packages)) > > + > > +(define-public pwgen > > + (package > > + (name "pwgen") > > + (version "2.07") > > + (source > > + (origin > > + (method url-fetch) > > + (uri (string-append "mirror://sourceforge/pwgen/pwgen-" > > + version ".tar.gz")) > > + (sha256 > > + (base32 > "0mhmw700kkh238fzivcwnwi94bj9f3h36yfh3k3j2v19b0zmjx7b")))) > > + (build-system gnu-build-system) > > + (arguments > > + `(#:tests? #f)) > > Please add a comment saying why tests are disabled. In this case, maybe: > > (arguments > `(#:tests? #f)) ; no test suite > > > + (home-page "http://pwgen.sourceforge.net/") > > + (synopsis "Password generator") > > + (description "Pwgen generates passwords which can be easily > memorized by a > > +human.") > > + (license license:gpl1))) > > According to debian/copyright, included in the upstream tarball, the > license is gpl2. > > Can you send an updated patch? > > Thanks! > Mark > --001a11333df6002e12051db1a6ba Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sure, here you go.

-Steve

On Wed, Aug 19, 2015 a= t 12:12 PM, Mark H Weaver <mhw@netris.org> wrote:
Steve Sprang <steve.sprang@gmail.com> writes:

> From 54acc1b8327291b66120cc83e03b140c242393aa Mon Sep 17 00:00:00 2001=
> From: Steve Sprang <scs@stev= esprang.com>
> Date: Tue, 18 Aug 2015 11:09:03 -0700
> Subject: [PATCH] gnu: Add pwgen.
>
> * gnu/packages/password-utils.scm: New file.
> * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
> ---
>=C2=A0 gnu-system.am=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0|=C2=A0 1 +
>=C2=A0 gnu/packages/password-utils.scm | 43 +++++++++++++++++++++++++++= ++++++++++++++
>=C2=A0 2 files changed, 44 insertions(+)
>=C2=A0 create mode 100644 gnu/packages/password-utils.scm
>
> diff --git a/gnu-system.am b/gnu-system.am
> index 9f46f7b..6a086dc 100644
> --- a/gnu-system.am
> +++ b/gnu-system.am
> @@ -239,6 +239,7 @@ GNU_SYSTEM_MODULES =3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 \
>=C2=A0 =C2=A0 gnu/packages/ots.scm=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0\
>=C2=A0 =C2=A0 gnu/packages/package-management.scm=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \
>=C2=A0 =C2=A0 gnu/packages/parallel.scm=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \
> +=C2=A0 gnu/packages/password-utils.scm=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 \
>=C2=A0 =C2=A0 gnu/packages/patchutils.scm=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \
>=C2=A0 =C2=A0 gnu/packages/pciutils.scm=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \
>=C2=A0 =C2=A0 gnu/packages/pcre.scm=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \
> diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-u= tils.scm
> new file mode 100644
> index 0000000..e13495f
> --- /dev/null
> +++ b/gnu/packages/password-utils.scm
> @@ -0,0 +1,43 @@
> +;;; GNU Guix --- Functional package management for GNU
> +;;; Copyright =C2=A9 2015 Steve Sprang <scs@stevesprang.com>
> +;;;
> +;;; This file is part of GNU Guix.
> +;;;
> +;;; GNU Guix is free software; you can redistribute it and/or modify = it
> +;;; under the terms of the GNU General Public License as published by=
> +;;; the Free Software Foundation; either version 3 of the License, or= (at
> +;;; your option) any later version.
> +;;;
> +;;; GNU Guix is distributed in the hope that it will be useful, but > +;;; WITHOUT ANY WARRANTY; without even the implied warranty of
> +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.=C2=A0 See th= e
> +;;; GNU General Public License for more details.
> +;;;
> +;;; You should have received a copy of the GNU General Public License=
> +;;; along with GNU Guix.=C2=A0 If not, see <http://www.gnu.org/= licenses/>.
> +
> +(define-module (gnu packages password-utils)
> +=C2=A0 #:use-module ((guix licenses) #:prefix license:)
> +=C2=A0 #:use-module (guix build-system gnu)
> +=C2=A0 #:use-module (guix download)
> +=C2=A0 #:use-module (guix packages))
> +
> +(define-public pwgen
> +=C2=A0 (package
> +=C2=A0 =C2=A0 (name "pwgen")
> +=C2=A0 =C2=A0 (version "2.07")
> +=C2=A0 =C2=A0 (source
> +=C2=A0 =C2=A0 =C2=A0(origin
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0(method url-fetch)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0(uri (string-append "mirror://sourcef= orge/pwgen/pwgen-"
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0version ".tar.gz"))
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0(sha256
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 (base32 "0mhmw700kkh238fzivcwnwi94bj= 9f3h36yfh3k3j2v19b0zmjx7b"))))
> +=C2=A0 =C2=A0 (build-system gnu-build-system)
> +=C2=A0 =C2=A0 (arguments
> +=C2=A0 =C2=A0 =C2=A0`(#:tests? #f))

Please add a comment saying why tests are disabled.=C2=A0 In this case, may= be:

=C2=A0 =C2=A0 (arguments
=C2=A0 =C2=A0 =C2=A0`(#:tests? #f))=C2=A0 ; no test suite

> +=C2=A0 =C2=A0 (home-page "http://pwgen.sourceforge.net/&= quot;)
> +=C2=A0 =C2=A0 (synopsis "Password generator")
> +=C2=A0 =C2=A0 (description "Pwgen generates passwords which can = be easily memorized by a
> +human.")
> +=C2=A0 =C2=A0 (license license:gpl1)))

According to debian/copyright, included in the upstream tarball, the
license is gpl2.

Can you send an updated patch?

=C2=A0 =C2=A0 =C2=A0Thanks!
=C2=A0 =C2=A0 =C2=A0 =C2=A0M= ark

--001a11333df6002e12051db1a6ba-- --001a11333df6002e17051db1a6bc Content-Type: text/x-patch; charset=UTF-8; name="pwgen2.patch" Content-Disposition: attachment; filename="pwgen2.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_idjcxm8o0 RnJvbSBlZDA2M2U3ZjFmMTYzOThjZDA2MDg4YTQwODVjMTVlYTVkYmZlZDA4IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGV2ZSBTcHJhbmcgPHNjc0BzdGV2ZXNwcmFuZy5jb20+CkRh dGU6IFdlZCwgMTkgQXVnIDIwMTUgMTU6MzM6MDQgLTA3MDAKU3ViamVjdDogW1BBVENIXSBnbnU6 IEFkZCBwd2dlbi4KCiogZ251L3BhY2thZ2VzL3Bhc3N3b3JkLXV0aWxzLnNjbTogTmV3IGZpbGUu CiogZ251LXN5c3RlbS5hbSAoR05VX1NZU1RFTV9NT0RVTEVTKTogQWRkIGl0LgotLS0KIGdudS1z eXN0ZW0uYW0gICAgICAgICAgICAgICAgICAgfCAgMSArCiBnbnUvcGFja2FnZXMvcGFzc3dvcmQt dXRpbHMuc2NtIHwgNDMgKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysK IDIgZmlsZXMgY2hhbmdlZCwgNDQgaW5zZXJ0aW9ucygrKQogY3JlYXRlIG1vZGUgMTAwNjQ0IGdu dS9wYWNrYWdlcy9wYXNzd29yZC11dGlscy5zY20KCmRpZmYgLS1naXQgYS9nbnUtc3lzdGVtLmFt IGIvZ251LXN5c3RlbS5hbQppbmRleCAxNDdhYmZjLi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lCisgICAgKG5hbWUgInB3Z2VuIikKKyAgICAodmVy c2lvbiAiMi4wNyIpCisgICAgKHNvdXJjZQorICAgICAob3JpZ2luCisgICAgICAgKG1ldGhvZCB1 cmwtZmV0Y2gpCisgICAgICAgKHVyaSAoc3RyaW5nLWFwcGVuZCAibWlycm9yOi8vc291cmNlZm9y Z2UvcHdnZW4vcHdnZW4tIgorICAgICAgICAgICAgICAgICAgICAgICAgICAgdmVyc2lvbiAiLnRh ci5neiIpKQorICAgICAgIChzaGEyNTYKKyAgICAgICAgKGJhc2UzMiAiMG1obXc3MDBra2gyMzhm eml2Y3dud2k5NGJqOWYzaDM2eWZoM2szajJ2MTliMHptang3YiIpKSkpCisgICAgKGJ1aWxkLXN5 c3RlbSBnbnUtYnVpbGQtc3lzdGVtKQorICAgIChhcmd1bWVudHMKKyAgICAgYCgjOnRlc3RzPyAj ZikpIDsgbm8gdGVzdCBzdWl0ZQorICAgIChob21lLXBhZ2UgImh0dHA6Ly9wd2dlbi5zb3VyY2Vm b3JnZS5uZXQvIikKKyAgICAoc3lub3BzaXMgIlBhc3N3b3JkIGdlbmVyYXRvciIpCisgICAgKGRl c2NyaXB0aW9uICJQd2dlbiBnZW5lcmF0ZXMgcGFzc3dvcmRzIHdoaWNoIGNhbiBiZSBlYXNpbHkg bWVtb3JpemVkIGJ5IGEKK2h1bWFuLiIpCisgICAgKGxpY2Vuc2UgbGljZW5zZTpncGwyKSkpCi0t IAoyLjQuMwoK --001a11333df6002e17051db1a6bc--