lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1945 - nss-pam-ldapd-0.8/nss

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1945 - nss-pam-ldapd-0.8/nss



Author: arthur
Date: Sun Apr 28 15:26:39 2013
New Revision: 1945
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1945&view=revision

Log:
define and export an _nss_ldap_version symbol (3155cdf and 11283a5 from 0.9)

Modified:
   nss-pam-ldapd-0.8/nss/common.c
   nss-pam-ldapd-0.8/nss/exports.freebsd
   nss-pam-ldapd-0.8/nss/exports.glibc
   nss-pam-ldapd-0.8/nss/exports.solaris

Modified: nss-pam-ldapd-0.8/nss/common.c
==============================================================================
--- nss-pam-ldapd-0.8/nss/common.c      Sun Apr 28 15:14:21 2013        (r1944)
+++ nss-pam-ldapd-0.8/nss/common.c      Sun Apr 28 15:26:39 2013        (r1945)
@@ -1,7 +1,7 @@
 /*
    common.c - common definitions
 
-   Copyright (C) 2010 Arthur de Jong
+   Copyright (C) 2010, 2013 Arthur de Jong
 
    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
@@ -19,4 +19,11 @@
    02110-1301 USA
 */
 
+#include "config.h"
+
+#include <stddef.h>
+
 int _nss_ldap_enablelookups=1;
+
+/* version information about the NSS module */
+char *_nss_ldap_version[3]={PACKAGE, VERSION, NULL};

Modified: nss-pam-ldapd-0.8/nss/exports.freebsd
==============================================================================
--- nss-pam-ldapd-0.8/nss/exports.freebsd       Sun Apr 28 15:14:21 2013        
(r1944)
+++ nss-pam-ldapd-0.8/nss/exports.freebsd       Sun Apr 28 15:26:39 2013        
(r1945)
@@ -6,6 +6,9 @@
     # flag to enable or disable lookups
     _nss_ldap_enablelookups;
 
+    # version information of NSS module
+    _nss_ldap_version;
+
     # module init
     nss_module_register;
 

Modified: nss-pam-ldapd-0.8/nss/exports.glibc
==============================================================================
--- nss-pam-ldapd-0.8/nss/exports.glibc Sun Apr 28 15:14:21 2013        (r1944)
+++ nss-pam-ldapd-0.8/nss/exports.glibc Sun Apr 28 15:26:39 2013        (r1945)
@@ -6,6 +6,9 @@
     # flag to enable or disable lookups
     _nss_ldap_enablelookups;
 
+    # version information of NSS module
+    _nss_ldap_version;
+
     # aliases - mail aliases
     _nss_ldap_getaliasbyname_r;
     _nss_ldap_setaliasent;

Modified: nss-pam-ldapd-0.8/nss/exports.solaris
==============================================================================
--- nss-pam-ldapd-0.8/nss/exports.solaris       Sun Apr 28 15:14:21 2013        
(r1944)
+++ nss-pam-ldapd-0.8/nss/exports.solaris       Sun Apr 28 15:26:39 2013        
(r1945)
@@ -6,6 +6,9 @@
     # flag to enable or disable lookups
     _nss_ldap_enablelookups;
 
+    # version information of NSS module
+    _nss_ldap_version;
+
     # published NSS service module constructors
     _nss_ldap_ethers_constr;
     _nss_ldap_group_constr;
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/