Bug 2069050 - Please branch and build git-crypt in epel9
Summary: Please branch and build git-crypt in epel9
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: git-crypt
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Christian Kellner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2181607 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-28 06:51 UTC by farrotin
Modified: 2023-03-24 22:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description farrotin 2022-03-28 06:51:19 UTC
Please branch and build git-crypt in epel9

Comment 1 farrotin 2022-03-28 06:55:19 UTC
Worth knowing that there is currently an openssl3 issue to "just build it" (it always worked), and it's also impacting Fedora 36 :

https://bugzilla.redhat.com/show_bug.cgi?id=2022033
https://github.com/AGWA/git-crypt/issues/232

Comment 2 farrotin 2022-03-28 07:29:46 UTC
Just to test, I gave it a try with a slightly modified version : 

diff -Naur git-crypt.spec.orig git-crypt.spec
--- git-crypt.spec.orig	2022-03-28 07:03:00.444090815 +0000
+++ git-crypt.spec	2022-03-28 07:04:42.651554952 +0000
@@ -1,6 +1,6 @@
 Name:		git-crypt
 Version:	0.6.0
-Release:	11%{?dist}
+Release:	12%{?dist}
 Summary:	Transparent file encryption in git
 
 # MIT/X11 (BSD like): fhstream.{hpp|cpp} and parse_options.{hpp|cpp}
@@ -34,7 +34,7 @@
 %build
 export DOCBOOK_XSL=%{_datadir}/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl
 export ENABLE_MAN=yes
-export CXXFLAGS="%{optflags}"
+export CXXFLAGS="%{optflags} -DOPENSSL_API_COMPAT=0x30000000L"
 export LDFLAGS="%{__global_ldflags}"
 %make_build
 
@@ -49,6 +49,9 @@
 
 
 %changelog
+* Mon Mar 28 2022 Fabian Arrotin <fabian.arrotin> - 0.6.0-12
+- Applied openssl3 compat compile flag 
+
 * Thu Jul 22 2021 Fedora Release Engineering <releng> - 0.6.0-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

And was able to rebuild in copr and did a functional tests on a stream 9 host and was able to unlock a git-crypted repo (with symmetric key, haven't tried with gpg agent)

FWIW, just found that OPENSSL_API_COMPAT option by following upstream issue and https://github.com/loqs/PACKAGES-OSSL3/commit/5d7999584dc0f45fae6489bf579f0622425e47f4

Comment 3 Fedora Admin user for bugzilla script actions 2023-01-06 12:07:12 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 4 Romain Geissler 2023-03-24 22:43:49 UTC
*** Bug 2181607 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.