Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#58991 closed defect (fixed)

encfs @1.8.1_4: fails to build after switch to openssl 1.1.1c

Reported by: detlevd (Detlev Droege) Owned by: yan12125 (Chih-Hsuan Yen)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: encfs

Description

The last 'port upgrade' updgraded openssl from 1.0.2s to 1.1.1c. This makes the build of encfs 1.8.1 fail (several compiler errors). To work with openssl 1.1.0+, at least encfs 1.9.2 is required (as stated in the encfs release notes https://github.com/vgough/encfs/releases), the most recent version would be encfs 1.9.5.

encfs at macports is still 1.8.1 :-(

Attachments (1)

Portfile_encfs.diff (1.4 KB) - added by detlevd (Detlev Droege) 5 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Owner: set to yan12125
Status: newassigned

comment:2 Changed 5 years ago by detlevd (Detlev Droege)

[FIX]: Since I urgently needed encfs I had a closer look on the issue. Upgrading the port to encfs 1.9.5 turned out to be easy - just switch to cmake (since encfs 1.9) and remove all patches (which related to autoconf). I'll attach a diff file (Portfile_encfs.diff) for Portfile, the patches in the files/ directory may then be removed. Did not any deep testing, but mounting, reading and writing just work fine.

Changed 5 years ago by detlevd (Detlev Droege)

Attachment: Portfile_encfs.diff added

comment:3 Changed 5 years ago by Chih-Hsuan Yen <yan12125@…>

Resolution: fixed
Status: assignedclosed

In 4e8dcf9e8916a51f67189f4aff0d42b1569fb878/macports-ports (master):

encfs: update to 1.9.5

The patch is contributed by detlevd (Detlev Droege) in the Trac ticket
referenced below.

  • OpenSSL 1.1 compatibility
  • patch-encfs-encfssh.diff: not needed as encfssh is fixed since version 1.9 [1].
  • patch-configure.ac.diff & configure-related settings: not needed as the latest encfs switches to CMake. It can find OSXFUSE and Boost installed by MacPorts without extra settings.

[1] https://github.com/vgough/encfs/commit/95d6ae8beceea60d9a7b0d5fa5473806ca1e7c9f

Closes: #58991

comment:4 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Thank you very much! I've commited your patch with a few minor modifications.

Note: See TracTickets for help on using tickets.