diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/README.source | 6 | ||||
-rw-r--r-- | debian/changelog | 268 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 24 | ||||
-rw-r--r-- | debian/copyright | 25 | ||||
-rw-r--r-- | debian/examples | 1 | ||||
-rw-r--r-- | debian/patches/0001-Add-simple-AFS-plugin.patch | 222 | ||||
-rw-r--r-- | debian/patches/0002-Rerun-autoreconf.patch | 118 | ||||
-rw-r--r-- | debian/patches/0003-Always-startup-not-only-with-a-valid-ticket-cache.patch | 23 | ||||
-rw-r--r-- | debian/patches/series | 3 | ||||
-rwxr-xr-x | debian/rules | 18 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 4 |
13 files changed, 714 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..87a5487 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,6 @@ +Building krb5-auth-dialog for Debian +------------------------------------ + +The krb5-auth-dialog source package uses quilt to apply and remove its patches. +Please refer to /usr/share/doc/quilt/README.source for information about how to +use quilt for source packages. diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..9d6a284 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,268 @@ +krb5-auth-dialog (0.16-4) unstable; urgency=low + + * [ec8ae28] Drop 0004-Change-the-Name-from-Network-Authentication-to- + Kerbe.patch. This breaks too many strings before the release. + + -- Guido Günther <agx@sigxcpu.org> Sat, 21 Aug 2010 13:39:25 +0200 + +krb5-auth-dialog (0.16-3) unstable; urgency=low + + * [578488d] New patch: + 0003-Always-startup-not-only-with-a-valid-ticket-cache.patch + Always startup, not only with a valid ticket cache (Closes: #582497) + * [f391a2b] New patch: + 0004-Change-the-Name-from-Network-Authentication-to-Kerbe.patch + Change the Name from "Network Authentication" to "Kerberos Authentication" + (Closes: #593543) + + -- Guido Günther <agx@sigxcpu.org> Thu, 19 Aug 2010 14:31:45 +0200 + +krb5-auth-dialog (0.16-2) unstable; urgency=low + + * [5626953] Switch to 3.0 (quilt) source format + * [7154aeb] Add simple AFS plugin + * [f3efa5f] Bump standards version to 3.9.0 + + -- Guido Günther <agx@sigxcpu.org> Wed, 07 Jul 2010 20:41:47 +0200 + +krb5-auth-dialog (0.16-1) unstable; urgency=low + + * [6f45d53] Imported Upstream version 0.16 + + -- Guido Günther <agx@sigxcpu.org> Tue, 29 Jun 2010 19:03:57 +0200 + +krb5-auth-dialog (0.16~rc2-1) experimental; urgency=low + + * [daedd98] Imported Upstream version 0.16~rc2 + * plugs leaks (Closes: #538225) + * updates glib check (Closes: #569319) + * [60e919c] debian/watch: Don't only match even release numbers + + -- Guido Günther <agx@sigxcpu.org> Sat, 19 Jun 2010 15:29:09 +0200 + +krb5-auth-dialog (0.16~rc1-1) experimental; urgency=low + + * [29320e2] Imported Upstream version 0.16~rc1 + * [d6b65b8] Enable PAM plugin + * [c5a9652] Don't run dh_makeshlibs on plugins and remove .la and .a files. + + -- Guido Günther <agx@sigxcpu.org> Tue, 04 May 2010 08:56:09 +0200 + +krb5-auth-dialog (0.15-1) unstable; urgency=low + + * [eafd110] Imported Upstream version 0.15 + * [469d5f9] install examples + * [f7b2bf0] Bump standards version + + -- Guido Günther <agx@sigxcpu.org> Sat, 03 Apr 2010 17:49:03 +0200 + +krb5-auth-dialog (0.14-2) unstable; urgency=low + + * [a3c3412] Rebuild against so name bumped libheimdal-dev. (Closes: #561340) + + -- Guido Günther <agx@sigxcpu.org> Thu, 17 Dec 2009 10:57:24 +0100 + +krb5-auth-dialog (0.14-1) unstable; urgency=low + + * [45e3112] Imported Upstream version 0.14 + * [3cde613] drop patches picked from upstream + + -- Guido Günther <agx@sigxcpu.org> Sun, 01 Nov 2009 19:57:08 +0100 + +krb5-auth-dialog (0.13-2) unstable; urgency=low + + * [3fc941f] Reenable patchsys + * [4465319] Pull several minor ticket dialog enhancements from upstream + + -- Guido Günther <agx@sigxcpu.org> Tue, 29 Sep 2009 14:38:27 +0200 + +krb5-auth-dialog (0.13-1) unstable; urgency=low + + * [b6cfb6e] Imported Upstream version 0.13 + * [045601b] Drop 0001-remove-unused-GtkImage-with-duplicate-id.patch - fixed + upstream. + + -- Guido Günther <agx@sigxcpu.org> Tue, 29 Sep 2009 09:36:13 +0200 + +krb5-auth-dialog (0.12-2) unstable; urgency=low + + * [56734b5] new patch 0001-remove-unused-GtkImage-with-duplicate-id.patch: + remove unused GtkImage with duplicate id (BZ: #593389) + * [4028d00] use quilt patchsys + * [e65e98a] bump standards version + * [9ded61a] add README.source + + -- Guido Günther <agx@sigxcpu.org> Sun, 30 Aug 2009 19:33:35 +0200 + +krb5-auth-dialog (0.12-1) unstable; urgency=low + + * [7dfce86] Imported Upstream version 0.12 + + -- Guido Günther <agx@sigxcpu.org> Mon, 13 Jul 2009 18:47:47 +0200 + +krb5-auth-dialog (0.11-1) unstable; urgency=low + + * [27053b1] Imported Upstream version 0.11 + * [0fd8db6] update build-deps + + -- Guido Günther <agx@sigxcpu.org> Mon, 15 Jun 2009 18:43:06 +0200 + +krb5-auth-dialog (0.10-1) unstable; urgency=low + + * [d911517] Imported Upstream version 0.10 + + -- Guido Günther <agx@sigxcpu.org> Mon, 25 May 2009 18:39:52 +0200 + +krb5-auth-dialog (0.9.1-1) unstable; urgency=low + + * [c2030a6] Imported Upstream version 0.9.1 + * [b6688e4] don't run autogen.sh, this one is based on a released + version + + -- Guido Günther <agx@sigxcpu.org> Sun, 03 May 2009 17:00:46 +0200 + +krb5-auth-dialog (0.9+0gitec60300-1) unstable; urgency=low + + * [9d5cdf2] Imported Upstream version 0.9+0gitec60300 + * don't show notifications before being embedded in the panel + * fix principal changes in prefs dialog need restart + * [32955a0] drop 0001-set-a-more-gnomeisch-invisible-char.patch fixed + upstream + * [b8c3795] no need for a patch system at the moment + + -- Guido Günther <agx@sigxcpu.org> Fri, 24 Apr 2009 11:47:29 +0200 + +krb5-auth-dialog (0.9~rc1-1) unstable; urgency=low + + * [d6eee4e] Imported Upstream version 0.9~rc1 + * pkinit anchors configurable + * preference dialog cleanups + * fixes empty principal if gconf value is empty + * [e442822] bump standards version + * [1f1694f] debian/control: it has kind of a homepage now + + -- Guido Günther <agx@sigxcpu.org> Sat, 18 Apr 2009 01:13:07 +0200 + +krb5-auth-dialog (0.8+svn141-1) unstable; urgency=low + + * [61675c0] Imported Upstream version 0.8+svn141 + * [fea8c76] drop patches merges upstream: + - 0002-add-dbus-service-file.patch + - 0003-add-preferences-dialog.patch + * [d58c012] rediff 0001-set-a-more-gnomeisch-invisible-char.patch + * [b720589] temporarily depend on libssl-dev to work around #522663 + + -- Guido Günther <agx@sigxcpu.org> Sat, 04 Apr 2009 15:04:42 +0200 + +krb5-auth-dialog (0.8+svn136-2) unstable; urgency=low + + * [cf0e693] allow to set ticket flags via preferences dialog (Closes: + #521251) + + -- Guido Günther <agx@sigxcpu.org> Thu, 02 Apr 2009 16:54:35 +0200 + +krb5-auth-dialog (0.8+svn136-1) unstable; urgency=low + + * [89329f6] Imported Upstream snapshot 0.8+svn136 + * Patches: + - [6e6af1c] 0001-set-a-more-gnomeisch-invisible-char: rediff + - [f162ecd] 0002-add-dbus-service-file: add dbus service file to fire up + krb5-auth-dialog when an application requests a ticket but + krb5-auth-dialog isn't running + + -- Guido Günther <agx@sigxcpu.org> Sat, 28 Mar 2009 13:41:12 +0100 + +krb5-auth-dialog (0.8+svn128-1) unstable; urgency=low + + * [d0f7048] Imported Upstream version 0.8+svn128 + * dbus interface + * [7d35a63] reenable autogen.sh for SVN snapshot + * [0a0e716] drop patches applied upstream: + * 0002-don-t-try-pkinit-if-pk_userid-is-non-null-but-empty.patch + * 0003-move- icons-to-datadir-krb5-auth-dialog.patch + + -- Guido Günther <agx@sigxcpu.org> Sun, 01 Mar 2009 15:27:18 +0100 + +krb5-auth-dialog (0.8-3) unstable; urgency=low + + * upload to unstable + * [8600023] add ${misc:depends} + * [858f4d8] move icons to $(datadir)/krb5-auth-dialog + + -- Guido Günther <agx@sigxcpu.org> Fri, 20 Feb 2009 16:51:12 +0100 + +krb5-auth-dialog (0.8-2) experimental; urgency=low + + * [30f663e] add Vcs-{Git,Browser} fields + * [dc19dd3] don't try pkinit if pk_userid is non-null but empty + + -- Guido Günther <agx@sigxcpu.org> Mon, 19 Jan 2009 22:19:49 +0100 + +krb5-auth-dialog (0.8-1) experimental; urgency=low + + * [88b8041] Imported Upstream version 0.8 + * [453e157] set more gnomeish invisible char + * [a81f793] released version doesn't need to run autogen.sh + * [ce03b8f] build-dep on quilt + + -- Guido Günther <agx@sigxcpu.org> Sat, 10 Jan 2009 16:28:24 +0100 + +krb5-auth-dialog (0.7.jit26357da-1) experimental; urgency=low + + * [6a45cdd] Imported Upstream version 0.7.jit26357da + * Based on upstream version 0.7 plus our changes at: + http://honk.sigxcpu.org/git/krb5-auth-dialog.git + * support pkinit + * add extra icon for "ticket is about to expire" + * add gconf schema + * [08f4d3e] build against heimdal for pkinit support + * [dc90dff] update description + * [168739c] new standards version + * [37e6092] depend on gconf2 + * [fa542d6] drop quilt dependeny + + -- Guido Günther <agx@sigxcpu.org> Sat, 18 Oct 2008 18:46:37 +0200 + +krb5-auth-dialog (0.7.hit7cc1d84-1) unstable; urgency=low + + * New "Upstream" Version + * Based on upstream version 0.7 plus our changes at: + http://honk.sigxcpu.org/git/krb5-auth-dialog.git + * don't popup the dialog if we have a tray icon + * set a more gnomeish invisible-char + * remove width_request from krb5_auth_message_label so the realm name + doesn't get cut off + * drop desktop-file.diff & man-section.diff since we have that in our + "upstream" git now + + -- Guido Guenther <agx@sigxcpu.org> Mon, 21 Jul 2008 01:16:40 -0230 + +krb5-auth-dialog (0.7.git30891fc-1) unstable; urgency=low + + * New "Upstream" Version: + * Based on upstream version 0.7 plus our changes at: + http://honk.sigxcpu.org/git/krb5-auth-dialog.git + * use GtkSecureEntry to fetch password + * adds trayicon + * fix localization + * close dialog when credentials were acquired by other means + * use libnotify and gconf + * session handling via dbus + * use g_timeout_add_seconds to save battery power + * set a proper icon + + -- Guido Guenther <agx@sigxcpu.org> Sun, 08 Jun 2008 17:29:06 +0200 + +krb5-auth-dialog (0.6-1) unstable; urgency=low + + * Initial version based on the ubuntu package by Andrew Mitchell + (Closes: #461203) + * Changes: + * fix manpage section + * fix desktop file + * update FSF address + * use autotools-dev to update config.{sub,guess} + * use -Wl,--as-needed + * added watch file + + -- Guido Guenther <agx@sigxcpu.org> Thu, 17 Jan 2008 10:13:38 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..1e8b314 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +6 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..1856ff0 --- /dev/null +++ b/debian/control @@ -0,0 +1,24 @@ +Source: krb5-auth-dialog +Section: gnome +Priority: optional +Maintainer: Guido Günther <agx@sigxcpu.org> +Build-Depends: debhelper (>= 6), cdbs, heimdal-dev (>= 1.3.1.dfsg.1-5), libgtk2.0-dev, + libglade2-dev, intltool, libgnomeui-dev, autotools-dev, libnm-glib-dev, gnome-common, + autoconf, automake, pkg-config, intltool, bison, flex, libnotify-dev, libgconf2-dev, + libdbus-glib-1-dev, gnome-doc-utils, rarian-compat, + libpam0g-dev +Standards-Version: 3.9.0 +Vcs-Git: git://git.debian.org/git/users/agx/krb5-auth-dialog.git +Vcs-Browser: http://git.debian.org/git/users/agx/krb5-auth-dialog.git +Homepage: https://honk.sigxcpu.org/piki/projects/krb5-auth-dialog + +Package: krb5-auth-dialog +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, gconf2 +Description: tray applet for reauthenticating kerberos tickets + krb5-auth-dialog is a simple tray applet that monitors kerberos tickets. It + pops up reminders when the ticket is about to expire. Tickets can be refreshed + at any time by clicking on the tray icon. It can also operate in "classic + mode" as a simple dialog without any trayicon. + . + It features ticket autorenewal and supports pkinit. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..8c02a94 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Andrew Mitchell <ajmitch@ubuntu.com> on +Fri Sep 30 00:52:30 NZST 2005 from sources obtained from: + + http://ftp.gnome.org/pub/GNOME/sources/krb5-auth-dialog/ + + Copyright (C) 2004,2005 Red Hat, Inc. + Authored by Christopher Aillon <caillon@redhat.com> + + This program 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, or (at your option) + any later version. + + This program 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, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU General Public License +can be found in ‘/usr/share/common-licenses/GPL’. + diff --git a/debian/examples b/debian/examples new file mode 100644 index 0000000..2c8fad4 --- /dev/null +++ b/debian/examples @@ -0,0 +1 @@ +examples/*.py diff --git a/debian/patches/0001-Add-simple-AFS-plugin.patch b/debian/patches/0001-Add-simple-AFS-plugin.patch new file mode 100644 index 0000000..f7cad68 --- /dev/null +++ b/debian/patches/0001-Add-simple-AFS-plugin.patch @@ -0,0 +1,222 @@ +From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org> +Date: Wed, 7 Jul 2010 17:31:57 +0200 +Subject: [PATCH] Add simple AFS plugin + +that calls aklog or afslog if available. +--- + plugins/Makefile.am | 17 +++++++ + plugins/ka-plugin-afs.c | 114 +++++++++++++++++++++++++++++++++++++++++++++++ + plugins/ka-plugin-afs.h | 50 ++++++++++++++++++++ + 3 files changed, 181 insertions(+), 0 deletions(-) + create mode 100644 plugins/ka-plugin-afs.c + create mode 100644 plugins/ka-plugin-afs.h + +diff --git a/plugins/Makefile.am b/plugins/Makefile.am +index 8fecd5c..cf69e7b 100644 +--- a/plugins/Makefile.am ++++ b/plugins/Makefile.am +@@ -11,6 +11,7 @@ endif + pkglib_LTLIBRARIES = \ + libka-plugin-dummy.la \ + $(PAM_PLUGIN) \ ++ libka-plugin-afs.la \ + $(NULL) + + # Dummy example plugin +@@ -47,3 +48,19 @@ libka_plugin_pam_la_LDFLAGS = \ + $(PAM_LIBS) \ + $(NULL) + endif ++ ++# AFS plugin ++libka_plugin_afs_la_SOURCES = \ ++ ka-plugin-afs.c \ ++ ka-plugin-afs.h \ ++ $(NULL) ++ ++libka_plugin_afs_la_CPPFLAGS = \ ++ $(GTK_CFLAGS) \ ++ -I$(top_srcdir)/src \ ++ $(NULL) ++ ++libka_plugin_afs_la_LDFLAGS = \ ++ -module \ ++ -avoid-version \ ++ $(NULL) +diff --git a/plugins/ka-plugin-afs.c b/plugins/ka-plugin-afs.c +new file mode 100644 +index 0000000..57daed0 +--- /dev/null ++++ b/plugins/ka-plugin-afs.c +@@ -0,0 +1,114 @@ ++/* ++ * Copyright (C) 2010 Guido Guenther <agx@sigxcpu.org> ++ * ++ * This program 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, or (at your option) ++ * any later version. ++ * ++ * This program 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, write to the Free Software ++ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ++ */ ++ ++#include "ka-plugin-afs.h" ++#include <gmodule.h> ++ ++G_DEFINE_TYPE (KaPluginAfs, ka_plugin_afs, KA_TYPE_PLUGIN) ++#define GET_PRIVATE(o) \ ++ (G_TYPE_INSTANCE_GET_PRIVATE ((o), KA_TYPE_PLUGIN_AFS, KaPluginAfsPrivate)) ++ ++int ka_plugin_major_version = KA_PLUGIN_MAJOR_VERSION; ++int ka_plugin_minor_version = KA_PLUGIN_MINOR_VERSION; ++ ++G_MODULE_EXPORT KaPlugin * ++ka_plugin_create (void) ++{ ++ return KA_PLUGIN (ka_plugin_afs_new ()); ++} ++ ++typedef struct _KaPluginAfsPrivate KaPluginAfsPrivate; ++ ++struct _KaPluginAfsPrivate { ++ gulong handlers[2]; ++}; ++ ++static void ++event_cb (gpointer *applet, gchar *princ, guint when, gpointer user_data) ++{ ++ GError *err = NULL; ++ gboolean ret; ++ int i; ++ const char *afslog_cmds[] = { "aklog", "afslog" }; ++ ++ for (i = 0; i < G_N_ELEMENTS (afslog_cmds); i++) { ++ ret = g_spawn_command_line_async (afslog_cmds[i], &err); ++ if (!ret) { ++ if (G_SPAWN_ERROR_NOENT != err->code) ++ g_warning ("%s", err->message); ++ } else ++ break; ++ g_clear_error (&err); ++ } ++ ++ if (!ret) ++ g_warning ("Couldn't run any afslog command"); ++} ++ ++static void ++ka_plugin_afs_finalize (GObject *object) ++{ ++ G_OBJECT_CLASS (ka_plugin_afs_parent_class)->finalize (object); ++} ++ ++static void ++ka_plugin_afs_activate (KaPlugin *self, KaApplet *applet) ++{ ++ KaPluginAfsPrivate *priv = GET_PRIVATE (self); ++ ++ priv->handlers[0] = g_signal_connect (applet, ++ "krb-tgt-acquired", ++ G_CALLBACK (event_cb), "Acquired"); ++ priv->handlers[1] = g_signal_connect (applet, ++ "krb-tgt-renewed", ++ G_CALLBACK (event_cb), "Renewed"); ++} ++ ++static void ++ka_plugin_afs_deactivate (KaPlugin *self, KaApplet *applet) ++{ ++ int i; ++ KaPluginAfsPrivate *priv = GET_PRIVATE (self); ++ ++ for (i = 0; i < G_N_ELEMENTS (priv->handlers); i++) ++ g_signal_handler_disconnect (applet, priv->handlers[i]); ++} ++ ++static void ++ka_plugin_afs_class_init (KaPluginAfsClass *klass) ++{ ++ GObjectClass *object_class = G_OBJECT_CLASS (klass); ++ KaPluginClass *plugin_class = KA_PLUGIN_CLASS (klass); ++ ++ g_type_class_add_private (klass, sizeof (KaPluginAfsPrivate)); ++ ++ plugin_class->activate = ka_plugin_afs_activate; ++ plugin_class->deactivate = ka_plugin_afs_deactivate; ++ object_class->finalize = ka_plugin_afs_finalize; ++} ++ ++static void ++ka_plugin_afs_init (KaPluginAfs *self) ++{ ++} ++ ++KaPluginAfs * ++ka_plugin_afs_new (void) ++{ ++ return g_object_new (KA_TYPE_PLUGIN_AFS, KA_PLUGIN_PROP_NAME, "afs", NULL); ++} +diff --git a/plugins/ka-plugin-afs.h b/plugins/ka-plugin-afs.h +new file mode 100644 +index 0000000..c4fb71d +--- /dev/null ++++ b/plugins/ka-plugin-afs.h +@@ -0,0 +1,50 @@ ++/* ++ * Copyright (C) 2010 Guido Guenther <agx@sigxcpu.org> ++ * ++ * This program 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, or (at your option) ++ * any later version. ++ * ++ * This program 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, write to the Free Software ++ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ++ */ ++ ++#ifndef _KA_PLUGIN_DUMMY ++#define _KA_PLUGIN_DUMMY ++ ++#include "ka-plugin.h" ++ ++G_BEGIN_DECLS ++#define KA_TYPE_PLUGIN_AFS ka_plugin_afs_get_type() ++#define KA_PLUGIN_AFS(obj) \ ++ (G_TYPE_CHECK_INSTANCE_CAST ((obj), KA_TYPE_PLUGIN_AFS, KaPluginAfs)) ++#define KA_PLUGIN_AFS_CLASS(klass) \ ++ (G_TYPE_CHECK_CLASS_CAST ((klass), KA_TYPE_PLUGIN_AFS, KaPluginAfsClass)) ++#define KA_IS_PLUGIN_AFS(obj) \ ++ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), KA_TYPE_PLUGIN_AFS)) ++#define KA_IS_PLUGIN_AFS_CLASS(klass) \ ++ (G_TYPE_CHECK_CLASS_TYPE ((klass), KA_TYPE_PLUGIN_AFS)) ++#define KA_PLUGIN_AFS_GET_CLASS(obj) \ ++ (G_TYPE_INSTANCE_GET_CLASS ((obj), KA_TYPE_PLUGIN_AFS, KaPluginAfsClass)) ++ ++typedef struct { ++ KaPlugin parent; ++} KaPluginAfs; ++ ++typedef struct { ++ KaPluginClass parent_class; ++} KaPluginAfsClass; ++ ++GType ka_plugin_afs_get_type (void); ++ ++KaPluginAfs *ka_plugin_afs_new (void); ++ ++G_END_DECLS ++#endif /* _KA_PLUGIN_AFS */ +-- diff --git a/debian/patches/0002-Rerun-autoreconf.patch b/debian/patches/0002-Rerun-autoreconf.patch new file mode 100644 index 0000000..babebe9 --- /dev/null +++ b/debian/patches/0002-Rerun-autoreconf.patch @@ -0,0 +1,118 @@ +From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org> +Date: Wed, 7 Jul 2010 20:11:58 +0200 +Subject: [PATCH] Rerun autoreconf + +--- + plugins/Makefile.in | 51 +++++++++++++++++++++++++++++++++++++++++++++------ + 1 files changed, 45 insertions(+), 6 deletions(-) + +diff --git a/plugins/Makefile.in b/plugins/Makefile.in +index 34ec198..160e623 100644 +--- a/plugins/Makefile.in ++++ b/plugins/Makefile.in +@@ -68,14 +68,22 @@ am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' + am__installdirs = "$(DESTDIR)$(pkglibdir)" + LTLIBRARIES = $(pkglib_LTLIBRARIES) +-libka_plugin_dummy_la_LIBADD = ++libka_plugin_afs_la_LIBADD = + am__objects_1 = +-am_libka_plugin_dummy_la_OBJECTS = \ +- libka_plugin_dummy_la-ka-plugin-dummy.lo $(am__objects_1) +-libka_plugin_dummy_la_OBJECTS = $(am_libka_plugin_dummy_la_OBJECTS) ++am_libka_plugin_afs_la_OBJECTS = libka_plugin_afs_la-ka-plugin-afs.lo \ ++ $(am__objects_1) ++libka_plugin_afs_la_OBJECTS = $(am_libka_plugin_afs_la_OBJECTS) + AM_V_lt = $(am__v_lt_$(V)) + am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) + am__v_lt_0 = --silent ++libka_plugin_afs_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ ++ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ ++ $(AM_CFLAGS) $(CFLAGS) $(libka_plugin_afs_la_LDFLAGS) \ ++ $(LDFLAGS) -o $@ ++libka_plugin_dummy_la_LIBADD = ++am_libka_plugin_dummy_la_OBJECTS = \ ++ libka_plugin_dummy_la-ka-plugin-dummy.lo $(am__objects_1) ++libka_plugin_dummy_la_OBJECTS = $(am_libka_plugin_dummy_la_OBJECTS) + libka_plugin_dummy_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(libka_plugin_dummy_la_LDFLAGS) \ +@@ -118,9 +126,11 @@ am__v_CCLD_0 = @echo " CCLD " $@; + AM_V_GEN = $(am__v_GEN_$(V)) + am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) + am__v_GEN_0 = @echo " GEN " $@; +-SOURCES = $(libka_plugin_dummy_la_SOURCES) \ ++SOURCES = $(libka_plugin_afs_la_SOURCES) \ ++ $(libka_plugin_dummy_la_SOURCES) \ + $(libka_plugin_pam_la_SOURCES) +-DIST_SOURCES = $(libka_plugin_dummy_la_SOURCES) \ ++DIST_SOURCES = $(libka_plugin_afs_la_SOURCES) \ ++ $(libka_plugin_dummy_la_SOURCES) \ + $(am__libka_plugin_pam_la_SOURCES_DIST) + ETAGS = etags + CTAGS = ctags +@@ -312,6 +322,7 @@ NULL = + pkglib_LTLIBRARIES = \ + libka-plugin-dummy.la \ + $(PAM_PLUGIN) \ ++ libka-plugin-afs.la \ + $(NULL) + + +@@ -349,6 +360,23 @@ libka_plugin_dummy_la_LDFLAGS = \ + @ENABLE_PAM_PLUGIN_TRUE@ $(PAM_LIBS) \ + @ENABLE_PAM_PLUGIN_TRUE@ $(NULL) + ++ ++# AFS plugin ++libka_plugin_afs_la_SOURCES = \ ++ ka-plugin-afs.c \ ++ ka-plugin-afs.h \ ++ $(NULL) ++ ++libka_plugin_afs_la_CPPFLAGS = \ ++ $(GTK_CFLAGS) \ ++ -I$(top_srcdir)/src \ ++ $(NULL) ++ ++libka_plugin_afs_la_LDFLAGS = \ ++ -module \ ++ -avoid-version \ ++ $(NULL) ++ + all: all-am + + .SUFFIXES: +@@ -414,6 +442,8 @@ clean-pkglibLTLIBRARIES: + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done ++libka-plugin-afs.la: $(libka_plugin_afs_la_OBJECTS) $(libka_plugin_afs_la_DEPENDENCIES) ++ $(AM_V_CCLD)$(libka_plugin_afs_la_LINK) -rpath $(pkglibdir) $(libka_plugin_afs_la_OBJECTS) $(libka_plugin_afs_la_LIBADD) $(LIBS) + libka-plugin-dummy.la: $(libka_plugin_dummy_la_OBJECTS) $(libka_plugin_dummy_la_DEPENDENCIES) + $(AM_V_CCLD)$(libka_plugin_dummy_la_LINK) -rpath $(pkglibdir) $(libka_plugin_dummy_la_OBJECTS) $(libka_plugin_dummy_la_LIBADD) $(LIBS) + libka-plugin-pam.la: $(libka_plugin_pam_la_OBJECTS) $(libka_plugin_pam_la_DEPENDENCIES) +@@ -425,6 +455,7 @@ mostlyclean-compile: + distclean-compile: + -rm -f *.tab.c + ++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libka_plugin_afs_la-ka-plugin-afs.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libka_plugin_dummy_la-ka-plugin-dummy.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libka_plugin_pam_la-ka-plugin-pam.Plo@am__quote@ + +@@ -452,6 +483,14 @@ distclean-compile: + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + ++libka_plugin_afs_la-ka-plugin-afs.lo: ka-plugin-afs.c ++@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libka_plugin_afs_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libka_plugin_afs_la-ka-plugin-afs.lo -MD -MP -MF $(DEPDIR)/libka_plugin_afs_la-ka-plugin-afs.Tpo -c -o libka_plugin_afs_la-ka-plugin-afs.lo `test -f 'ka-plugin-afs.c' || echo '$(srcdir)/'`ka-plugin-afs.c ++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libka_plugin_afs_la-ka-plugin-afs.Tpo $(DEPDIR)/libka_plugin_afs_la-ka-plugin-afs.Plo ++@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ka-plugin-afs.c' object='libka_plugin_afs_la-ka-plugin-afs.lo' libtool=yes @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ ++@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libka_plugin_afs_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libka_plugin_afs_la-ka-plugin-afs.lo `test -f 'ka-plugin-afs.c' || echo '$(srcdir)/'`ka-plugin-afs.c ++ + libka_plugin_dummy_la-ka-plugin-dummy.lo: ka-plugin-dummy.c + @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libka_plugin_dummy_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libka_plugin_dummy_la-ka-plugin-dummy.lo -MD -MP -MF $(DEPDIR)/libka_plugin_dummy_la-ka-plugin-dummy.Tpo -c -o libka_plugin_dummy_la-ka-plugin-dummy.lo `test -f 'ka-plugin-dummy.c' || echo '$(srcdir)/'`ka-plugin-dummy.c + @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libka_plugin_dummy_la-ka-plugin-dummy.Tpo $(DEPDIR)/libka_plugin_dummy_la-ka-plugin-dummy.Plo +-- diff --git a/debian/patches/0003-Always-startup-not-only-with-a-valid-ticket-cache.patch b/debian/patches/0003-Always-startup-not-only-with-a-valid-ticket-cache.patch new file mode 100644 index 0000000..8e9249d --- /dev/null +++ b/debian/patches/0003-Always-startup-not-only-with-a-valid-ticket-cache.patch @@ -0,0 +1,23 @@ +From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org> +Date: Thu, 19 Aug 2010 14:26:30 +0200 +Subject: [PATCH] Always startup, not only with a valid ticket cache + +Closes: #582497 +--- + src/krb5-auth-dialog.desktop.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/krb5-auth-dialog.desktop.in b/src/krb5-auth-dialog.desktop.in +index 6c83b31..ed21e6e 100644 +--- a/src/krb5-auth-dialog.desktop.in ++++ b/src/krb5-auth-dialog.desktop.in +@@ -1,7 +1,7 @@ + [Desktop Entry] + _Name=Network Authentication + _Comment=Kerberos Network Authentication Dialog +-Exec=krb5-auth-dialog ++Exec=krb5-auth-dialog -A + Terminal=false + Type=Application + X-GNOME-Bugzilla-Bugzilla=GNOME +-- diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..79a2aca --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,3 @@ +0001-Add-simple-AFS-plugin.patch +0002-Rerun-autoreconf.patch +0003-Always-startup-not-only-with-a-valid-ticket-cache.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..97773a7 --- /dev/null +++ b/debian/rules @@ -0,0 +1,18 @@ +#! /usr/bin/make -f + +LDFLAGS += -Wl,--as-needed + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/gnome.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_DH_MAKESHLIBS_ARGS_ALL = --exclude=plugins + +DEB_BUILDDIR := build +DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr \ + --enable-network-manager \ + --with-libnotify \ + --with-pam + +binary-install/krb5-auth-dialog:: + rm debian//krb5-auth-dialog/usr/lib/krb5-auth-dialog/plugins/libka-plugin-*.*a diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /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 0000000..54082ad --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +# format version number, currently 3; this line is compulsory! +version=3 +http://ftp.gnome.org/pub/GNOME/sources/krb5-auth-dialog/([\d\.]+)/ \ + krb5-auth-dialog-([\d\.]*)\.tar\.gz |