diff options
-rw-r--r-- | debian/README.source | 6 | ||||
-rw-r--r-- | debian/changelog | 197 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 24 | ||||
-rw-r--r-- | debian/copyright | 25 | ||||
-rw-r--r-- | debian/patches/0001-Make-ticket-dialog-non-resizable.patch | 23 | ||||
-rw-r--r-- | debian/patches/0002-Add-some-ticket-flags-to-the-dialog.patch | 134 | ||||
-rw-r--r-- | debian/patches/0003-Use-gtk_window_present-instead-of-gtk_show_widget.patch | 23 | ||||
-rw-r--r-- | debian/patches/series | 3 | ||||
-rwxr-xr-x | debian/rules | 14 | ||||
-rw-r--r-- | debian/watch | 4 |
11 files changed, 454 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..27f9abb --- /dev/null +++ b/debian/changelog @@ -0,0 +1,197 @@ +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..58af29f --- /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, 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, + quilt +Standards-Version: 3.8.3 +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/patches/0001-Make-ticket-dialog-non-resizable.patch b/debian/patches/0001-Make-ticket-dialog-non-resizable.patch new file mode 100644 index 0000000..d629f5f --- /dev/null +++ b/debian/patches/0001-Make-ticket-dialog-non-resizable.patch @@ -0,0 +1,23 @@ +From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org> +Date: Tue, 29 Sep 2009 12:34:46 +0200 +Subject: [PATCH] Make ticket dialog non resizable + +This makes sure window managers like maximus don't try to automaxmize +the dialog. +--- + src/krb5-auth-dialog.xml | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/src/krb5-auth-dialog.xml b/src/krb5-auth-dialog.xml +index f1a9d11..d379265 100644 +--- a/src/krb5-auth-dialog.xml ++++ b/src/krb5-auth-dialog.xml +@@ -155,6 +155,7 @@ + <object class="GtkDialog" id="krb5_tickets_dialog"> + <property name="border_width">5</property> + <property name="title" translatable="yes">Service Tickets</property> ++ <property name="resizable">False</property> + <property name="type_hint">normal</property> + <property name="has_separator">False</property> + <child internal-child="vbox"> +-- diff --git a/debian/patches/0002-Add-some-ticket-flags-to-the-dialog.patch b/debian/patches/0002-Add-some-ticket-flags-to-the-dialog.patch new file mode 100644 index 0000000..3a3b245 --- /dev/null +++ b/debian/patches/0002-Add-some-ticket-flags-to-the-dialog.patch @@ -0,0 +1,134 @@ +From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org> +Date: Tue, 29 Sep 2009 13:33:41 +0200 +Subject: [PATCH] Add some ticket flags to the dialog + +--- + src/krb5-auth-dialog.c | 9 +++++++++ + src/krb5-auth-tickets.c | 41 ++++++++++++++++++++++++++++++++--------- + src/krb5-auth-tickets.h | 3 +++ + 3 files changed, 44 insertions(+), 9 deletions(-) + +diff --git a/src/krb5-auth-dialog.c b/src/krb5-auth-dialog.c +index b8f95c2..e831db2 100644 +--- a/src/krb5-auth-dialog.c ++++ b/src/krb5-auth-dialog.c +@@ -309,6 +309,8 @@ ka_get_service_tickets (GtkListStore *tickets) + ccache, + &cursor, + &creds)) == 0) { ++ gboolean renewable, proxiable, forwardable; ++ + if (creds.times.starttime) + ka_format_time(creds.times.starttime, start_time, + sizeof(start_time)); +@@ -325,6 +327,10 @@ ka_get_service_tickets (GtkListStore *tickets) + "%s <span foreground=\"red\" style=\"italic\">(%s)</span>", + end_time, _("Expired")); + ++ forwardable = get_cred_forwardable(&creds); ++ renewable = get_cred_renewable(&creds); ++ proxiable = get_cred_proxiable(&creds); ++ + ret = krb5_unparse_name (kcontext, creds.server, &name); + if (!ret) { + gtk_list_store_append(tickets, &iter); +@@ -332,6 +338,9 @@ ka_get_service_tickets (GtkListStore *tickets) + PRINCIPAL_COLUMN, name, + START_TIME_COLUMN, start_time, + END_TIME_COLUMN, end_time_markup, ++ FORWARDABLE_COLUMN, forwardable, ++ RENEWABLE_COLUMN, renewable, ++ PROXIABLE_COLUMN, proxiable, + -1); + free(name); + } else +diff --git a/src/krb5-auth-tickets.c b/src/krb5-auth-tickets.c +index e926324..b00687c 100644 +--- a/src/krb5-auth-tickets.c ++++ b/src/krb5-auth-tickets.c +@@ -32,38 +32,61 @@ static GtkWidget *tickets_dialog; + GtkWidget* + ka_tickets_dialog_create(GtkBuilder *xml) + { +- GtkCellRenderer *renderer; ++ GtkCellRenderer *text_renderer, *toggle_renderer; + GtkTreeViewColumn *column; + GtkTreeView *tickets_view; + + tickets = gtk_list_store_new (N_COLUMNS, + G_TYPE_STRING, + G_TYPE_STRING, +- G_TYPE_STRING); ++ G_TYPE_STRING, ++ G_TYPE_BOOLEAN, ++ G_TYPE_BOOLEAN, ++ G_TYPE_BOOLEAN); + + tickets_dialog = GTK_WIDGET (gtk_builder_get_object (xml, "krb5_tickets_dialog")); + tickets_view = GTK_TREE_VIEW (gtk_builder_get_object (xml, "krb5_tickets_treeview")); + gtk_tree_view_set_model(GTK_TREE_VIEW(tickets_view), GTK_TREE_MODEL(tickets)); + +- renderer = gtk_cell_renderer_text_new (); +- column = gtk_tree_view_column_new_with_attributes("Principal", +- renderer, ++ text_renderer = gtk_cell_renderer_text_new(); ++ toggle_renderer = gtk_cell_renderer_toggle_new(); ++ ++ column = gtk_tree_view_column_new_with_attributes(_("Principal"), ++ text_renderer, + "text", + PRINCIPAL_COLUMN, + NULL); + gtk_tree_view_append_column (GTK_TREE_VIEW (tickets_view), column); +- column = gtk_tree_view_column_new_with_attributes("Start Time", +- renderer, ++ column = gtk_tree_view_column_new_with_attributes(_("Start Time"), ++ text_renderer, + "text", + START_TIME_COLUMN, + NULL); + gtk_tree_view_append_column (GTK_TREE_VIEW (tickets_view), column); +- column = gtk_tree_view_column_new_with_attributes("End Time", +- renderer, ++ column = gtk_tree_view_column_new_with_attributes(_("End Time"), ++ text_renderer, + "markup", + END_TIME_COLUMN, + NULL); + gtk_tree_view_append_column (GTK_TREE_VIEW (tickets_view), column); ++ column = gtk_tree_view_column_new_with_attributes(_("Fwd"), ++ toggle_renderer, ++ "active", ++ FORWARDABLE_COLUMN, ++ NULL); ++ gtk_tree_view_append_column (GTK_TREE_VIEW (tickets_view), column); ++ column = gtk_tree_view_column_new_with_attributes(_("Proxy"), ++ toggle_renderer, ++ "active", ++ PROXIABLE_COLUMN, ++ NULL); ++ gtk_tree_view_append_column (GTK_TREE_VIEW (tickets_view), column); ++ column = gtk_tree_view_column_new_with_attributes(_("Renew"), ++ toggle_renderer, ++ "active", ++ RENEWABLE_COLUMN, ++ NULL); ++ gtk_tree_view_append_column (GTK_TREE_VIEW (tickets_view), column); + return tickets_dialog; + } + +diff --git a/src/krb5-auth-tickets.h b/src/krb5-auth-tickets.h +index a5fa869..02d67b3 100644 +--- a/src/krb5-auth-tickets.h ++++ b/src/krb5-auth-tickets.h +@@ -25,6 +25,9 @@ enum ticket_columns { + PRINCIPAL_COLUMN, + START_TIME_COLUMN, + END_TIME_COLUMN, ++ FORWARDABLE_COLUMN, ++ RENEWABLE_COLUMN, ++ PROXIABLE_COLUMN, + N_COLUMNS + }; + +-- diff --git a/debian/patches/0003-Use-gtk_window_present-instead-of-gtk_show_widget.patch b/debian/patches/0003-Use-gtk_window_present-instead-of-gtk_show_widget.patch new file mode 100644 index 0000000..9ce9a7b --- /dev/null +++ b/debian/patches/0003-Use-gtk_window_present-instead-of-gtk_show_widget.patch @@ -0,0 +1,23 @@ +From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org> +Date: Tue, 29 Sep 2009 13:36:19 +0200 +Subject: [PATCH] Use gtk_window_present instead of gtk_show_widget + +so the dialog is pushed into the foreground when selected from the menu. +--- + src/krb5-auth-tickets.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/krb5-auth-tickets.c b/src/krb5-auth-tickets.c +index b00687c..7c177a9 100644 +--- a/src/krb5-auth-tickets.c ++++ b/src/krb5-auth-tickets.c +@@ -94,7 +94,7 @@ void + ka_tickets_dialog_run() + { + if (ka_get_service_tickets(tickets)) { +- gtk_widget_show(tickets_dialog); ++ gtk_window_present(GTK_WINDOW(tickets_dialog)); + gtk_dialog_run(GTK_DIALOG(tickets_dialog)); + gtk_widget_hide(tickets_dialog); + } else { +-- diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..682a655 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,3 @@ +0001-Make-ticket-dialog-non-resizable.patch +0002-Add-some-ticket-flags-to-the-dialog.patch +0003-Use-gtk_window_present-instead-of-gtk_show_widget.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ec02057 --- /dev/null +++ b/debian/rules @@ -0,0 +1,14 @@ +#! /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 +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +DEB_BUILDDIR := build +DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr --enable-network-manager --with-libnotify + +#post-patches:: +# cd build && ../autogen.sh diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..df67516 --- /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\.]+)[02468]/ \ + krb5-auth-dialog-([\d\.]*)\.tar\.gz |