Merge lp:~lars.duesing/ubuntu/quantal/aiccu/aiccu-sid-merge into lp:ubuntu/quantal/aiccu

Proposed by Lars Düsing
Status: Merged
Merged at revision: 17
Proposed branch: lp:~lars.duesing/ubuntu/quantal/aiccu/aiccu-sid-merge
Merge into: lp:ubuntu/quantal/aiccu
Diff against target: 255 lines (+63/-39)
11 files modified
.pc/06_syslog_openlog.patch/common/aiccu.c (+3/-3)
.pc/07_allow_tunnels.patch/unix-console/main.c (+0/-5)
.pc/08_setup_script.patch/common/aiccu.c (+3/-0)
.pc/08_setup_script.patch/unix-console/main.c (+17/-17)
.pc/applied-patches (+1/-1)
debian/changelog (+20/-0)
debian/control (+6/-6)
debian/patches/09_binutils_gold.patch (+2/-0)
debian/patches/series (+1/-1)
debian/postrm.debhelper (+0/-6)
debian/rules (+10/-0)
To merge this branch: bzr merge lp:~lars.duesing/ubuntu/quantal/aiccu/aiccu-sid-merge
Reviewer Review Type Date Requested Status
Mathieu Trudel-Lapierre Approve
Lars Düsing (community) Needs Resubmitting
Ubuntu branches Pending
Review via email: mp+108302@code.launchpad.net

Description of the change

merge from debian sid

To post a comment you must log in.
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Please fix your merge so that changes remaining as a delta from Debian are listed: this helps reviewing whether those are still needed later when proceeding with another merge, or deciding if it should be a sync instead.

You can check the delta from Debian within a Ubuntu packaging branch using: bzr diff --old debianlp:sid/aiccu

review: Needs Fixing
18. By Lars Düsing

* merge from current debian sid. Remaining changes:
  - upstart configuration

Revision history for this message
Lars Düsing (lars.duesing) wrote :

done.

review: Needs Resubmitting
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Looks fine, I'm uploading this. I've made some minor fixes to changelog along the way.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file '.pc/01_no-shipped-init-script.patch/.timestamp'
2=== added file '.pc/02_skip-strip.patch/.timestamp'
3=== added file '.pc/03_no-quiet-gcc.patch/.timestamp'
4=== added file '.pc/04_kfreebsd.patch/.timestamp'
5=== added file '.pc/05_spelling-error.patch/.timestamp'
6=== added file '.pc/06_syslog_openlog.patch/.timestamp'
7=== modified file '.pc/06_syslog_openlog.patch/common/aiccu.c'
8--- .pc/06_syslog_openlog.patch/common/aiccu.c 2010-05-29 21:19:43 +0000
9+++ .pc/06_syslog_openlog.patch/common/aiccu.c 2012-06-01 21:54:17 +0000
10@@ -212,6 +212,9 @@
11 fprintf(f, "# Try to automatically login and setup the tunnel?\n");
12 fprintf(f, "automatic %s\n", g_aiccu->automatic ? "true" : "false");
13 fprintf(f, "\n");
14+ fprintf(f, "# Script to run after setting up the interfaces (default: none)\n");
15+ fprintf(f, "%ssetupscript %s\n", g_aiccu->setupscript ? "" : "#", g_aiccu->setupscript ? g_aiccu->setupscript : "<path>");
16+ fprintf(f, "\n");
17 fprintf(f, "# TLS Required?\n");
18 fprintf(f, "requiretls %s\n", g_aiccu->requiretls ? "true" : "false");
19 fprintf(f, "\n");
20@@ -228,9 +231,6 @@
21 fprintf(f, "# PID File\n");
22 fprintf(f, "pidfile %s\n", g_aiccu->pidfile);
23 fprintf(f, "\n");
24- fprintf(f, "# Script to run after setting up the interfaces (default: none)\n");
25- fprintf(f, "%ssetupscript %s\n", g_aiccu->setupscript ? "" : "#", g_aiccu->setupscript ? g_aiccu->setupscript : "<path>");
26- fprintf(f, "\n");
27 fprintf(f, "# Make heartbeats (default true)\n");
28 fprintf(f, "# In general you don't want to turn this off\n");
29 fprintf(f, "# Of course only applies to AYIYA and heartbeat tunnels not to static ones\n");
30
31=== added file '.pc/07_allow_tunnels.patch/.timestamp'
32=== modified file '.pc/07_allow_tunnels.patch/unix-console/main.c'
33--- .pc/07_allow_tunnels.patch/unix-console/main.c 2010-05-29 21:19:43 +0000
34+++ .pc/07_allow_tunnels.patch/unix-console/main.c 2012-06-01 21:54:17 +0000
35@@ -471,11 +471,6 @@
36 */
37 if (aiccu_setup(hTunnel, true))
38 {
39- if (g_aiccu->setupscript)
40- {
41- aiccu_exec("%s", g_aiccu->setupscript);
42- }
43-
44 /* We need to stay running when doing Heartbeat or AYIYA */
45 if ( strcasecmp(hTunnel->sType, "6in4-heartbeat") == 0 ||
46 strcasecmp(hTunnel->sType, "ayiya") == 0)
47
48=== added file '.pc/08_setup_script.patch/.timestamp'
49=== modified file '.pc/08_setup_script.patch/common/aiccu.c'
50--- .pc/08_setup_script.patch/common/aiccu.c 2010-05-29 21:19:43 +0000
51+++ .pc/08_setup_script.patch/common/aiccu.c 2012-06-01 21:54:17 +0000
52@@ -58,6 +58,9 @@
53 int ret;
54 #define CAFILE "ca.pem"
55 #endif
56+#ifndef _WIN32
57+ openlog(NULL, LOG_PID, LOG_DAEMON);
58+#endif
59 /* Allocate & Initialize */
60 g_aiccu = (struct AICCU_conf *)malloc(sizeof(*g_aiccu));
61 if (!g_aiccu) return false;
62
63=== modified file '.pc/08_setup_script.patch/unix-console/main.c'
64--- .pc/08_setup_script.patch/unix-console/main.c 2010-05-29 21:19:43 +0000
65+++ .pc/08_setup_script.patch/unix-console/main.c 2012-06-01 21:54:17 +0000
66@@ -50,7 +50,7 @@
67 /* Close the file again */
68 fclose(f);
69
70- /* If we can HUP it, it still runs */
71+ /* If we can signal it, it still runs */
72 return (pid > 0 && kill(pid, sig) == 0 ? 1 : 0);
73 }
74
75@@ -302,6 +302,21 @@
76 return -1;
77 }
78
79+ /* Verify required parameters */
80+ if (!g_aiccu->username || !g_aiccu->password)
81+ {
82+ dolog(LOG_ERR, "Required parameters missing, make sure that username and password are given\n");
83+ aiccu_FreeConfig();
84+ return -1;
85+ }
86+
87+ if (mode == A_TUNNELS)
88+ {
89+ int ret = list_tunnels();
90+ aiccu_FreeConfig();
91+ return ret == 0 ? -1 : 0;
92+ }
93+
94 #ifndef _WIN32
95 /* start or stop? */
96 if ( mode != A_TEST &&
97@@ -310,27 +325,12 @@
98 /* Already running? */
99 if (sigrunning(mode == A_STOP ? SIGTERM : 0) == 1)
100 {
101- dolog(LOG_ERR, "Already running instance HUP'ed, exiting\n");
102+ dolog(LOG_ERR, "Already running instance signaled, exiting\n");
103 return 0;
104 }
105 }
106 #endif
107
108- /* Verify required parameters */
109- if (!g_aiccu->username || !g_aiccu->password)
110- {
111- dolog(LOG_ERR, "Required parameters missing, make sure that username and password are given\n");
112- aiccu_FreeConfig();
113- return -1;
114- }
115-
116- if (mode == A_TUNNELS)
117- {
118- int ret = list_tunnels();
119- aiccu_FreeConfig();
120- return ret == 0 ? -1 : 0;
121- }
122-
123 /* Get our tunnel */
124 hTunnel = get_tunnel();
125
126
127=== added file '.pc/09_binutils_gold.patch/.timestamp'
128=== modified file '.pc/applied-patches'
129--- .pc/applied-patches 2012-04-02 11:40:44 +0000
130+++ .pc/applied-patches 2012-06-01 21:54:17 +0000
131@@ -1,4 +1,3 @@
132-08_setup_script.patch
133 01_no-shipped-init-script.patch
134 02_skip-strip.patch
135 03_no-quiet-gcc.patch
136@@ -6,4 +5,5 @@
137 05_spelling-error.patch
138 06_syslog_openlog.patch
139 07_allow_tunnels.patch
140+08_setup_script.patch
141 09_binutils_gold.patch
142
143=== modified file 'debian/changelog' (properties changed: +x to -x)
144--- debian/changelog 2012-04-02 11:40:44 +0000
145+++ debian/changelog 2012-06-01 21:54:17 +0000
146@@ -1,3 +1,23 @@
147+aiccu (20070115-15ubuntu1) quantal; urgency=low
148+
149+ * merge from current debian sid. Remaining changes:
150+ - upstart configuration
151+
152+ -- Lars <lars.duesing@camelotsweb.de> Fri, 01 Jun 2012 09:57:52 +0200
153+
154+aiccu (20070115-15) unstable; urgency=low
155+
156+ * Upgraded standards-version to 3.9.3
157+ * Fix "fix for kfreebsd-* dependencies" Updated control file (Closes: #634102)
158+ * Fix "please enable hardening options" Enabled all hardening options
159+ (Closes: #644408)
160+ * Lintian clean
161+ - Remove postrm.debhelper
162+ - Make non-executable debian/changelog debian/control
163+ - Add description to patch/09_binutils_gold.patch
164+
165+ -- Reinier Haasjes <reinier@haasjes.com> Mon, 26 Mar 2012 12:54:54 +0200
166+
167 aiccu (20070115-14.1ubuntu3) precise; urgency=low
168
169 [ Lars Duesing ]
170
171=== modified file 'debian/control' (properties changed: +x to -x)
172--- debian/control 2012-02-29 08:41:59 +0000
173+++ debian/control 2012-06-01 21:54:17 +0000
174@@ -4,18 +4,18 @@
175 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
176 XSBC-Original-Maintainer: Reinier Haasjes <reinier@haasjes.com>
177 Build-Depends: debhelper (>= 7), po-debconf, libgnutls-dev, docbook-to-man, quilt
178-Standards-Version: 3.9.1
179+Standards-Version: 3.9.3
180 Homepage: http://www.sixxs.net/tools/aiccu/
181 Vcs-Browser: http://github.com/rhaasjes/aiccu
182 Vcs-Git: git://github.com/rhaasjes/aiccu.git
183
184 Package: aiccu
185-Architecture: any
186+Architecture: linux-any kfreebsd-any
187 Depends: ${misc:Depends}, ${shlibs:Depends}, debconf, lsb-base, ucf,
188- iputils-ping [!kfreebsd-i386 !kfreebsd-amd64],
189- iputils-tracepath [!kfreebsd-i386 !kfreebsd-amd64],
190- iproute [!kfreebsd-i386 !kfreebsd-amd64],
191- freebsd-net-tools [kfreebsd-i386 kfreebsd-amd64]
192+ iputils-ping [linux-any],
193+ iputils-tracepath [linux-any],
194+ iproute [linux-any],
195+ freebsd-net-tools [kfreebsd-any]
196 Recommends: ntpdate | ntp | time-daemon, bind9-host | dnsutils
197 Description: SixXS Automatic IPv6 Connectivity Client Utility
198 This client configures IPv6 connectivity without having to
199
200=== modified file 'debian/patches/09_binutils_gold.patch'
201--- debian/patches/09_binutils_gold.patch 2012-02-01 21:46:24 +0000
202+++ debian/patches/09_binutils_gold.patch 2012-06-01 21:54:17 +0000
203@@ -1,3 +1,5 @@
204+Make aiccu compile with ld.gold
205+
206 Index: aiccu-20070115/unix-console/Makefile
207 ===================================================================
208 --- aiccu-20070115.orig/unix-console/Makefile 2011-02-27 17:43:53.872782002 +0000
209
210=== modified file 'debian/patches/series'
211--- debian/patches/series 2012-04-02 11:40:44 +0000
212+++ debian/patches/series 2012-06-01 21:54:17 +0000
213@@ -1,4 +1,3 @@
214-08_setup_script.patch
215 01_no-shipped-init-script.patch
216 02_skip-strip.patch
217 03_no-quiet-gcc.patch
218@@ -6,4 +5,5 @@
219 05_spelling-error.patch
220 06_syslog_openlog.patch
221 07_allow_tunnels.patch
222+08_setup_script.patch
223 09_binutils_gold.patch
224
225=== removed file 'debian/postrm.debhelper'
226--- debian/postrm.debhelper 2007-02-07 02:51:36 +0000
227+++ debian/postrm.debhelper 1970-01-01 00:00:00 +0000
228@@ -1,6 +0,0 @@
229-# Automatically added by dh_installdebconf
230-if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
231- . /usr/share/debconf/confmodule
232- db_purge
233-fi
234-# End automatically added section
235
236=== modified file 'debian/rules'
237--- debian/rules 2010-03-06 10:08:09 +0000
238+++ debian/rules 2012-06-01 21:54:17 +0000
239@@ -6,6 +6,16 @@
240 # Uncomment this to turn on verbose mode.
241 #export DH_VERBOSE=1
242
243+# HARDENING
244+export DEB_BUILD_MAINT_OPTIONS="hardening=+pie,+bindnow"
245+
246+# dpkg-buildpackage no longer exports CFLAGS/CXXFLAGS/LDFLAGS/CPPFLAGS/FFLAGS
247+# http://lists.debian.org/debian-devel-announce/2011/09/msg00001.html
248+DPKG_EXPORT_BUILDFLAGS = 1
249+-include /usr/share/dpkg/buildflags.mk
250+RPM_OPT_FLAGS = $(CFLAGS)
251+export RPM_OPT_FLAGS
252+
253 include /usr/share/quilt/quilt.make
254
255 %:

Subscribers

People subscribed via source and target branches

to all changes: