Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 482106

Summary: =app-backup/backintime-1.0.24-r1 - /usr/bin/* scripts use wrong python and should depend on net-misc/openssh (for ssh-agent)
Product: Gentoo Linux Reporter: Rob Tongue <robtongue>
Component: Current packagesAssignee: Michael Weber (RETIRED) <xmw>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=487764
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 496830    
Attachments: backintime-right-vs-wrong.tar.gz

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.
+