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
=== added file '.pc/01_no-shipped-init-script.patch/.timestamp'
=== added file '.pc/02_skip-strip.patch/.timestamp'
=== added file '.pc/03_no-quiet-gcc.patch/.timestamp'
=== added file '.pc/04_kfreebsd.patch/.timestamp'
=== added file '.pc/05_spelling-error.patch/.timestamp'
=== added file '.pc/06_syslog_openlog.patch/.timestamp'
=== modified file '.pc/06_syslog_openlog.patch/common/aiccu.c'
--- .pc/06_syslog_openlog.patch/common/aiccu.c 2010-05-29 21:19:43 +0000
+++ .pc/06_syslog_openlog.patch/common/aiccu.c 2012-06-01 21:54:17 +0000
@@ -212,6 +212,9 @@
212 fprintf(f, "# Try to automatically login and setup the tunnel?\n");212 fprintf(f, "# Try to automatically login and setup the tunnel?\n");
213 fprintf(f, "automatic %s\n", g_aiccu->automatic ? "true" : "false");213 fprintf(f, "automatic %s\n", g_aiccu->automatic ? "true" : "false");
214 fprintf(f, "\n");214 fprintf(f, "\n");
215 fprintf(f, "# Script to run after setting up the interfaces (default: none)\n");
216 fprintf(f, "%ssetupscript %s\n", g_aiccu->setupscript ? "" : "#", g_aiccu->setupscript ? g_aiccu->setupscript : "<path>");
217 fprintf(f, "\n");
215 fprintf(f, "# TLS Required?\n");218 fprintf(f, "# TLS Required?\n");
216 fprintf(f, "requiretls %s\n", g_aiccu->requiretls ? "true" : "false");219 fprintf(f, "requiretls %s\n", g_aiccu->requiretls ? "true" : "false");
217 fprintf(f, "\n");220 fprintf(f, "\n");
@@ -228,9 +231,6 @@
228 fprintf(f, "# PID File\n");231 fprintf(f, "# PID File\n");
229 fprintf(f, "pidfile %s\n", g_aiccu->pidfile);232 fprintf(f, "pidfile %s\n", g_aiccu->pidfile);
230 fprintf(f, "\n");233 fprintf(f, "\n");
231 fprintf(f, "# Script to run after setting up the interfaces (default: none)\n");
232 fprintf(f, "%ssetupscript %s\n", g_aiccu->setupscript ? "" : "#", g_aiccu->setupscript ? g_aiccu->setupscript : "<path>");
233 fprintf(f, "\n");
234 fprintf(f, "# Make heartbeats (default true)\n");234 fprintf(f, "# Make heartbeats (default true)\n");
235 fprintf(f, "# In general you don't want to turn this off\n");235 fprintf(f, "# In general you don't want to turn this off\n");
236 fprintf(f, "# Of course only applies to AYIYA and heartbeat tunnels not to static ones\n");236 fprintf(f, "# Of course only applies to AYIYA and heartbeat tunnels not to static ones\n");
237237
=== added file '.pc/07_allow_tunnels.patch/.timestamp'
=== modified file '.pc/07_allow_tunnels.patch/unix-console/main.c'
--- .pc/07_allow_tunnels.patch/unix-console/main.c 2010-05-29 21:19:43 +0000
+++ .pc/07_allow_tunnels.patch/unix-console/main.c 2012-06-01 21:54:17 +0000
@@ -471,11 +471,6 @@
471 */471 */
472 if (aiccu_setup(hTunnel, true))472 if (aiccu_setup(hTunnel, true))
473 {473 {
474 if (g_aiccu->setupscript)
475 {
476 aiccu_exec("%s", g_aiccu->setupscript);
477 }
478
479 /* We need to stay running when doing Heartbeat or AYIYA */474 /* We need to stay running when doing Heartbeat or AYIYA */
480 if ( strcasecmp(hTunnel->sType, "6in4-heartbeat") == 0 ||475 if ( strcasecmp(hTunnel->sType, "6in4-heartbeat") == 0 ||
481 strcasecmp(hTunnel->sType, "ayiya") == 0)476 strcasecmp(hTunnel->sType, "ayiya") == 0)
482477
=== added file '.pc/08_setup_script.patch/.timestamp'
=== modified file '.pc/08_setup_script.patch/common/aiccu.c'
--- .pc/08_setup_script.patch/common/aiccu.c 2010-05-29 21:19:43 +0000
+++ .pc/08_setup_script.patch/common/aiccu.c 2012-06-01 21:54:17 +0000
@@ -58,6 +58,9 @@
58 int ret;58 int ret;
59#define CAFILE "ca.pem"59#define CAFILE "ca.pem"
60#endif60#endif
61#ifndef _WIN32
62 openlog(NULL, LOG_PID, LOG_DAEMON);
63#endif
61 /* Allocate & Initialize */64 /* Allocate & Initialize */
62 g_aiccu = (struct AICCU_conf *)malloc(sizeof(*g_aiccu));65 g_aiccu = (struct AICCU_conf *)malloc(sizeof(*g_aiccu));
63 if (!g_aiccu) return false;66 if (!g_aiccu) return false;
6467
=== modified file '.pc/08_setup_script.patch/unix-console/main.c'
--- .pc/08_setup_script.patch/unix-console/main.c 2010-05-29 21:19:43 +0000
+++ .pc/08_setup_script.patch/unix-console/main.c 2012-06-01 21:54:17 +0000
@@ -50,7 +50,7 @@
50 /* Close the file again */50 /* Close the file again */
51 fclose(f);51 fclose(f);
5252
53 /* If we can HUP it, it still runs */53 /* If we can signal it, it still runs */
54 return (pid > 0 && kill(pid, sig) == 0 ? 1 : 0);54 return (pid > 0 && kill(pid, sig) == 0 ? 1 : 0);
55}55}
5656
@@ -302,6 +302,21 @@
302 return -1;302 return -1;
303 }303 }
304304
305 /* Verify required parameters */
306 if (!g_aiccu->username || !g_aiccu->password)
307 {
308 dolog(LOG_ERR, "Required parameters missing, make sure that username and password are given\n");
309 aiccu_FreeConfig();
310 return -1;
311 }
312
313 if (mode == A_TUNNELS)
314 {
315 int ret = list_tunnels();
316 aiccu_FreeConfig();
317 return ret == 0 ? -1 : 0;
318 }
319
305#ifndef _WIN32320#ifndef _WIN32
306 /* start or stop? */321 /* start or stop? */
307 if ( mode != A_TEST &&322 if ( mode != A_TEST &&
@@ -310,27 +325,12 @@
310 /* Already running? */325 /* Already running? */
311 if (sigrunning(mode == A_STOP ? SIGTERM : 0) == 1)326 if (sigrunning(mode == A_STOP ? SIGTERM : 0) == 1)
312 {327 {
313 dolog(LOG_ERR, "Already running instance HUP'ed, exiting\n");328 dolog(LOG_ERR, "Already running instance signaled, exiting\n");
314 return 0;329 return 0;
315 }330 }
316 }331 }
317#endif332#endif
318333
319 /* Verify required parameters */
320 if (!g_aiccu->username || !g_aiccu->password)
321 {
322 dolog(LOG_ERR, "Required parameters missing, make sure that username and password are given\n");
323 aiccu_FreeConfig();
324 return -1;
325 }
326
327 if (mode == A_TUNNELS)
328 {
329 int ret = list_tunnels();
330 aiccu_FreeConfig();
331 return ret == 0 ? -1 : 0;
332 }
333
334 /* Get our tunnel */334 /* Get our tunnel */
335 hTunnel = get_tunnel();335 hTunnel = get_tunnel();
336 336
337337
=== added file '.pc/09_binutils_gold.patch/.timestamp'
=== modified file '.pc/applied-patches'
--- .pc/applied-patches 2012-04-02 11:40:44 +0000
+++ .pc/applied-patches 2012-06-01 21:54:17 +0000
@@ -1,4 +1,3 @@
108_setup_script.patch
201_no-shipped-init-script.patch101_no-shipped-init-script.patch
302_skip-strip.patch202_skip-strip.patch
403_no-quiet-gcc.patch303_no-quiet-gcc.patch
@@ -6,4 +5,5 @@
605_spelling-error.patch505_spelling-error.patch
706_syslog_openlog.patch606_syslog_openlog.patch
807_allow_tunnels.patch707_allow_tunnels.patch
808_setup_script.patch
909_binutils_gold.patch909_binutils_gold.patch
1010
=== modified file 'debian/changelog' (properties changed: +x to -x)
--- debian/changelog 2012-04-02 11:40:44 +0000
+++ debian/changelog 2012-06-01 21:54:17 +0000
@@ -1,3 +1,23 @@
1aiccu (20070115-15ubuntu1) quantal; urgency=low
2
3 * merge from current debian sid. Remaining changes:
4 - upstart configuration
5
6 -- Lars <lars.duesing@camelotsweb.de> Fri, 01 Jun 2012 09:57:52 +0200
7
8aiccu (20070115-15) unstable; urgency=low
9
10 * Upgraded standards-version to 3.9.3
11 * Fix "fix for kfreebsd-* dependencies" Updated control file (Closes: #634102)
12 * Fix "please enable hardening options" Enabled all hardening options
13 (Closes: #644408)
14 * Lintian clean
15 - Remove postrm.debhelper
16 - Make non-executable debian/changelog debian/control
17 - Add description to patch/09_binutils_gold.patch
18
19 -- Reinier Haasjes <reinier@haasjes.com> Mon, 26 Mar 2012 12:54:54 +0200
20
1aiccu (20070115-14.1ubuntu3) precise; urgency=low21aiccu (20070115-14.1ubuntu3) precise; urgency=low
222
3 [ Lars Duesing ]23 [ Lars Duesing ]
424
=== modified file 'debian/control' (properties changed: +x to -x)
--- debian/control 2012-02-29 08:41:59 +0000
+++ debian/control 2012-06-01 21:54:17 +0000
@@ -4,18 +4,18 @@
4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Reinier Haasjes <reinier@haasjes.com>5XSBC-Original-Maintainer: Reinier Haasjes <reinier@haasjes.com>
6Build-Depends: debhelper (>= 7), po-debconf, libgnutls-dev, docbook-to-man, quilt6Build-Depends: debhelper (>= 7), po-debconf, libgnutls-dev, docbook-to-man, quilt
7Standards-Version: 3.9.17Standards-Version: 3.9.3
8Homepage: http://www.sixxs.net/tools/aiccu/8Homepage: http://www.sixxs.net/tools/aiccu/
9Vcs-Browser: http://github.com/rhaasjes/aiccu9Vcs-Browser: http://github.com/rhaasjes/aiccu
10Vcs-Git: git://github.com/rhaasjes/aiccu.git10Vcs-Git: git://github.com/rhaasjes/aiccu.git
1111
12Package: aiccu12Package: aiccu
13Architecture: any13Architecture: linux-any kfreebsd-any
14Depends: ${misc:Depends}, ${shlibs:Depends}, debconf, lsb-base, ucf,14Depends: ${misc:Depends}, ${shlibs:Depends}, debconf, lsb-base, ucf,
15 iputils-ping [!kfreebsd-i386 !kfreebsd-amd64],15 iputils-ping [linux-any],
16 iputils-tracepath [!kfreebsd-i386 !kfreebsd-amd64],16 iputils-tracepath [linux-any],
17 iproute [!kfreebsd-i386 !kfreebsd-amd64],17 iproute [linux-any],
18 freebsd-net-tools [kfreebsd-i386 kfreebsd-amd64]18 freebsd-net-tools [kfreebsd-any]
19Recommends: ntpdate | ntp | time-daemon, bind9-host | dnsutils19Recommends: ntpdate | ntp | time-daemon, bind9-host | dnsutils
20Description: SixXS Automatic IPv6 Connectivity Client Utility20Description: SixXS Automatic IPv6 Connectivity Client Utility
21 This client configures IPv6 connectivity without having to21 This client configures IPv6 connectivity without having to
2222
=== modified file 'debian/patches/09_binutils_gold.patch'
--- debian/patches/09_binutils_gold.patch 2012-02-01 21:46:24 +0000
+++ debian/patches/09_binutils_gold.patch 2012-06-01 21:54:17 +0000
@@ -1,3 +1,5 @@
1Make aiccu compile with ld.gold
2
1Index: aiccu-20070115/unix-console/Makefile3Index: aiccu-20070115/unix-console/Makefile
2===================================================================4===================================================================
3--- aiccu-20070115.orig/unix-console/Makefile 2011-02-27 17:43:53.872782002 +00005--- aiccu-20070115.orig/unix-console/Makefile 2011-02-27 17:43:53.872782002 +0000
46
=== modified file 'debian/patches/series'
--- debian/patches/series 2012-04-02 11:40:44 +0000
+++ debian/patches/series 2012-06-01 21:54:17 +0000
@@ -1,4 +1,3 @@
108_setup_script.patch
201_no-shipped-init-script.patch101_no-shipped-init-script.patch
302_skip-strip.patch202_skip-strip.patch
403_no-quiet-gcc.patch303_no-quiet-gcc.patch
@@ -6,4 +5,5 @@
605_spelling-error.patch505_spelling-error.patch
706_syslog_openlog.patch606_syslog_openlog.patch
807_allow_tunnels.patch707_allow_tunnels.patch
808_setup_script.patch
909_binutils_gold.patch909_binutils_gold.patch
1010
=== removed file 'debian/postrm.debhelper'
--- debian/postrm.debhelper 2007-02-07 02:51:36 +0000
+++ debian/postrm.debhelper 1970-01-01 00:00:00 +0000
@@ -1,6 +0,0 @@
1# Automatically added by dh_installdebconf
2if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
3 . /usr/share/debconf/confmodule
4 db_purge
5fi
6# End automatically added section
70
=== modified file 'debian/rules'
--- debian/rules 2010-03-06 10:08:09 +0000
+++ debian/rules 2012-06-01 21:54:17 +0000
@@ -6,6 +6,16 @@
6# Uncomment this to turn on verbose mode.6# Uncomment this to turn on verbose mode.
7#export DH_VERBOSE=17#export DH_VERBOSE=1
88
9# HARDENING
10export DEB_BUILD_MAINT_OPTIONS="hardening=+pie,+bindnow"
11
12# dpkg-buildpackage no longer exports CFLAGS/CXXFLAGS/LDFLAGS/CPPFLAGS/FFLAGS
13# http://lists.debian.org/debian-devel-announce/2011/09/msg00001.html
14DPKG_EXPORT_BUILDFLAGS = 1
15-include /usr/share/dpkg/buildflags.mk
16RPM_OPT_FLAGS = $(CFLAGS)
17export RPM_OPT_FLAGS
18
9include /usr/share/quilt/quilt.make19include /usr/share/quilt/quilt.make
1020
11%:21%:

Subscribers

People subscribed via source and target branches

to all changes: