Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482106 - =app-backup/backintime-1.0.24-r1 - /usr/bin/* scripts use wrong python and should depend on net-misc/openssh (for ssh-agent)
Summary: =app-backup/backintime-1.0.24-r1 - /usr/bin/* scripts use wrong python and sh...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 496830
  Show dependency tree
 
Reported: 2013-08-22 15:04 UTC by Rob Tongue
Modified: 2014-08-16 01:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
backintime-right-vs-wrong.tar.gz (backintime-right-vs-wrong.tar.gz,1.01 KB, application/x-gzip-compressed-tar)
2013-08-22 15:04 UTC, Rob Tongue
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Tongue 2013-08-22 15:04:05 UTC
Created attachment 356692 [details]
backintime-right-vs-wrong.tar.gz

/usr/bin/backintime-* scripts are missing some pieces to force them to use python2, and ssh-agent.  /usr/bin/backintime can be used as a reference.  

I will upload old and new files, so that a patch may be created, with incorrect and expected contents.

ALSO: I emerged with use="-gnome kde" so that it pulls in the KDE UI, I am unaware if the gnome UI scripts exhibit the same behavior, but I would imagine they do. 

Command in launch scripts currently look like:

python $APP_PATH/askpass.py "$@"

But should be:

ssh-agent python2 $APP_PATH/askpass.py "$@"

Or else ssh backup is not possible. Verified working on two of my machines, amd64

ebuild link is: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/backintime/backintime-1.0.24-r1.ebuild?view=markup
Comment 1 Michael Weber (RETIRED) gentoo-dev 2014-08-16 01:35:12 UTC
+*backintime-1.0.24-r2 (16 Aug 2014)
+*backintime-1.0.36-r1 (16 Aug 2014)
+
+  16 Aug 2014; Michael Weber <xmw@gentoo.org> +backintime-1.0.24-r2.ebuild,
+  +backintime-1.0.36-r1.ebuild, +files/backintime-1.0.24-wrapper.patch,
+  +files/backintime-1.0.36-wrapper.patch, -backintime-1.0.24-r1.ebuild,
+  -backintime-1.0.36.ebuild, -files/backintime-1.0.4-dont-install-license.diff,
+  -files/backintime-1.0.6-wrapper.patch:
+  Revbump to fix python2 invocation and hard depend on ssh-agent (bug 482106,
+  thanks Rob Tongue; bug 487764, thanks Jaime Martin). Depend on gksu iff
+  USE=gnome (bug 476774, thanks Christian Strahl). Drop old version.
+