Merge lp:~yolanda.robla/ubuntu/saucy/libnss-ldap/debian_merge into lp:ubuntu/saucy/libnss-ldap

Proposed by Yolanda Robla
Status: Needs review
Proposed branch: lp:~yolanda.robla/ubuntu/saucy/libnss-ldap/debian_merge
Merge into: lp:ubuntu/saucy/libnss-ldap
Diff against target: 239 lines (+137/-27)
9 files modified
debian/changelog (+83/-0)
debian/control (+1/-1)
debian/libnss-ldap.install (+1/-0)
debian/patches/autoreconf.patch (+0/-11)
debian/patches/fix-glibc-test-for-armel-gnueabi.patch (+0/-11)
debian/patches/link (+22/-0)
debian/patches/series (+2/-1)
debian/patches/treat-all-debian-systems-like-linux.patch (+26/-0)
debian/rules (+2/-3)
To merge this branch: bzr merge lp:~yolanda.robla/ubuntu/saucy/libnss-ldap/debian_merge
Reviewer Review Type Date Requested Status
Martin Pitt Approve
Review via email: mp+174993@code.launchpad.net

Description of the change

Merged from latest Debian version (LP: #1200203)

To post a comment you must log in.
32. By Yolanda Robla

Merge from Debian unstable (LP: #1200203). Remaining changes:

Revision history for this message
Martin Pitt (pitti) wrote :

Can you please update the "Remaining changes" list? there are a lot of other changes, such as the /etc/libnss-ldap.conf → /etc/ldap.conf configuration, dropping of debian/config, addition of a SysV init file (!), the added script debian/nssldap-update-ignoreusers, etc.

review: Needs Fixing
33. By Yolanda Robla

  + debian/control:
    - Update maintainer
    - Recommends ldap-auth-config
    - move nscd to Suggests
    - Removed Depends on po-debconf and (debconf handled by
      ldap-auth-config now)
  + removed the following files:
    - debian/config
    - debian/libnss-ldap.postinst
    - debian/libnss-ldap.postrm
    - debian/po
    - debian/templates
  + debian/LDAP-Permissions.txt: use /etc/ldap.conf
  + debian/README.Debian: use /etc/ldap.conf
  + debian/rules:
    - don't use --with-ldap-conf-file and --with-ldap-secret-file
    - install initscript
    - add MULTI_OS_DIRECTORY extra arg
    - removed binary-post-install
  + debian/libnss-ldap.install:
    - removed usr/share/libnss-ldap/ldap.conf
    - added usr/sbin/nssldap-update-ignoreusers and
      usr/share/man/man8/nssldap-update-ignoreusers.8
  + debian/libnss-ldap.dirs:
    - removed usr/share/libnss-ldap
    - debian/libnss-ldap.dirs: added var/lib/libnss-ldap
  + debian/patches/series, debian/patches/fix-ethers-truncation.patch:
    Fix lookups for hostname by MAC address
    (http://bugzilla.padl.com/show_bug.cgi?id=388) (LP: #315241)
  + Add patch fix-glibc-test-for-armel-gnueabi to allow linux-gnueabi as
    target_os for armel and an autoreconf patch to update generated files.
  + debian/patches: fix_ldap_sessions_mem_leak.patch
  + added debian/nssldap-update-ignoreusers which update
    nss_initgroups_ignoreusers in /etc/ldap.conf based on
    nss_initgroups_minimum_uid
  + add manpage for nssldap-update-ignoreusers
  + added debian/libnss-ldap.init to call nssldap-update-ignoreusers on
    shutdown
  + debian/patches/minimum_uid.patch: update ldap.conf and manpage for
    nss_initgroups_ignoreusers and nss_initgroups_minimum_uid updates;
    WARNING: this patch is currently not applied and needs testing.

Revision history for this message
Yolanda Robla (yolanda.robla) wrote :

> Can you please update the "Remaining changes" list? there are a lot of other
> changes, such as the /etc/libnss-ldap.conf → /etc/ldap.conf configuration,
> dropping of debian/config, addition of a SysV init file (!), the added script
> debian/nssldap-update-ignoreusers, etc.

Please recheck

Revision history for this message
Martin Pitt (pitti) wrote :

Thanks; this might be formally correct, but is still hard to grasp. Merely stating something like

14 + + removed the following files:
15 + - debian/config

and then further down something like

27 + + debian/libnss-ldap.install:
28 + - removed usr/share/libnss-ldap/ldap.conf

isn't very useful, as one sees just that from the diff. It's better to group the changes into independent logical units with the changes that belong together, like

 * Switch from static debconf configuration in /etc/foo.conf to a dynamic auto-detected configuration in /var/lib/foo/foo.conf:
   - Drop debian/config debconf script
   - debian/rules: Build with --configure-dynamic
   - debian/control: Add foo-detector dependency
 * Add blacklisting of users:
   - Add minimum_uid.patch: ...
   - debian/rules: Build with --user-blacklist=/etc/...

and so on. I know you didn't introduce the current messy changelog, but it would be a good opportunity to review these, see what can be sent to Debian, which ones are obsolete, etc.

If you don't want to do that, I'm fine with uploading it as-is, but I'll give some time to consider/reply first.

Thanks!

Revision history for this message
Martin Pitt (pitti) :
review: Approve
34. By Yolanda Robla

  + Change dependency on ldap-auth-config to a recommendation only, since
    using LDAP name services does not automatically mean that authentication
    must be via LDAP (LP: #1016592):
    - debian/control: Recommends ldap-auth-config
  + Switch from static debconf configuration in /etc/foo.conf to a dynamic
    auto-detected configuration in /var/lib/foo/foo.conf:
    - Removed the following files: debian/config, debian/libnss-ldap.postinst,
      debian/libnss-ldap.postrm, debian/po, debian/templates
    - debian/LDAP-Permissions.txt: use /etc/ldap.conf
    - debian/README.Debian: use /etc/ldap.conf
    - debian/rules: don't use --with-ldap-conf-file and
      --with-ldap-secret-file, removed binary-post-install
    - debian/libnss-ldap.install: removed usr/share/libnss-ldap/ldap.conf
    - debian/libnss-ldap.dirs: removed usr/share/libnss-ldap
  + Remaining changes from debian unstable for LP: #155947
    - added debian/nssldap-update-ignoreusers which update
      nss_initgroups_ignoreusers in /etc/ldap.conf based on
      nss_initgroups_minimum_uid
    - add manpage for nssldap-update-ignoreusers
    - debian/libnss-ldap.install: added usr/sbin/nssldap-update-ignoreusers
      and usr/share/man/man8/nssldap-update-ignoreusers.8
    - added debian/libnss-ldap.init to call nssldap-update-ignoreusers on
      shutdown
    - debian/rules: install initscript
    - debian/patches/minimum_uid.patch: update ldap.conf and manpage for
      nss_initgroups_ignoreusers and nss_initgroups_minimum_uid updates;
      WARNING: this patch is currently not applied and needs testing.
  + Pass the multiarch dir name to make as MULTI_OS_DIRECTORY, so that the
    upstream build system can actually find libc and nss_files on disk and
    we don't misbuild with wrong filenames:
    - debian/rules: add MULTI_OS_DIRECTORY extra arg
  + Drop number prefixes from Ubuntu-specific patches
    (00fix-ethers-truncation, 01_minimum_uid, and
    02_fix_ldap_sessions_mem_leak) since the package uses a quilt series now.

Unmerged revisions

34. By Yolanda Robla

  + Change dependency on ldap-auth-config to a recommendation only, since
    using LDAP name services does not automatically mean that authentication
    must be via LDAP (LP: #1016592):
    - debian/control: Recommends ldap-auth-config
  + Switch from static debconf configuration in /etc/foo.conf to a dynamic
    auto-detected configuration in /var/lib/foo/foo.conf:
    - Removed the following files: debian/config, debian/libnss-ldap.postinst,
      debian/libnss-ldap.postrm, debian/po, debian/templates
    - debian/LDAP-Permissions.txt: use /etc/ldap.conf
    - debian/README.Debian: use /etc/ldap.conf
    - debian/rules: don't use --with-ldap-conf-file and
      --with-ldap-secret-file, removed binary-post-install
    - debian/libnss-ldap.install: removed usr/share/libnss-ldap/ldap.conf
    - debian/libnss-ldap.dirs: removed usr/share/libnss-ldap
  + Remaining changes from debian unstable for LP: #155947
    - added debian/nssldap-update-ignoreusers which update
      nss_initgroups_ignoreusers in /etc/ldap.conf based on
      nss_initgroups_minimum_uid
    - add manpage for nssldap-update-ignoreusers
    - debian/libnss-ldap.install: added usr/sbin/nssldap-update-ignoreusers
      and usr/share/man/man8/nssldap-update-ignoreusers.8
    - added debian/libnss-ldap.init to call nssldap-update-ignoreusers on
      shutdown
    - debian/rules: install initscript
    - debian/patches/minimum_uid.patch: update ldap.conf and manpage for
      nss_initgroups_ignoreusers and nss_initgroups_minimum_uid updates;
      WARNING: this patch is currently not applied and needs testing.
  + Pass the multiarch dir name to make as MULTI_OS_DIRECTORY, so that the
    upstream build system can actually find libc and nss_files on disk and
    we don't misbuild with wrong filenames:
    - debian/rules: add MULTI_OS_DIRECTORY extra arg
  + Drop number prefixes from Ubuntu-specific patches
    (00fix-ethers-truncation, 01_minimum_uid, and
    02_fix_ldap_sessions_mem_leak) since the package uses a quilt series now.

33. By Yolanda Robla

  + debian/control:
    - Update maintainer
    - Recommends ldap-auth-config
    - move nscd to Suggests
    - Removed Depends on po-debconf and (debconf handled by
      ldap-auth-config now)
  + removed the following files:
    - debian/config
    - debian/libnss-ldap.postinst
    - debian/libnss-ldap.postrm
    - debian/po
    - debian/templates
  + debian/LDAP-Permissions.txt: use /etc/ldap.conf
  + debian/README.Debian: use /etc/ldap.conf
  + debian/rules:
    - don't use --with-ldap-conf-file and --with-ldap-secret-file
    - install initscript
    - add MULTI_OS_DIRECTORY extra arg
    - removed binary-post-install
  + debian/libnss-ldap.install:
    - removed usr/share/libnss-ldap/ldap.conf
    - added usr/sbin/nssldap-update-ignoreusers and
      usr/share/man/man8/nssldap-update-ignoreusers.8
  + debian/libnss-ldap.dirs:
    - removed usr/share/libnss-ldap
    - debian/libnss-ldap.dirs: added var/lib/libnss-ldap
  + debian/patches/series, debian/patches/fix-ethers-truncation.patch:
    Fix lookups for hostname by MAC address
    (http://bugzilla.padl.com/show_bug.cgi?id=388) (LP: #315241)
  + Add patch fix-glibc-test-for-armel-gnueabi to allow linux-gnueabi as
    target_os for armel and an autoreconf patch to update generated files.
  + debian/patches: fix_ldap_sessions_mem_leak.patch
  + added debian/nssldap-update-ignoreusers which update
    nss_initgroups_ignoreusers in /etc/ldap.conf based on
    nss_initgroups_minimum_uid
  + add manpage for nssldap-update-ignoreusers
  + added debian/libnss-ldap.init to call nssldap-update-ignoreusers on
    shutdown
  + debian/patches/minimum_uid.patch: update ldap.conf and manpage for
    nss_initgroups_ignoreusers and nss_initgroups_minimum_uid updates;
    WARNING: this patch is currently not applied and needs testing.

32. By Yolanda Robla

Merge from Debian unstable (LP: #1200203). Remaining changes:

31. By Yolanda Robla

* Merge from Debian unstable. Remaining changes:
  - debian/patches: fix-ethers-truncation.patch
  - debian/patches: fix_ldap_sessions_mem_leak.patch
  - debian/patches: fix-glibc-test-for-armel-gnueabi.patch
  - debian/patches: autoreconf.patch
* Dropped patches, superseeded by new patch:
  - debian/patches/fix-glibc-test-for-armel-gnueabi.patch
* Refreshed patches:
  - debian/autoreconf.patch
* Non-maintainer upload.
* Needs to build-depend on automake1.9.
* Non-maintainer upload.
* Apply patch from Peter Green to solve build failure on arm* kfreebsd*
  (closes: #683011).
* Non-maintainer upload.
* Support multi-arch: (closes: #653664)
  - Mark libnss-ldap as same.
  - Adjust build-dependencies.
* Add hack to find correct libc in a multi-arch environment.
* Fix symlink generation.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-07-18 14:20:27 +0000
3+++ debian/changelog 2013-07-23 14:55:39 +0000
4@@ -1,3 +1,86 @@
5+libnss-ldap (264-2.5ubuntu1) saucy; urgency=low
6+
7+ * Merge from Debian unstable (LP: #1200203). Remaining changes:
8+ + debian/control:
9+ - Update maintainer
10+ - move nscd to Suggests
11+ + Change dependency on ldap-auth-config to a recommendation only, since
12+ using LDAP name services does not automatically mean that authentication
13+ must be via LDAP (LP: #1016592):
14+ - debian/control: Recommends ldap-auth-config
15+ + Switch from static debconf configuration in /etc/foo.conf to a dynamic
16+ auto-detected configuration in /var/lib/foo/foo.conf:
17+ - Removed Depends on po-debconf and (debconf handled by
18+ ldap-auth-config now)
19+ - Removed the following files: debian/config, debian/libnss-ldap.postinst,
20+ debian/libnss-ldap.postrm, debian/po, debian/templates
21+ - debian/LDAP-Permissions.txt: use /etc/ldap.conf
22+ - debian/README.Debian: use /etc/ldap.conf
23+ - debian/rules: don't use --with-ldap-conf-file and
24+ --with-ldap-secret-file, removed binary-post-install
25+ - debian/libnss-ldap.install: removed usr/share/libnss-ldap/ldap.conf
26+ - debian/libnss-ldap.dirs: removed usr/share/libnss-ldap
27+ + Remaining changes from debian unstable for LP: #155947
28+ - added debian/nssldap-update-ignoreusers which update
29+ nss_initgroups_ignoreusers in /etc/ldap.conf based on
30+ nss_initgroups_minimum_uid
31+ - add manpage for nssldap-update-ignoreusers
32+ - debian/libnss-ldap.install: added usr/sbin/nssldap-update-ignoreusers
33+ and usr/share/man/man8/nssldap-update-ignoreusers.8
34+ - added debian/libnss-ldap.init to call nssldap-update-ignoreusers on
35+ shutdown
36+ - debian/rules: install initscript
37+ - debian/libnss-ldap.dirs: added var/lib/libnss-ldap
38+ - debian/patches/minimum_uid.patch: update ldap.conf and manpage for
39+ nss_initgroups_ignoreusers and nss_initgroups_minimum_uid updates;
40+ WARNING: this patch is currently not applied and needs testing.
41+ + Pass the multiarch dir name to make as MULTI_OS_DIRECTORY, so that the
42+ upstream build system can actually find libc and nss_files on disk and
43+ we don't misbuild with wrong filenames:
44+ - debian/rules: add MULTI_OS_DIRECTORY extra arg
45+ + debian/patches/series, debian/patches/fix-ethers-truncation.patch:
46+ Fix lookups for hostname by MAC address
47+ (http://bugzilla.padl.com/show_bug.cgi?id=388) (LP: #315241)
48+ + Add patch fix-glibc-test-for-armel-gnueabi to allow linux-gnueabi as
49+ target_os for armel and an autoreconf patch to update generated files.
50+ + Drop number prefixes from Ubuntu-specific patches
51+ (00fix-ethers-truncation, 01_minimum_uid, and
52+ 02_fix_ldap_sessions_mem_leak) since the package uses a quilt series now.
53+
54+ * Dropped patches, superseeded by new patch:
55+ - debian/patches/fix-glibc-test-for-armel-gnueabi.patch
56+
57+ * Refreshed patches:
58+ - debian/autoreconf.patch
59+
60+ -- Yolanda Robla <yolanda.robla@canonical.com> Thu, 11 Jul 2013 14:29:43 +0200
61+
62+libnss-ldap (264-2.5) unstable; urgency=low
63+
64+ * Non-maintainer upload.
65+ * Needs to build-depend on automake1.9.
66+
67+ -- Thijs Kinkhorst <thijs@debian.org> Sat, 29 Sep 2012 15:12:21 +0000
68+
69+libnss-ldap (264-2.4) unstable; urgency=low
70+
71+ * Non-maintainer upload.
72+ * Apply patch from Peter Green to solve build failure on arm* kfreebsd*
73+ (closes: #683011).
74+
75+ -- Thijs Kinkhorst <thijs@debian.org> Fri, 28 Sep 2012 13:51:01 +0000
76+
77+libnss-ldap (264-2.3) unstable; urgency=low
78+
79+ * Non-maintainer upload.
80+ * Support multi-arch: (closes: #653664)
81+ - Mark libnss-ldap as same.
82+ - Adjust build-dependencies.
83+ * Add hack to find correct libc in a multi-arch environment.
84+ * Fix symlink generation.
85+
86+ -- Bastian Blank <waldi@debian.org> Mon, 14 May 2012 10:41:48 +0000
87+
88 libnss-ldap (264-2.2ubuntu4) quantal; urgency=low
89
90 * Fix /usr/lib/libnss_ldap.so broken symlink and location, which was missed
91
92=== modified file 'debian/control'
93--- debian/control 2012-06-22 22:09:08 +0000
94+++ debian/control 2013-07-23 14:55:39 +0000
95@@ -4,7 +4,7 @@
96 XSBC-Original-Maintainer: Richard A Nelson (Rick) <cowboy@debian.org>
97 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
98 Standards-Version: 3.7.2
99-Build-Depends: cdbs (>= 0.4.93~), quilt, patchutils, debhelper (>= 8.1.3~), autotools-dev, libkrb5-dev, libldap2-dev, libsasl2-dev
100+Build-Depends: cdbs (>= 0.4.93~), quilt, patchutils, dh-buildinfo (>= 0.9+nmu1~), debhelper (>= 8.1.3~), autotools-dev, automake1.9, libkrb5-dev, libldap2-dev, libsasl2-dev
101
102 Package: libnss-ldap
103 Architecture: any
104
105=== modified file 'debian/libnss-ldap.install'
106--- debian/libnss-ldap.install 2011-12-30 02:55:35 +0000
107+++ debian/libnss-ldap.install 2013-07-23 14:55:39 +0000
108@@ -3,6 +3,7 @@
109 build-tree/*/nsswitch.ldap usr/share/doc/libnss-ldap/examples
110 debian/LDAP-Permissions.txt usr/share/doc/libnss-ldap
111 debian/tmp/lib/*/*
112+debian/tmp/usr/lib/*/*
113 debian/examples usr/share/doc/libnss-ldap
114 debian/nssldap-update-ignoreusers usr/sbin
115 debian/nssldap-update-ignoreusers.8 usr/share/man/man8
116
117=== modified file 'debian/patches/autoreconf.patch'
118--- debian/patches/autoreconf.patch 2010-10-17 15:09:41 +0000
119+++ debian/patches/autoreconf.patch 2013-07-23 14:55:39 +0000
120@@ -7304,17 +7304,6 @@
121 GCC_TRUE=
122 GCC_FALSE='#'
123 else
124-@@ -3420,9 +4218,7 @@
125- GCC_FALSE=
126- fi
127-
128--
129--
130--if test "$target_os" = "linux" -o "$target_os" = "linux-gnu"; then
131-+ if test "$target_os" = "linux" -o "$target_os" = "linux-gnu" -o "$target_os" = "linux-gnueabi"; then
132- GLIBC_TRUE=
133- GLIBC_FALSE='#'
134- else
135 @@ -3430,9 +4226,7 @@
136 GLIBC_FALSE=
137 fi
138
139=== removed file 'debian/patches/fix-glibc-test-for-armel-gnueabi.patch'
140--- debian/patches/fix-glibc-test-for-armel-gnueabi.patch 2010-10-17 15:09:41 +0000
141+++ debian/patches/fix-glibc-test-for-armel-gnueabi.patch 1970-01-01 00:00:00 +0000
142@@ -1,11 +0,0 @@
143---- a/configure.in
144-+++ b/configure.in
145-@@ -98,7 +98,7 @@ linux*) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic -Wl,--version-script,\$(srcdi
146- esac
147-
148- AM_CONDITIONAL(GCC, test "$GCC" = "yes")
149--AM_CONDITIONAL(GLIBC, test "$target_os" = "linux" -o "$target_os" = "linux-gnu")
150-+AM_CONDITIONAL(GLIBC, test "$target_os" = "linux" -o "$target_os" = "linux-gnu" -o "$target_os" = "linux-gnueabi")
151- AM_CONDITIONAL(AIX, test "$TARGET_OS" = AIX)
152- AM_CONDITIONAL(HPUX, test "$TARGET_OS" = HPUX)
153-
154
155=== added file 'debian/patches/link'
156--- debian/patches/link 1970-01-01 00:00:00 +0000
157+++ debian/patches/link 2013-07-23 14:55:39 +0000
158@@ -0,0 +1,22 @@
159+--- a/Makefile.am
160++++ b/Makefile.am
161+@@ -83,7 +83,7 @@
162+ $(INSTALL_PROGRAM) -o $(INST_UID) -g $(INST_GID) nss_ldap.so $(DESTDIR)$(libdir)/$(NSS_LDAP_LIBC_VERSIONED)
163+ (cd $(DESTDIR)$(libdir); ln -sf $(NSS_LDAP_LIBC_VERSIONED) $(NSS_LDAP_NSS_VERSIONED))
164+ $(mkinstalldirs) $(DESTDIR)/usr$(libdir)
165+- (cd $(DESTDIR)/usr$(libdir); ln -sf ../..$(libdir)/$(NSS_LDAP_NSS_VERSIONED) .)
166++ (cd $(DESTDIR)/usr$(libdir); ln -sf $(libdir)/$(NSS_LDAP_NSS_VERSIONED) libnss_ldap.so)
167+ else
168+ $(mkinstalldirs) $(DESTDIR)$(libdir)
169+ if HPUX
170+--- a/Makefile.in
171++++ b/Makefile.in
172+@@ -680,7 +680,7 @@
173+ @AIX_FALSE@@GLIBC_TRUE@ $(INSTALL_PROGRAM) -o $(INST_UID) -g $(INST_GID) nss_ldap.so $(DESTDIR)$(libdir)/$(NSS_LDAP_LIBC_VERSIONED)
174+ @AIX_FALSE@@GLIBC_TRUE@ (cd $(DESTDIR)$(libdir); ln -sf $(NSS_LDAP_LIBC_VERSIONED) $(NSS_LDAP_NSS_VERSIONED))
175+ @AIX_FALSE@@GLIBC_TRUE@ $(mkinstalldirs) $(DESTDIR)/usr$(libdir)
176+-@AIX_FALSE@@GLIBC_TRUE@ (cd $(DESTDIR)/usr$(libdir); ln -sf ../..$(libdir)/$(NSS_LDAP_NSS_VERSIONED) .)
177++@AIX_FALSE@@GLIBC_TRUE@ (cd $(DESTDIR)/usr$(libdir); ln -sf $(libdir)/$(NSS_LDAP_NSS_VERSIONED) libnss_ldap.so)
178+ @AIX_FALSE@@GLIBC_FALSE@ $(mkinstalldirs) $(DESTDIR)$(libdir)
179+ @AIX_FALSE@@GLIBC_FALSE@@HPUX_TRUE@ $(INSTALL_PROGRAM) -o $(INST_UID) -g $(INST_GID) nss_ldap.so $(DESTDIR)$(libdir)/libnss_ldap.1
180+ @AIX_FALSE@@GLIBC_FALSE@@HPUX_FALSE@ $(INSTALL_PROGRAM) -o $(INST_UID) -g $(INST_GID) nss_ldap.so $(DESTDIR)$(libdir)/nss_ldap.so.1
181
182=== modified file 'debian/patches/series'
183--- debian/patches/series 2010-11-06 13:07:50 +0000
184+++ debian/patches/series 2013-07-23 14:55:39 +0000
185@@ -5,5 +5,6 @@
186 uid_t
187 fix-ethers-truncation.patch
188 fix_ldap_sessions_mem_leak.patch
189-fix-glibc-test-for-armel-gnueabi.patch
190 autoreconf.patch
191+link
192+treat-all-debian-systems-like-linux.patch
193
194=== added file 'debian/patches/treat-all-debian-systems-like-linux.patch'
195--- debian/patches/treat-all-debian-systems-like-linux.patch 1970-01-01 00:00:00 +0000
196+++ debian/patches/treat-all-debian-systems-like-linux.patch 2013-07-23 14:55:39 +0000
197@@ -0,0 +1,26 @@
198+Index: nss_ldap-264/configure.in
199+===================================================================
200+--- nss_ldap-264.orig/configure.in 2012-08-07 22:54:21.000000000 +0000
201++++ nss_ldap-264/configure.in 2012-08-07 22:54:26.000000000 +0000
202+@@ -98,7 +98,7 @@
203+ esac
204+
205+ AM_CONDITIONAL(GCC, test "$GCC" = "yes")
206+-AM_CONDITIONAL(GLIBC, test "$target_os" = "linux" -o "$target_os" = "linux-gnu")
207++AM_CONDITIONAL(GLIBC, test "forcedpass" = "forcedpass")
208+ AM_CONDITIONAL(AIX, test "$TARGET_OS" = AIX)
209+ AM_CONDITIONAL(HPUX, test "$TARGET_OS" = HPUX)
210+
211+Index: nss_ldap-264/configure
212+===================================================================
213+--- nss_ldap-264.orig/configure 2008-10-30 20:50:15.000000000 +0000
214++++ nss_ldap-264/configure 2012-08-07 22:54:48.000000000 +0000
215+@@ -3422,7 +3422,7 @@
216+
217+
218+
219+-if test "$target_os" = "linux" -o "$target_os" = "linux-gnu"; then
220++if test "forcedpass" = "forcedpass"; then
221+ GLIBC_TRUE=
222+ GLIBC_FALSE='#'
223+ else
224
225=== modified file 'debian/rules'
226--- debian/rules 2012-07-18 14:20:27 +0000
227+++ debian/rules 2013-07-23 14:55:39 +0000
228@@ -28,9 +28,8 @@
229 DEB_DH_INSTALLINIT_ARGS = start . stop 20 0 1 6 .
230 export LIBS=-lpthread
231
232-binary-install/libnss-ldap::
233- dh_link -plibnss-ldap /lib/$(DEB_HOST_MULTIARCH)/libnss_ldap.so.2 \
234- /usr/lib/$(DEB_HOST_MULTIARCH)/libnss_ldap.so
235+# Hack to pick up the soname of libc on the filesystem...
236+DEB_MAKE_EXTRA_ARGS += MULTI_OS_DIRECTORY=$(DEB_HOST_MULTIARCH)
237
238 # Keep file autoconf list out of the diff
239 clean::

Subscribers

People subscribed via source and target branches

to all changes: