]> eyrie.org Git - kerberos/krb5-strength.git/commitdiff
Merge tag 'upstream/2.1' into debian
authorRuss Allbery <rra@stanford.edu>
Fri, 11 Oct 2013 00:09:05 +0000 (17:09 -0700)
committerRuss Allbery <rra@stanford.edu>
Fri, 11 Oct 2013 00:09:05 +0000 (17:09 -0700)
Upstream version 2.1

debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
debian/source/local-options [new file with mode: 0644]
debian/source/local-patch-header [new file with mode: 0644]
debian/source/options [new file with mode: 0644]
debian/watch [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..070d586
--- /dev/null
@@ -0,0 +1,106 @@
+krb5-strength (2.0-1) unstable; urgency=low
+
+  * Initial upload to Debian.  (Closes: #725753)
+  * New upstream release.
+    - Add native support for the MIT Kerberos password quality plugin
+      interface included in MIT Kerberos 1.9 and later.
+    - Stop building the Heimdal plugin.  Heimdal prefers using an external
+      check program anyway.
+    - Add support for TinyCDB dictionaries with a simpler dictionary
+      lookup algorithm.  This allows use of this package to check
+      passwords against a large, fast dictionary with a minimum of
+      permutations as an alternative or supplement to the extensive
+      permutations tested by CrackLib.
+    - Minimum password length can now be enforced directly through
+      configuration of this module without relying on CrackLib.
+    - New boolean settings require_ascii_printable and require_non_letter
+      to reject passwords with non-ASCII or non-printable characters and
+      to require passwords contain at least one non-letter (and
+      non-space).
+    - The plugin and external checking program will now run without a
+      dictionary configured so that they can be used only to check length
+      and the lighter character restrictions if so desired.
+    - When checking for passwords based on the principal, also check each
+      component of the principal to find passwords based on the realm.
+  * Eliminate the heimdal-strength package.  krb5-strength now builds a
+    single binary package of the same name including the MIT plugin and
+    the Heimdal external password quality program.  The Heimdal plugin is
+    not built by the Debian packaging because Heimdal prefers external
+    programs.  The plugin can be added later as a separate package if
+    there is demand.
+  * Revise the package long description for the merger of krb5-strength
+    and heimdal-strength and the new capabilities in 2.0.
+  * Recommend cracklib-runtime and tinycdb since they are required to
+    build dictionaries.  Downgrade krb5-admin-server to Enhances and add
+    heimdal-kdc.
+  * Update debhelper compatibility level to V9.
+    - Enable hardening flags, including bindnow and PIE.
+    - Enable parallel builds.
+  * Use dh-autoreconf to rebuild the build system during package builds.
+  * Use xz compression for the upstream and Debian tarballs.
+  * Add branch information to the Vcs-Git metadata.
+  * Update standards version to 3.9.4 (no changes required).
+  * Rewrite debian/copyright in copyright-format 1.0.
+  * Remove README.Debian.  All of that information is now available in the
+    installed upstream README file.
+  * Remove Bugs header now that this package is in Debian proper.
+
+ -- Russ Allbery <rra@debian.org>  Mon, 07 Oct 2013 18:56:49 -0700
+
+krb5-strength (1.1-1) unstable; urgency=low
+
+  * New upstream release.
+    - Increase minimum password length to 8.
+    - Reject passwords formed from the username with digits appended.
+    - Reject duplicated dictionary words.
+    - Fix variable sizes on 64-bit platforms.
+  * Add a Bugs header directing bug reports to me personally.
+  * Update to debhelper compatibility level V8.
+  * Switch to Debian source package format 3.0 (quilt) with a custom local
+    patch header.
+  * Update standards version to 3.9.3 (no changes required).
+
+ -- Russ Allbery <rra@debian.org>  Fri, 11 May 2012 15:03:11 -0700
+
+krb5-strength (1.0-1) unstable; urgency=low
+
+  * New upstream release.
+    - Add an external password strength program for Heimdal.
+    - Add a plugin for the Heimdal password strength support.
+  * Create a separate heimdal-strength package containing only the
+    external password check program for Heimdal.  The Heimdal version of
+    the libkadm5srv plugin isn't packaged for the time being.
+  * Update debhelper compatibility mode to V7.
+    - Use debhelper rule minimization with overrides.
+    - Add ${misc:Depends} to dependencies.
+  * Add Homepage, Vcs-Git, and Vcs-Browser control fields.
+  * Add a watch file.
+  * Update standards version to 3.8.4 (no changes required).
+
+ -- Russ Allbery <rra@debian.org>  Tue, 16 Feb 2010 22:47:35 -0800
+
+krb5-strength (0.5-1) unstable; urgency=low
+
+  * New upstream release.
+    - More checks for passwords based on the principal.
+
+ -- Russ Allbery <rra@debian.org>  Wed, 18 Jul 2007 23:16:37 -0700
+
+krb5-strength (0.3-1) unstable; urgency=low
+
+  * New upstream release with a different name.
+    - Many cleanups to the code and build system.
+    - Unnecessary differences from CrackLib removed.
+    - Some Debian CrackLib patches applied for robustness.
+  * Updated README.Debian with a better example kdc.conf entry.
+  * No longer install the packer binary.  We can use the one from
+    cracklib-runtime.
+
+ -- Russ Allbery <rra@debian.org>  Fri, 23 Mar 2007 15:27:50 -0700
+
+krb5-passwd-strength (0.2-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Russ Allbery <rra@debian.org>  Thu, 22 Jun 2006 15:07:03 -0700
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..7538986
--- /dev/null
@@ -0,0 +1,33 @@
+Source: krb5-strength
+Section: net
+Priority: extra
+Maintainer: Russ Allbery <rra@debian.org>
+Build-Depends: debhelper (>= 9), cracklib-runtime, dh-autoreconf,
+ libcdb-dev, libcrack2-dev, libfile-slurp-perl, libipc-run-perl,
+ libjson-perl, libkrb5-dev (>= 1.9), libperl6-slurp-perl,
+ libreadonly-perl, libtest-pod-perl, libtest-minimumversion-perl,
+ libtest-strict-perl, perl, tinycdb
+Standards-Version: 3.9.4
+Homepage: http://www.eyrie.org/~eagle/software/krb5-strength/
+Vcs-Git: git://git.eyrie.org/kerberos/krb5-strength.git -b debian
+Vcs-Browser: http://git.eyrie.org/?p=kerberos/krb5-strength.git
+
+Package: krb5-strength
+Architecture: any
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}
+Recommends: cracklib-runtime, tinycdb
+Enhances: krb5-admin-server, heimdal-kdc
+Description: Password strength checking for Kerberos KDCs
+ krb5-strength provides a password quality plugin for the MIT Kerberos KDC
+ (specifically the kadmind server) and an external password quality
+ program for use with the Heimdal kpasswdd server.  Passwords can be
+ tested with CrackLib, checked against a CDB database of known weak
+ passwords, checked for length, checked for non-printable or non-ASCII
+ characters that may be difficult to enter reproducibly, required to
+ contain a non-alphabetic character, or any combination of these tests.
+ .
+ No dictionary is shipped with this package.  A CrackLib dictionary can be
+ created with the tools in cracklib-runtime, a CDB database can be created
+ from a password list (obtained separately) using the tools included in
+ this package, or both.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..7a25d96
--- /dev/null
@@ -0,0 +1,248 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Contact: Russ Allbery <rra@stanford.edu>
+Source: http://www.eyrie.org/~eagle/software/krb5-strength/
+Copyright: 2006-2007, 2009-2013
+    The Board of Trustees of the Leland Stanford Junior University
+License: Expat
+
+Files: *
+Copyright: 2000-2002, 2004-2012 Russ Allbery <rra@stanford.edu>
+  2001-2002, 2004-2013
+    The Board of Trustees of the Leland Stanford Junior University
+  2010 the Massachusetts Institute of Technology
+License: Expat
+
+Files: Makefile.in
+Copyright: 1994-2013 Free Software Foundation, Inc.
+  2007, 2009-2010, 2012-2013
+    The Board of Trustees of the Leland Stanford Junior University
+License: FSF-unlimited and Expat
+
+Files: aclocal.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4
+ m4/lt~obsolete.m4
+Copyright: 1996-2013 Free Software Foundation, Inc.
+License: FSF-unlimited
+
+Files: build-aux/ar-lib build-aux/compile build-aux/depcomp
+ build-aux/missing
+Copyright: 1996-2013 Free Software Foundation, Inc.
+License: GPL-2+ with Autoconf exception or Expat
+
+Files: build-aux/config.guess build-aux/config.sub
+Copyright: 1992-2013 Free Software Foundation, Inc.
+License: GPL-3+ with Autoconf exception or Expat
+
+Files: build-aux/install-sh
+Copyright: 1994 X Consortium
+License: X11
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to permit
+ persons to whom the Software is furnished to do so, subject to the
+ following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ OTHER DEALINGS IN THE SOFTWARE.
+ .
+ Except as contained in this notice, the name of the X Consortium shall
+ not be used in advertising or otherwise to promote the sale, use or other
+ dealings in this Software without prior written authorization from the X
+ Consortium.
+
+Files: build-aux/ltmain.sh
+Copyright: 1996-2001, 2003-2011 Free Software Foundation, Inc.
+License: GPL-2+ with Libtool exception or Expat
+
+Files: configure
+Copyright: 1992-2012 Free Software Foundation, Inc.
+License: FSF-configure, and GPL-2+ with Libtool exception or Expat
+
+Files: cracklib/*
+Copyright: 1993 Alec Muffett
+License: Artistic
+ The author disclaims all responsibility or liability with respect to it's
+ usage or its effect upon hardware or computer systems, and maintains
+ copyright as set out in the "LICENCE" document which accompanies
+ distributions of Crack v4.0 and upwards.
+ .
+ See cracklib/LICENCE for the full licensing terms.
+Comment: You can find the Artistic License in
+ /usr/share/common-licenses/Artistic on Debian systems.
+
+Files: m4/cracklib.m4 m4/krb5-config.m4 m4/krb5.m4 m4/lib-depends.m4
+ m4/lib-helper.m4 m4/lib-pathname.m4 m4/snprintf.m4 m4/tinycdb.m4
+ m4/vamacros.m4
+Copyright: 2005-2013
+    The Board of Trustees of the Leland Stanford Junior University
+License: unlimited
+ This file is free software; the authors give unlimited permission to copy
+ and/or distribute it, with or without modifications, as long as this
+ notice is preserved.
+
+Files: m4/libtool.m4
+Copyright: 1996-2001, 2003-2011 Free Software Foundation, Inc.
+License: FSF-unlimited, and GPL-2+ with Libtool exception or Expat
+
+Files: portable/asprintf.c portable/dummy.c portable/kadmin.h
+ portable/krb5-extra.c portable/krb5.h portable/macros.h portable/stdbool.h
+ portable/system.h tests/portable/asprintf-t.c util/macros.h
+Copyright: no copyright notice, see License
+License: rra-public-domain
+ The authors hereby relinquish any claim to any copyright that they may
+ have in this work, whether granted under contract or by operation of law
+ or international treaty, and hereby commit to the public, at large, that
+ they shall not, at any time in the future, seek to enforce any copyright
+ in this work against any person or entity, or prevent any person or
+ entity from copying, publishing, distributing or creating derivative
+ works of this work.
+
+Files: portable/snprintf.c tests/portable/snprintf-t.c
+Copyright: 1995 Patrick Powell
+  2000-2006 Russ Allbery <rra@stanford.edu>
+  2001 Hrvoje Niksic
+  2009-2010 The Board of Trustees of the Leland Stanford Junior University
+License: Powell-snprintf
+ This code is based on code written by Patrick Powell (papowell@astart.com)
+ It may be used for any purpose as long as this notice remains intact
+ on all source code distributions
+
+Files: tests/HOWTO tools/heimdal-strength.1 tools/heimdal-strength.pod
+Copyright: 2010 Russ Allbery <rra@stanford.edu>
+  2010, 2013 The Board of Trustees of the Leland Stanford Junior University
+License: all-permissive
+ Copying and distribution of this file, with or without modification, are
+ permitted in any medium without royalty provided the copyright notice and
+ this notice are preserved.  This file is offered as-is, without any
+ warranty.
+
+Files: util/messages.c util/messages.h util/xmalloc.c util/xmalloc.h
+Copyright: 1991, 1994-2003 The Internet Software Consortium and Rich Salz
+  2004-2006 Internet Systems Consortium, Inc.
+  2008-2010, 2012-2013
+    The Board of Trustees of the Leland Stanford Junior University
+License: ISC
+ Permission to use, copy, modify, and distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY
+ SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to permit
+ persons to whom the Software is furnished to do so, subject to the
+ following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
+ OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
+ THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License: FSF-configure
+ This script is free software; the Free Software Foundation gives unlimited
+ permission to copy, distribute and modify it.
+
+License: FSF-unlimited
+ This file is free software; the Free Software Foundation gives unlimited
+ permission to copy and/or distribute it, with or without modifications, as
+ long as this notice is preserved.
+ .
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+License: GPL-2+ with Autoconf exception
+ This file 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 2 of the License, or (at your
+ option) any later version.
+ .
+ This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
+ .
+ As a special exception to the GNU General Public License, if you
+ distribute this file as part of a program that contains a configuration
+ script generated by Autoconf, you may include it under the same
+ distribution terms that you use for the rest of that program.
+Comment: The option described in the license has been accepted and these
+ files are distributed under the same terms as the package as a whole, as
+ described at the top of this file.  You can find the GPL version 2 in
+ /usr/share/common-licenses/GPL-2 on Debian systems.
+
+License: GPL-2+ with Libtool exception
+ This file is part of GNU Libtool.
+ .
+ GNU Libtool 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 2 of the License, or (at your
+ option) any later version.
+ .
+ As a special exception to the GNU General Public License, if you
+ distribute this file as part of a program or library that is built using
+ GNU Libtool, you may include this file under the same distribution terms
+ that you use for the rest of that program.
+ .
+ GNU Libtool 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.
+Comment: The option described in the license has been accepted and these
+ files are distributed under the same terms as the package as a whole, as
+ described at the top of this file.  You can find the GPL version 2 in
+ /usr/share/common-licenses/GPL-2 on Debian systems.
+
+License: GPL-3+ with Autoconf exception
+ This file 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.
+ .
+ This program 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 this program; if not, see <http://www.gnu.org/licenses/>.
+ .
+ As a special exception to the GNU General Public License, if you
+ distribute this file as part of a program that contains a configuration
+ script generated by Autoconf, you may include it under the same
+ distribution terms that you use for the rest of that program.  This
+ Exception is an additional permission under section 7 of the GNU General
+ Public License, version 3 ("GPLv3").
+Comment: The option described in the license has been accepted and these
+ files are distributed under the same terms as the package as a whole, as
+ described at the top of this file.  You can find the GPL version 3 in
+ /usr/share/common-licenses/GPL-3 on Debian systems.
+
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..724e084
--- /dev/null
@@ -0,0 +1,2 @@
+README
+TODO
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..b1e6f03
--- /dev/null
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+
+# Add hardening build flags.
+export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow,+pie
+
+PACKAGE := $(shell dh_listpackages)
+
+%:
+       dh $@ --parallel --with autoreconf
+
+override_dh_auto_configure:
+       dh_auto_configure --parallel -- --enable-reduced-depends \
+           --with-cracklib
+
+override_dh_auto_test:
+       -dh_auto_test --parallel
+       @echo ''
+       @echo 'TEST ERRORS TEMPORARILY IGNORED DUE TO #724570'
+       @echo ''
+
+override_dh_auto_install:
+       dh_auto_install --parallel
+       rm debian/$(PACKAGE)/usr/lib/*/krb5/plugins/pwqual/*.la
+
+override_dh_installchangelogs:
+       dh_installchangelogs NEWS
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644 (file)
index 0000000..7423a2d
--- /dev/null
@@ -0,0 +1 @@
+single-debian-patch
diff --git a/debian/source/local-patch-header b/debian/source/local-patch-header
new file mode 100644 (file)
index 0000000..fe85c01
--- /dev/null
@@ -0,0 +1,17 @@
+Subject: Collected Debian patches for krb5-strength
+Author: Russ Allbery <rra@debian.org>
+
+Since I am also upstream for this package, there will normally not be any
+patches to apply to the upstream source.  However, occasionally I'll pull
+up specific upstream commits prior to making an upstream release.  When
+this happens, this patch will collect all of those modifications.
+
+I use Git to maintain both the upstream source and the Debian packages,
+and generating individual patches rather than using git cherry-pick takes
+extra work for no gain.  Since I'm also upstream, there's no need to
+separate the patches for later upstream submission.  Hence, I take this
+approach with a unified patch when it's necessary.
+
+For full commit history and separated commits, see the upstream Git
+repsitory.
+
diff --git a/debian/source/options b/debian/source/options
new file mode 100644 (file)
index 0000000..b7bc1f2
--- /dev/null
@@ -0,0 +1 @@
+compression = "xz"
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..ce92015
--- /dev/null
@@ -0,0 +1,2 @@
+version=3
+http://archives.eyrie.org/software/kerberos/krb5-strength-(.*)\.tar\.gz