aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog83
-rw-r--r--debian/compat1
-rw-r--r--debian/control22
-rw-r--r--debian/copyright25
-rw-r--r--debian/patches/0001-set-a-more-gnomeisch-invisible-char.patch21
-rw-r--r--debian/patches/0002-don-t-try-pkinit-if-pk_userid-is-non-null-but-empty.patch55
-rw-r--r--debian/patches/0003-move-icons-to-datadir-krb5-auth-dialog.patch238
-rw-r--r--debian/patches/series3
-rwxr-xr-xdebian/rules14
-rw-r--r--debian/watch4
10 files changed, 466 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..628be2b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,83 @@
+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..a15a410
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+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, quilt
+Standards-Version: 3.8.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
+
+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-set-a-more-gnomeisch-invisible-char.patch b/debian/patches/0001-set-a-more-gnomeisch-invisible-char.patch
new file mode 100644
index 0000000..7edc31a
--- /dev/null
+++ b/debian/patches/0001-set-a-more-gnomeisch-invisible-char.patch
@@ -0,0 +1,21 @@
+From: Guido Guenther <agx@sigxcpu.org>
+Date: Sat, 14 Jun 2008 18:53:15 +0200
+Subject: [PATCH] set a more gnomeisch invisible-char
+
+---
+ src/krb5-auth-dialog.c | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/src/krb5-auth-dialog.c b/src/krb5-auth-dialog.c
+index 3beaa8b..c8fc27c 100644
+--- a/src/krb5-auth-dialog.c
++++ b/src/krb5-auth-dialog.c
+@@ -810,6 +810,7 @@ ka_create_gtk_secure_entry (GladeXML *xml, gchar *func_name, gchar *name,
+ if (!strcmp(name, "krb5_entry")) {
+ entry = gtk_secure_entry_new ();
+ gtk_secure_entry_set_activates_default(GTK_SECURE_ENTRY(entry), TRUE);
++ gtk_widget_set(entry, "invisible-char", 0x25cf, NULL);
+ gtk_widget_show (entry);
+ } else {
+ g_warning("Don't know anything about widget %s", name);
+--
diff --git a/debian/patches/0002-don-t-try-pkinit-if-pk_userid-is-non-null-but-empty.patch b/debian/patches/0002-don-t-try-pkinit-if-pk_userid-is-non-null-but-empty.patch
new file mode 100644
index 0000000..79dfb62
--- /dev/null
+++ b/debian/patches/0002-don-t-try-pkinit-if-pk_userid-is-non-null-but-empty.patch
@@ -0,0 +1,55 @@
+From: guidog <guidog@517b70f8-ed25-0410-8bf6-f5db08f7b76e>
+Date: Mon, 19 Jan 2009 21:13:19 +0000
+Subject: [PATCH] don't try pkinit if pk_userid is non-null but empty
+
+git-svn-id: svn+ssh://svn.gnome.org/svn/krb5-auth-dialog/trunk@124 517b70f8-ed25-0410-8bf6-f5db08f7b76e
+---
+ src/krb5-auth-dialog.c | 4 ++--
+ src/krb5-auth-gconf.c | 4 ++--
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/krb5-auth-dialog.c b/src/krb5-auth-dialog.c
+index c8fc27c..d6de3d7 100644
+--- a/src/krb5-auth-dialog.c
++++ b/src/krb5-auth-dialog.c
+@@ -513,7 +513,7 @@ ka_auth_pkinit(Krb5AuthApplet* applet, krb5_creds* creds)
+ krb5_get_init_creds_opt *opts = NULL;
+ krb5_error_code retval;
+
+- KA_DEBUG("pkinit with %s", applet->pk_userid);
++ KA_DEBUG("pkinit with '%s'", applet->pk_userid);
+
+ if (!applet->pk_userid)
+ return 0;
+@@ -573,7 +573,7 @@ grab_credentials (Krb5AuthApplet* applet)
+ return retval;
+
+ #if ENABLE_PKINIT
+- if (applet->pk_userid) { /* try pkinit */
++ if (applet->pk_userid && strlen(applet->pk_userid)) { /* try pkinit */
+ #else
+ if (0) {
+ #endif
+diff --git a/src/krb5-auth-gconf.c b/src/krb5-auth-gconf.c
+index a11370c..7353471 100644
+--- a/src/krb5-auth-gconf.c
++++ b/src/krb5-auth-gconf.c
+@@ -118,7 +118,7 @@ ka_gconf_set_principal (GConfClient* client, Krb5AuthApplet* applet)
+ if(!ka_gconf_get_string (client, KA_GCONF_KEY_PRINCIPAL, &applet->principal)) {
+ applet->principal = g_strdup (g_get_user_name());
+ }
+- KA_DEBUG("Setting principal to %s", applet->principal);
++ KA_DEBUG("Setting principal to '%s'", applet->principal);
+ // FIXME: need to send set-principal signal
+ return TRUE;
+ }
+@@ -131,7 +131,7 @@ ka_gconf_set_pk_userid (GConfClient* client, Krb5AuthApplet* applet)
+ if(!ka_gconf_get_string (client, KA_GCONF_KEY_PK_USERID, &applet->pk_userid)) {
+ applet->pk_userid = NULL;
+ }
+- KA_DEBUG("Setting pk_userid to %s", applet->pk_userid ? applet->pk_userid : "<disabled>");
++ KA_DEBUG("Setting pk_userid to '%s'", applet->pk_userid ? applet->pk_userid : "<disabled>");
+ return TRUE;
+ }
+
+--
diff --git a/debian/patches/0003-move-icons-to-datadir-krb5-auth-dialog.patch b/debian/patches/0003-move-icons-to-datadir-krb5-auth-dialog.patch
new file mode 100644
index 0000000..3ea3fa1
--- /dev/null
+++ b/debian/patches/0003-move-icons-to-datadir-krb5-auth-dialog.patch
@@ -0,0 +1,238 @@
+From: guidog <guidog@517b70f8-ed25-0410-8bf6-f5db08f7b76e>
+Date: Mon, 12 Jan 2009 18:13:29 +0000
+Subject: [PATCH] move icons to $(datadir)/krb5-auth-dialog
+
+and add this to the icon search path. Fixes installations with prefix !=
+/usr
+
+git-svn-id: svn+ssh://svn.gnome.org/svn/krb5-auth-dialog/trunk@121 517b70f8-ed25-0410-8bf6-f5db08f7b76e
+---
+ icons/Makefile.am | 2 +-
+ icons/Makefile.in | 2 +-
+ src/Makefile.am | 8 ++++----
+ src/Makefile.in | 47 +++++++++++++++++++++++------------------------
+ src/krb5-auth-applet.c | 3 +++
+ src/krb5-auth-dialog.c | 3 ++-
+ 6 files changed, 34 insertions(+), 31 deletions(-)
+
+diff --git a/icons/Makefile.am b/icons/Makefile.am
+index d13dbbf..e2e3987 100644
+--- a/icons/Makefile.am
++++ b/icons/Makefile.am
+@@ -1,6 +1,6 @@
+ NULL =
+
+-smallicondir=${datadir}/icons/hicolor/22x22/apps
++smallicondir=${pkgdatadir}/icons/hicolor/22x22/apps
+ smallicon_DATA= \
+ krb-valid-ticket.png \
+ krb-no-valid-ticket.png \
+diff --git a/icons/Makefile.in b/icons/Makefile.in
+index e509150..0f8f6a3 100644
+--- a/icons/Makefile.in
++++ b/icons/Makefile.in
+@@ -231,7 +231,7 @@ target_alias = @target_alias@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ NULL =
+-smallicondir = ${datadir}/icons/hicolor/22x22/apps
++smallicondir = ${pkgdatadir}/icons/hicolor/22x22/apps
+ smallicon_DATA = \
+ krb-valid-ticket.png \
+ krb-no-valid-ticket.png \
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 18ab709..568f3bc 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,5 +1,5 @@
+ INCLUDES = \
+- -DGLADEDIR=\""$(gladedir)/"\" \
++ -DKA_DATA_DIR=\""$(pkgdatadir)"\" \
+ -DLOCALE_DIR=\""$(localedir)/"\"
+
+ bin_PROGRAMS = krb5-auth-dialog
+@@ -43,12 +43,12 @@ krb5_auth_dialog_LDADD = \
+
+ AM_CPPFLAGS = -I $(top_srcdir)/gtksecentry/ -I $(top_srcdir)/secmem/
+
+-gladedir = $(datadir)/krb5-auth-dialog
+-glade_DATA = \
++pkgdatadir = $(datadir)/krb5-auth-dialog
++pkgdata_DATA = \
+ krb5-auth-dialog.glade
+
+ EXTRA_DIST = \
+- $(glade_DATA) \
++ $(pkgdata_DATA) \
+ $(schema_in_files) \
+ $(autostart_in_files) \
+ krb5-auth-dialog.1.in
+diff --git a/src/Makefile.in b/src/Makefile.in
+index d7ca9ac..55bd3c3 100644
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -16,7 +16,6 @@
+
+
+ VPATH = @srcdir@
+-pkgdatadir = $(datadir)/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+@@ -46,7 +45,7 @@ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = $(top_builddir)/config.h
+ CONFIG_CLEAN_FILES = krb5-auth-dialog.1
+ am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \
+- "$(DESTDIR)$(autostartdir)" "$(DESTDIR)$(gladedir)" \
++ "$(DESTDIR)$(autostartdir)" "$(DESTDIR)$(pkgdatadir)" \
+ "$(DESTDIR)$(schemadir)"
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ PROGRAMS = $(bin_PROGRAMS)
+@@ -81,12 +80,13 @@ am__vpath_adj = case $$p in \
+ esac;
+ am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+ autostartDATA_INSTALL = $(INSTALL_DATA)
+-gladeDATA_INSTALL = $(INSTALL_DATA)
++pkgdataDATA_INSTALL = $(INSTALL_DATA)
+ schemaDATA_INSTALL = $(INSTALL_DATA)
+-DATA = $(autostart_DATA) $(glade_DATA) $(schema_DATA)
++DATA = $(autostart_DATA) $(pkgdata_DATA) $(schema_DATA)
+ ETAGS = etags
+ CTAGS = ctags
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++pkgdatadir = $(datadir)/krb5-auth-dialog
+ ACLOCAL = @ACLOCAL@
+ ALL_LINGUAS = @ALL_LINGUAS@
+ AMTAR = @AMTAR@
+@@ -264,7 +264,7 @@ target_alias = @target_alias@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ INCLUDES = \
+- -DGLADEDIR=\""$(gladedir)/"\" \
++ -DKA_DATA_DIR=\""$(pkgdatadir)"\" \
+ -DLOCALE_DIR=\""$(localedir)/"\"
+
+ man_MANS = krb5-auth-dialog.1
+@@ -299,12 +299,11 @@ krb5_auth_dialog_LDADD = \
+ @GTK_LIBS@
+
+ AM_CPPFLAGS = -I $(top_srcdir)/gtksecentry/ -I $(top_srcdir)/secmem/
+-gladedir = $(datadir)/krb5-auth-dialog
+-glade_DATA = \
++pkgdata_DATA = \
+ krb5-auth-dialog.glade
+
+ EXTRA_DIST = \
+- $(glade_DATA) \
++ $(pkgdata_DATA) \
+ $(schema_in_files) \
+ $(autostart_in_files) \
+ krb5-auth-dialog.1.in
+@@ -479,22 +478,22 @@ uninstall-autostartDATA:
+ echo " rm -f '$(DESTDIR)$(autostartdir)/$$f'"; \
+ rm -f "$(DESTDIR)$(autostartdir)/$$f"; \
+ done
+-install-gladeDATA: $(glade_DATA)
++install-pkgdataDATA: $(pkgdata_DATA)
+ @$(NORMAL_INSTALL)
+- test -z "$(gladedir)" || $(MKDIR_P) "$(DESTDIR)$(gladedir)"
+- @list='$(glade_DATA)'; for p in $$list; do \
++ test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
++ @list='$(pkgdata_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+- echo " $(gladeDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(gladedir)/$$f'"; \
+- $(gladeDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(gladedir)/$$f"; \
++ echo " $(pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \
++ $(pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \
+ done
+
+-uninstall-gladeDATA:
++uninstall-pkgdataDATA:
+ @$(NORMAL_UNINSTALL)
+- @list='$(glade_DATA)'; for p in $$list; do \
++ @list='$(pkgdata_DATA)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+- echo " rm -f '$(DESTDIR)$(gladedir)/$$f'"; \
+- rm -f "$(DESTDIR)$(gladedir)/$$f"; \
++ echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \
++ rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \
+ done
+ install-schemaDATA: $(schema_DATA)
+ @$(NORMAL_INSTALL)
+@@ -591,7 +590,7 @@ check-am: all-am
+ check: check-am
+ all-am: Makefile $(PROGRAMS) $(MANS) $(DATA)
+ installdirs:
+- for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(autostartdir)" "$(DESTDIR)$(gladedir)" "$(DESTDIR)$(schemadir)"; do \
++ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(autostartdir)" "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(schemadir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+ install: install-am
+@@ -640,7 +639,7 @@ info: info-am
+
+ info-am:
+
+-install-data-am: install-autostartDATA install-gladeDATA install-man \
++install-data-am: install-autostartDATA install-man install-pkgdataDATA \
+ install-schemaDATA
+
+ install-dvi: install-dvi-am
+@@ -678,7 +677,7 @@ ps: ps-am
+ ps-am:
+
+ uninstall-am: uninstall-autostartDATA uninstall-binPROGRAMS \
+- uninstall-gladeDATA uninstall-man uninstall-schemaDATA
++ uninstall-man uninstall-pkgdataDATA uninstall-schemaDATA
+
+ uninstall-man: uninstall-man1
+
+@@ -690,15 +689,15 @@ uninstall-man: uninstall-man1
+ dvi-am html html-am info info-am install install-am \
+ install-autostartDATA install-binPROGRAMS install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+- install-exec-am install-gladeDATA install-html install-html-am \
+- install-info install-info-am install-man install-man1 \
+- install-pdf install-pdf-am install-ps install-ps-am \
++ install-exec-am install-html install-html-am install-info \
++ install-info-am install-man install-man1 install-pdf \
++ install-pdf-am install-pkgdataDATA install-ps install-ps-am \
+ install-schemaDATA install-strip installcheck installcheck-am \
+ installdirs maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
+ uninstall-am uninstall-autostartDATA uninstall-binPROGRAMS \
+- uninstall-gladeDATA uninstall-man uninstall-man1 \
++ uninstall-man uninstall-man1 uninstall-pkgdataDATA \
+ uninstall-schemaDATA
+
+ @INTLTOOL_DESKTOP_RULE@
+diff --git a/src/krb5-auth-applet.c b/src/krb5-auth-applet.c
+index c915240..99b4007 100644
+--- a/src/krb5-auth-applet.c
++++ b/src/krb5-auth-applet.c
+@@ -254,6 +254,9 @@ ka_create_tray_icon (Krb5AuthApplet* applet)
+ int
+ ka_setup_icons (Krb5AuthApplet* applet)
+ {
++ /* Add application specific icons to search path */
++ gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),
++ KA_DATA_DIR G_DIR_SEPARATOR_S "icons");
+ applet->icons[val_icon] = "krb-valid-ticket";
+ applet->icons[exp_icon] = "krb-expiring-ticket";
+ applet->icons[inv_icon] = "krb-no-valid-ticket";
+diff --git a/src/krb5-auth-dialog.c b/src/krb5-auth-dialog.c
+index d6de3d7..0189d4d 100644
+--- a/src/krb5-auth-dialog.c
++++ b/src/krb5-auth-dialog.c
+@@ -887,7 +887,8 @@ main (int argc, char *argv[])
+
+ /* setup the pw dialog */
+ glade_set_custom_handler (&ka_create_gtk_secure_entry, NULL);
+- applet->pw_xml = glade_xml_new (GLADEDIR "krb5-auth-dialog.glade", NULL, NULL);
++ applet->pw_xml = glade_xml_new (KA_DATA_DIR G_DIR_SEPARATOR_S
++ "krb5-auth-dialog.glade", NULL, NULL);
+ applet->pw_wrong_label = glade_xml_get_widget (applet->pw_xml, "krb5_wrong_label");
+ applet->pw_dialog = glade_xml_get_widget (applet->pw_xml, "krb5_dialog");
+
+--
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9419532
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+0001-set-a-more-gnomeisch-invisible-char.patch
+0002-don-t-try-pkinit-if-pk_userid-is-non-null-but-empty.patch
+0003-move-icons-to-datadir-krb5-auth-dialog.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
bgstack15