Merge lp:~yolanda.robla/ubuntu/saucy/openldap/server_banner into lp:ubuntu/saucy/openldap

Proposed by Yolanda Robla
Status: Merged
Merged at revision: 57
Proposed branch: lp:~yolanda.robla/ubuntu/saucy/openldap/server_banner
Merge into: lp:ubuntu/saucy/openldap
Diff against target: 65 lines (+33/-1)
4 files modified
debian/changelog (+7/-0)
debian/control (+1/-1)
debian/patches/fix-ldap-distribution.patch (+24/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~yolanda.robla/ubuntu/saucy/openldap/server_banner
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+173544@code.launchpad.net

Description of the change

Updated code to display Ubuntu distribution in slapd -V

To post a comment you must log in.

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 2013-05-30 13:03:25 +0000
3+++ debian/changelog 2013-07-08 16:29:26 +0000
4@@ -1,3 +1,10 @@
5+openldap (2.4.31-1+nmu2ubuntu2) saucy; urgency=low
6+
7+ * debian/control: added lsb-release
8+ * debian/patches/fix-ldap-distribution.patch: show distribution in version
9+
10+ -- Yolanda Robla <yolanda.robla@canonical.com> Mon, 08 Jul 2013 16:53:09 +0200
11+
12 openldap (2.4.31-1+nmu2ubuntu1) saucy; urgency=low
13
14 * Merge from Debian unstable. Remaining changes:
15
16=== modified file 'debian/control'
17--- debian/control 2012-07-18 13:29:46 +0000
18+++ debian/control 2013-07-08 16:29:26 +0000
19@@ -16,7 +16,7 @@
20 libsasl2-dev, libslp-dev, libltdl-dev | libltdl3-dev (>= 1.4.3),
21 libwrap0-dev, perl, debconf-utils, po-debconf, quilt (>= 0.46-7),
22 groff-base, time, heimdal-dev, hardening-wrapper,
23- dh-autoreconf, dh-apparmor
24+ dh-autoreconf, dh-apparmor, lsb-release
25 Build-Conflicts: libbind-dev, bind-dev, libicu-dev, autoconf2.13
26 Standards-Version: 3.9.1
27 Homepage: http://www.openldap.org/
28
29=== added file 'debian/patches/fix-ldap-distribution.patch'
30--- debian/patches/fix-ldap-distribution.patch 1970-01-01 00:00:00 +0000
31+++ debian/patches/fix-ldap-distribution.patch 2013-07-08 16:29:26 +0000
32@@ -0,0 +1,24 @@
33+--- a/build/mkversion 2013-06-27 10:25:47.851083000 +0000
34++++ b/build/mkversion 2013-07-08 14:16:15.772912999 +0000
35+@@ -52,6 +52,12 @@
36+ APPLICATION=$1
37+ WHOWHERE="$USER@`uname -n`:`pwd`"
38+
39++if test -x /usr/bin/lsb_release; then
40++ OPENLDAP_DISTRIBUTION=" ($(lsb_release -si))"
41++else
42++ OPENLDAP_DISTRIBUTION=""
43++fi
44++
45+ cat << __EOF__
46+ /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
47+ *
48+@@ -72,7 +78,7 @@
49+ "COPYING RESTRICTIONS APPLY\n";
50+
51+ $static $const char $SYMBOL[] =
52+-"@(#) \$$PACKAGE: $APPLICATION $VERSION (" __DATE__ " " __TIME__ ") \$\n"
53++"@(#) \$$PACKAGE: $APPLICATION $VERSION$OPENLDAP_DISTRIBUTION (" __DATE__ " " __TIME__ ") \$\n"
54+ "\t$WHOWHERE\n";
55+
56+ __EOF__
57
58=== modified file 'debian/patches/series'
59--- debian/patches/series 2013-05-30 13:03:25 +0000
60+++ debian/patches/series 2013-07-08 16:29:26 +0000
61@@ -22,3 +22,4 @@
62 no-bdb-ABI-second-guessing
63 heimdal-fix
64 bdb-deadlock.patch
65+fix-ldap-distribution.patch

Subscribers

People subscribed via source and target branches

to all changes: