--- gdecrypt-0.7.2.2.orig/debian/menu +++ gdecrypt-0.7.2.2/debian/menu @@ -0,0 +1,2 @@ +?package(gdecrypt):needs="x11" section="Applications/System/Security"\ + title="GDecrypt" command="su-to-root -c gdecrypt" icon="gdecrypt.xpm" --- gdecrypt-0.7.2.2.orig/debian/compat +++ gdecrypt-0.7.2.2/debian/compat @@ -0,0 +1 @@ +5 --- gdecrypt-0.7.2.2.orig/debian/watch +++ gdecrypt-0.7.2.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://gdecrypt.pentabarf.de/download.html gdecrypt-(.*).tar.gz --- gdecrypt-0.7.2.2.orig/debian/control +++ gdecrypt-0.7.2.2/debian/control @@ -0,0 +1,22 @@ +Source: gdecrypt +Section: utils +Priority: optional +Maintainer: Ubuntu MOTU Developers +Build-Depends: debhelper (>= 5), python, dpatch +Build-Depends-Indep: docbook-to-man, intltool, python-support (>= 0.5.3) +Standards-Version: 3.7.3 +Homepage: http://gdecrypt.pentabarf.de/ + +Package: gdecrypt +Architecture: all +Depends: ${python:Depends}, udev (>= 117-5), python-dbus, python-gtk2, python-gnome2-extras (>= 2.19.1-0ubuntu4), cryptsetup | truecrypt (<< 5), gksu, python-glade2 +Suggests: truecrypt-installer +Description: GUI for mapping/mounting and creating encrypted volumes + gdecrypt was written for making the use of decrypted partitions under + Linux more easy. It currently contains a GUI written in PyGTK for + decrypting/mounting, unmounting and encryption partitions or container + files and it supports partitions created with truecrypt (see + http://truecrypt.org for details) and LUKS. + . + Note that truecrypt <= 4.3a is required for truecrypt supprt and + cryptsetup with luks is required for luks support. --- gdecrypt-0.7.2.2.orig/debian/copyright +++ gdecrypt-0.7.2.2/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Kjell Braden on +Fri, 03 Aug 2007 15:36:17 +0200. + +It was downloaded from http://gdecrypt.pentabarf.de/ + +Upstream Author: + + Kjell Braden + +Copyright: + + Copyright (C) 2007 Kjell Braden + +License: + + 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 3 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 package; 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-3'. + +The Debian packaging is (C) 2007, Kjell Braden and +is licensed under the GPL, see above. + --- gdecrypt-0.7.2.2.orig/debian/dirs +++ gdecrypt-0.7.2.2/debian/dirs @@ -0,0 +1,2 @@ +usr/share/applications +usr/share/pixmaps --- gdecrypt-0.7.2.2.orig/debian/rules +++ gdecrypt-0.7.2.2/debian/rules @@ -0,0 +1,57 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +build: build-stamp + +build-stamp: patch-stamp + dh_testdir + + docbook-to-man gdecrypt.sgml > gdecrypt.1 + python ./setup.py build + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + rm -f gdecrypt.1 + python ./setup.py clean -a + rm -fr po/mo + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + dh_installmenu + dh_installchangelogs changelog + dh_installdocs + dh_installexamples + python ./setup.py install --root=$(CURDIR)/debian/gdecrypt --install-layout=deb + dh_installman gdecrypt.1 + +binary-indep: build install + dh_testdir + dh_testroot + dh_pysupport + dh_desktop + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install + # nothing here + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- gdecrypt-0.7.2.2.orig/debian/changelog +++ gdecrypt-0.7.2.2/debian/changelog @@ -0,0 +1,69 @@ +gdecrypt (0.7.2.2-0ubuntu3) lucid; urgency=low + + * Call setup.py install with --install-layout=deb. + + -- Matthias Klose Thu, 04 Feb 2010 01:34:29 +0100 + +gdecrypt (0.7.2.2-0ubuntu2) lucid; urgency=low + + * Rebuild for python2.6 as the default python version. + + -- Matthias Klose Mon, 01 Feb 2010 21:02:30 +0000 + +gdecrypt (0.7.2.2-0ubuntu1) intrepid; urgency=low + + * New upstream release (LP: #237125) + * Applied patch to truecrypt >= 5 using dpatch (LP: #231303) + * Changed homepage URL in copyright and control + + -- Nicolas Van Wambeke Tue, 03 Jun 2008 17:33:56 +0200 + +gdecrypt (0.7.2.1-0ubuntu2) hardy; urgency=low + + * Change volumeid dependency to one on udev. + + -- Scott James Remnant Wed, 02 Apr 2008 13:42:00 +0100 + +gdecrypt (0.7.2.1-0ubuntu1) hardy; urgency=low + + * New upstream release (LP: #198061) + - don't crash with dbus 1.1.20 (LP: #197654) + + -- Kjell Braden Mon, 03 Mar 2008 17:54:59 +0100 + +gdecrypt (0.7.1-0ubuntu1) hardy; urgency=low + + * New upstream release (LP: #190671) + - Fix several crasher bugs (LP: #190641, #190558) + * Upstream changelog moved from changelog.gz to changelog + + -- Kjell Braden Sun, 10 Feb 2008 14:25:46 +0100 + +gdecrypt (0.7-0ubuntu1) hardy; urgency=low + + * New upstream release (LP: #189912) + * debian/control: Depend on truecrypt (<< 5), since 5 is not supported + * debian/control: Update description for new features + * debian/rules: making the translations was moved to upstream's setup.py + + -- Kjell Braden Thu, 07 Feb 2008 14:48:44 +0100 + +gdecrypt (0.6-0ubuntu1) hardy; urgency=low + + * New upstream release (LP: #185446) + + -- Kjell Braden Wed, 23 Jan 2008 19:55:48 +0100 + +gdecrypt (0.5.1.1-0ubuntu1) hardy; urgency=low + + * New upstream release (LP: #179404) + * Bumped Standards-Version + * Updated watch file for new upstream location + + -- Kjell Braden Tue, 18 Dec 2007 18:02:38 +0100 + +gdecrypt (0.4.2.2-0ubuntu1) hardy; urgency=low + + * Initial upload to ubuntu (LP: #165221) + + -- Kjell Braden Mon, 26 Nov 2007 18:16:25 +0100 --- gdecrypt-0.7.2.2.orig/debian/patches/00list +++ gdecrypt-0.7.2.2/debian/patches/00list @@ -0,0 +1 @@ +01_fix_truecrypt.dpatch --- gdecrypt-0.7.2.2.orig/debian/patches/01_fix_truecrypt.dpatch +++ gdecrypt-0.7.2.2/debian/patches/01_fix_truecrypt.dpatch @@ -0,0 +1,68 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_fix_truecrypt.dpatch by Nicolas Van Wambeke +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fixes a bug using when using truecrypt >=5 + +@DPATCH@ +diff -urNad gdecrypt-0.7.2.2~/main.py gdecrypt-0.7.2.2/main.py +--- gdecrypt-0.7.2.2~/main.py 2008-05-26 16:16:16.000000000 +0200 ++++ gdecrypt-0.7.2.2/main.py 2008-06-03 17:51:36.000000000 +0200 +@@ -30,12 +30,30 @@ + import gettext + import createui + ++import subprocess ++ + + LOG_ANY = -1 + LOG_MOUNT = 0 + LOG_DISMOUNT = 1 + + ++VERSION_R = re.compile('^truecrypt ([a-z0-9\.]+)$', re.IGNORECASE | ++ re.MULTILINE) ++ ++def get_tc_version_from_path(path="/usr/bin/truecrypt"): ++ 'returns the truecrypt version of the given path' ++ ++ proc = subprocess.Popen([path,"--text","--version"], stdout=subprocess.PIPE, ++ stderr=subprocess.PIPE) ++ if proc.wait() == 0: ++ return VERSION_R.search(proc.stdout.read()).group(1) ++ else: ++ proc = Popen([path,"--version"], stdout=subprocess.PIPE) ++ return VERSION_R.search(proc.stdout.read()).group(1) ++ ++ ++ + class gdecrypt: + devices = {} + udis = {} +@@ -174,18 +192,24 @@ + self.window.show_all() + + self.has_tc_support = False ++ tc_error_message = "not found" + self.has_luks_support = False + + for i in os.environ['PATH'].split(":"): + if os.access(os.path.join(i,"truecrypt"),os.X_OK): +- self.has_tc_support = True ++ tc_version = get_tc_version_from_path() ++ if tc_version == '4.3a': ++ self.has_tc_support = True ++ else: ++ tc_error_message = "unsupported version" ++ + + for i in os.environ['PATH'].split(":"): + if os.access(os.path.join(i,"cryptsetup"),os.X_OK): + self.has_luks_support = True + + if not self.has_tc_support: +- self.log(_("No truecrypt support available (not found)!")+"\n", LOG_ANY) ++ self.log(_("No truecrypt support available (%s)!")%tc_error_message+"\n", LOG_ANY) + + + if not self.has_luks_support: