]> eyrie.org Git - kerberos/krb5-sync.git/log
kerberos/krb5-sync.git
5 years agoFinalize changes for 3.1-2 debian/master archive/debian/3.1-2 debian/3.1-2
Russ Allbery [Mon, 27 Aug 2018 01:17:18 +0000 (18:17 -0700)]
Finalize changes for 3.1-2

5 years agoMove packaging repository to salsa.debian.org
Russ Allbery [Mon, 27 Aug 2018 01:15:39 +0000 (18:15 -0700)]
Move packaging repository to salsa.debian.org

5 years agoOrphan the package
Russ Allbery [Mon, 27 Aug 2018 01:12:51 +0000 (18:12 -0700)]
Orphan the package

See #907366.

5 years agoRemove versioned dependency constraints satisfied by oldstable
Russ Allbery [Mon, 27 Aug 2018 01:10:27 +0000 (18:10 -0700)]
Remove versioned dependency constraints satisfied by oldstable

5 years agoRemove old Breaks and Replaces against krb5-sync
Russ Allbery [Mon, 27 Aug 2018 01:09:14 +0000 (18:09 -0700)]
Remove old Breaks and Replaces against krb5-sync

5 years agoRemove some trailing whitespace in changelog
Russ Allbery [Mon, 27 Aug 2018 01:07:18 +0000 (18:07 -0700)]
Remove some trailing whitespace in changelog

5 years agoUpdate to debhelper compatibility level V11
Russ Allbery [Mon, 27 Aug 2018 01:02:24 +0000 (18:02 -0700)]
Update to debhelper compatibility level V11

* Update to debhelper compatibility level V11.
  - Remove --parallel flags, no longer needed.
  - Remove dh-autoreconf dependency and sequence, no longer needed.

5 years agoRun wrap-and-sort -ast
Russ Allbery [Mon, 27 Aug 2018 01:01:10 +0000 (18:01 -0700)]
Run wrap-and-sort -ast

5 years agoRefresh upstream signing key
Russ Allbery [Mon, 27 Aug 2018 01:00:38 +0000 (18:00 -0700)]
Refresh upstream signing key

5 years agoBump watch file version to 4 and use https for URL
Russ Allbery [Mon, 27 Aug 2018 01:00:08 +0000 (18:00 -0700)]
Bump watch file version to 4 and use https for URL

5 years agoRemove forcing xz compression for binary packages
Russ Allbery [Mon, 27 Aug 2018 00:59:22 +0000 (17:59 -0700)]
Remove forcing xz compression for binary packages

* Remove debian/rules override to force xz compression of the binary
  package, since this is now the default.

5 years agoUpdate to standards version 4.2.1
Russ Allbery [Mon, 27 Aug 2018 00:58:24 +0000 (17:58 -0700)]
Update to standards version 4.2.1

* Update to standards version 4.2.1.
  - Enable verbose test output.
  - Install the upstream release notes as NEWS.gz, not changelog.gz.
  - Add Rules-Requires-Root: no.
  - Use https for URLs in debian/control and debian/copyright.
  - Change priority to optional.

5 years agoRemove debian/source/options
Russ Allbery [Mon, 27 Aug 2018 00:54:57 +0000 (17:54 -0700)]
Remove debian/source/options

* Remove debian/source/options configuration to force xz compression,
  which is now the default.

5 years agoSwitch to normal patch management
Russ Allbery [Mon, 27 Aug 2018 00:54:06 +0000 (17:54 -0700)]
Switch to normal patch management

* Remove debian/source/local-options and local-patch-header and switch
  to normal patch management.

5 years agoSwitch to the DEP-14 branch layout
Russ Allbery [Mon, 27 Aug 2018 00:53:25 +0000 (17:53 -0700)]
Switch to the DEP-14 branch layout

8 years agoFinalize changes for 3.1-1 debian/3.1-1
Russ Allbery [Wed, 19 Aug 2015 04:45:42 +0000 (21:45 -0700)]
Finalize changes for 3.1-1

8 years agoRefresh debian/copyright
Russ Allbery [Wed, 19 Aug 2015 04:45:28 +0000 (21:45 -0700)]
Refresh debian/copyright

8 years agoRefresh upstream signing key
Russ Allbery [Wed, 19 Aug 2015 04:41:36 +0000 (21:41 -0700)]
Refresh upstream signing key

8 years agoUpdate standards version to 3.9.6
Russ Allbery [Wed, 19 Aug 2015 04:40:13 +0000 (21:40 -0700)]
Update standards version to 3.9.6

8 years agoAdd debian/gbp.conf file
Russ Allbery [Wed, 19 Aug 2015 04:38:57 +0000 (21:38 -0700)]
Add debian/gbp.conf file

* Add debian/gbp.conf reflecting the branch layout of the default
  packaging repository.

8 years agoAdd initial changelog for 3.1-1
Russ Allbery [Wed, 19 Aug 2015 04:38:15 +0000 (21:38 -0700)]
Add initial changelog for 3.1-1

8 years agoMerge tag 'upstream/3.1' into debian
Russ Allbery [Wed, 19 Aug 2015 04:37:19 +0000 (21:37 -0700)]
Merge tag 'upstream/3.1' into debian

Upstream version 3.1

8 years agoImported Upstream version 3.1 upstream/latest upstream/3.1
Russ Allbery [Wed, 19 Aug 2015 04:37:16 +0000 (21:37 -0700)]
Imported Upstream version 3.1

8 years agoImported Upstream version 3.1
Russ Allbery [Wed, 19 Aug 2015 04:37:08 +0000 (21:37 -0700)]
Imported Upstream version 3.1

8 years agoMake the tools/backend test less sensitive to precise timing release/3.1
Russ Allbery [Wed, 19 Aug 2015 04:32:35 +0000 (21:32 -0700)]
Make the tools/backend test less sensitive to precise timing

8 years agoRelease 3.1
Russ Allbery [Wed, 19 Aug 2015 04:27:00 +0000 (21:27 -0700)]
Release 3.1

8 years agoFurther rra-c-util 5.8 and C TAP Harness 3.4 updates
Russ Allbery [Wed, 19 Aug 2015 04:22:57 +0000 (21:22 -0700)]
Further rra-c-util 5.8 and C TAP Harness 3.4 updates

Sneak in a few more things: a Test::RRA::Automake fix for removing
relative directories, and fixes to C TAP Harness for test lists
containing no tests.

8 years agoAdd NEWS entry for fixes to krb5-sync-backend silent mode
Russ Allbery [Wed, 19 Aug 2015 03:02:09 +0000 (20:02 -0700)]
Add NEWS entry for fixes to krb5-sync-backend silent mode

8 years agoUpdate to rra-c-util 5.8 and C TAP Harness 3.3
Russ Allbery [Wed, 19 Aug 2015 02:55:54 +0000 (19:55 -0700)]
Update to rra-c-util 5.8 and C TAP Harness 3.3

Update to rra-c-util 5.8:

* Support the Solaris 10 embedded Kerberos implementation.
* Use calloc or reallocarray instead of malloc.
* Fix compilation with a C++ compiler.

Update to C TAP Harness 3.3:

* Display verbose test results with -v or C_TAP_VERBOSE.
* Reopen standard input to /dev/null when running a test list.
* Don't leak extraneous file descriptors to tests.

8 years agoAdd format attributes recommended by current GCC
Russ Allbery [Wed, 19 Aug 2015 02:55:38 +0000 (19:55 -0700)]
Add format attributes recommended by current GCC

8 years agoMerge pull request #1 from Stanford/master
Russ Allbery [Wed, 19 Aug 2015 02:31:50 +0000 (19:31 -0700)]
Merge pull request #1 from Stanford/master

krb5-sync-backend: Add an ending newline to error messages

8 years agokrb5-sync-backend: Add an ending newline to error messages
Jon Robertson [Wed, 19 Aug 2015 02:13:06 +0000 (19:13 -0700)]
krb5-sync-backend: Add an ending newline to error messages

For --silent we're splitting up the errors by \n, which strips the
newlines from each line.  Print out with an explicit \n so that errors
don't all run together.

10 years agoFix ignore regex in krb5-sync-backend for missing users
Russ Allbery [Sat, 19 Apr 2014 21:17:44 +0000 (14:17 -0700)]
Fix ignore regex in krb5-sync-backend for missing users

The log message in the krb5-sync plugin changed from "in LDAP" to
"via LDAP".  Change the ignore regex accordingly.

10 years agoFix email address in tests/data/make-krb5-conf
Russ Allbery [Sun, 13 Apr 2014 23:22:11 +0000 (16:22 -0700)]
Fix email address in tests/data/make-krb5-conf

10 years agoImprovements to debian/watch handling
Russ Allbery [Sun, 13 Apr 2014 19:32:05 +0000 (12:32 -0700)]
Improvements to debian/watch handling

* Add the upstream release signing key and verify it in debian/watch.
* Prefer *.tar.xz in debian/watch to match packaging.

10 years agoFix Upstream-Contact email address in debian/copyright
Russ Allbery [Sun, 13 Apr 2014 19:30:37 +0000 (12:30 -0700)]
Fix Upstream-Contact email address in debian/copyright

10 years agoUse dh_autoreconf, enable parallel builds debian/3.0-4
Russ Allbery [Sun, 13 Apr 2014 18:15:35 +0000 (11:15 -0700)]
Use dh_autoreconf, enable parallel builds

* Actually use dh_autoreconf rather than only depending on it.  Thanks
  to Matthias Klose for the report.  (Closes: #744600)
* Enable parallel builds.

10 years agoFurther expand the tools/backend test timing range debian/3.0-3
Russ Allbery [Mon, 10 Feb 2014 03:22:23 +0000 (19:22 -0800)]
Further expand the tools/backend test timing range

* The change in 3.0-3 fixed the test suite failure on all architectures
  except armel, which appears to still be failing with a variation on
  the original issue.  Further expand the valid timing range on the
  test, since this seems to be on the right track but just didn't go far
  enough.

10 years agoMake the tools/backend test less sensitive to timing debian/3.0-2
Russ Allbery [Sun, 9 Feb 2014 21:42:14 +0000 (13:42 -0800)]
Make the tools/backend test less sensitive to timing

* Fix the tools/backend test suite to be less sensitive to timing when
  queuing changes.  (Closes: #738364)

We were only allowing one second of tolerance, which is too fast for
some slower architectures, and the code was improperly written so that
the skip didn't trigger.

10 years agoAdd a few items to the TODO list
Russ Allbery [Wed, 1 Jan 2014 21:15:08 +0000 (13:15 -0800)]
Add a few items to the TODO list

10 years agoDocument that krb5-sync doesn't use instance configuration
Russ Allbery [Thu, 12 Dec 2013 03:22:07 +0000 (19:22 -0800)]
Document that krb5-sync doesn't use instance configuration

The krb5-sync command-line utility does what it's told and ignores
the instance configuration and the ad_base_instance support.
Document this.

10 years agoCorrectly handle memory errors in parsing ad_instances
Russ Allbery [Thu, 12 Dec 2013 03:18:04 +0000 (19:18 -0800)]
Correctly handle memory errors in parsing ad_instances

10 years agoUpdate the release date debian/3.0-1
Russ Allbery [Tue, 10 Dec 2013 06:58:12 +0000 (22:58 -0800)]
Update the release date

10 years agoMerge tag 'upstream/3.0' into debian
Russ Allbery [Tue, 10 Dec 2013 06:57:56 +0000 (22:57 -0800)]
Merge tag 'upstream/3.0' into debian

Upstream version 3.0

10 years agoImported Upstream version 3.0 upstream/3.0
Russ Allbery [Tue, 10 Dec 2013 06:57:52 +0000 (22:57 -0800)]
Imported Upstream version 3.0

10 years agoAdd back ad_base_instance support for MIT Kerberos release/3.0
Russ Allbery [Tue, 10 Dec 2013 06:51:27 +0000 (22:51 -0800)]
Add back ad_base_instance support for MIT Kerberos

This works properly provided that the instance lookup uses a
separate Kerberos context.  Thanks to Greg Hudson for the fix.

10 years agoFinalize changes for 3.0-1
Russ Allbery [Tue, 10 Dec 2013 05:00:36 +0000 (21:00 -0800)]
Finalize changes for 3.0-1

10 years agoFix an error in the kadm5_hook configuration documentation
Russ Allbery [Tue, 10 Dec 2013 04:59:19 +0000 (20:59 -0800)]
Fix an error in the kadm5_hook configuration documentation

10 years agoMerge tag 'upstream/3.0' into debian
Russ Allbery [Tue, 10 Dec 2013 04:58:31 +0000 (20:58 -0800)]
Merge tag 'upstream/3.0' into debian

Upstream version 3.0

10 years agoImported Upstream version 3.0
Russ Allbery [Tue, 10 Dec 2013 04:58:28 +0000 (20:58 -0800)]
Imported Upstream version 3.0

10 years agoFix some leftover documentation for the old module name
Russ Allbery [Tue, 10 Dec 2013 04:53:04 +0000 (20:53 -0800)]
Fix some leftover documentation for the old module name

Also remove some leftover documentation for old versions of MIT
Kerberos, which are no longer supported.

10 years agoAdd largefile support
Russ Allbery [Tue, 10 Dec 2013 04:48:23 +0000 (20:48 -0800)]
Add largefile support

This isn't horribly interesting for what this module does, but
there's no harm and it makes Lintian warnings go away.

10 years agoDisable ad_base_instance for MIT Kerberos
Russ Allbery [Tue, 10 Dec 2013 04:45:19 +0000 (20:45 -0800)]
Disable ad_base_instance for MIT Kerberos

Calling libkadm5srv functions from inside a kadm5_hook plugin
appears to corrupt the state of the library on MIT Kerberos.
Disable the ad_base_instance configuration option on MIT Kerberos
for the time being.

10 years agoAdd versioned dependency on libnet-remctl-perl
Russ Allbery [Tue, 10 Dec 2013 02:39:21 +0000 (18:39 -0800)]
Add versioned dependency on libnet-remctl-perl

We need to be sure Net::Remctl::Backend is available.

10 years agoMerge tag 'upstream/3.0' into debian
Russ Allbery [Tue, 10 Dec 2013 02:38:46 +0000 (18:38 -0800)]
Merge tag 'upstream/3.0' into debian

Upstream version 3.0

10 years agoImported Upstream version 3.0
Russ Allbery [Tue, 10 Dec 2013 02:38:43 +0000 (18:38 -0800)]
Imported Upstream version 3.0

10 years agoAdd Net::Remctl::Backend as a requirement for backend testing
Russ Allbery [Tue, 10 Dec 2013 02:32:40 +0000 (18:32 -0800)]
Add Net::Remctl::Backend as a requirement for backend testing

10 years agoMention new module requirements for krb5-sync-backend in NEWS
Russ Allbery [Tue, 10 Dec 2013 02:31:31 +0000 (18:31 -0800)]
Mention new module requirements for krb5-sync-backend in NEWS

10 years agoAdd NEWS and update README.Debian for new options and plugin
Russ Allbery [Tue, 10 Dec 2013 02:13:14 +0000 (18:13 -0800)]
Add NEWS and update README.Debian for new options and plugin

The plugin name has changed and the ad_ldap_base option is now
required.  Document the required changes in NEWS, since it's hard
to automate the update process of the configuration files.

10 years agoUpdate debian/copyright for hte new release
Russ Allbery [Tue, 10 Dec 2013 02:08:02 +0000 (18:08 -0800)]
Update debian/copyright for hte new release

10 years agoUpdate standards version to 3.9.5
Russ Allbery [Tue, 10 Dec 2013 02:07:32 +0000 (18:07 -0800)]
Update standards version to 3.9.5

10 years agoAdd new Depends and Build-Depends for new upstream version
Russ Allbery [Tue, 10 Dec 2013 02:06:44 +0000 (18:06 -0800)]
Add new Depends and Build-Depends for new upstream version

10 years agoAdd upstream changelog for 3.0
Russ Allbery [Tue, 10 Dec 2013 02:02:29 +0000 (18:02 -0800)]
Add upstream changelog for 3.0

10 years agoMerge tag 'upstream/3.0' into debian
Russ Allbery [Tue, 10 Dec 2013 01:55:58 +0000 (17:55 -0800)]
Merge tag 'upstream/3.0' into debian

Upstream version 3.0

10 years agoImported Upstream version 3.0
Russ Allbery [Tue, 10 Dec 2013 01:55:31 +0000 (17:55 -0800)]
Imported Upstream version 3.0

10 years agoRemove nonnull from sync_vector_free
Russ Allbery [Tue, 10 Dec 2013 01:50:50 +0000 (17:50 -0800)]
Remove nonnull from sync_vector_free

It is permissible to pass NULL to sync_vector_free, so remove the
GCC annotation.

10 years agoFix the contents of the distribution
Russ Allbery [Tue, 10 Dec 2013 01:32:38 +0000 (17:32 -0800)]
Fix the contents of the distribution

10 years agoRelease 3.0
Russ Allbery [Tue, 10 Dec 2013 01:26:55 +0000 (17:26 -0800)]
Release 3.0

10 years agoRemove stray blank line in portable/krb5.h
Russ Allbery [Tue, 10 Dec 2013 00:11:15 +0000 (16:11 -0800)]
Remove stray blank line in portable/krb5.h

10 years agoOnly probe for krb5/kadm5_hook_plugin.h when building with MIT
Russ Allbery [Tue, 10 Dec 2013 00:09:06 +0000 (16:09 -0800)]
Only probe for krb5/kadm5_hook_plugin.h when building with MIT

If building with Heimdal using non-standard paths, we may find the
MIT Kerberos header but not be able to compile with it because of
all the symbol conflicts.  Work around this by only checking for
the header when building with Heimdal.

10 years agoUpdate version numbers of Test::RRA* modules
Russ Allbery [Tue, 10 Dec 2013 01:18:12 +0000 (17:18 -0800)]
Update version numbers of Test::RRA* modules

10 years agoFix detection of ad_base_instance principals
Russ Allbery [Sat, 7 Dec 2013 03:56:37 +0000 (19:56 -0800)]
Fix detection of ad_base_instance principals

The logic for checking the Kerberos database for the principal
was incorrect in the case where the principal exists.  Fix the
status code checking to work properly.

10 years agoCorrectly ignore ad_base_instance for enable and disable
Russ Allbery [Sat, 7 Dec 2013 03:54:29 +0000 (19:54 -0800)]
Correctly ignore ad_base_instance for enable and disable

The logic to ignore ad_base_instance for enable and disable was
accidentally skipped.

10 years agoAllow propagation of base instances
Russ Allbery [Sat, 7 Dec 2013 03:53:33 +0000 (19:53 -0800)]
Allow propagation of base instances

We weren't allowing ad_base_instance instances through far enough
into the password change logic to determine that they should be
propagated to the base account.

10 years agoFix error in storing credentials for AD propagation
Russ Allbery [Sat, 7 Dec 2013 03:16:00 +0000 (19:16 -0800)]
Fix error in storing credentials for AD propagation

A one-character error caused us to never properly initialize the
local ticket cache.

10 years agoCompile libtap with the right CPPFLAGS
Russ Allbery [Sat, 7 Dec 2013 00:45:29 +0000 (16:45 -0800)]
Compile libtap with the right CPPFLAGS

Now that we include the Kerberos tests, we need to include
AM_CPPFLAGS in the CPPFLAGS for libtap.

10 years agoAdd new spelling stopwords to krb5-sync-backend
Russ Allbery [Sat, 7 Dec 2013 00:45:07 +0000 (16:45 -0800)]
Add new spelling stopwords to krb5-sync-backend

Now that the license is in the documentation, we need a few more
stopwords for POD spelling tests.

10 years agoCast password error lengths for Heimdal
Russ Allbery [Sat, 7 Dec 2013 00:44:37 +0000 (16:44 -0800)]
Cast password error lengths for Heimdal

The length fields are size_t with Heimdal, so cast them to an int
so that printf is happy.

10 years agoFix formatting of the new backend test
Russ Allbery [Sat, 7 Dec 2013 00:44:24 +0000 (16:44 -0800)]
Fix formatting of the new backend test

10 years agoAdd tests for instance handling
Russ Allbery [Fri, 6 Dec 2013 23:43:37 +0000 (15:43 -0800)]
Add tests for instance handling

Test allowed and disallowed instances and ensure that they're
queued or ignored as appropriate.

10 years agoReorganize TODO and synchronize with current status
Russ Allbery [Fri, 6 Dec 2013 23:22:23 +0000 (15:22 -0800)]
Reorganize TODO and synchronize with current status

10 years agoAdd a basic test suite for krb5-sync-backend
Russ Allbery [Fri, 6 Dec 2013 23:15:33 +0000 (15:15 -0800)]
Add a basic test suite for krb5-sync-backend

This does not (yet) test the process function, but everything
else gets some reasonable basic testing.  Still to be done, as
well as process, is testing of creating files when there are
conflicts and testing the purge function.

10 years agoWork around Net::Remctl::Backend bug in krb5-sync-backend
Russ Allbery [Fri, 6 Dec 2013 23:13:57 +0000 (15:13 -0800)]
Work around Net::Remctl::Backend bug in krb5-sync-backend

Net::Remctl::Backend doesn't do argument count validation
properly with arguments from standard input, which affected the
password command.  Allow one fewer argument than we require and
do a separate check that the number of arguments is correct.

10 years agoFix locking in krb5-sync-backend with non-default queues
Russ Allbery [Fri, 6 Dec 2013 23:10:39 +0000 (15:10 -0800)]
Fix locking in krb5-sync-backend with non-default queues

Allow krb5-sync-backend to create the lock file if it's missing,
and pass in the queue directory to the lock function so that it
can find the correct lock file.

10 years agoAdd test_tmpdir function to Test::RRA::Automake
Russ Allbery [Fri, 6 Dec 2013 23:09:24 +0000 (15:09 -0800)]
Add test_tmpdir function to Test::RRA::Automake

This parallels the C TAP library function: create a temporary
directory and return the path, and remove the directory if possible
on program exit.

10 years agoFinish cleanup of krb5-sync-backend coding style
Russ Allbery [Fri, 6 Dec 2013 06:45:40 +0000 (22:45 -0800)]
Finish cleanup of krb5-sync-backend coding style

Functionality should be the same, but it now uses IPC::Run and
Net::Remctl::Backend and holds a queue lock while processing a
particular queue file.  The -h option was removed and a new
manual command was added.

10 years agoAdd standard Perl test suite
Russ Allbery [Thu, 5 Dec 2013 07:27:27 +0000 (23:27 -0800)]
Add standard Perl test suite

Add the test suite for Perl programs.  Currently, the critic test
does not pass if maintainer tests are enabled, since the coding
style for krb5-sync-backend is out of date.

10 years agoInitial work on updating krb5-sync-backend coding style
Russ Allbery [Thu, 5 Dec 2013 07:27:01 +0000 (23:27 -0800)]
Initial work on updating krb5-sync-backend coding style

Still a work in progress.  The program has only been about half
converted.

10 years agoAdd some more test data files to the distribution
Russ Allbery [Thu, 5 Dec 2013 06:44:59 +0000 (22:44 -0800)]
Add some more test data files to the distribution

10 years agoRename test Kerberos configuration files for clarity
Russ Allbery [Thu, 5 Dec 2013 06:44:16 +0000 (22:44 -0800)]
Rename test Kerberos configuration files for clarity

Now that we can generate the queue file, let's call these something
that makes it clearer what they are.

10 years agoClean up the setup and teardown of the queue-only test
Russ Allbery [Thu, 5 Dec 2013 06:40:43 +0000 (22:40 -0800)]
Clean up the setup and teardown of the queue-only test

10 years agoFix some minor error-handling issues in the queue-only test
Russ Allbery [Thu, 5 Dec 2013 06:40:29 +0000 (22:40 -0800)]
Fix some minor error-handling issues in the queue-only test

10 years agoClose some memory leaks in the test suite
Russ Allbery [Thu, 5 Dec 2013 06:11:03 +0000 (22:11 -0800)]
Close some memory leaks in the test suite

Caught by running the test suite under valgrind.

10 years agoMerge krb5-sync sections in generated krb5.conf files
Russ Allbery [Thu, 5 Dec 2013 06:10:21 +0000 (22:10 -0800)]
Merge krb5-sync sections in generated krb5.conf files

It looks like the profile library can't handle multiple appdefault
sections for krb5-sync and doesn't combine them properly.  Make
make-krb5-conf a bit more complicated to merge the settings into
the existing section.

10 years agoIn run_setup, better error reporting for a failed setup program
Russ Allbery [Thu, 5 Dec 2013 06:07:37 +0000 (22:07 -0800)]
In run_setup, better error reporting for a failed setup program

If the setup program fails without producing any output, say so,
rather than just calling bail with the empty string.

10 years agoAdd support for valgrind testing
Russ Allbery [Thu, 5 Dec 2013 06:07:05 +0000 (22:07 -0800)]
Add support for valgrind testing

Include the suppression file from rra-c-util.

10 years agoFix some memory management issues caught by clang
Russ Allbery [Thu, 5 Dec 2013 05:13:46 +0000 (21:13 -0800)]
Fix some memory management issues caught by clang

One use-after-free and one case in plugin/vector.c that was actually
okay but that was too difficult to analyze.

10 years agoUpdate to rra-c-util 4.12 (to be) and C TAP Harness 2.3
Russ Allbery [Thu, 5 Dec 2013 05:02:57 +0000 (21:02 -0800)]
Update to rra-c-util 4.12 (to be) and C TAP Harness 2.3

Update to rra-c-util 4.12:

* Better error messages from xasprintf on failure to format output.
* Check return status of vsnprintf properly.
* Significant improvements to POD tests.
* Avoid leaking a dummy symbol from the portability layer.
* Probe for Kerberos headers with file existence checks.

Update to C TAP Harness 2.3:

* runtests now treats the command line as a list of tests by default.
* The full test executable path can now be passed to runtests -o.
* Improved harness output for tests with lazy plans.
* Improved harness output to a terminal for some abort cases.
* Flush harness output after each test even when not on a terminal.
* bail and sysbail now exit with status 255 to match Test::More.
* Suppress lazy plans and test summaries if the test failed with bail.
* Add warn_unused_result gcc attributes to relevant functions.

10 years agoAdd build-aux/ar-lib to MAINTAINERCLEANFILES
Russ Allbery [Thu, 5 Dec 2013 04:40:18 +0000 (20:40 -0800)]
Add build-aux/ar-lib to MAINTAINERCLEANFILES

10 years agoUpdate warning flags from the latest rra-c-util
Russ Allbery [Thu, 5 Dec 2013 04:39:41 +0000 (20:39 -0800)]
Update warning flags from the latest rra-c-util