Merge lp:~smoser/ubuntu/oneiric/hostname/merge-debian into lp:ubuntu/oneiric/hostname

Proposed by Scott Moser
Status: Merged
Merge reported by: Benjamin Drung
Merged at revision: not available
Proposed branch: lp:~smoser/ubuntu/oneiric/hostname/merge-debian
Merge into: lp:ubuntu/oneiric/hostname
Diff against target: 59 lines (+21/-3)
3 files modified
debian/changelog (+17/-0)
debian/rules (+3/-2)
hostname.c (+1/-1)
To merge this branch: bzr merge lp:~smoser/ubuntu/oneiric/hostname/merge-debian
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+62402@code.launchpad.net
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 2010-11-17 16:42:29 +0000
3+++ debian/changelog 2011-05-26 04:43:23 +0000
4@@ -1,3 +1,20 @@
5+hostname (3.06ubuntu1) oneiric; urgency=low
6+
7+ * Merge from debian unstable (LP: #788453), remaining changes:
8+ - Install Upstart job to set hostname on startup, but do not run it in
9+ postinst.
10+ - Build-depend on newer debhelper for Upstart-aware dh_installinit.
11+ * drop change for "Don't compare versions during the build", as debian/rules
12+ uses a different mechanism for comparison that is more reasonable.
13+
14+ -- Scott Moser <smoser@ubuntu.com> Thu, 26 May 2011 00:37:02 -0400
15+
16+hostname (3.06) unstable; urgency=low
17+
18+ * Relax version comparison to make binnmus possible. (Closes: #616683)
19+
20+ -- Michael Meskes <meskes@debian.org> Mon, 07 Mar 2011 12:31:08 +0100
21+
22 hostname (3.05ubuntu1) natty; urgency=low
23
24 * Merge from debian unstable (LP: #676474), remaining changes:
25
26=== modified file 'debian/rules'
27--- debian/rules 2010-11-17 16:42:29 +0000
28+++ debian/rules 2011-05-26 04:43:23 +0000
29@@ -3,8 +3,8 @@
30 # Uncomment this to turn on verbose mode.
31 #export DH_VERBOSE=1
32
33-DEBVERSION := $(shell dpkg-parsechangelog | grep "Version:" | cut -d" " -f2)
34-PRGVERSION := $(shell grep "define VERSION" hostname.c | cut -d"\"" -f2)
35+DEBVERSION := $(shell dpkg-parsechangelog | awk '/Version:/ { print substr($$2,1,4)}')
36+PRGVERSION := $(shell awk '/define VERSION/ { print substr($$3,2,length($$3)-2)}' hostname.c)
37
38 CFLAGS = -Wall -g
39
40@@ -28,6 +28,7 @@
41 dh_testdir
42
43 # Building package
44+ [ "$(DEBVERSION)" = "$(PRGVERSION)" ] || exit 1
45 CFLAGS="$(CFLAGS)" $(MAKE) $(CROSS)
46
47 touch build-stamp
48
49=== modified file 'hostname.c'
50--- hostname.c 2010-11-17 16:42:29 +0000
51+++ hostname.c 2011-05-26 04:43:23 +0000
52@@ -45,7 +45,7 @@
53 #include <err.h>
54 #include <rpcsvc/ypclnt.h>
55
56-#define VERSION "3.05"
57+#define VERSION "3.06"
58
59 enum type_t { DEFAULT, DNS, FQDN, SHORT, ALIAS, IP, NIS, NIS_DEF, ALL_FQDNS, ALL_IPS };
60

Subscribers

People subscribed via source and target branches

to all changes: