lp:~laurynas-biveinis/percona-pam-for-mysql/autotools-fixes

Created by Laurynas Biveinis and last modified
Get this branch:
bzr branch lp:~laurynas-biveinis/percona-pam-for-mysql/autotools-fixes
Only Laurynas Biveinis can upload to this branch. If you are Laurynas Biveinis please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Laurynas Biveinis
Project:
percona-pam-for-mysql
Status:
Merged

Recent revisions

11. By Laurynas Biveinis

Merge from trunk

10. By Laurynas Biveinis

Autotools build system fixes and improvements, partially based on
https://code.launchpad.net/~maria-captains/percona-pam-for-mysql/use_dialog:
- Require autoconf 2.59 (CentOS-5-shipped version) instead of 2.61.
- Enable compilation warnings.
- Add ignores for additional autotools spam and built binary
  distributions.
- Make bootstrap executable.
- Use config header config.h instead of enumerating configure check
  results in compilation command line.
- Do not check for tools that are not directly used in configure.ac.
- Fix --with-mysql_config configure option and mysql_config check if
  that option was not specified.
- Use AS_IF instead of if in configure.ac.
- Do not treat MYSQL_INCLUDES as a separate configure output variable,
  just fold it to CPPFLAGS instead.
- Replace "-I" with "-isystem " in mysql_config --include output to
  silence compilation warnings coming from MySQL headers.
- Test for mysql/plugin_auth.h header too.
- Do not test for strchr and strdup.
- Error if getpass not found.
- Get the bzr revision number in a simpler way.

9. By Laurynas Biveinis

Merge fix for bug 880344

8. By Laurynas Biveinis

Merge skeleton Sphinx documentation

7. By Ignacio Nin

Autoconf, RPM support

6. By Laurynas Biveinis

Merge fix for bug 880268.

5. By Laurynas Biveinis

- New testing version of the client-side plugin
  (test_auth_pam_client.so)
- Add -Werror to build flags
- Factor out the common client-side plugin code to
  lib_auth_pam_client.[hc]
- Create a matching testing server-side plugin that requests the
  testing client-side plugin. The plugin is otherwise identical to
  the production plugin.

4. By Laurynas Biveinis

- Return CR_OK from the client auth plugin instead of
  CR_OK_HANDSHAKE_COMPLETE and leave completing the handshake to the
  default client and server code. This fixes intermittent disconnects
  due to broken pipe in the further client-server communication.
- Describe installation of the plugin in the comment.

3. By Laurynas Biveinis

Mention the possibility of authenticating anonymous users

2. By Laurynas Biveinis

- Fix comment typo.
- Use info->user_name instead of info->authenticated_as, that is,
provide for PAM the user name as supplied by the client instead of a
matching user name in mysql.user table which will be either equal to
the name supplied by the client or empty, meaning anonymous user.
- Compare the PAM-returned user name against info->user_name instead
of info->authenticated_as due to the same reasons.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:percona-pam-for-mysql
This branch contains Public information 
Everyone can see this information.