diff -u checkgmail-1.12/debian/changelog checkgmail-1.12/debian/changelog --- checkgmail-1.12/debian/changelog +++ checkgmail-1.12/debian/changelog @@ -1,3 +1,15 @@ +checkgmail (1.12-1ubuntu2) hardy; urgency=low + + * debian/control, debian/rules, + debian/patches/00list: + - added dpatch support + * debian/patches/permission-fix.dpatch: + - fixed permissions on configuration directory + * debian/control: + - bumped Standards-Version to 3.7.3 + + -- Mario Bonino Mon, 24 Dec 2007 19:34:47 +0100 + checkgmail (1.12-1ubuntu1) gutsy; urgency=low * Add checkgmail.desktop and checkgmail.svg for when not started diff -u checkgmail-1.12/debian/control checkgmail-1.12/debian/control --- checkgmail-1.12/debian/control +++ checkgmail-1.12/debian/control @@ -3,8 +3,8 @@ Priority: optional Maintainer: Ubuntu MOTU Developers XSBC-Original-Maintainer: Sandro Tosi -Build-Depends: debhelper (>= 4.0.0) -Standards-Version: 3.7.2 +Build-Depends: debhelper (>= 4.0.0), dpatch +Standards-Version: 3.7.3 Package: checkgmail Architecture: all diff -u checkgmail-1.12/debian/rules checkgmail-1.12/debian/rules --- checkgmail-1.12/debian/rules +++ checkgmail-1.12/debian/rules @@ -3,6 +3,7 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +include /usr/share/dpatch/dpatch.make configure: configure-stamp configure-stamp: @@ -14,12 +15,12 @@ build: build-stamp -build-stamp: configure-stamp +build-stamp: patch-stamp configure-stamp dh_testdir touch build-stamp -clean: +clean: unpatch dh_testdir dh_testroot rm -f build-stamp configure-stamp only in patch2: unchanged: --- checkgmail-1.12.orig/debian/patches/00list +++ checkgmail-1.12/debian/patches/00list @@ -0,0 +1 @@ +permission-fix.dpatch only in patch2: unchanged: --- checkgmail-1.12.orig/debian/patches/permission-fix.dpatch +++ checkgmail-1.12/debian/patches/permission-fix.dpatch @@ -0,0 +1,24 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## permission-fix.dpatch by Mario Bonino +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Patch to fix permissions on configuration directory. + +@DPATCH@ +diff -urNad checkgmail-1.12~/checkgmail checkgmail-1.12/checkgmail +--- checkgmail-1.12~/checkgmail 2007-06-19 10:18:55.000000000 +0200 ++++ checkgmail-1.12/checkgmail 2007-12-24 19:32:55.000000000 +0100 +@@ -376,11 +376,11 @@ + if (-e "$prefs_dir") { + print "Moving ~/.checkgmail to ~/.checkgmail/prefs ...\n\n"; + rename("$HOME/.checkgmail", "$HOME/.checkgmailbak"); +- mkdir($prefs_dir, 0777); ++ mkdir($prefs_dir, 0700); + rename("$HOME/.checkgmailbak", "$prefs_dir/prefs"); + } else { + # User hasn't run an old version, just create the dir +- mkdir($prefs_dir, 0777); ++ mkdir($prefs_dir, 0700); + } + } +