Merge lp:~awe/network-manager/openvpn-ubuntu.0.7.1 into lp:~network-manager/network-manager/openvpn-ubuntu.0.7.1

Proposed by Tony Espy
Status: Merged
Approved by: Alexander Sack
Approved revision: 10
Merged at revision: not available
Proposed branch: lp:~awe/network-manager/openvpn-ubuntu.0.7.1
Merge into: lp:~network-manager/network-manager/openvpn-ubuntu.0.7.1
Diff against target: None lines
To merge this branch: bzr merge lp:~awe/network-manager/openvpn-ubuntu.0.7.1
Reviewer Review Type Date Requested Status
Alexander Sack Approve
Review via email: mp+7906@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Tony Espy (awe) wrote :

Here's my revised merge...

Revision history for this message
Alexander Sack (asac) wrote :

looks ok. i added a "make distclean" after autogen.sh in order to produce a cleaner tarball.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.bzr-builddeb/default.conf'
2--- .bzr-builddeb/default.conf 2009-04-08 23:49:59 +0000
3+++ .bzr-builddeb/default.conf 2009-06-25 17:37:57 +0000
4@@ -1,3 +1,2 @@
5 [BUILDDEB]
6-export-upstream-revision = revid:svn-v3-trunk0:bcea4615-760a-421e-8543-3a9231f862fb:branches%2FNETWORKMANAGER_0_7:64
7 merge = True
8
9=== modified file 'changelog'
10--- changelog 2009-04-08 23:59:22 +0000
11+++ changelog 2009-06-25 18:48:15 +0000
12@@ -1,3 +1,15 @@
13+network-manager-openvpn (0.7.1-0ubuntu1) karmic; urgency=low
14+
15+ * New upstream release 0.7.1 final
16+ * updated build-depends to 0.7.1 final; add Vcs-Bzr line
17+ - update debian/control
18+ * added get-orig-source to generate .orig.tar.gz
19+ - update debian/rules
20+ * removed unused export-upstream-revision statement
21+ - update .bzr-builddeb/default.conf
22+
23+ -- Tony Espy <espy@ubuntu.com> Thu, 25 Jun 2009 14:29:37 -0400
24+
25 network-manager-openvpn (0.7.1~rc4.1.20090323+bzr27-0ubuntu2) jaunty; urgency=low
26
27 * fix build failure by adding libglade2-dev to build-depends
28
29=== modified file 'control'
30--- control 2009-04-08 23:59:22 +0000
31+++ control 2009-06-25 18:48:15 +0000
32@@ -5,9 +5,9 @@
33 XSBC-Original-Maintainer: Soren Hansen <sh@linux2go.dk>
34 Build-Depends: cdbs,
35 debhelper (>= 5),
36- network-manager-dev (>= 0.7.1~),
37- libnm-util-dev (>= 0.7.1~),
38- libnm-glib-dev (>= 0.7.1~),
39+ network-manager-dev (>= 0.7.1),
40+ libnm-util-dev (>= 0.7.1),
41+ libnm-glib-dev (>= 0.7.1),
42 automake1.9,
43 gnome-common,
44 intltool,
45@@ -17,6 +17,7 @@
46 quilt,
47 libglade2-dev
48 Standards-Version: 3.7.2
49+Vcs-Bzr: http://code.launchpad.net/~network-manager/network-manager/openvpn-ubuntu.0.7.1
50
51 Package: network-manager-openvpn
52 Architecture: any
53
54=== modified file 'rules'
55--- rules 2009-02-15 02:49:33 +0000
56+++ rules 2009-06-25 17:51:25 +0000
57@@ -1,4 +1,12 @@
58 #!/usr/bin/make -f
59+
60+GIT_URL = git://git.gnome.org/network-manager-openvpn
61+TAG_PREFIX := "NETWORKMANAGER_OPENVPN_"
62+
63+DEB_SOURCE := $(shell dpkg-parsechangelog | grep Source: | sed -e 's/Source: //')
64+DEB_VERSION := $(shell dpkg-parsechangelog | grep Version: | sed -e 's/Version: //')
65+DEB_UPSTREAM_VERSION := $(shell echo $(DEB_VERSION) | sed -e 's/-[^-]*$$//')
66+DEB_TAG_VERSION := $(shell echo $(DEB_UPSTREAM_VERSION) | sed -e 's/\./_/g')
67
68 include /usr/share/cdbs/1/class/makefile.mk
69 include /usr/share/cdbs/1/rules/debhelper.mk
70@@ -7,16 +15,24 @@
71
72 #DEB_DH_MAKESHLIBS_ARGS_network-manager-openvpn := -n
73
74-makebuilddir/network-manager-openvpn:: debian/stamp-bootstrap
75-
76-debian/stamp-bootstrap:
77- NOCONFIGURE=1 ./autogen.sh
78- touch debian/stamp-bootstrap
79-
80-clean::
81- rm -f aclocal.m4 auth-dialog/Makefile.in compile config.guess \
82- config.h.in config.sub configure depcomp install-sh \
83- intltool-extract.in intltool-merge.in intltool-update.in \
84- ltmain.sh Makefile.in missing mkinstalldirs po/Makefile.in.in \
85- properties/Makefile.in src/Makefile.in debian/stamp-bootstrap
86-
87+DEB_DESTDIR = $(CURDIR)/debian/tmp/
88+
89+get-orig-source::
90+ set -e; if echo $(DEB_VERSION) | grep -c "git"; \
91+ then \
92+ git_version=`echo $(DEB_VERSION) | sed -e 's/^.*git\.*\([0-9]*\.\)*\(.*\)-.*$$/\2/g'`; \
93+ else \
94+ git_version=$(TAG_PREFIX)$(DEB_TAG_VERSION); \
95+ fi; \
96+ tmpdir=`mktemp -d -t`; \
97+ cd $$tmpdir; \
98+ echo "cloning upstream repository ..."; \
99+ git clone $(GIT_URL); echo "getting specific upstream revision/tag: $$git_version"; \
100+ cd `ls | head -n 1`; git checkout -b orig $$git_version; \
101+ echo "autotools bootstrapping ..."; \
102+ sh ./autogen.sh; \
103+ echo "cleaning up autotools caches (autom4te.cache) ..."; \
104+ rm -rf autom4te.cache; \
105+ echo "OK!"; \
106+ cd ..; tar --exclude=.git -cvzf $(CURDIR)/$(DEB_SOURCE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz `ls | head -n 1`; \
107+ cd $(CURDIR); rm -rf $$tmpdir

Subscribers

People subscribed via source and target branches