]> eyrie.org Git - kerberos/wallet.git/log
kerberos/wallet.git
2 years agoFix Stanford policy for password default owner master
Russ Allbery [Sat, 4 Sep 2021 20:03:36 +0000 (13:03 -0700)]
Fix Stanford policy for password default owner

In Wallet::Policy::Stanford, fix the default_owner logic for password
objects that are group-based rather than host-based.  Thanks,
macrotex.

Fixes #82

2 years agoFix deprecation warnings for new Autoconf
Russ Allbery [Sat, 4 Sep 2021 20:01:38 +0000 (13:01 -0700)]
Fix deprecation warnings for new Autoconf

wallet should now work properly with Autoconf 2.71.  This required
updating tests/docs/spdx-license-t from rra-c-util, which in turn
bumped the minimum required Perl version for the test suite to 5.10.
That's not yet reflected in the documentation.

4 years agoSuppress remctld output in Perl tests
Russ Allbery [Mon, 18 May 2020 05:21:25 +0000 (22:21 -0700)]
Suppress remctld output in Perl tests

Until I have a better way of handling the interleaving of output,
send the output from remctld to /dev/null for the Perl tests.

4 years agoSuppress unversioned database warnings in a test
Russ Allbery [Mon, 18 May 2020 05:20:42 +0000 (22:20 -0700)]
Suppress unversioned database warnings in a test

In general/server, suppress warnings from an unversioned database
when testing various failure scenarios.

4 years agoSort the ACL membership report
Russ Allbery [Mon, 18 May 2020 05:19:39 +0000 (22:19 -0700)]
Sort the ACL membership report

In Wallet::Report, sort the results of acl_membership().  This is
only used for the duplicate ACLs report currently, but it may help
external callers as well as produce reliable results for testing.
Patch from macrotex.

4 years agoFix table drop order when destroying the database
Russ Allbery [Mon, 18 May 2020 05:17:36 +0000 (22:17 -0700)]
Fix table drop order when destroying the database

Fix the table drop order for wallet-admin destroy to avoid violating
foreign key constraints.  Patch from macrotex.

4 years agoSort ACL history by unique key after date
Russ Allbery [Mon, 18 May 2020 05:14:58 +0000 (22:14 -0700)]
Sort ACL history by unique key after date

If multiple ACL changes were made in the same second, the order of
results could be unstable.  Sort by unique key after date to avoid
this.  Based on work by macrotex.

4 years agoSend remctl test output to stderr
Russ Allbery [Mon, 18 May 2020 03:44:05 +0000 (20:44 -0700)]
Send remctl test output to stderr

We were sending stderr to stdout for remctl output, but sometimes
tests would fail because the remctl output was intermixed with the
test output and confused runtests.  runtests only looks at stdout
for test output and sends stderr to /dev/null, so send remctl
output there.

This isn't a great solution since it interferes with debugging
tests.  The correct solution is to implement the same logging and
polling that's used by C TAP Harness, although that's more difficult
to do in Perl.  But it should make the immediate problem go away.

Continue to send the message about which remctl command line is in
use to stdout, but prefix it with # so that it is a TAP comment.

4 years agoRemove the Travis CI configuration
Russ Allbery [Mon, 18 May 2020 03:30:05 +0000 (20:30 -0700)]
Remove the Travis CI configuration

4 years agoAdd cppcheck to CI in the gcc MIT build
Russ Allbery [Mon, 18 May 2020 03:23:36 +0000 (20:23 -0700)]
Add cppcheck to CI in the gcc MIT build

4 years agoRefresh check-cppcheck rule from rra-c-util
Russ Allbery [Mon, 18 May 2020 03:23:03 +0000 (20:23 -0700)]
Refresh check-cppcheck rule from rra-c-util

4 years agoReformat all C code with clang-format-10
Russ Allbery [Mon, 18 May 2020 03:21:59 +0000 (20:21 -0700)]
Reformat all C code with clang-format-10

4 years agoAdd Clang to the CI compiler matrix
Russ Allbery [Mon, 18 May 2020 03:02:15 +0000 (20:02 -0700)]
Add Clang to the CI compiler matrix

4 years agoFix client/basic test for keytab merging
Russ Allbery [Mon, 18 May 2020 03:01:32 +0000 (20:01 -0700)]
Fix client/basic test for keytab merging

Reordering to adjust for optional srvtab support broke some
assumptions in this test.  Be a bit more robust by not reusing
the results from a previous test.

4 years agoFix warnings from Clang's analyzer
Russ Allbery [Mon, 18 May 2020 02:57:08 +0000 (19:57 -0700)]
Fix warnings from Clang's analyzer

Suppress a warning about not declaring a function noreturn that's
only noreturn in some configurations.  Add an assert to unconfuse
the static analyzer about a default value for a struct.

4 years agoFix compilation with Heimdal
Russ Allbery [Mon, 18 May 2020 02:30:54 +0000 (19:30 -0700)]
Fix compilation with Heimdal

Add a missing configure probe for krb5_xfree.  If
krb5_524_conv_principal is not available, return an error if asked
to create a srvtab.  (This function has been removed in current
Heimdal.)  Adjust the test suite to handle this case.

4 years agoInstall libexpect-perl for CI testing
Russ Allbery [Mon, 18 May 2020 02:04:31 +0000 (19:04 -0700)]
Install libexpect-perl for CI testing

4 years agoAdd Heimdal CI testing
Russ Allbery [Mon, 18 May 2020 02:01:47 +0000 (19:01 -0700)]
Add Heimdal CI testing

Set up a Heimdal KDC and add Heimdal to the test matrix.  Remove
some unnecessary configuration from the MIT Kerberos CI
configuration.  Ensure the user programs are installed for
whatever Kerberos we're using, which will enable more of the
Perl test suite.

4 years agoFix realm of wallet principal in CI kadm5.acl
Russ Allbery [Mon, 18 May 2020 01:49:55 +0000 (18:49 -0700)]
Fix realm of wallet principal in CI kadm5.acl

4 years agoInstall remctl-server for CI testing
Russ Allbery [Mon, 18 May 2020 01:47:05 +0000 (18:47 -0700)]
Install remctl-server for CI testing

4 years agoInstall libnet-duo-perl for CI testing
Russ Allbery [Mon, 18 May 2020 01:35:46 +0000 (18:35 -0700)]
Install libnet-duo-perl for CI testing

4 years agoConfigure Kerberos tests for CI
Russ Allbery [Mon, 18 May 2020 01:34:33 +0000 (18:34 -0700)]
Configure Kerberos tests for CI

Install a full MIT Kerberos KDC when running CI tests with the MIT
library and generate the files required to run the full test suite.

4 years agoSwitch to GitHub Actions for CI
Russ Allbery [Mon, 18 May 2020 00:17:24 +0000 (17:17 -0700)]
Switch to GitHub Actions for CI

Regenerate the documentation with patched DocKnot 3.04 to pick up
the new status badge, which fixes a few other issues with
documentation generation.

4 years agoUpdate to rra-c-util 8.2 and C TAP Harness 4.7
Russ Allbery [Mon, 18 May 2020 00:05:30 +0000 (17:05 -0700)]
Update to rra-c-util 8.2 and C TAP Harness 4.7

Update to rra-c-util 8.2:

* Implement explicit_bzero with memset if it is not available.
* Reformat all C source using clang-format 10.
* Work around Test::Strict not skipping .git directories.
* Fix warnings with perltidy 20190601 and Perl::Critic 1.134.
* Fix warnings with Clang 10, GCC 10, and the Clang static analyzer.

Update to C TAP Harness 4.7:

* Fix warnings with GCC 10.
* Reformat all C source using clang-format 10.
* Fixed malloc error checking in bstrndup.

4 years agoAdd missing NEWS entry for Duo changes in 1.3
Russ Allbery [Sat, 11 Apr 2020 20:37:52 +0000 (13:37 -0700)]
Add missing NEWS entry for Duo changes in 1.3

6 years agoAdd missing documentation links
Russ Allbery [Mon, 4 Jun 2018 02:01:36 +0000 (19:01 -0700)]
Add missing documentation links

6 years agoMark the package quote as broken
Russ Allbery [Mon, 4 Jun 2018 01:59:18 +0000 (18:59 -0700)]
Mark the package quote as broken

6 years agoAdd WebAuth and Net::Duo links in requirements
Russ Allbery [Mon, 4 Jun 2018 01:58:57 +0000 (18:58 -0700)]
Add WebAuth and Net::Duo links in requirements

6 years agoAdd a proper NAME entry for ad-keytab release/1.4
Russ Allbery [Mon, 4 Jun 2018 01:11:44 +0000 (18:11 -0700)]
Add a proper NAME entry for ad-keytab

6 years agoGenerate man page for contrib/ad-keytab
Russ Allbery [Mon, 4 Jun 2018 01:00:50 +0000 (18:00 -0700)]
Generate man page for contrib/ad-keytab

6 years agoFix skipping in verifier/netdb test
Russ Allbery [Mon, 4 Jun 2018 00:52:20 +0000 (17:52 -0700)]
Fix skipping in verifier/netdb test

If AUTHOR_TESTING wasn't set, the test would plan twice.  Fix this
by restructuring it to delay printing a plan and convert the
Kerberos ticket test to a skip_all plan.

6 years agoIgnore debian/ files in docs/spdx-license test
Russ Allbery [Mon, 4 Jun 2018 00:37:29 +0000 (17:37 -0700)]
Ignore debian/ files in docs/spdx-license test

6 years agoResync files with rra-c-util
Russ Allbery [Mon, 4 Jun 2018 00:36:30 +0000 (17:36 -0700)]
Resync files with rra-c-util

Mostly comment and copyright changes, nothing that affects this
package.

6 years agoFix loading of server programs in tests
Russ Allbery [Sun, 3 Jun 2018 23:47:33 +0000 (16:47 -0700)]
Fix loading of server programs in tests

The eval was hiding all error messages when the test didn't work
properly, and C_TAP_SOURCE doesn't have the generated version with
the proper path to Perl.

6 years agoIgnore _build in Test::RRA::Automake
Russ Allbery [Sun, 3 Jun 2018 23:44:42 +0000 (16:44 -0700)]
Ignore _build in Test::RRA::Automake

all_files should ignore the top-level _build directory, since that's
used by Automake for build testing.

6 years agoRelease 1.4
Russ Allbery [Sun, 3 Jun 2018 23:38:22 +0000 (16:38 -0700)]
Release 1.4

Update EXTRA_DIST for the new release.

6 years agoAdd SPDX-License-Identifier headers
Russ Allbery [Sun, 3 Jun 2018 22:36:21 +0000 (15:36 -0700)]
Add SPDX-License-Identifier headers

Add SPDX-License-Identifier headers to all substantial source files.
Collapse copyright years.  Add some Emacs configuration for files
where the copyright notice is at the end.  Add a test that every
file has SPDX-License-Identifier.

6 years agoAdjust wording for the kerberos mailing list
Russ Allbery [Sun, 3 Jun 2018 20:48:20 +0000 (13:48 -0700)]
Adjust wording for the kerberos mailing list

May as well not publicize the full email address for spammers to
scrape.

6 years agoRewrite documentation using DocKnot
Russ Allbery [Sun, 3 Jun 2018 20:43:24 +0000 (13:43 -0700)]
Rewrite documentation using DocKnot

Numerous fixes to the README file by converging on standard
templates.  Add a README.md for GitHub.  Break thanks out into
a separate THANKS file following the convention used by remctl.

6 years agoPass realm to krb5_appdefault_* functions
Russ Allbery [Mon, 28 May 2018 22:06:46 +0000 (15:06 -0700)]
Pass realm to krb5_appdefault_* functions

When getting configuration values from krb5.conf, pass the default
local realm into the Kerberos appdefault functions.  This will produce
more correct results with krb5.conf files that specify wallet
configuration for multiple realms.

6 years agoEnable verbose test mode for Travis-CI
Russ Allbery [Mon, 28 May 2018 05:10:05 +0000 (22:10 -0700)]
Enable verbose test mode for Travis-CI

This makes it much easier to debug failing tests.

6 years agoAdd cppcheck testing target
Russ Allbery [Mon, 28 May 2018 05:09:27 +0000 (22:09 -0700)]
Add cppcheck testing target

No problems found, so nothing to fix.

6 years agoFix Travis-CI configuration to run bootstrap
Russ Allbery [Mon, 28 May 2018 05:06:42 +0000 (22:06 -0700)]
Fix Travis-CI configuration to run bootstrap

6 years agoAdd obsolete-strings test and fix problems it finds
Russ Allbery [Mon, 28 May 2018 05:05:31 +0000 (22:05 -0700)]
Add obsolete-strings test and fix problems it finds

Mostly changing http eyrie.org URLs to https, but also remove my
old email address in one place and switch some tests away from my
old RRA_MAINTAINER_TESTS environment variable to use the Lancaster
Consensus variables properly.  This uncovered a bug in skipping one
test unless Stanford Kerberos credentials existed.

6 years agoUse rra-c-util RRA_PROG_PERL macro
Russ Allbery [Mon, 28 May 2018 04:42:35 +0000 (21:42 -0700)]
Use rra-c-util RRA_PROG_PERL macro

Rather than rolling this ourselves, use the macro from rra-c-util
to probe for the path to Perl and check its version.

6 years agoRename autogen to bootstrap
Russ Allbery [Mon, 28 May 2018 04:40:28 +0000 (21:40 -0700)]
Rename autogen to bootstrap

Rename the script to bootstrap from a Git checkout to bootstrap,
matching the emerging consensus in the Autoconf world.

6 years agoUpdate to rra-c-util 7.2 and C TAP Harness 4.3
Russ Allbery [Mon, 28 May 2018 03:59:59 +0000 (20:59 -0700)]
Update to rra-c-util 7.2 and C TAP Harness 4.3

Update to rra-c-util 7.2:

* Improve configure output for krb5-config testing.
* Define UINT32_MAX for systems that don't have it.
* Add SPDX-License-Identifier headers to all substantial source files.
* Fix new warnings from GCC 7 and Clang warnings.
* Require Test::Strict 0.25 or later to run those tests.
* Fix off-by-one error in return-value checks for snprintf.
* Use Autoconf to probe for supported warning flags.
* Fix running module-version-t -u with current versions of Perl.
* Use C_TAP_SOURCE and C_TAP_BUILD instead of SOURCE and BUILD.

Update to C TAP Harness 4.3:

* Add support for valgrind and libtool in test lists.
* Report test failures as left and right, not wanted and expected.
* Fix string comparisons with NULL pointers and the string "(null)".
* Add SPDX-License-Identifier headers to all substantial source files.
* Avoid zero-length realloc allocations in breallocarray.
* Fix new warnings from GCC 7 and Clang warnings.
* Use C_TAP_SOURCE and C_TAP_BUILD instead of SOURCE and BUILD.

6 years agoAdd NEWS entry for Active Directory fixes
Russ Allbery [Mon, 28 May 2018 01:02:45 +0000 (18:02 -0700)]
Add NEWS entry for Active Directory fixes

6 years agoFix syntax error in Wallet::Kadmin::AD
Russ Allbery [Mon, 28 May 2018 00:57:40 +0000 (17:57 -0700)]
Fix syntax error in Wallet::Kadmin::AD

6 years agoFix spelling errors in Wallet::Config
Russ Allbery [Mon, 28 May 2018 00:49:03 +0000 (17:49 -0700)]
Fix spelling errors in Wallet::Config

6 years agoFix spelling errors in Wallet::Kadmin::AD
Russ Allbery [Mon, 28 May 2018 00:24:42 +0000 (17:24 -0700)]
Fix spelling errors in Wallet::Kadmin::AD

6 years agoReorganize AD configuration options
Russ Allbery [Mon, 28 May 2018 00:13:07 +0000 (17:13 -0700)]
Reorganize AD configuration options

Move options up with other keytab backend options except for the
bucket for keytabs, which does belong in the section on retrieving
existing keytabs.

6 years agoEnable warnings for contrib/ad-keytab
Russ Allbery [Mon, 28 May 2018 00:08:36 +0000 (17:08 -0700)]
Enable warnings for contrib/ad-keytab

Fix one duplicate code line that produced a warning.

6 years agoFix POD spelling errors in contrib/ad-keytab
Russ Allbery [Mon, 28 May 2018 00:06:26 +0000 (17:06 -0700)]
Fix POD spelling errors in contrib/ad-keytab

Also add stopwords.

6 years agoMinor syslog updates in AD support
Bill MacAllister [Tue, 2 May 2017 18:36:59 +0000 (18:36 +0000)]
Minor syslog updates in AD support

6 years agoUpdate handling of long host names
Bill MacAllister [Wed, 1 Jun 2016 18:48:31 +0000 (18:48 +0000)]
Update handling of long host names

6 years agoCreate unique account id for host keytabs
Bill MacAllister [Wed, 1 Jun 2016 17:53:22 +0000 (17:53 +0000)]
Create unique account id for host keytabs

It turns out that the length limitations apply to all keytabs, not
just service keytabs.  This change creates unique ids for hostnames
that exceed the AD length limit.

6 years agoCorrection to AD handling of long service keytab IDs
Bill MacAllister [Fri, 6 May 2016 19:40:17 +0000 (19:40 +0000)]
Correction to AD handling of long service keytab IDs

The account name for a service keytab cannot exceed 20 characters.
The routine that was generating a unique id incorrectly attempted to
perform an LDAP query.  This change fixes that problem.

6 years agoCorrection to AD handling of long service keytab IDs
Bill MacAllister [Fri, 6 May 2016 19:40:17 +0000 (19:40 +0000)]
Correction to AD handling of long service keytab IDs

The account name for a service keytab cannot exceed 20 characters.
The routine that was generating a unique id incorrectly attempted to
perform an LDAP query.  This change fixes that problem.

6 years agoUpdate AD keytab policies
Bill MacAllister [Mon, 2 May 2016 20:44:19 +0000 (20:44 +0000)]
Update AD keytab policies

* Make sure userPrincipalName is created for all keytabs and use it to
  search for entries in AD.

* Allow the creation of any service principal.  This requires making
  sure that the cn used to create AD entries for service accounts not
  be any longer than 20 characters.

6 years agoCorrect configuration reference in AD.pm
Bill MacAllister [Wed, 13 Apr 2016 22:39:18 +0000 (22:39 +0000)]
Correct configuration reference in AD.pm

Correct a variable reference that was causing AD keytab creation to
fail.  Update the debugging for shell command execution that makes
debugging more rebust and highlights problems.

6 years agoAdd ad-keytab, update Wallet::Config
Bill MacAllister [Sun, 3 Apr 2016 18:40:00 +0000 (18:40 +0000)]
Add ad-keytab, update Wallet::Config

* This ad-keytab is useful in the initial setup of AD as a keytab
  store for wallet.
* Change configuration variables to correctly reflect that some values
  are relative distinguished names.
* Add a configuration variable for the base distinguished name for
  ActiveDirectory.

6 years agoExpand the tested branches a bit
Russ Allbery [Mon, 28 May 2018 00:00:01 +0000 (17:00 -0700)]
Expand the tested branches a bit

7 years agocorrecting msktutil usage to support more enctypes
epackorigan [Wed, 22 Mar 2017 23:23:59 +0000 (16:23 -0700)]
correcting msktutil usage to support more enctypes

with multiple enctypes specified, only the last one will actually take effect. If you wish to provide support for more then one, you need to add the values (0x04 + 0x08 + 0x10 = 0x1C).
replacing the 3 lines with one line to enable all three. Note that the keytabs generated will have 3 line for each principal (one for each enctypes).

See msktutil man page for further details on enctypes.

7 years agoAdd passing realm into krb5_appdefault_* to TODO
Russ Allbery [Mon, 2 Jan 2017 03:51:35 +0000 (19:51 -0800)]
Add passing realm into krb5_appdefault_* to TODO

7 years agoStop automake from replacing @PERL@
A. Karl Kornel [Mon, 8 Aug 2016 00:07:00 +0000 (17:07 -0700)]
Stop automake from replacing @PERL@

8 years agoAdd NEWS entry for Perl path detection
Russ Allbery [Sun, 24 Jan 2016 00:14:38 +0000 (16:14 -0800)]
Add NEWS entry for Perl path detection

8 years agoUpdate Perl module versions for 1.4
Russ Allbery [Sat, 23 Jan 2016 23:24:19 +0000 (15:24 -0800)]
Update Perl module versions for 1.4

8 years agoMinor style cleanups to the Perl documentation in README
Russ Allbery [Sat, 23 Jan 2016 23:20:20 +0000 (15:20 -0800)]
Minor style cleanups to the Perl documentation in README

8 years agoClean up generation of Perl scripts
Russ Allbery [Sat, 23 Jan 2016 23:17:49 +0000 (15:17 -0800)]
Clean up generation of Perl scripts

Use @PERL@ as the substitution variable instead of WALLET_PERL_PATH
to match normal Automake conventions.  Write the scripts into the
build path, not the source path, to work properly with out-of-tree
builds.  Clean up the distribution rules.  Use separate Makefile rules
for each script so that make has proper dependencies.

Also fix the Perl paths in (some of) the test scripts, although there
are others for which this still isn't going to work.

8 years agoImprovements to Autoconf probe for Perl
Russ Allbery [Sat, 23 Jan 2016 23:05:11 +0000 (15:05 -0800)]
Improvements to Autoconf probe for Perl

Properly quote all the macro arguments, use AS_IF, and move the
code to the appropriate sequence in configure.ac.

8 years agoAdd Wallet module test requirements
A. Karl Kornel [Sat, 23 Jan 2016 09:01:38 +0000 (01:01 -0800)]
Add Wallet module test requirements

8 years agoREADME
A. Karl Kornel [Sat, 23 Jan 2016 09:19:30 +0000 (01:19 -0800)]
README

8 years agoCustomize the path to Perl in the server scripts
A. Karl Kornel [Sat, 23 Jan 2016 07:36:04 +0000 (23:36 -0800)]
Customize the path to Perl in the server scripts

The server scripts now have a unique string where the Perl path should
be, and the Makefile uses sed to insert the correct path at build time
(using the path determined by configure).

The server scripts now have .in extensions, and setting the executable
flag is handled by the Makefile.

We also have to change autogen, because it looks for the scripts in
the server directory when it generates the man pages.

8 years agoMake Perl path configurable & check version
A. Karl Kornel [Sat, 23 Jan 2016 06:19:45 +0000 (22:19 -0800)]
Make Perl path configurable & check version

Use configure to determine the path to Perl, and error out if Perl is
not found or is too old.  This also means users can set a path to a
custom or weirdly-named Perl binary.

8 years agoRemove dead strlcpy and strlcat declarations
Russ Allbery [Sat, 23 Jan 2016 22:49:52 +0000 (14:49 -0800)]
Remove dead strlcpy and strlcat declarations

Remove stray references to strlcpy and strlcat that broke builds on
platforms where those functions are part of libc.  Thanks to Karl
Kornel for the report.

8 years agoFix typo in README
Russ Allbery [Mon, 18 Jan 2016 04:55:27 +0000 (20:55 -0800)]
Fix typo in README

8 years agoUpdate the minimum Perl version in the README
Russ Allbery [Mon, 18 Jan 2016 04:54:20 +0000 (20:54 -0800)]
Update the minimum Perl version in the README

8 years agoAdd lots of missing files to the distribution release/1.3
Russ Allbery [Mon, 18 Jan 2016 03:04:56 +0000 (19:04 -0800)]
Add lots of missing files to the distribution

8 years agoImport new tests/perl/module-version-t from rra-c-util
Russ Allbery [Mon, 18 Jan 2016 02:51:36 +0000 (18:51 -0800)]
Import new tests/perl/module-version-t from rra-c-util

This fixes locating the NEWS file when building out of tree.

8 years agoInclude tests/perl/module-version-t in the distribution
Russ Allbery [Mon, 18 Jan 2016 02:47:57 +0000 (18:47 -0800)]
Include tests/perl/module-version-t in the distribution

8 years agoSkip the _build directory for Perl tests
Russ Allbery [Mon, 18 Jan 2016 02:46:29 +0000 (18:46 -0800)]
Skip the _build directory for Perl tests

Assume that everything we might test in an out-of-tree build is
also present in the source tree and can be checked there.

8 years agoAdd stopwords for perl/create-ddl
Russ Allbery [Mon, 18 Jan 2016 02:45:57 +0000 (18:45 -0800)]
Add stopwords for perl/create-ddl

8 years agoRemove obsolete Duo Perl modules from distribution
Russ Allbery [Mon, 18 Jan 2016 02:40:38 +0000 (18:40 -0800)]
Remove obsolete Duo Perl modules from distribution

8 years agoRelease 1.3
Russ Allbery [Mon, 18 Jan 2016 00:59:47 +0000 (16:59 -0800)]
Release 1.3

8 years agoAdd license statements to new SQL files
Russ Allbery [Mon, 18 Jan 2016 00:58:50 +0000 (16:58 -0800)]
Add license statements to new SQL files

8 years agoFix version source and prerequisites in Build.PL
Russ Allbery [Mon, 18 Jan 2016 00:56:59 +0000 (16:56 -0800)]
Fix version source and prerequisites in Build.PL

Flesh out recommends for more accurate dependencies for the Perl
modules.  Pull the version from one of the Perl modules, now that
we have another test that ensures that those versions are all
consistent.

8 years agoInclude .travis.yml in the distribution
Russ Allbery [Sun, 17 Jan 2016 22:46:56 +0000 (14:46 -0800)]
Include .travis.yml in the distribution

We want it to propagate to the other repository branches for Debian
packaging so that it will turn off builds in those branches.

8 years agoRemove the Autoconf cache on make distclean
Russ Allbery [Sun, 17 Jan 2016 22:46:36 +0000 (14:46 -0800)]
Remove the Autoconf cache on make distclean

8 years agoRemove the Makefile mentions of the strlcpy and strlcat tests
Russ Allbery [Sun, 17 Jan 2016 22:39:02 +0000 (14:39 -0800)]
Remove the Makefile mentions of the strlcpy and strlcat tests

8 years agoStop removing the Autoconf cache after autoreconf
Russ Allbery [Sun, 17 Jan 2016 22:38:00 +0000 (14:38 -0800)]
Stop removing the Autoconf cache after autoreconf

No need to do this any more.

8 years agoAdd the correct glue for selecting warning flags
Russ Allbery [Sun, 17 Jan 2016 22:35:50 +0000 (14:35 -0800)]
Add the correct glue for selecting warning flags

8 years agoRemove remaining uses of strlcpy and strlcat
Russ Allbery [Sun, 17 Jan 2016 22:33:11 +0000 (14:33 -0800)]
Remove remaining uses of strlcpy and strlcat

8 years agoUpdate to rra-c-util 5.10 and C TAP Harness 3.4
Russ Allbery [Sun, 17 Jan 2016 22:30:53 +0000 (14:30 -0800)]
Update to rra-c-util 5.10 and C TAP Harness 3.4

Update to rra-c-util 5.10:

* Add missing va_end to xasprintf implementation.
* Fix Perl test suite framework for new Automake relative paths.
* Improve portability to Kerberos included in Solaris 10.
* Use appropriate warning flags with Clang (currently not warning clean).

Update to C TAP Harness 3.4:

* Fix segfault in runtests with an empty test list.
* Display verbose test results with -v or C_TAP_VERBOSE.
* Test infrastructure builds cleanly with Clang warnings.
* Support comments and blank lines in test lists.

8 years agoUpdate Perl version declaration and warnings for server scripts
Russ Allbery [Sun, 17 Jan 2016 20:39:57 +0000 (12:39 -0800)]
Update Perl version declaration and warnings for server scripts

Add use 5.008 and use warnings uniformly to all of the server backend
scripts.

8 years agoAdjust perl/module-version-t to run from tests
Russ Allbery [Sun, 17 Jan 2016 20:38:45 +0000 (12:38 -0800)]
Adjust perl/module-version-t to run from tests

When run under runtests, it runs with a parent directory of tests,
and therefore needs to look for NEWS in ../NEWS.  Allow for both
paths.

8 years agoStandardize Perl module versions
Russ Allbery [Sun, 17 Jan 2016 20:25:15 +0000 (12:25 -0800)]
Standardize Perl module versions

The versions of all of the wallet Perl modules now match the overall
package version except for Wallet::Schema, which is used to version
the database schema.

Import the test from rra-c-util 5.10 and exclude Wallet::Schema from
the tests.

Go through all Perl modules and standardize the syntax for setting the
version and indicating the required version of Perl.  Fix a few other
syntax issues while I'm in there.

8 years agoFix spelling errors and add stopwords
Russ Allbery [Sun, 17 Jan 2016 00:14:52 +0000 (16:14 -0800)]
Fix spelling errors and add stopwords

8 years agoAdd documentation of the Active Directory support
Russ Allbery [Sun, 17 Jan 2016 00:13:03 +0000 (16:13 -0800)]
Add documentation of the Active Directory support

Also remove some configuration checks that aren't required, and
unify handling of some configuration options.

8 years agoPass object type and name to external ACL verifiers
Russ Allbery [Sat, 16 Jan 2016 23:34:22 +0000 (15:34 -0800)]
Pass object type and name to external ACL verifiers

This requires changing the ACL verifier plumbing to pass object
type and name all the way through when verifying ACLs.  Hopefully
I caught everything.