~ubuntu-branches/ubuntu/precise/nss-pam-ldapd/precise-proposed

« back to all changes in this revision

Viewing changes to tests/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Arthur de Jong
  • Date: 2011-09-04 21:00:00 UTC
  • mfrom: (14.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20110904210000-pe3u91iga88vtr16
Tags: 0.8.4
* Upload to unstable
* switch to using the member attribute by default instead of
  uniqueMember (backwards incompatible change)
* only return "x" as a password hash when the object has the shadowAccount
  objectClass and nsswitch.conf is configured to do shadow lookups using
  LDAP (this avoids some problems with pam_unix)
* fix problem with partial attribute name matches in DN (thanks Timothy
  White)
* fix a problem with objectSid mappings with recent versions of OpenLDAP
  (patch by Wesley Mason)
* set the socket timeout in a connection callback to avoid timeout
  issues during the SSL handshake (patch by Stefan Völkel)
* check for unknown variables in pam_authz_search
* only check password expiration when authenticating, only check account
  expiration when doing authorisation
* make buffer sizes consistent and grow all buffers holding string
  representations of numbers to be able to hold 64-bit numbers
* update AX_PTHREAD from autoconf-archive
* support querying DNS SRV records from a different domain than the current
  one (based on a patch by James M. Leddy)
* fix a problem with uninitialised memory while parsing the tls_ciphers
  option (closes: #638872) (but doesn't work yet due to #640384)
* implement bounds checking of numeric values read from LDAP (patch by
  Jakub Hrozek)
* correctly support large uid and gid values from LDAP (patch by Jakub
  Hrozek)
* improvements to the configure script (patch by Jakub Hrozek)
* switch to dh for debian/rules and bump debhelper compatibility to 8
* build Debian packages with multiarch support
* ship shlibs (but still no symbol files) for libnss-ldapd since that was
  the easiest way to support multiarch
* fix output in init script when restarting nslcd (closes: #637132)
* correctly handle leading and trailing spaces in preseeded debconf uri
  option (patch by Andreas B. Mundt) (closes: #637863)
* support spaces around database names in /etc/nsswitch.conf while
  configuring package (closes: #640185)
* updated Russian debconf translation by Yuri Kozlov (closes: #637751)
* updated French debconf translation by Christian Perrier (closes: #637756)
* added Slovak debconf translation by Slavko (closes: #637759)
* updated Danish debconf translation by Joe Hansen (closes :#637763)
* updated Brazilian Portuguese debconf translation by Denis Doria
* updated Portuguese debconf translation by Américo Monteiro
* updated Japanese debconf translation by Kenshi Muto (closes: #638195)
* updated Czech debconf translation by Miroslav Kure (closes: #639026)
* updated German debconf translation by Chris Leick (closes: #639107)
* updated Spanish debconf translation by Francisco Javier Cuadrado
  (closes: #639236)
* updated Dutch debconf translation by Arthur de Jong with help from Paul
  Gevers and Jeroen Schot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Makefile.am - use automake to generate Makefile.in
2
2
#
3
3
# Copyright (C) 2006 West Consulting
4
 
# Copyright (C) 2006, 2007, 2008, 2009, 2010 Arthur de Jong
 
4
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Arthur de Jong
5
5
#
6
6
# This library is free software; you can redistribute it and/or
7
7
# modify it under the terms of the GNU Lesser General Public
18
18
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19
19
# 02110-1301 USA
20
20
 
21
 
TESTS = test_dict test_set test_tio test_cfg test_myldap.sh test_nsscmds.sh \
22
 
        test_getpeercred test_common test_expr
23
 
 
24
 
check_PROGRAMS = test_dict test_set test_tio test_cfg test_myldap \
25
 
                 test_getpeercred test_common test_expr
26
 
 
27
 
EXTRA_PROGRAMS = test_aliases test_ethers test_group test_hosts \
28
 
                 test_netgroup test_networks test_passwd test_protocols \
29
 
                 test_rpc test_services test_shadow \
30
 
                 test_nslcd_group
31
 
 
32
 
EXTRA_DIST = nslcd-test.conf test_myldap.sh test_nsscmds.sh usernames.txt
 
21
TESTS = test_dict test_set test_tio test_expr test_getpeercred test_cfg \
 
22
        test_myldap.sh test_common test_nsscmds.sh test_pamcmds.sh
 
23
 
 
24
check_PROGRAMS = test_dict test_set test_tio test_expr test_getpeercred \
 
25
                 test_cfg test_myldap test_common
 
26
 
 
27
EXTRA_DIST = nslcd-test.conf test_myldap.sh test_nsscmds.sh test_pamcmds.sh \
 
28
             in_testenv.sh test_pamcmds.expect usernames.txt
33
29
 
34
30
CLEANFILES = $(EXTRA_PROGRAMS)
35
31
 
48
44
test_set_SOURCES = test_set.c ../common/set.h
49
45
test_set_LDADD = ../common/libdict.a
50
46
 
51
 
test_tio_SOURCES = test_tio.c ../common/tio.h ../common/tio.c
 
47
test_tio_SOURCES = test_tio.c common.h ../common/tio.h ../common/tio.c
52
48
test_tio_LDFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_LIBS)
53
49
 
54
 
test_cfg_SOURCES = test_cfg.c
55
 
test_cfg_LDADD = ../nslcd/log.o ../nslcd/attmap.o  \
56
 
                 ../nslcd/common.o ../nslcd/myldap.o \
57
 
                 ../nslcd/alias.o ../nslcd/ether.o ../nslcd/group.o \
58
 
                 ../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o \
59
 
                 ../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o \
60
 
                 ../nslcd/service.o ../nslcd/shadow.o \
61
 
                 @nslcd_LIBS@ ../common/libtio.a ../common/libdict.a \
62
 
                 ../common/libexpr.a ../compat/libcompat.a
63
 
 
64
 
test_expr_SOURCES = test_expr.c
 
50
test_expr_SOURCES = test_expr.c common.h
65
51
test_expr_LDADD = ../common/set.o ../common/dict.o
66
52
 
67
 
test_myldap_SOURCES = test_myldap.c
68
 
test_myldap_LDADD = ../nslcd/log.o ../nslcd/common.o ../nslcd/cfg.o \
69
 
                    ../nslcd/alias.o ../nslcd/ether.o ../nslcd/group.o \
70
 
                    ../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o \
71
 
                    ../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o \
72
 
                    ../nslcd/service.o ../nslcd/shadow.o \
73
 
                    ../nslcd/myldap.o @nslcd_LIBS@ ../common/libtio.a \
74
 
                    ../common/libdict.a ../compat/libcompat.a
75
 
 
76
 
test_getpeercred_SOURCES = test_getpeercred.c
 
53
test_getpeercred_SOURCES = test_getpeercred.c common.h
77
54
test_getpeercred_LDADD = ../compat/libcompat.a
78
55
 
79
 
test_common_SOURCES = test_common.c
80
 
test_common_LDADD = ../nslcd/log.o ../nslcd/common.o ../nslcd/cfg.o \
81
 
                    ../nslcd/alias.o ../nslcd/ether.o ../nslcd/group.o \
82
 
                    ../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o \
83
 
                    ../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o \
84
 
                    ../nslcd/service.o ../nslcd/shadow.o \
85
 
                    ../nslcd/myldap.o @nslcd_LIBS@ ../common/libtio.a \
86
 
                    ../common/libdict.a ../compat/libcompat.a
87
 
 
88
 
common_SOURCES = ../common/nslcd-prot.c ../nslcd.h ../nss/prototypes.h \
89
 
                 ../common/tio.c ../common/tio.h ../nss/common.c
90
 
 
91
 
test_aliases_SOURCES = test_aliases.c ../nss/aliases.c $(common_SOURCES)
92
 
test_ethers_SOURCES = test_ethers.c ../nss/ethers.c $(common_SOURCES)
93
 
test_group_SOURCES = test_group.c ../nss/group.c $(common_SOURCES)
94
 
test_hosts_SOURCES = test_hosts.c ../nss/hosts.c $(common_SOURCES)
95
 
test_netgroup_SOURCES = test_netgroup.c ../nss/netgroup.c $(common_SOURCES)
96
 
test_networks_SOURCES = test_networks.c ../nss/networks.c $(common_SOURCES)
97
 
test_passwd_SOURCES = test_passwd.c ../nss/passwd.c $(common_SOURCES)
98
 
test_protocols_SOURCES = test_protocols.c ../nss/protocols.c $(common_SOURCES)
99
 
test_rpc_SOURCES = test_rpc.c ../nss/rpc.c $(common_SOURCES)
100
 
test_services_SOURCES = test_services.c ../nss/services.c $(common_SOURCES)
101
 
test_shadow_SOURCES = test_shadow.c ../nss/shadow.c $(common_SOURCES)
102
 
 
103
 
test_nslcd_group_SOURCES = test_nslcd_group.c
104
 
test_nslcd_group_LDADD = ../nslcd/log.o ../nslcd/attmap.o ../common/dict.o \
105
 
                         ../nslcd/common.o ../nslcd/myldap.o \
106
 
                         ../nslcd/alias.o ../nslcd/ether.o \
107
 
                         ../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o \
108
 
                         ../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o \
109
 
                         ../nslcd/service.o ../nslcd/shadow.o \
110
 
                         @nslcd_LIBS@ ../common/libtio.a ../common/libdict.a \
111
 
                         ../compat/libcompat.a ../nslcd/cfg.o
 
56
# common objects that are included for the tests of nslcd functionality
 
57
common_nslcd_LDADD = ../nslcd/log.o ../nslcd/common.o \
 
58
                     ../nslcd/myldap.o ../nslcd/attmap.o ../nslcd/nsswitch.o \
 
59
                     ../nslcd/alias.o ../nslcd/ether.o ../nslcd/group.o \
 
60
                     ../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o \
 
61
                     ../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o \
 
62
                     ../nslcd/service.o ../nslcd/shadow.o ../nslcd/pam.o \
 
63
                     ../common/libtio.a ../common/libdict.a \
 
64
                     ../common/libexpr.a ../compat/libcompat.a \
 
65
                     @nslcd_LIBS@ @PTHREAD_LIBS@
 
66
 
 
67
test_cfg_SOURCES = test_cfg.c common.h
 
68
test_cfg_LDADD = $(common_nslcd_LDADD)
 
69
 
 
70
test_myldap_SOURCES = test_myldap.c common.h
 
71
test_myldap_LDADD = ../nslcd/cfg.o $(common_nslcd_LDADD)
 
72
 
 
73
test_common_SOURCES = test_common.c ../nslcd/common.h
 
74
test_common_LDADD = ../nslcd/cfg.o $(common_nslcd_LDADD)