Bug 2052965

Summary: FEATURE REQUEST:enable Remote repository backups, requires libcurl
Product: [Fedora] Fedora Reporter: Jeremy Faith <j.faithw>
Component: darAssignee: Luis Bazan <bazanluis20>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: bazanluis20
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dar-2.7.6-2.el8 dar-2.7.6-2.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-07 00:45:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeremy Faith 2022-02-10 11:02:54 UTC
Description of problem:
dar compiled without support for Remote repository backups using ftp/sftp. This feature was added to dar version 2.6.0 and requires libcurl.


Version-Release number of selected component (if applicable):
2.7.2 but 2.7.3 is the latest version of dar available from upstream see bug 2036523.

How reproducible:
dar -V|grep Remote
output:
   Remote repository (libcurl)  : NO

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Also applies to Fedora EPEL dar build.

Comment 1 Fedora Update System 2022-06-28 00:18:43 UTC
FEDORA-EPEL-2022-783709bc5a has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-783709bc5a

Comment 2 Fedora Update System 2022-06-28 00:23:59 UTC
FEDORA-2022-b35afdcf5e has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-b35afdcf5e

Comment 3 Jeremy Faith 2022-06-28 23:23:27 UTC
I installed dar-2.7.6-2.el8.x86_64.rpm and still get
  dar -V|grep Remote
  output:
    Remote repository (libcurl)  : NO
It appears that compiling dar with remote repositories support requires not just libcurl(+probably libcurl-devel) but also libthreadar which is a separate package only used by dar and webdar.
see http://dar.linux.free.fr/doc/from_sources.html 
libthreadar is available from https://sourceforge.net/projects/libthreadar/

Sorry I did not realize this when I added this feature request.
I don't know if it is worth the effort and the risk of breaking something by adding libthreadar although if added it would probably also provide support for 
  multi-thread compression/decompression 
  multi-thread ciphering/deciphering 

I would say probably best not to do this for a stable release, too risky.

Comment 4 Fedora Update System 2022-06-29 01:32:53 UTC
FEDORA-2022-b35afdcf5e has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-b35afdcf5e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-b35afdcf5e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2022-06-29 02:12:17 UTC
FEDORA-EPEL-2022-783709bc5a has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-783709bc5a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Luis Bazan 2022-07-04 15:55:13 UTC
(In reply to Jeremy Faith from comment #3)
> I installed dar-2.7.6-2.el8.x86_64.rpm and still get
>   dar -V|grep Remote
>   output:
>     Remote repository (libcurl)  : NO
> It appears that compiling dar with remote repositories support requires not
> just libcurl(+probably libcurl-devel) but also libthreadar which is a
> separate package only used by dar and webdar.
> see http://dar.linux.free.fr/doc/from_sources.html 
> libthreadar is available from https://sourceforge.net/projects/libthreadar/
> 
> Sorry I did not realize this when I added this feature request.
> I don't know if it is worth the effort and the risk of breaking something by
> adding libthreadar although if added it would probably also provide support
> for 
>   multi-thread compression/decompression 
>   multi-thread ciphering/deciphering 
> 
> I would say probably best not to do this for a stable release, too risky.

Let me check libcurl-devel is available but we need package webdar and libthreadar.

Let me work in this... :-)

Regards!

Comment 7 Fedora Update System 2022-07-07 00:45:39 UTC
FEDORA-EPEL-2022-783709bc5a has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2022-07-07 01:15:04 UTC
FEDORA-2022-b35afdcf5e has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.