| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The attached patch does the following:
- Use a separate $pam-module-dir variable for the pam module
- Instead of defining a custom $slibdir variable, just use the
standard $libdir variable specified by autoconf
- Use the standard autoconf $docdir variable (Add AC_PREREQ(2.59) for that).
- Drop AS_AC_EXPAND macro and remove AC_DEFINE_UNQUOTED for dir variables.
+ Build the init script at make time using sed
+ Use defines in src/Makefile.am to pass the variables to gcc at make time
- Consistently use AC_HELP_STRING everywhere
- Remove/Replace deprecated macros:
+ AM_INIT_AUTOMAKE takes the package name and version number from AC_INIT
+ AM_CONFIG_HEADER -> AC_CONFIG_HEADERS
+ AC_OUTPUT -> AC_CONFIG_FILES
Patch is tested and make distcheck works.
|
|
|
|
| |
Apparently this is required.
|
|
|
|
| |
Turns out that just using libdir breaks the .pc file install.
|
|
|
|
|
|
|
|
| |
If building the PAM module then it probably should be going
into /lib. However, hardcoding /lib makes it very difficult
to build as non-root, breaks make distcheck, and probably
isn't correct for 64 bit systems. If you are a distro you
should probably configure using --libdir=/lib.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
So in Fedora's Rawhide /bin/login is now using libck-connector via the
PAM module and CK will track such sessions. However, it doesn't work
when root logs in and I think that's a bug. Attached patch should fix it
(is already in Rawhide). Thanks.
David
|
|
|
|
|
| |
Add a simple test app for the connector. Adapted from
the example David put in the header.
|
|
|
|
|
|
|
|
|
|
|
|
| |
I modified the API of the new connector a bit.
* include errors
* make names a bit more consistent with what they do
* have symmetry between open and close
* use refcounting
* do parameter checking on inputs
I also made some changes to whitespace and style. And converted
descriptions to gtkdoc style comments.
|
|
Here are some patches to add one library and one PAM module so other
programs (apart from gdm) can easily interact with ConsoleKit. It's
mainly going to be used, I think, by login(1) and xinit(1). I'm not
super happy about doing a PAM module but the Fedora util-linux package
maintainer seems to be insist on this instead of just patching login(1).
The PAM module isn't built by default. Both pieces of code are licensed
under the MIT license as god knows what might want to use them. Sounds
good to you?
|