diff options
26 files changed, 1753 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..642f7329 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,925 @@ +network-manager-applet (1.2.0-2) unstable; urgency=medium + + * Stop using -X for dh_install. Some files were not installed by accident + because of that. Instead explicity remove .a and .la files and use + --fail-missing while at it. + + -- Michael Biebl <biebl@debian.org> Tue, 26 Apr 2016 16:42:05 +0200 + +network-manager-applet (1.2.0-1) unstable; urgency=medium + + * New upstream release. + * Update debian/copyright. + * Bump dependencies of libnm-gtk-dev and libnma-dev on the NetworkManager + dev packages to (>= 1.1). + + -- Michael Biebl <biebl@debian.org> Fri, 22 Apr 2016 17:30:12 +0200 + +network-manager-applet (1.1.93-1) unstable; urgency=medium + + * New upstream release (1.2 rc1). + + -- Michael Biebl <biebl@debian.org> Wed, 06 Apr 2016 01:06:03 +0200 + +network-manager-applet (1.1.92-1) unstable; urgency=medium + + * New upstream release (1.2 beta3). + * Drop dependency on libdbus-glib-1-dev. + * Rebase patches. + + -- Michael Biebl <biebl@debian.org> Thu, 31 Mar 2016 00:35:34 +0200 + +network-manager-applet (1.1.91-1) unstable; urgency=medium + + * New upstream release (1.2 beta2). + * Rebase patches. + * Fix build system to run tests on "make check". + * Dump the contents of test-suite.log to stdout when the test suite fails. + * Skip the test suite if "nocheck" is set via DEB_BUILD_OPTIONS. + + -- Michael Biebl <biebl@debian.org> Wed, 02 Mar 2016 01:30:35 +0100 + +network-manager-applet (1.1.90-3) unstable; urgency=medium + + * Upload to unstable. + * Bump Standards-Version to 3.9.7. + * Fix test suite failure for non-C locales. Patch cherry-picked from + upstream Git. + * Fix fix macro name GLIB_GSETTINGS in configure.ac. Patch cherry-picked + from upstream Git. + + -- Michael Biebl <biebl@debian.org> Thu, 04 Feb 2016 06:19:15 +0100 + +network-manager-applet (1.1.90-2) experimental; urgency=medium + + * Update debian/copyright. + * Run test suite during build. + + -- Michael Biebl <biebl@debian.org> Fri, 22 Jan 2016 04:38:01 +0100 + +network-manager-applet (1.1.90-1) experimental; urgency=medium + + * New upstream release (1.2 beta1). + * Bump dependency on network-manager and related dev packages to (>= 1.1). + * Update configure switches. The gnome-bluetooth plugin and the migration + tool were dropped upstream, the --with-modem-manager-1 configure switch + was renamed to --with-wwan. + * Rebase patches. + * Install AppData file for nm-connection-editor. + * Add packages for new libnma library. + + -- Michael Biebl <biebl@debian.org> Wed, 20 Jan 2016 23:49:18 +0100 + +network-manager-applet (1.0.10-1) unstable; urgency=medium + + * New upstream release. + * Rebase patches. + * Use dh_autoreconf --as-needed to avoid unnecessary shlibs dependencies. + + -- Michael Biebl <biebl@debian.org> Thu, 24 Dec 2015 01:18:49 +0100 + +network-manager-applet (1.0.8-1) unstable; urgency=medium + + * New upstream release. + * Refresh patches. + * Disable migration tool for NM <= 0.8 settings. + + -- Michael Biebl <biebl@debian.org> Fri, 20 Nov 2015 18:35:54 +0100 + +network-manager-applet (1.0.6-2) unstable; urgency=medium + + * Fix crash in nm-connection-editor when importing existing VPN config. + (Closes: #726935) + + -- Michael Biebl <biebl@debian.org> Mon, 07 Sep 2015 06:26:02 +0200 + +network-manager-applet (1.0.6-1) unstable; urgency=medium + + * New upstream release. + * Refresh patches. + * Update symbols file, the symbols introduced in 1.0.4 now use symbol + versioning. + + -- Michael Biebl <biebl@debian.org> Fri, 28 Aug 2015 17:21:30 +0200 + +network-manager-applet (1.0.4-1) unstable; urgency=medium + + * New upstream release. + * Make no-patch-numbers the default for gbp pq to avoid unnecessary noise. + * Refresh patches. + * Update symbols file for libnm-gtk0. + + -- Michael Biebl <biebl@debian.org> Wed, 29 Jul 2015 01:08:38 +0200 + +network-manager-applet (1.0.2-1) unstable; urgency=medium + + * New upstream release. + * Rebase patches. + + -- Michael Biebl <biebl@debian.org> Tue, 05 May 2015 23:16:53 +0200 + +network-manager-applet (1.0.0-3) unstable; urgency=medium + + * Upload to unstable. + + -- Michael Biebl <biebl@debian.org> Mon, 27 Apr 2015 16:43:02 +0200 + +network-manager-applet (1.0.0-2) experimental; urgency=medium + + * Install typelib files into multiarch paths now that gobject-introspection + supports that. + * Mark dev and gir packages as Multi-Arch: same. + + -- Michael Biebl <biebl@debian.org> Mon, 09 Feb 2015 00:49:43 +0100 + +network-manager-applet (1.0.0-1) experimental; urgency=medium + + * New upstream release. + * Rebase patches. + * Bump dependency on network-manager and related dev packages to (>= 1.0.0). + * Bump Standards-Version to 3.9.6. No further changes. + * Update Vcs-Browser URL to use cgit and https. + * Update Homepage URL to use https. + + -- Michael Biebl <biebl@debian.org> Mon, 02 Feb 2015 13:40:08 +0100 + +network-manager-applet (0.9.10.0-2) unstable; urgency=medium + + * Disable bluetooth support. The gnome-bluetooth plugin no longer builds + with gnome-bluetooth 3.12. But this plugin is really only useful for DUN + which with bluez 5 isn't supported (yet). + PAN support should still be functional. + + -- Michael Biebl <biebl@debian.org> Wed, 16 Jul 2014 01:31:23 +0200 + +network-manager-applet (0.9.10.0-1) unstable; urgency=medium + + * New upstream release. + * Update Build-Depends as per configure.ac. + * Drop obsolete --with-gtkver configure switch. + * Refresh patches. + * Update symbols file. A few deprecated symbols were dropped which were used + in older versions of network-manager-gnome, so add a versioned Breaks. + * Exclude libtool .la files and static libraries from list-missing. + + -- Michael Biebl <biebl@debian.org> Thu, 10 Jul 2014 07:32:44 +0200 + +network-manager-applet (0.9.8.10-1) unstable; urgency=medium + + * New upstream release. + * Update patches. + * Tighten Build-Depends on libgnome-bluetooth-dev to (<< 3.11.0). + The bluetooth widget no longer builds with newer gnome-bluetooth since the + plugin API was removed. + + -- Michael Biebl <biebl@debian.org> Thu, 01 May 2014 14:22:42 +0200 + +network-manager-applet (0.9.8.8-5) unstable; urgency=medium + + * Use valid paths when loading the org.gnome.nm-applet.eap schema. + We were missing a trailing '/'. Newer glib versions validate the path more + strictly, leading to an assert. + + -- Michael Biebl <biebl@debian.org> Fri, 04 Apr 2014 17:51:38 +0200 + +network-manager-applet (0.9.8.8-4) unstable; urgency=medium + + * Drop dbus reload from postinst. The dbus package uses a file trigger + nowadays to automatically reload its configuration. + * Use the paths specified in the VPN .name files. + Since LIBDIR of nm-applet and the VPN plugins aren't necessarily the + same, use the paths as specified by the VPN plugins and only + reconstruct the path if it is not absolute or we fail to load the plugin. + + -- Michael Biebl <biebl@debian.org> Tue, 01 Apr 2014 21:41:36 +0200 + +network-manager-applet (0.9.8.8-3) unstable; urgency=medium + + * Bump debhelper compatibility level to 9. + * Determine gnome-bluetooth plugin directory using libdir from + gnome-bluetooth-1.0.pc. + * Convert to multi-arch. Mark libnm-gtk0 as M-A: same, libnm-gtk-common as + M-A: foreign. + * Rely on dh v9 to set flags from dpkg-buildflags. + + -- Michael Biebl <biebl@debian.org> Tue, 01 Apr 2014 16:23:05 +0200 + +network-manager-applet (0.9.8.8-2) unstable; urgency=medium + + * Enable ModemManager1 interface support. (Closes: #711968) + + -- Michael Biebl <biebl@debian.org> Thu, 27 Mar 2014 16:50:18 +0100 + +network-manager-applet (0.9.8.8-1) unstable; urgency=medium + + * New upstream release. + * Bump Standards-Version to 3.9.5. + + -- Michael Biebl <biebl@debian.org> Tue, 18 Mar 2014 11:17:48 +0100 + +network-manager-applet (0.9.8.4-1) unstable; urgency=low + + * New upstream release. + * Refresh patches. + + -- Michael Biebl <biebl@debian.org> Fri, 13 Sep 2013 20:07:47 +0200 + +network-manager-applet (0.9.8.2-1) unstable; urgency=low + + * New upstream release. + * Refresh patches. + * Conversion from libgnome-keyring to libsecret. Add Build-Depends on + libsecret-1-dev and keep libgnome-keyring-dev for the migration tool. + * Use DEB_LDFLAGS_MAINT_APPEND to properly append our custom build flags. + + -- Michael Biebl <biebl@debian.org> Sat, 08 Jun 2013 02:05:04 +0200 + +network-manager-applet (0.9.8.0-2) unstable; urgency=low + + * Use gir dh addon instead of calling dh_girepository manually. + * Upload to unstable. + * Bump Standards-Version to 3.9.4. No further changes. + + -- Michael Biebl <biebl@debian.org> Mon, 06 May 2013 06:33:22 +0200 + +network-manager-applet (0.9.8.0-1) experimental; urgency=low + + * New upstream release. + * Refresh 11-user-connections.patch. + * Bump minimum required version of network-manager to (>= 0.9.8). + * Install man pages provided by upstream instead of our own. + * Enable gobject introspection support for libnm-gtk. The typelib files are + shipped in a separate binary package named gir1.2-nmgtk-1.0. + + -- Michael Biebl <biebl@debian.org> Thu, 21 Feb 2013 03:57:27 +0100 + +network-manager-applet (0.9.7.997-1) experimental; urgency=low + + * New upstream release (0.9.8 beta2). + - VPN connections can now be configured as "secondary" connections which + are autostarted as soon as the underlying connection is active. + (Closes: #589533) + * Remove 05-8021x-passwords-user.patch, merged upstream. + * Update 11-user-connections.patch for new code base. + * Update 12-force-online.patch for the icon name changes. + * Update symbols file for libnm-gtk0. + * Bump minimum required version of network-manager to (>= 0.9.7.997). + * Add Build-Depends on libgudev-1.0-dev and gobject-introspection. + * Mark binary packages as linux-any. + * Use a strict dependency between network-manager-gnome and libnm-gtk0 to + avoid crashes due to missing schema files. (Closes: #699590) + + -- Michael Biebl <biebl@debian.org> Sat, 09 Feb 2013 21:08:40 +0100 + +network-manager-applet (0.9.6.4-4) experimental; urgency=low + + * Merge bug fix from unstable branch. + + -- Michael Biebl <biebl@debian.org> Wed, 30 Jan 2013 02:45:10 +0100 + +network-manager-applet (0.9.6.4-3) experimental; urgency=low + + * Merge changes from unstable branch. + * Update debian/patches/11-user-connections.patch again. + + -- Michael Biebl <biebl@debian.org> Thu, 17 Jan 2013 12:02:16 +0100 + +network-manager-applet (0.9.6.4-2) experimental; urgency=low + + * Merge changes from unstable branch. + * Update debian/patches/11-user-connections.patch. + + -- Michael Biebl <biebl@debian.org> Sun, 06 Jan 2013 10:53:34 +0100 + +network-manager-applet (0.9.6.4-1) experimental; urgency=low + + * New upstream release. + * Use --list-missing to show uninstalled files. + * Update symbols file for libnm-gtk. + + -- Michael Biebl <biebl@debian.org> Fri, 26 Oct 2012 22:50:15 +0200 + +network-manager-applet (0.9.6.2-1) experimental; urgency=low + + * New upstream release. + * Bump Build-Depends on libnm-*-dev and network-manager-dev to (>= 0.9.6). + * Bump Depends on network-manager to (>= 0.9.6). + * debian/patches/01-fix-crash-in-migration-wizard.patch: Removed, merged + upstream. + + -- Michael Biebl <biebl@debian.org> Tue, 11 Sep 2012 23:06:31 +0200 + +network-manager-applet (0.9.5.95-1) experimental; urgency=low + + * New upstream release (0.9.6 rc1). + * debian/network-manager-gnome.maintscript: Use versioning scheme as + recommended by dpkg-maintscript-helper which better handles local + modifications and (bin)NMUs. + * Bump Build-Depends on libglib2.0-dev to (>= 2.26). + * Bump Build-Depends on libnm-*-dev and network-manager-dev to + (>= 0.9.5.95). + * Install GSettings schemas, GConf conversion script and the split-off + migration wizard nm-applet-migration-tool. + * debian/patches/01-format-security.patch: Removed, merged upstream. + * debian/patches/01-fix-crash-in-migration-wizard.patch: Fix a crash in + g_object_unref() call when running the migration wizard. Patch + cherry-picked from upstream Git. + + -- Michael Biebl <biebl@debian.org> Fri, 29 Jun 2012 21:03:59 +0200 + +network-manager-applet (0.9.4.1-5) unstable; urgency=low + + * debian/patches/11-user-connections.patch: Fix a bug in the check for + whether to mark WEP keys as agent-owned. + + -- Michael Biebl <biebl@debian.org> Wed, 30 Jan 2013 02:33:26 +0100 + +network-manager-applet (0.9.4.1-4) unstable; urgency=low + + * debian/patches/12-force-online.patch: If NM has an active unmanaged device + it will forcefully set the online state to CONNECTED_GLOBAL. In that case + show a wired connection icon instead of an offline icon. (Closes: #471191) + * Recommend gnome-keyring instead of libpam-keyring. The former is what we + actually need for storing secrets in the user session. (Closes: #694695) + * debian/patches/11-user-connections.patch: Treat WEP keys like WPA secrets + and store them in the keyring for user-owned connections. + + -- Michael Biebl <biebl@debian.org> Thu, 17 Jan 2013 10:58:23 +0100 + +network-manager-applet (0.9.4.1-3) unstable; urgency=low + + [ Michael Biebl ] + * Add Build-Depends on gnome-common which is required for autoreconf. + + [ Josselin Mouette ] + * debian/patches/05-8021x-passwords-user.patch: patch from upstream git. + Correctly set 802.1x passwords as agent-owned, so that they are stored + in the user’s keyring. + * debian/patches/11-user-connections.patch: new patch. Set passwords as + agent-owned when they need to, to allow users without root permissions + to easily configure their connections. (Closes: #696256) + The logic is: + - Bluetooth, CDMA and GSM connections: always user-owned + - WEP/WPA connections: system-owned if user has the permissions + (with NM’s config, that is netdev or sudo membership), user-owned + otherwise. The password is stored in the keyring for WPA, not for + WEP. + - WiMax / Wired connections: always system-owned (with 802.1x + passwords in the keyring). + + -- Michael Biebl <biebl@debian.org> Sun, 06 Jan 2013 09:57:29 +0100 + +network-manager-applet (0.9.4.1-2) unstable; urgency=low + + * debian/rules: Use xz compression for binary packages. + * debian/control: Add network-manager-openconnect-gnome to Suggests. + (Closes: #670724) + * debian/patches/02-fix-shell-version-detecting-code.patch, + debian/patches/03-dont-handle-VPN-secrets-with-GNOME-Shell-3.4.patch: Fix + race condition on session startup when detecting the GNOME Shell version + and only handle VPN authentication requests with GNOME Shell < 3.4 + otherwise nm-applet and the Shell fight over who gets to handle secrets. + Patches cherry-picked from upstream Git. (Closes: #680963) + * debian/patches/04-gnome-bluetooth-3.4-support.patch: Add support for + gnome-bluetooth 3.4 which uses GDBusProxy instead of DBusGProxy. This + fixes the timeouts when creating DUN connections. Patch cherry-picked from + upstream Git. (Closes: #680866) + + -- Michael Biebl <biebl@debian.org> Tue, 11 Sep 2012 21:51:03 +0200 + +network-manager-applet (0.9.4.1-1) unstable; urgency=low + + * New upstream release. + * Bump Build-Depends on libnm-*-dev and network-manager-dev to (>= 0.9.4). + * Drop unused Build-Depends on libpolkit-gobject-1-dev. + * Remove patches, all merged upstream: + - debian/patches/01-editor-policykit-authentication.patch + - debian/patches/02-link-gconf-helper-test-against-gnome-keyring.patch + - debian/patches/04-autostart.patch + * Update debian/copyright using the machine-readable copyright format 1.0. + * Bump Standards-Version to 3.9.3. + * debian/patches/01-format-security.patch: Fix format string vulnerability + in utils_show_error_dialog(). + * Bump Depends on network-manager to (>= 0.9.4). + + -- Michael Biebl <biebl@debian.org> Sat, 24 Mar 2012 22:45:34 +0100 + +network-manager-applet (0.9.2.0-2) unstable; urgency=low + + * Fix versioned Build-Depends on dpkg-dev. + The buildflags.mk snippet was added in version 1.16.1, not 1.6.1. + * debian/patches/01-editor-policykit-authentication.patch + - Fix interaction of single-edit mode with PolicyKit authentication. + Patch cherry-picked from upstream Git. (Closes: #652961) + * debian/patches/02-link-gconf-helper-test-against-gnome-keyring.patch + - Fix linking with gnome-keyring in a gconf-helpers test program. + Patch cherry-picked from upstream Git. + + -- Michael Biebl <biebl@debian.org> Wed, 01 Feb 2012 15:14:40 +0100 + +network-manager-applet (0.9.2.0-1) unstable; urgency=low + + * New upstream release. + * Remove debian/patches/01-export-symbols.patch, merged upstream. + * debian/control: + - Bump Build-Depends on libnm-*-dev and network-manager-dev to (>= 0.9.2). + - Bump Depends on network-manager to (>= 0.9.2). + - Update Depends of libnm-gtk-dev according to libnm-gtk.pc. + * Enable default hardening options from dpkg-buildflags. + - Use buildflags.mk snippet in debian/rules. + - Add Build-Depends on dpkg-dev (>= 1.6.1). + + -- Michael Biebl <biebl@debian.org> Sat, 12 Nov 2011 06:08:08 +0100 + +network-manager-applet (0.9.1.95-1) experimental; urgency=low + + * New upstream release (0.9.2 rc1). + * Provide libnm-gtk as a private library for wireless and mobile dialogs: + - Add packages for libnm-gtk0, libnm-gtk-dev and libnm-gtk-common. + - Add debian/patches/01-export-symbols.patch to restrict the number of + exported symbols. + - Use dh-autoreconf to update the build system. + * debian/control: + - Bump Build-Depends on libnm-*-dev and network-manager-dev to (>= 0.9.1). + - Add Build-Depends on iso-codes. + - Add Recommends on iso-codes for translated country names in the mobile + broadband wizard. + + -- Michael Biebl <biebl@debian.org> Fri, 04 Nov 2011 12:47:42 +0100 + +network-manager-applet (0.9.0-4) unstable; urgency=low + + * debian/watch: Track .xz tarballs. + * Use the new maintscript facility in dh_installdeb to remove the obsolete + conffile. + * Update the last unfixed version to 0.9.0-3 as we missed to remove the old + conffile for users upgrading from 0.8.4-2 or 0.8.4-3. (Closes: #645450) + + -- Michael Biebl <biebl@debian.org> Wed, 19 Oct 2011 10:37:45 +0200 + +network-manager-applet (0.9.0-3) unstable; urgency=low + + * Build against GTK 3 and gnome-bluetooth 3. (Closes: #623781) + * Add Breaks against gnome-bluetooth (<< 3.0). + + -- Michael Biebl <biebl@debian.org> Thu, 13 Oct 2011 19:44:10 +0200 + +network-manager-applet (0.9.0-2) unstable; urgency=low + + * On upgrades tell update-notifier to show a reboot-required notification + since older versions of nm-applet will no longer work with network-manager + 0.9 and need to be restarted. + * Upload to unstable. + + -- Michael Biebl <biebl@debian.org> Sat, 17 Sep 2011 21:06:53 +0200 + +network-manager-applet (0.9.0-1) experimental; urgency=low + + * New upstream release. + * debian/control + - Bump Build-Depends on libnm-*-dev and network-manager-dev to (>= 0.9). + - Bump Build-Depends on libnotify-dev to (>= 0.7). + - Bump Depends on network-manager to (>= 0.9). + - Restrict Build-Depends on libgnome-bluetooth-dev to (<< 3.0.0). + + -- Michael Biebl <biebl@debian.org> Wed, 24 Aug 2011 15:00:38 +0200 + +network-manager-applet (0.8.9997-1) experimental; urgency=low + + * New upstream release (0.9 rc3). + - Fixes unused-but-set-variable warnings. (Closes: #625400) + + -- Michael Biebl <biebl@debian.org> Sun, 29 May 2011 23:02:21 +0200 + +network-manager-applet (0.8.999-1) experimental; urgency=low + + * New upstream release (0.9 rc2). + * Merge changes from unstable branch. + + -- Michael Biebl <biebl@debian.org> Wed, 04 May 2011 23:27:46 +0200 + +network-manager-applet (0.8.998-1) experimental; urgency=low + + * New major upstream release (0.9 rc1). + * debian/control + - Bump Build-Depends on libnm-*-dev and network-manager-dev to + (>= 0.8.998). + - Bump Build-Depends on libgtk2.0-dev to (>= 2.20). + - Bump Depends on network-manager to (>= 0.8.998). + - Bump Standards-Version to 3.9.2. No further changes. + * debian/rules + - Build against GTK+ version 2. + * User settings are gone. + - Drop debian/patches/01-dbus_access_nm_applet.patch, obsolete. + - Remove /etc/dbus-1/system.d/nm-applet.conf on upgrades. Use + dpkg-maintscript-helper to remove the conffile. + * Refresh debian/patches/04-autostart.patch. + + -- Michael Biebl <biebl@debian.org> Sat, 09 Apr 2011 20:18:31 +0200 + +network-manager-applet (0.8.4-3) unstable; urgency=low + + * debian/rules + - Disable additional compiler warnings (including -Werror) as it causes + build failures with GCC 4.6. (Closes: #634392) + + -- Michael Biebl <biebl@debian.org> Sun, 31 Jul 2011 17:00:14 +0200 + +network-manager-applet (0.8.4-2) unstable; urgency=low + + * debian/patches/0001-applet-fix-possibly-uninitialized-variable.patch + - Cherry-pick patch from upstream Git to fix possibly uninitialized + variable. (Closes: #625016) + + -- Michael Biebl <biebl@debian.org> Tue, 03 May 2011 03:09:15 +0200 + +network-manager-applet (0.8.4-1) unstable; urgency=low + + * New upstream release. + * debian/control + - Bump Build-Depends on libnm-*-dev and network-manager-dev to (>= 0.8.4). + - Bump Standards-Version to 3.9.2. No further changes. + - Update package description. + + -- Michael Biebl <biebl@debian.org> Thu, 21 Apr 2011 17:17:22 +0200 + +network-manager-applet (0.8.3.999-1) unstable; urgency=low + + * New upstream release (0.8.4 rc2). + * Update debian/watch, switch to bzip2. + + -- Michael Biebl <biebl@debian.org> Mon, 04 Apr 2011 23:38:51 +0200 + +network-manager-applet (0.8.3.998-1) unstable; urgency=low + + * New upstream release (0.8.4 rc1). + - Show IPv6 information in Connection Information dialog. + (Closes: #606929) + * debian/control + - Drop Build-Depends on libglade2-dev, converted to GtkBuilder. + - Bump Build-Depends on libnm-*-dev and network-manager-dev to + (>= 0.8.3.995). + + -- Michael Biebl <biebl@debian.org> Fri, 18 Mar 2011 21:37:12 +0100 + +network-manager-applet (0.8.2-4) unstable; urgency=low + + * debian/control + - Drop Build-Depends on libiw-dev. No longer needed. + - Bump Build-Depends on debhelper to (>= 8). + - Bump Depends on network-manager to (>= 0.8.2). + * Bump debhelper compatibility level to 8. + + -- Michael Biebl <biebl@debian.org> Mon, 07 Mar 2011 01:38:40 +0100 + +network-manager-applet (0.8.2-3) unstable; urgency=low + + * Upload to unstable. + + -- Michael Biebl <biebl@debian.org> Mon, 07 Feb 2011 01:07:50 +0100 + +network-manager-applet (0.8.2-2) experimental; urgency=low + + * Switch from cdbs to dh + - Drop Build-Depends on cdbs. + - Bump Build-Depends on debhelper to (>= 7.0.50~) for override targets. + - Convert debian/rules to use dh. + - Add debian/network-manager-gnome.docs. + + -- Michael Biebl <biebl@debian.org> Wed, 22 Dec 2010 04:34:56 +0100 + +network-manager-applet (0.8.2-1) experimental; urgency=low + + * New upstream release. + * Update Vcs-* fields: Move packaging from svn to git. + * Remove patches, merged upstream + - debian/patches/02-hide-pin-in-pin-puk-dialog-by-default.patch + - debian/patches/03-enter-closes-pin-puk-dialog.patch + * debian/control + - Bump Build-Depends on libnm-* packages to (>= 0.8.2). + + -- Michael Biebl <biebl@debian.org> Sat, 18 Dec 2010 12:34:37 +0100 + +network-manager-applet (0.8.1-2) unstable; urgency=low + + * debian/patches/02-hide-pin-in-pin-puk-dialog-by-default.patch + - Hide PIN in PIN/PUK dialog by default. (Closes: #592364) + Patch cherry-picked from upstream Git. + * debian/patches/03-enter-closes-pin-puk-dialog.patch + - Ensure Enter closes the PIN/PUK dialog. + Patch cherry-picked from upstream Git. + + -- Michael Biebl <biebl@debian.org> Wed, 17 Nov 2010 23:49:29 +0100 + +network-manager-applet (0.8.1-1) unstable; urgency=low + + * New upstream release. + * debian/control + - Bump Build-Depends on libnm-* packages to (>= 0.8.1). + - Bump Depends on network-manager to (>= 0.8.1) so the "Enable Networking" + option works correctly. (Closes: #588618, #570169) + - Bump Standards-Version to 3.9.1. No further changes. + + -- Michael Biebl <biebl@debian.org> Tue, 27 Jul 2010 09:51:13 +0200 + +network-manager-applet (0.8.0.999-1) unstable; urgency=low + + * New upstream release (0.8.1 rc1). + * Switch to source format 3.0 (quilt). + - Add debian/source/format. + - Drop Build-Depends on quilt. + - Remove /usr/share/cdbs/1/rules/patchsys-quilt.mk from debian/rules. + * debian/control + - Bump Standards-Version to 3.9.0. No further changes. + - Bump Build-Depends on libnm-* packages to (>= 0.8.0.999). + + -- Michael Biebl <biebl@debian.org> Fri, 09 Jul 2010 00:45:16 +0200 + +network-manager-applet (0.8-1) unstable; urgency=low + + * New upstream release. + * debian/control + - Bump Build-Depends on libnm-* packages to (>= 0.8). + - Bump Standards-Version to 3.8.4. No further changes. + + -- Michael Biebl <biebl@debian.org> Mon, 22 Feb 2010 19:51:55 +0100 + +network-manager-applet (0.7.999-2) unstable; urgency=low + + * Upload to unstable. + + -- Michael Biebl <biebl@debian.org> Tue, 26 Jan 2010 17:33:18 +0100 + +network-manager-applet (0.7.999-1) experimental; urgency=low + + * New upstream release (0.8 rc3). + - Port to PolicyKit 1. (Closes: #549503) + - Mobile broadband assisstant. + - Bluetooth support integrating with gnome-bluetooth. + * debian/control + - Bump Build-Depends on libglib2.0-dev to (>= 2.16). + - Bump Build-Depends on libnm-* packages to (>= 0.7.999). + - Replace Build-Depends on libpolkit-gnome-dev with + libpolkit-gobject-1-dev (>= 0.92). + - Add Build-Depends on libgnome-bluetooth-dev (>= 2.27.6). + - Replace Depends on policykit-gnome with policykit-1-gnome. + - Add Recommends on mobile-broadband-provider-info for easier + configuration of your mobile broadband service provider. + - Add Recommends on gnome-bluetooth which allows to easily setup your + mobile phone and make it available for NetworkManager. + * debian/rules + - Don't install libtool *.la and static library files. + * debian/patches/02-CVE-2009-4145_fix_leakage_of_secrets_on_system_bus.patch + - Remove, fixed upstream. + * debian/patches/03-CVE-2009-4144_fix_ca_cert_handling_after_cert_file_deletion.patch + - Remove, fixed upstream. + * debian/copyright + - Review and update copyright file. + + -- Michael Biebl <biebl@debian.org> Sat, 23 Jan 2010 06:09:46 +0100 + +network-manager-applet (0.7.2-2) unstable; urgency=low + + * debian/control + - Bump Build-Depends on libdbus-glib-1-dev to (>= 0.74). + - Bump Build-Depends on libgtk2.0-dev to (>= 2.14). + * debian/patches/02-CVE-2009-4145_fix_leakage_of_secrets_on_system_bus.patch + - Fix potential leakage of secrets onto the system bus. (Closes: #563371) + Patch backported from upstream Git. + Fixes: CVE-2009-4145 + * debian/patches/03-CVE-2009-4144_fix_ca_cert_handling_after_cert_file_deletion.patch + - Fix possible connections to spoofed WPA Enterprise networks when + certification file is deleted. (Closes: #560067) + Patch backported from upstream Git. + Fixes: CVE-2009-4144 + + -- Michael Biebl <biebl@debian.org> Fri, 22 Jan 2010 23:33:06 +0100 + +network-manager-applet (0.7.2-1) unstable; urgency=low + + * New upstream release. + - Add support for GTC (WPA2 Enterprise/PEAP). See #543454. + - Add gconf schema for applet values. (Closes: #524004) + * debian/control + - Bump build dependencies on nm packages to (>= 0.7.2). + - Bump Standards-Version to 3.7.3. No further changes. + - Add dependency on gnome-icon-theme. (Closes: #520437) + - Add dependency on dbus-x11. (Closes: #461436) + * debian/nm-applet.sgml + - Fix references to to other man pages. (Closes: #556427) + + -- Michael Biebl <biebl@debian.org> Thu, 26 Nov 2009 02:39:25 +0100 + +network-manager-applet (0.7.1-1) unstable; urgency=low + + * New upstream release. + + -- Michael Biebl <biebl@debian.org> Thu, 16 Apr 2009 23:55:05 +0200 + +network-manager-applet (0.7.0.100-1) unstable; urgency=low + + * New upstream release (0.7.1 rc4). + * debian/patches/01-dbus_access_nm_applet.patch + - Updated for latest upstream changes. + * debian/control + - Bump Standards-Version to 3.8.1. No further changes. + + -- Michael Biebl <biebl@debian.org> Wed, 08 Apr 2009 08:04:41 +0200 + +network-manager-applet (0.7.0.99-1) unstable; urgency=low + + * New upstream release (0.7.1 rc3). + * debian/control + - Upgrade Recommends on policykit-gnome to Depends which is required for + editing system connections. (Closes: #507733) + - Bump Build-Depends on libnm-glib-dev to (>= 0.7.0.99). + + -- Michael Biebl <biebl@debian.org> Thu, 05 Mar 2009 23:11:47 +0100 + +network-manager-applet (0.7.0.97-1) unstable; urgency=low + + * New upstream release. + * Merge experimental branch into unstable. Remaining changes: + - Update 01-dbus_access_nm_applet.patch, changes have been merged upstream + and we only keep the "netdev" group related diff. + - Update 04-autostart.patch, do not start nm-applet in KDE. + - Remove 05-fix_bashisms.patch, obsolete. + - Remove 06-po_fr.patch, obsolete. + - Remove 07-po_pl.patch, merged upstream. + - Remove 08-manual_means_always_online.patch, obsolete. + - Remove 09-fix_assertion_because_of_unmanaged_devices.patch, obsolete. + * debian/control + - Bump Build-Depends on libnm-util-dev to (>= 0.7.0.97). + + -- Michael Biebl <biebl@debian.org> Wed, 25 Feb 2009 10:41:53 +0100 + +network-manager-applet (0.7.0-2) experimental; urgency=low + + * debian/patches/01-dbus_access_nm_applet.patch + - Remove bare send_interface directives to avoid non-deterministic allow + messages with no interface. (Closes: #510728) + - Do not allow unpriviledged processes to ask for a users' connections. + - Allow introspection by default. + * debian/control + - Wrap build dependencies. + - Bump build dependency on debhelper to (>= 7). + * debian/compat + - Bump to debhelper v7 compat mode. + + -- Michael Biebl <biebl@debian.org> Sat, 14 Feb 2009 16:16:35 +0100 + +network-manager-applet (0.7.0-1) experimental; urgency=low + + * New upstream release. + - Notification popups can be disabled. (Closes: #446963) + - Notification applet correctly handles panel restarts. (Closes:# 458332) + - The nm-editor tool has been replaced by nm-connection-editor. + (Closes: #494148, #482107, #485651) + - Show the correct configuration for WPA Enterprise setups in + nm-connection-editor (Closes: #480039) + + [ Sjoerd Simons ] + * debian/patches/02-nm-api-update.patch: + - Removed. Fixed upstream + * debian/control: Tighten build-depends on nm related libraries + + [ Michael Biebl ] + * debian/copyright + - More updates to the copyright file. The polkit-helper bits are licensed + under the LGPL. + * debian/control + - Add network-manager-pptp-gnome to Suggests. + + -- Michael Biebl <biebl@debian.org> Tue, 16 Dec 2008 06:50:06 +0100 + +network-manager-applet (0.7.0~svn953-1) experimental; urgency=low + + [ Michael Biebl ] + * Switch to quilt patch management system. + * debian/rules + - Set libexecdir to /usr/lib/NetworkManager, so nm-applet and + nm-connection-editor automatically find the VPN GUI plugins. + * debian/control: + - Bump Standards-Version to 3.8.0. No further changes. + - Demote Recommends on VPN plugins to Suggests. + - Bump Depends on network-manager to (>= 0.7). + - Add Build-Depends on libpolkit-gnome-dev. + - Add Recommends on policykit-gnome. This package is required if you want + to manage system connections. + * debian/patches/01-dbus_access_nm_applet.patch: Updated + * Removed obsolete patches: + - debian/patches/02-hal_deprecated_keys.patch + - debian/patches/03-nm_editor_category.patch + * debian/copyright: Revised for the latest changes. + + [ Simon McVittie ] + * Newer svn snapshot + + [ Sjoerd Simons ] + * debian/patches/02-nm-api-udate.patch + - Added. cope with a small NM 0.7 api change + * debian/control: Build-Depend on nm-glib dev packages with new api + + -- Sjoerd Simons <sjoerd@debian.org> Sat, 18 Oct 2008 21:40:05 +0100 + +network-manager-applet (0.6.6-4) unstable; urgency=low + + * debian/patches/08-manual_means_always_online.patch + - manual-means-online: If there are interfaces that are not managed by + NetworkManager because they have custom configuration in + /etc/network/interfaces, we assume to be online and show a wired network + icon indicating manual network configuration. + * debian/patches/09-fix_assertion_because_of_unmanaged_devices.patch + - Fix assertion failures for unmanaged devices. + + -- Michael Biebl <biebl@debian.org> Wed, 14 Jan 2009 08:48:15 +0100 + +network-manager-applet (0.6.6-3) unstable; urgency=low + + * debian/patches/04-autostart.patch + - Allow nm-applet to be started in desktop environments like XFCE or LXDE. + Only disable it for KDE, as we have k-n-m there. (Closes: #500119) + * debian/patches/05-fix_bashisms.patch + - Fix bashisms in nm-disconnect-wireless-on-exit.sh. (Closes: #489638) + Thanks Chris Lamb for the patch. + * debian/patches/06-po_fr.patch + - Fix typos in French translation. (Closes: #506254) + Thanks Cyril Brulebois for the patch. + * debian/patches/07-po_pl.patch + - Improvements to Polish translation. (Closes: #450588) + Thanks Radosław Warowny for the patch. + + -- Michael Biebl <biebl@debian.org> Fri, 05 Dec 2008 19:52:02 +0100 + +network-manager-applet (0.6.6-2) unstable; urgency=low + + * debian/control + - Add Build-Depends on pkg-config. + * debian/patches/03-nm_editor_category.patch + - Don't show nm-editor under Applications->Internet. (Closes: #474544) + + -- Michael Biebl <biebl@debian.org> Sun, 06 Apr 2008 16:39:07 +0200 + +network-manager-applet (0.6.6-1) unstable; urgency=low + + * New upstream release. + - Better handling of VPN and WPA Enterprise security. (Closes: #444977) + * debian/control + - The Vcs-* fields are now officially supported, so remove the XS- prefix. + - Bump Standards-Version to 3.7.3. No further changes required. + - Fix Xfce spelling error in the package description. + - Bump Build-Depends on libnm-util-dev and network-manager-dev to + (>= 0.6.6). + * Removed patches + - debian/patches/10-po_fr.patch (merged upstream) + - debian/patches/11-po_de.patch (merged upstream) + - debian/patches/12-po_jp.patch (merged upstream) + - debian/patches/20-stable_branch_updates_r98.patch (applied upstream) + - debian/patches/30-connection_info_hide_on_delete_event.patch (merged + upstream) + * debian/patches/02-hal_deprecated_keys.patch + - Add support for newer HAL versions where the "net.physical_device" key + has been deprecated and replaced by "net.originating_device". + * debian/rules + - The nm-applet autostart file is now installed into /etc/xdg/autostart by + default, so we no longer have to move it around manually. + * debian/network-manager-gnome.postinst + - Tell dbus to reload its config files. + + -- Michael Biebl <biebl@debian.org> Thu, 03 Apr 2008 21:34:40 +0200 + +network-manager-applet (0.6.5-3) unstable; urgency=low + + * debian/control + - Use the new "Homepage:" field to specify the upstream URL. + - Add Recommends: network-manager-openvpn-gnome, network-manager-vpnc-gnome + + -- Michael Biebl <biebl@debian.org> Fri, 19 Oct 2007 18:23:59 +0200 + +network-manager-applet (0.6.5-2) unstable; urgency=low + + * debian/patches/30-connection_info_hide_on_delete_event.patch + - Patch from Ubuntu. Hide connection info dialog on delete-event. + (Closes: #406073) + + -- Michael Biebl <biebl@debian.org> Wed, 19 Sep 2007 22:34:18 +0200 + +network-manager-applet (0.6.5-1) unstable; urgency=low + + * Initial release after the package split. + * Imported files from previous network-manager source package + - debian/nm-applet.sgml + - debian/network-manager-gnome.manpages + - debian/network-manager-gnome.README.Debian + - debian/patches/01-dbus_access_nm_applet.patch + - debian/patches/10-po_fr.patch + - debian/patches/11-po_de.patch + * debian/patches/12-po_jp.patch + - Fixes for the Japanese translation. (Closes: #430672) + Patch by Kobayashi Noritada <nori1@dolphin.c.u-tokyo.ac.jp> + * debian/patches/20-stable_branch_updates_r98.patch + - Pull updates from the stable branch up until revision 98. + - Contains various bug fixes and translation updates. + * Add debian/watch to track new upstream releases. + + -- Michael Biebl <biebl@debian.org> Mon, 27 Aug 2007 08:03:06 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..ec635144 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..371a282b --- /dev/null +++ b/debian/control @@ -0,0 +1,165 @@ +Source: network-manager-applet +Section: gnome +Priority: optional +Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org> +Uploaders: Michael Biebl <biebl@debian.org> +Build-Depends: debhelper (>= 9), + autotools-dev, + dh-autoreconf, + gnome-common, + intltool, + libsecret-1-dev, + libgtk-3-dev (>= 3.4), + libglib2.0-dev (>= 2.32), + libnotify-dev (>= 0.7), + libnm-util-dev (>= 1.1), + libnm-glib-dev (>= 1.1), + libnm-glib-vpn-dev (>= 1.1), + network-manager-dev (>= 1.1), + libnm-dev (>= 1.1), + libmm-glib-dev, + libgudev-1.0-dev (>= 147), + iso-codes, + libgirepository1.0-dev, + gobject-introspection +Standards-Version: 3.9.7 +Vcs-Git: git://anonscm.debian.org/pkg-utopia/network-manager-applet.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-utopia/network-manager-applet.git +Homepage: https://www.gnome.org/projects/NetworkManager/ + +Package: network-manager-gnome +Architecture: linux-any +Section: gnome +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libnma0 (= ${binary:Version}), + network-manager (>= 1.1), + policykit-1-gnome, + gnome-icon-theme, + dbus-x11 +Recommends: notification-daemon, + gnome-keyring, + mobile-broadband-provider-info, + iso-codes +Suggests: network-manager-openconnect-gnome, + network-manager-openvpn-gnome, + network-manager-vpnc-gnome, + network-manager-pptp-gnome +Description: network management framework (GNOME frontend) + NetworkManager is a system network service that manages your network devices + and connections, attempting to keep active network connectivity when + available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE + devices, and provides VPN integration with a variety of different VPN + services. + . + This package contains a systray applet for GNOME's notification area but it + also works for other desktop environments which provide a systray like KDE + or Xfce. + It displays the available networks and allows users to easily switch between + them. For encrypted networks it will prompt the user for the key/passphrase + and it can optionally store them in the gnome-keyring. + +Package: libnm-gtk0 +Architecture: linux-any +Multi-Arch: same +Section: libs +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libnm-gtk-common (= ${source:Version}) +Breaks: network-manager-gnome (<< 0.9.10.0) +Description: library for wireless and mobile dialogs (libnm-glib version) + This library provides Gtk+ dialogs for NetworkManager. + +Package: libnm-gtk-common +Architecture: all +Multi-Arch: foreign +Section: libs +Depends: ${misc:Depends} +Description: library for wireless and mobile dialogs - common files + The libnm-gtk library provides Gtk+ dialogs for NetworkManager. + . + This package contains data files used by libnm-gtk. + +Package: libnm-gtk-dev +Architecture: linux-any +Multi-Arch: same +Section: libdevel +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libnm-gtk0 (= ${binary:Version}), + gir1.2-nmgtk-1.0 (= ${binary:Version}), + network-manager-dev (>= 1.1), + libnm-util-dev (>= 1.1), + libnm-glib-dev (>= 1.1), + libgtk-3-dev +Description: library for wireless and mobile dialogs - development files + The libnm-gtk library provides Gtk+ dialogs for NetworkManager. + . + This package contains the development files. + +Package: gir1.2-nmgtk-1.0 +Section: introspection +Architecture: linux-any +Multi-Arch: same +Depends: ${gir:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Description: GObject introspection data for libnm-gtk + The libnm-gtk library provides Gtk+ dialogs for NetworkManager. + . + This package contains introspection data for libnm-gtk. + . + It can be used by packages using the GIRepository format to generate + dynamic bindings. + +Package: libnma0 +Architecture: linux-any +Multi-Arch: same +Section: libs +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libnma-common (= ${source:Version}) +Description: library for wireless and mobile dialogs (libnm version) + This library provides Gtk+ dialogs for NetworkManager. + +Package: libnma-common +Architecture: all +Multi-Arch: foreign +Section: libs +Depends: ${misc:Depends} +Description: library for wireless and mobile dialogs - common files + The libnm-gtk library provides Gtk+ dialogs for NetworkManager. + . + This package contains data files used by libnm-gtk. + +Package: libnma-dev +Architecture: linux-any +Multi-Arch: same +Section: libdevel +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libnma0 (= ${binary:Version}), + gir1.2-nma-1.0 (= ${binary:Version}), + libnm-dev (>= 1.1) +Description: library for wireless and mobile dialogs - development files + The libnm-gtk library provides Gtk+ dialogs for NetworkManager. + . + This package contains the development files. + +Package: gir1.2-nma-1.0 +Section: introspection +Architecture: linux-any +Multi-Arch: same +Depends: ${gir:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Description: GObject introspection data for libnma + The libnma library provides Gtk+ dialogs for NetworkManager. + . + This package contains introspection data for libnma. + . + It can be used by packages using the GIRepository format to generate + dynamic bindings. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..d42cc6eb --- /dev/null +++ b/debian/copyright @@ -0,0 +1,78 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: network-manager-applet +Source: http://ftp.gnome.org/pub/GNOME/sources/network-manager-applet/ + +Files: * +Copyright: 2004 - 2015 Red Hat, Inc. + 2005 - 2008 Novell, Inc. + 2001, 2002 Free Software Foundation +License: GPL-2+ + +Files: src/libnm-gtk/nm-mobile-providers.* + src/libnm-gtk/nm-vpn-password-dialog.* + src/libnma/nma-mobile-providers.* + src/libnma/nma-vpn-password-dialog.* + shared/* +Copyright: 2009 Novell, Inc. + 2009 - 2015 Red Hat, Inc. + 2012 Lanedo GmbH + 1999, 2000 Eazel, Inc. +License: LGPL-2+ + +Files: src/libnm-gtk/tests/iso3166-test.xml +Copyright: 2002, 2004, 2006 Alastair McKinstry <mckinstry@computer.org> + 2004 Andreas Jochens <aj@andaco.de> + 2004, 2007 Christian Perrier <bubulle@debian.org> + 2005, 2006, 2007 Tobias Quathamer <toddy@debian.org> +License: LGPL-2.1+ + +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/> + . + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +License: LGPL-2+ + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-2". + +License: LGPL-2.1+ + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-2.1". diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 00000000..478d845c --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,4 @@ +[DEFAULT] +pristine-tar = True +patch-numbers = False +debian-branch = master diff --git a/debian/gir1.2-nma-1.0.install b/debian/gir1.2-nma-1.0.install new file mode 100644 index 00000000..53d7ab64 --- /dev/null +++ b/debian/gir1.2-nma-1.0.install @@ -0,0 +1 @@ +usr/lib/*/girepository-1.0/NMA-1.0.typelib diff --git a/debian/gir1.2-nmgtk-1.0.install b/debian/gir1.2-nmgtk-1.0.install new file mode 100644 index 00000000..27fc67ff --- /dev/null +++ b/debian/gir1.2-nmgtk-1.0.install @@ -0,0 +1 @@ +usr/lib/*/girepository-1.0/NMGtk-1.0.typelib diff --git a/debian/libnm-gtk-common.install b/debian/libnm-gtk-common.install new file mode 100644 index 00000000..00296d70 --- /dev/null +++ b/debian/libnm-gtk-common.install @@ -0,0 +1 @@ +usr/share/libnm-gtk/wifi.ui diff --git a/debian/libnm-gtk-dev.install b/debian/libnm-gtk-dev.install new file mode 100644 index 00000000..3bd44f9f --- /dev/null +++ b/debian/libnm-gtk-dev.install @@ -0,0 +1,4 @@ +usr/include/libnm-gtk/ +usr/lib/*/libnm-gtk.so +usr/lib/*/pkgconfig/libnm-gtk.pc +usr/share/gir-1.0/NMGtk-1.0.gir diff --git a/debian/libnm-gtk0.install b/debian/libnm-gtk0.install new file mode 100644 index 00000000..51ee7334 --- /dev/null +++ b/debian/libnm-gtk0.install @@ -0,0 +1 @@ +usr/lib/*/libnm-gtk.so.* diff --git a/debian/libnm-gtk0.symbols b/debian/libnm-gtk0.symbols new file mode 100644 index 00000000..bfc15614 --- /dev/null +++ b/debian/libnm-gtk0.symbols @@ -0,0 +1,80 @@ +libnm-gtk.so.0 libnm-gtk0 #MINVER# + libnm_gtk_1_0_6@libnm_gtk_1_0_6 1.0.6 + nma_country_info_get_country_code@Base 0.9.7.995 + nma_country_info_get_country_name@Base 0.9.7.995 + nma_country_info_get_providers@Base 0.9.7.995 + nma_country_info_get_type@Base 0.9.7.995 + nma_country_info_ref@Base 0.9.7.995 + nma_country_info_unref@Base 0.9.7.995 + nma_mobile_access_method_get_3gpp_apn@Base 0.9.7.995 + nma_mobile_access_method_get_dns@Base 0.9.7.995 + nma_mobile_access_method_get_family@Base 0.9.7.995 + nma_mobile_access_method_get_gateway@Base 0.9.7.995 + nma_mobile_access_method_get_name@Base 0.9.7.995 + nma_mobile_access_method_get_password@Base 0.9.7.995 + nma_mobile_access_method_get_type@Base 0.9.7.995 + nma_mobile_access_method_get_username@Base 0.9.7.995 + nma_mobile_access_method_ref@Base 0.9.7.995 + nma_mobile_access_method_unref@Base 0.9.7.995 + nma_mobile_provider_get_3gpp_mcc_mnc@Base 0.9.7.995 + nma_mobile_provider_get_cdma_sid@Base 0.9.7.995 + nma_mobile_provider_get_methods@Base 0.9.7.995 + nma_mobile_provider_get_name@Base 0.9.7.995 + nma_mobile_provider_get_type@Base 0.9.7.995 + nma_mobile_provider_ref@Base 0.9.7.995 + nma_mobile_provider_unref@Base 0.9.7.995 + nma_mobile_providers_database_dump@Base 0.9.7.995 + nma_mobile_providers_database_get_countries@Base 0.9.7.995 + nma_mobile_providers_database_get_type@Base 0.9.7.995 + nma_mobile_providers_database_lookup_3gpp_mcc_mnc@Base 0.9.7.995 + nma_mobile_providers_database_lookup_cdma_sid@Base 0.9.7.995 + nma_mobile_providers_database_lookup_country@Base 0.9.7.995 + nma_mobile_providers_database_new@Base 0.9.7.995 + nma_mobile_providers_database_new_finish@Base 0.9.7.995 + nma_mobile_providers_database_new_sync@Base 0.9.7.995 + nma_mobile_providers_split_3gpp_mcc_mnc@Base 0.9.7.995 + nma_mobile_wizard_destroy@Base 0.9.1.95 + nma_mobile_wizard_new@Base 0.9.1.95 + nma_mobile_wizard_present@Base 0.9.1.95 + nma_utils_disambiguate_device_names@Base 0.9.7.995 + nma_utils_get_connection_device_name@Base 0.9.7.997 + nma_utils_get_device_description@Base 0.9.7.995 + nma_utils_get_device_generic_type_name@Base 0.9.7.995 + nma_utils_get_device_product@Base 0.9.7.995 + nma_utils_get_device_type_name@Base 0.9.7.995 + nma_utils_get_device_vendor@Base 0.9.7.995 + nma_utils_menu_to_secret_flags@libnm_gtk_1_0_6 1.0.6 + nma_utils_setup_password_storage@libnm_gtk_1_0_6 1.0.6 + nma_utils_update_password_storage@libnm_gtk_1_0_6 1.0.6 + nma_vpn_password_dialog_focus_password@Base 0.9.10.0 + nma_vpn_password_dialog_focus_password_secondary@Base 0.9.10.0 + nma_vpn_password_dialog_focus_password_ternary@libnm_gtk_1_0_6 1.0.6 + nma_vpn_password_dialog_get_password@Base 0.9.10.0 + nma_vpn_password_dialog_get_password_secondary@Base 0.9.10.0 + nma_vpn_password_dialog_get_password_ternary@libnm_gtk_1_0_6 1.0.6 + nma_vpn_password_dialog_get_type@Base 0.9.10.0 + nma_vpn_password_dialog_new@Base 0.9.10.0 + nma_vpn_password_dialog_run_and_block@Base 0.9.10.0 + nma_vpn_password_dialog_set_password@Base 0.9.10.0 + nma_vpn_password_dialog_set_password_label@Base 0.9.10.0 + nma_vpn_password_dialog_set_password_secondary@Base 0.9.10.0 + nma_vpn_password_dialog_set_password_secondary_label@Base 0.9.10.0 + nma_vpn_password_dialog_set_password_ternary@libnm_gtk_1_0_6 1.0.6 + nma_vpn_password_dialog_set_password_ternary_label@libnm_gtk_1_0_6 1.0.6 + nma_vpn_password_dialog_set_show_password@Base 0.9.10.0 + nma_vpn_password_dialog_set_show_password_secondary@Base 0.9.10.0 + nma_vpn_password_dialog_set_show_password_ternary@libnm_gtk_1_0_6 1.0.6 + nma_wifi_dialog_get_connection@Base 0.9.6.4 + nma_wifi_dialog_get_nag_ignored@Base 0.9.6.4 + nma_wifi_dialog_get_type@Base 0.9.6.4 + nma_wifi_dialog_nag_user@Base 0.9.6.4 + nma_wifi_dialog_new@Base 0.9.6.4 + nma_wifi_dialog_new_for_create@Base 0.9.6.4 + nma_wifi_dialog_new_for_hidden@Base 0.9.10.0 + nma_wifi_dialog_new_for_other@Base 0.9.6.4 + nma_wifi_dialog_set_nag_ignored@Base 0.9.6.4 + nma_wireless_dialog_get_connection@Base 0.9.1.95 + nma_wireless_dialog_get_type@Base 0.9.1.95 + nma_wireless_dialog_new@Base 0.9.1.95 + nma_wireless_dialog_new_for_create@Base 0.9.1.95 + nma_wireless_dialog_new_for_other@Base 0.9.1.95 diff --git a/debian/libnma-common.install b/debian/libnma-common.install new file mode 100644 index 00000000..c5e7925d --- /dev/null +++ b/debian/libnma-common.install @@ -0,0 +1 @@ +usr/share/libnma/wifi.ui diff --git a/debian/libnma-dev.install b/debian/libnma-dev.install new file mode 100644 index 00000000..67c8d0b9 --- /dev/null +++ b/debian/libnma-dev.install @@ -0,0 +1,4 @@ +usr/include/libnma/ +usr/lib/*/libnma.so +usr/lib/*/pkgconfig/libnma.pc +usr/share/gir-1.0/NMA-1.0.gir diff --git a/debian/libnma0.install b/debian/libnma0.install new file mode 100644 index 00000000..e5098460 --- /dev/null +++ b/debian/libnma0.install @@ -0,0 +1 @@ +usr/lib/*/libnma.so.* diff --git a/debian/libnma0.symbols b/debian/libnma0.symbols new file mode 100644 index 00000000..8f9cd56c --- /dev/null +++ b/debian/libnma0.symbols @@ -0,0 +1,68 @@ +libnma.so.0 libnma0 #MINVER# + libnma_1_2_0@libnma_1_2_0 1.1.90 + nma_country_info_get_country_code@libnma_1_2_0 1.1.90 + nma_country_info_get_country_name@libnma_1_2_0 1.1.90 + nma_country_info_get_providers@libnma_1_2_0 1.1.90 + nma_country_info_get_type@libnma_1_2_0 1.1.90 + nma_country_info_ref@libnma_1_2_0 1.1.90 + nma_country_info_unref@libnma_1_2_0 1.1.90 + nma_mobile_access_method_get_3gpp_apn@libnma_1_2_0 1.1.90 + nma_mobile_access_method_get_dns@libnma_1_2_0 1.1.90 + nma_mobile_access_method_get_family@libnma_1_2_0 1.1.90 + nma_mobile_access_method_get_gateway@libnma_1_2_0 1.1.90 + nma_mobile_access_method_get_name@libnma_1_2_0 1.1.90 + nma_mobile_access_method_get_password@libnma_1_2_0 1.1.90 + nma_mobile_access_method_get_type@libnma_1_2_0 1.1.90 + nma_mobile_access_method_get_username@libnma_1_2_0 1.1.90 + nma_mobile_access_method_ref@libnma_1_2_0 1.1.90 + nma_mobile_access_method_unref@libnma_1_2_0 1.1.90 + nma_mobile_provider_get_3gpp_mcc_mnc@libnma_1_2_0 1.1.90 + nma_mobile_provider_get_cdma_sid@libnma_1_2_0 1.1.90 + nma_mobile_provider_get_methods@libnma_1_2_0 1.1.90 + nma_mobile_provider_get_name@libnma_1_2_0 1.1.90 + nma_mobile_provider_get_type@libnma_1_2_0 1.1.90 + nma_mobile_provider_ref@libnma_1_2_0 1.1.90 + nma_mobile_provider_unref@libnma_1_2_0 1.1.90 + nma_mobile_providers_database_dump@libnma_1_2_0 1.1.90 + nma_mobile_providers_database_get_countries@libnma_1_2_0 1.1.90 + nma_mobile_providers_database_get_type@libnma_1_2_0 1.1.90 + nma_mobile_providers_database_lookup_3gpp_mcc_mnc@libnma_1_2_0 1.1.90 + nma_mobile_providers_database_lookup_cdma_sid@libnma_1_2_0 1.1.90 + nma_mobile_providers_database_lookup_country@libnma_1_2_0 1.1.90 + nma_mobile_providers_database_new@libnma_1_2_0 1.1.90 + nma_mobile_providers_database_new_finish@libnma_1_2_0 1.1.90 + nma_mobile_providers_database_new_sync@libnma_1_2_0 1.1.90 + nma_mobile_providers_split_3gpp_mcc_mnc@libnma_1_2_0 1.1.90 + nma_mobile_wizard_destroy@libnma_1_2_0 1.1.90 + nma_mobile_wizard_new@libnma_1_2_0 1.1.90 + nma_mobile_wizard_present@libnma_1_2_0 1.1.90 + nma_utils_menu_to_secret_flags@libnma_1_2_0 1.1.90 + nma_utils_setup_password_storage@libnma_1_2_0 1.1.90 + nma_utils_update_password_storage@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_focus_password@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_focus_password_secondary@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_focus_password_ternary@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_get_password@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_get_password_secondary@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_get_password_ternary@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_get_type@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_new@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_run_and_block@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_set_password@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_set_password_label@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_set_password_secondary@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_set_password_secondary_label@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_set_password_ternary@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_set_password_ternary_label@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_set_show_password@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_set_show_password_secondary@libnma_1_2_0 1.1.90 + nma_vpn_password_dialog_set_show_password_ternary@libnma_1_2_0 1.1.90 + nma_wifi_dialog_get_connection@libnma_1_2_0 1.1.90 + nma_wifi_dialog_get_nag_ignored@libnma_1_2_0 1.1.90 + nma_wifi_dialog_get_type@libnma_1_2_0 1.1.90 + nma_wifi_dialog_nag_user@libnma_1_2_0 1.1.90 + nma_wifi_dialog_new@libnma_1_2_0 1.1.90 + nma_wifi_dialog_new_for_create@libnma_1_2_0 1.1.90 + nma_wifi_dialog_new_for_hidden@libnma_1_2_0 1.1.90 + nma_wifi_dialog_new_for_other@libnma_1_2_0 1.1.90 + nma_wifi_dialog_set_nag_ignored@libnma_1_2_0 1.1.90 diff --git a/debian/network-manager-gnome.README.Debian b/debian/network-manager-gnome.README.Debian new file mode 100644 index 00000000..0af61464 --- /dev/null +++ b/debian/network-manager-gnome.README.Debian @@ -0,0 +1,11 @@ +network-manager-gnome provides a Notification Area applet called nm-applet for +conveniently choosing wired and wireless networks in GNOME, KDE and XFCE. + +network-manager-gnome (by virtue of the fact it uses network-manager) +requires users to be in the group 'netdev' for it to work. If users aren't +in the group 'netdev' then it won't automatically appear, and work, in the +Notification Area. + +network-manager-gnome uses network-manager. Please see the +network-mananger documentation in +/usr/share/doc/network-manager/README.Debian for further information. diff --git a/debian/network-manager-gnome.docs b/debian/network-manager-gnome.docs new file mode 100644 index 00000000..edc00710 --- /dev/null +++ b/debian/network-manager-gnome.docs @@ -0,0 +1 @@ +NEWS diff --git a/debian/network-manager-gnome.install b/debian/network-manager-gnome.install new file mode 100644 index 00000000..e17adc4e --- /dev/null +++ b/debian/network-manager-gnome.install @@ -0,0 +1,10 @@ +usr/bin/ +usr/share/icons/ +usr/share/locale/ +usr/share/appdata/ +usr/share/applications/ +usr/share/nm-applet/ +usr/share/man/ +usr/share/GConf/gsettings/ +usr/share/glib-2.0/schemas/ +etc/xdg/ diff --git a/debian/network-manager-gnome.maintscript b/debian/network-manager-gnome.maintscript new file mode 100644 index 00000000..5603c13b --- /dev/null +++ b/debian/network-manager-gnome.maintscript @@ -0,0 +1 @@ +rm_conffile /etc/dbus-1/system.d/nm-applet.conf 0.9.0-4~ network-manager-gnome diff --git a/debian/network-manager-gnome.postinst b/debian/network-manager-gnome.postinst new file mode 100644 index 00000000..141a7216 --- /dev/null +++ b/debian/network-manager-gnome.postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl 0.9.0-2 ; then + [ -x /usr/share/update-notifier/notify-reboot-required ] && \ + /usr/share/update-notifier/notify-reboot-required || true +fi + +#DEBHELPER# diff --git a/debian/patches/Allow-to-create-connections-without-admin-privileges.patch b/debian/patches/Allow-to-create-connections-without-admin-privileges.patch new file mode 100644 index 00000000..2e3f2fa5 --- /dev/null +++ b/debian/patches/Allow-to-create-connections-without-admin-privileges.patch @@ -0,0 +1,322 @@ +From: Michael Biebl <biebl@debian.org> +Date: Tue, 18 Mar 2014 10:49:13 +0100 +Subject: Allow to create connections without admin privileges +MIME-Version: 1.0 +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: 8bit + +Set passwords as agent-owned when they need to, to allow users without +root permissions to easily configure their connections. +The logic is: +- Bluetooth, CDMA and GSM connections: always user-owned +- WEP/WPA connections: system-owned if user has the permissions + (with NM’s config, that is netdev or sudo membership), user-owned + otherwise. The password is stored in the keyring for WPA, not for + WEP. +- WiMax / Wired connections: always system-owned (with 802.1x + passwords in the keyring). + +Closes: #696256 +--- + src/applet-device-wifi.c | 25 +++++++++++++++++++++++++ + src/connection-editor/page-mobile.c | 10 ++++++++++ + src/connection-editor/page-vpn.c | 9 +++++++++ + src/connection-editor/page-wifi.c | 13 +++++++++++++ + src/libnm-gtk/nm-wifi-dialog.c | 4 ++++ + src/mobile-helpers.c | 3 +++ + src/utils/utils.c | 7 +++++++ + src/utils/utils.h | 3 +++ + src/wireless-security/ws-wep-key.c | 7 +++++++ + src/wireless-security/ws-wpa-psk.c | 5 +++++ + 10 files changed, 86 insertions(+) + +diff --git a/src/applet-device-wifi.c b/src/applet-device-wifi.c +index 9944fb4..1c287b0 100644 +--- a/src/applet-device-wifi.c ++++ b/src/applet-device-wifi.c +@@ -526,6 +526,7 @@ _do_new_auto_connection (NMApplet *applet, + NMSettingWirelessSecurity *s_wsec = NULL; + NMSetting8021x *s_8021x = NULL; + GBytes *ssid; ++ NM80211ApFlags flags; + NM80211ApSecurityFlags wpa_flags, rsn_flags; + GtkWidget *dialog; + MoreInfo *more_info; +@@ -557,6 +558,7 @@ _do_new_auto_connection (NMApplet *applet, + /* If the AP is WPA[2]-Enterprise then we need to set up a minimal 802.1x + * setting and ask the user for more information. + */ ++ flags = nm_access_point_get_flags (ap); + rsn_flags = nm_access_point_get_rsn_flags (ap); + wpa_flags = nm_access_point_get_wpa_flags (ap); + if ( (rsn_flags & NM_802_11_AP_SEC_KEY_MGMT_802_1X) +@@ -585,6 +587,29 @@ _do_new_auto_connection (NMApplet *applet, + nm_connection_add_setting (connection, NM_SETTING (s_8021x)); + } + ++ if (utils_default_to_private_connection (applet->nm_client)) { ++ if (!s_con) { ++ s_con = (NMSettingConnection *) nm_setting_connection_new (); ++ nm_connection_add_setting (connection, NM_SETTING (s_con)); ++ } ++ nm_setting_connection_add_permission (s_con, "user", g_get_user_name (), NULL); ++ ++ if ((rsn_flags & NM_802_11_AP_SEC_KEY_MGMT_PSK) || ++ (wpa_flags & NM_802_11_AP_SEC_KEY_MGMT_PSK)) { ++ if (!s_wsec) { ++ s_wsec = (NMSettingWirelessSecurity *) nm_setting_wireless_security_new (); ++ nm_connection_add_setting (connection, NM_SETTING (s_wsec)); ++ } ++ g_object_set (s_wsec, NM_SETTING_WIRELESS_SECURITY_PSK_FLAGS, NM_SETTING_SECRET_FLAG_AGENT_OWNED, NULL); ++ } else if (flags & NM_802_11_AP_FLAGS_PRIVACY) { ++ if (!s_wsec) { ++ s_wsec = (NMSettingWirelessSecurity *) nm_setting_wireless_security_new (); ++ nm_connection_add_setting (connection, NM_SETTING (s_wsec)); ++ } ++ g_object_set (s_wsec, NM_SETTING_WIRELESS_SECURITY_WEP_KEY_FLAGS, NM_SETTING_SECRET_FLAG_AGENT_OWNED, NULL); ++ } ++ } ++ + /* If it's an 802.1x connection, we need more information, so pop up the + * Dialog Of Doom. + */ +diff --git a/src/connection-editor/page-mobile.c b/src/connection-editor/page-mobile.c +index 8a1aa64..44c0f81 100644 +--- a/src/connection-editor/page-mobile.c ++++ b/src/connection-editor/page-mobile.c +@@ -442,6 +442,7 @@ new_connection_mobile_wizard_done (NMAMobileWizard *wizard, + NMConnection *connection = NULL; + + if (!canceled && method) { ++ NMSettingConnection *s_con; + NMSetting *type_setting; + const char *ctype = NULL; + char *detail = NULL; +@@ -455,6 +456,7 @@ new_connection_mobile_wizard_done (NMAMobileWizard *wizard, + NM_SETTING_GSM_NUMBER, "*99#", + NM_SETTING_GSM_USERNAME, method->username, + NM_SETTING_GSM_PASSWORD, method->password, ++ NM_SETTING_GSM_PASSWORD_FLAGS, NM_SETTING_SECRET_FLAG_AGENT_OWNED, + NM_SETTING_GSM_APN, method->gsm_apn, + NULL); + break; +@@ -466,6 +468,7 @@ new_connection_mobile_wizard_done (NMAMobileWizard *wizard, + NM_SETTING_CDMA_NUMBER, "#777", + NM_SETTING_GSM_USERNAME, method->username, + NM_SETTING_GSM_PASSWORD, method->password, ++ NM_SETTING_GSM_PASSWORD_FLAGS, NM_SETTING_SECRET_FLAG_AGENT_OWNED, + NULL); + break; + default: +@@ -480,6 +483,13 @@ new_connection_mobile_wizard_done (NMAMobileWizard *wizard, + connection = ce_page_new_connection (detail, ctype, FALSE, info->client, info->user_data); + g_free (detail); + ++ s_con = nm_connection_get_setting_connection (connection); ++ if (!s_con) { ++ s_con = (NMSettingConnection *) nm_setting_connection_new (); ++ nm_connection_add_setting (connection, NM_SETTING (s_con)); ++ } ++ nm_setting_connection_add_permission (s_con, "user", g_get_user_name (), NULL); ++ + nm_connection_add_setting (connection, type_setting); + nm_connection_add_setting (connection, nm_setting_ppp_new ()); + } +diff --git a/src/connection-editor/page-vpn.c b/src/connection-editor/page-vpn.c +index d07f491..0a4d538 100644 +--- a/src/connection-editor/page-vpn.c ++++ b/src/connection-editor/page-vpn.c +@@ -277,6 +277,7 @@ vpn_connection_new (GtkWindow *parent, + gpointer user_data) + { + NMConnection *connection; ++ NMSettingConnection *s_con; + NMSetting *s_vpn; + + if (!detail) { +@@ -302,6 +303,14 @@ vpn_connection_new (GtkWindow *parent, + FALSE, + client, + user_data); ++ ++ s_con = nm_connection_get_setting_connection (connection); ++ if (!s_con) { ++ s_con = (NMSettingConnection *) nm_setting_connection_new (); ++ nm_connection_add_setting (connection, NM_SETTING (s_con)); ++ } ++ nm_setting_connection_add_permission (s_con, "user", g_get_user_name (), NULL); ++ + s_vpn = nm_setting_vpn_new (); + g_object_set (s_vpn, NM_SETTING_VPN_SERVICE_TYPE, detail, NULL); + nm_connection_add_setting (connection, s_vpn); +diff --git a/src/connection-editor/page-wifi.c b/src/connection-editor/page-wifi.c +index 8215cb3..394e977 100644 +--- a/src/connection-editor/page-wifi.c ++++ b/src/connection-editor/page-wifi.c +@@ -26,6 +26,8 @@ + #include <math.h> + + #include "nm-connection-editor.h" ++#include "utils.h" ++ + #include "page-wifi.h" + + G_DEFINE_TYPE (CEPageWifi, ce_page_wifi, CE_TYPE_PAGE) +@@ -621,6 +623,17 @@ wifi_connection_new (GtkWindow *parent, + TRUE, + client, + user_data); ++ ++ if (utils_default_to_private_connection (client)) { ++ NMSettingConnection *s_con; ++ s_con = nm_connection_get_setting_connection (connection); ++ if (!s_con) { ++ s_con = (NMSettingConnection *) nm_setting_connection_new (); ++ nm_connection_add_setting (connection, NM_SETTING (s_con)); ++ } ++ nm_setting_connection_add_permission (s_con, "user", g_get_user_name (), NULL); ++ } ++ + s_wifi = nm_setting_wireless_new (); + g_object_set (s_wifi, NM_SETTING_WIRELESS_MODE, "infrastructure", NULL); + nm_connection_add_setting (connection, s_wifi); +diff --git a/src/libnm-gtk/nm-wifi-dialog.c b/src/libnm-gtk/nm-wifi-dialog.c +index 1bf1bf4..7c29a5b 100644 +--- a/src/libnm-gtk/nm-wifi-dialog.c ++++ b/src/libnm-gtk/nm-wifi-dialog.c +@@ -36,6 +36,7 @@ + #include "wireless-security.h" + #include "nm-ui-utils.h" + #include "eap-method.h" ++#include "utils.h" + + G_DEFINE_TYPE (NMAWifiDialog, nma_wifi_dialog, GTK_TYPE_DIALOG) + +@@ -1229,6 +1230,9 @@ nma_wifi_dialog_get_connection (NMAWifiDialog *self, + NM_SETTING_CONNECTION_UUID, uuid, + NULL); + g_free (uuid); ++ if (utils_default_to_private_connection (priv->client)) { ++ nm_setting_connection_add_permission (s_con, "user", g_get_user_name (), NULL); ++ } + nm_connection_add_setting (connection, (NMSetting *) s_con); + + s_wireless = (NMSettingWireless *) nm_setting_wireless_new (); +diff --git a/src/mobile-helpers.c b/src/mobile-helpers.c +index 406e3e0..751bea1 100644 +--- a/src/mobile-helpers.c ++++ b/src/mobile-helpers.c +@@ -183,6 +183,7 @@ mobile_wizard_done (NMAMobileWizard *wizard, + NM_SETTING_CDMA_NUMBER, "#777", + NM_SETTING_CDMA_USERNAME, method->username, + NM_SETTING_CDMA_PASSWORD, method->password, ++ NM_SETTING_CDMA_PASSWORD_FLAGS, NM_SETTING_SECRET_FLAG_AGENT_OWNED, + NULL); + nm_connection_add_setting (connection, setting); + } else if (method->devtype == NM_DEVICE_MODEM_CAPABILITY_GSM_UMTS) { +@@ -193,6 +194,7 @@ mobile_wizard_done (NMAMobileWizard *wizard, + NM_SETTING_GSM_USERNAME, method->username, + NM_SETTING_GSM_PASSWORD, method->password, + NM_SETTING_GSM_APN, method->gsm_apn, ++ NM_SETTING_GSM_PASSWORD_FLAGS, NM_SETTING_SECRET_FLAG_AGENT_OWNED, + NULL); + nm_connection_add_setting (connection, setting); + } else +@@ -223,6 +225,7 @@ mobile_wizard_done (NMAMobileWizard *wizard, + "user", g_get_user_name (), NULL); + g_free (uuid); + g_free (id); ++ nm_setting_connection_add_permission ((NMSettingConnection *) setting, "user", g_get_user_name (), NULL); + nm_connection_add_setting (connection, setting); + } + +diff --git a/src/utils/utils.c b/src/utils/utils.c +index fd573cc..172d3f8 100644 +--- a/src/utils/utils.c ++++ b/src/utils/utils.c +@@ -370,3 +370,10 @@ utils_fake_return_key (GdkEventKey *event) + g_free (keys); + } + ++gboolean ++utils_default_to_private_connection (NMClient *client) ++{ ++ NMClientPermissionResult perms; ++ perms = nm_client_get_permission_result (client, NM_CLIENT_PERMISSION_SETTINGS_MODIFY_SYSTEM); ++ return (perms != NM_CLIENT_PERMISSION_RESULT_YES); ++} +diff --git a/src/utils/utils.h b/src/utils/utils.h +index 908741c..64a53ea 100644 +--- a/src/utils/utils.h ++++ b/src/utils/utils.h +@@ -34,6 +34,7 @@ + #include <nm-connection.h> + #include <nm-device.h> + #include <nm-access-point.h> ++#include <nm-client.h> + #else + #error neither LIBNM_BUILD nor LIBNM_GLIB_BUILD defined + #endif +@@ -65,6 +66,8 @@ void utils_show_error_dialog (const char *title, + gboolean modal, + GtkWindow *parent); + ++gboolean utils_default_to_private_connection (NMClient *client); ++ + #define NMA_ERROR (g_quark_from_static_string ("nma-error-quark")) + + typedef enum { +diff --git a/src/wireless-security/ws-wep-key.c b/src/wireless-security/ws-wep-key.c +index 3628d67..18d9300 100644 +--- a/src/wireless-security/ws-wep-key.c ++++ b/src/wireless-security/ws-wep-key.c +@@ -157,6 +157,7 @@ static void + fill_connection (WirelessSecurity *parent, NMConnection *connection) + { + WirelessSecurityWEPKey *sec = (WirelessSecurityWEPKey *) parent; ++ NMSettingConnection *s_con; + NMSettingWirelessSecurity *s_wsec; + NMSettingSecretFlags secret_flags; + GtkWidget *widget, *passwd_entry; +@@ -183,6 +184,12 @@ fill_connection (WirelessSecurity *parent, NMConnection *connection) + NM_SETTING_WIRELESS_SECURITY_WEP_KEY_TYPE, sec->type, + NULL); + ++ s_con = nm_connection_get_setting_connection (connection); ++ ++ /* If the connection is user-owned, mark the secrets as agent-owned */ ++ if (s_con && nm_setting_connection_get_num_permissions (s_con)) ++ g_object_set (s_wsec, NM_SETTING_WIRELESS_SECURITY_WEP_KEY_FLAGS, NM_SETTING_SECRET_FLAG_AGENT_OWNED, NULL); ++ + for (i = 0; i < 4; i++) { + if (strlen (sec->keys[i])) + nm_setting_wireless_security_set_wep_key (s_wsec, i, sec->keys[i]); +diff --git a/src/wireless-security/ws-wpa-psk.c b/src/wireless-security/ws-wpa-psk.c +index aec5563..6bdb852 100644 +--- a/src/wireless-security/ws-wpa-psk.c ++++ b/src/wireless-security/ws-wpa-psk.c +@@ -103,12 +103,14 @@ fill_connection (WirelessSecurity *parent, NMConnection *connection) + WirelessSecurityWPAPSK *wpa_psk = (WirelessSecurityWPAPSK *) parent; + GtkWidget *widget, *passwd_entry; + const char *key; ++ NMSettingConnection *s_con; + NMSettingWireless *s_wireless; + NMSettingWirelessSecurity *s_wireless_sec; + NMSettingSecretFlags secret_flags; + const char *mode; + gboolean is_adhoc = FALSE; + ++ s_con = nm_connection_get_setting_connection (connection); + s_wireless = nm_connection_get_setting_wireless (connection); + g_assert (s_wireless); + +@@ -124,6 +126,9 @@ fill_connection (WirelessSecurity *parent, NMConnection *connection) + passwd_entry = widget; + key = gtk_entry_get_text (GTK_ENTRY (widget)); + g_object_set (s_wireless_sec, NM_SETTING_WIRELESS_SECURITY_PSK, key, NULL); ++ /* If the connection is user-owned, mark the secrets as agent-owned */ ++ if (s_con && nm_setting_connection_get_num_permissions (s_con)) ++ g_object_set (s_wireless_sec, NM_SETTING_WIRELESS_SECURITY_PSK_FLAGS, NM_SETTING_SECRET_FLAG_AGENT_OWNED, NULL); + + /* Save PSK_FLAGS to the connection */ + secret_flags = nma_utils_menu_to_secret_flags (passwd_entry); diff --git a/debian/patches/Force-online-state-with-unmanaged-devices.patch b/debian/patches/Force-online-state-with-unmanaged-devices.patch new file mode 100644 index 00000000..70ca3d9d --- /dev/null +++ b/debian/patches/Force-online-state-with-unmanaged-devices.patch @@ -0,0 +1,30 @@ +From: Michael Biebl <biebl@debian.org> +Date: Tue, 18 Mar 2014 10:49:13 +0100 +Subject: Force online state with unmanaged devices + +If NM has an active unmanaged device it will forcefully set the online +state to CONNECTED_GLOBAL. In that case show a wired connection icon +instead of an offline icon. + +Closes: #471191 +--- + src/applet.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/src/applet.c b/src/applet.c +index 0fe14e7..bc95ad2 100644 +--- a/src/applet.c ++++ b/src/applet.c +@@ -2619,6 +2619,12 @@ applet_update_icon (gpointer user_data) + applet_get_device_icon_for_state (applet, &pixbuf, &icon_name_free, &dev_tip_free); + icon_name = icon_name_free; + dev_tip = dev_tip_free; ++ if (!pixbuf && ( state == NM_STATE_CONNECTED_LOCAL ++ || state == NM_STATE_CONNECTED_SITE ++ || state == NM_STATE_CONNECTED_GLOBAL)) { ++ icon_name = g_strdup ("nm-device-wired"); ++ pixbuf = g_object_ref (nma_icon_check_and_load (icon_name, applet)); ++ } + break; + } + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 00000000..baed4ac7 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +Allow-to-create-connections-without-admin-privileges.patch +Force-online-state-with-unmanaged-devices.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..2fa57078 --- /dev/null +++ b/debian/rules @@ -0,0 +1,28 @@ +#!/usr/bin/make -f + +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,--as-needed + +%: + dh $@ --with autoreconf,gir + +override_dh_autoreconf: + dh_autoreconf --as-needed + +override_dh_auto_configure: + dh_auto_configure -- \ + --libexecdir=/usr/lib/NetworkManager \ + --disable-more-warnings \ + --enable-introspection \ + --with-wwan + +override_dh_install: + find debian/tmp -name '*.a' -delete + find debian/tmp -name '*.la' -delete + dh_install --fail-missing + +override_dh_auto_test: +ifeq (, $(filter nocheck, $(DEB_BUILD_OPTIONS))) + make check || ( find . -name test-suite.log -exec cat {} \;; exit 1; ) +endif diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 00000000..0c0eb428 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://download.gnome.org/sources/network-manager-applet/([\d\.]+)/network-manager-applet-(.*)\.tar\.xz |