public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libreswan] f45: Merge branch 'rawhide' into f45
@ 2026-10-28 21:17 Paul Wouters
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Wouters @ 2026-10-28 21:17 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libreswan
Branch : f45
Commit : fb0d03fd8fe17387016b8eda69365c2271995802
Author : Paul Wouters <paul.wouters@aiven.io>
Date   : 2026-10-28T17:16:56-04:00
Stats  : +33/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/libreswan/c/fb0d03fd8fe17387016b8eda69365c2271995802?branch=f45

Log:
Merge branch 'rawhide' into f45

---
diff --git a/libreswan-5.4.1-ipsec_import.patch b/libreswan-5.4.1-ipsec_import.patch
new file mode 100644
index 0000000..06f449c
--- /dev/null
+++ b/libreswan-5.4.1-ipsec_import.patch
@@ -0,0 +1,28 @@
+commit 1437a2158a96a91bc606578e504ae20fa3757485
+Author: Paul Wouters <paul.wouters@aiven.io>
+Date:   Wed Oct 28 17:03:48 2026 -0400
+
+    ipsec import: fix automated passwordless pkcs12 import
+    
+    If the nss db has no password and the pkcs12 file has no passwd,
+    import it without prompting or needing a tty.
+
+diff --git a/programs/ipsec/ipsec.in b/programs/ipsec/ipsec.in
+index ca5ce0ca05..5eb67e2239 100755
+--- a/programs/ipsec/ipsec.in
++++ b/programs/ipsec/ipsec.in
+@@ -755,7 +755,13 @@ ipsec_import() {
+ 	    exit 1
+ 	fi
+ 
+-	@@PK12UTIL@@ -i "${pkcs12bundle}" -d "${IPSEC_NSSDIR_SQL}"
++	# First try blanc password to avoid uselessly prompting interactively
++	@@PK12UTIL@@ -i "${pkcs12bundle}" -d "${IPSEC_NSSDIR_SQL}" -W '' -K '' 2>/dev/null
++	if [ $? -gt 0 ]; then
++	    # Not the empty password for either nss db or pkcs12 file, so prompt user
++	    @@PK12UTIL@@ -i "${pkcs12bundle}" -d "${IPSEC_NSSDIR_SQL}"
++	fi
++
+ 	# check and correct trust bits
+ 	set_nss_db_trusts
+ 	exit 0

diff --git a/libreswan.spec b/libreswan.spec
index 4b64d52..39c73a0 100644
--- a/libreswan.spec
+++ b/libreswan.spec
@@ -44,13 +44,15 @@ Source3: https://download.libreswan.org/cavs/ikev1_dsa.fax.bz2
 Source4: https://download.libreswan.org/cavs/ikev1_psk.fax.bz2
 Source5: https://download.libreswan.org/cavs/ikev2.fax.bz2
 %endif
+# https://github.com/libreswan/libreswan/commit/1437a2158a96a91bc606578e504ae20fa3757485
+Patch1: libreswan-5.4.1-ipsec_import.patch
 
 BuildRequires: audit-libs-devel
 BuildRequires: bison
 BuildRequires: curl-devel
 BuildRequires: flex
 BuildRequires: gcc
-BuildRequires: gnupg2
+BuildRequires: openpgpverify
 BuildRequires: hostname
 BuildRequires: ldns-devel
 BuildRequires: libcap-ng-devel
@@ -128,7 +130,7 @@ This package contains the minimal set of daemons and userland tools
 for setting up Libreswan.
 
 %prep
-%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
+%{openpgpverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
 %setup -q -n libreswan-%{version}%{?prever}
 # enable crypto-policies support
 sed -i "s:#[ ]*include \(.*\)\(/crypto-policies/back-ends/libreswan.config\)$:include \1\2:" configs/ipsec.conf.in
@@ -136,6 +138,7 @@ sed -i "s:#[ ]*include \(.*\)\(/crypto-policies/back-ends/libreswan.config\)$:in
 # throws error on s390x
 sed -i "s/SUBDIRS += hunkcheck/#SUBDIRS += hunkcheck/" testing/programs/Makefile
 %endif
+%autopatch -p1
 
 %build
 %make_build \

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [rpms/libreswan] f45: Merge branch 'rawhide' into f45
@ 2026-11-16 22:23 Paul Wouters
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Wouters @ 2026-11-16 22:23 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libreswan
Branch : f45
Commit : f72b08ac5d81fb935e284934b7a98f82e82d28be
Author : Paul Wouters <paul.wouters@aiven.io>
Date   : 2026-11-16T14:22:50-08:00
Stats  : +6/-5 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/libreswan/c/f72b08ac5d81fb935e284934b7a98f82e82d28be?branch=f45

Log:
Merge branch 'rawhide' into f45

---
diff --git a/.gitignore b/.gitignore
index 6802828..760e8c0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -76,3 +76,5 @@
 /libreswan-5.4.tar.gz.asc
 /libreswan-5.4.1.tar.gz
 /libreswan-5.4.1.tar.gz.asc
+/libreswan-5.4.2.tar.gz
+/libreswan-5.4.2.tar.gz.asc

diff --git a/libreswan.spec b/libreswan.spec
index 39c73a0..9c53953 100644
--- a/libreswan.spec
+++ b/libreswan.spec
@@ -30,7 +30,7 @@
 Name: libreswan
 Summary: Internet Key Exchange (IKEv1 and IKEv2) implementation for IPsec
 # version is generated in the release script
-Version: 5.4.1
+Version: 5.4.2
 Release: %autorelease
 # The code in lib/libswan/nss_copies.c is under MPL-2.0, while the
 # rest is under GPL-2.0-or-later
@@ -45,7 +45,6 @@ Source4: https://download.libreswan.org/cavs/ikev1_psk.fax.bz2
 Source5: https://download.libreswan.org/cavs/ikev2.fax.bz2
 %endif
 # https://github.com/libreswan/libreswan/commit/1437a2158a96a91bc606578e504ae20fa3757485
-Patch1: libreswan-5.4.1-ipsec_import.patch
 
 BuildRequires: audit-libs-devel
 BuildRequires: bison
@@ -138,7 +137,7 @@ sed -i "s:#[ ]*include \(.*\)\(/crypto-policies/back-ends/libreswan.config\)$:in
 # throws error on s390x
 sed -i "s/SUBDIRS += hunkcheck/#SUBDIRS += hunkcheck/" testing/programs/Makefile
 %endif
-%autopatch -p1
+#autopatch -p1
 
 %build
 %make_build \

diff --git a/sources b/sources
index 8d4d1b2..40114be 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,5 @@
 SHA512 (ikev1_dsa.fax.bz2) = 627cbac14248bd68e8d22fbca247668a7749ef0c2e41df8d776d62df9a21403d3a246c0bd82c3faedce62de90b9f91a87f753e17b056319000bba7d2038461ac
 SHA512 (ikev1_psk.fax.bz2) = 1b2daec32edc56b410c036db2688c92548a9bd9914994bc7e555b301dd6db4497a6b3e89dc12ddf36826ae90b40fcde501a5a45c0d59098e07839073d219d467
 SHA512 (ikev2.fax.bz2) = 0d3748d1bd574f6f1f3e4db847eca126ce649566ea710ef227426f433122752b80d1d6b8acf9d0df07b5597c1e45447e3a2fcb3391756e834e8e75f99df8e51e
-SHA512 (libreswan-5.4.1.tar.gz) = e9f97da181d609889290de5b72e446b0193dbfc963859fe0303671bdef17755ba77478b82a4176f95ddc57df4a62b517d6ff5414b47bb2ccfb6f1ff626f33759
-SHA512 (libreswan-5.4.1.tar.gz.asc) = 403ed563b212ee4a766cb34bc84147eeb50242793d279873f66403162eb789e4f40674ee99b17ad6481c2f400637d51d64eb9742a9fa761651673c3f3c80aa0c
+SHA512 (libreswan-5.4.2.tar.gz) = 0090c87e02c8c230424fe4265165374e575d537f9f2624ffb299c4ee0da9f2b0ac09b653b8b472cba9873d02d3c40f95dd156c44bc6678b4f135c6fcdfba76bc
+SHA512 (libreswan-5.4.2.tar.gz.asc) = b5bbd1627d64bfd4d60661df5c26f19fb7d8d5b562335d4e0e606727a2a4da6a502a686a1c80c0243f024b360727d80f955b8592ac214cecbd909fc2a103ae8b

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [rpms/libreswan] f45: Merge branch 'rawhide' into f45
@ 2026-10-23 14:32 Paul Wouters
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Wouters @ 2026-10-23 14:32 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libreswan
Branch : f45
Commit : 651b7abfbb5708f815de522eaf61ef89ab7f866b
Author : Paul Wouters <paul.wouters@aiven.io>
Date   : 2026-10-23T10:32:40-04:00
Stats  : +5/-3 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/libreswan/c/651b7abfbb5708f815de522eaf61ef89ab7f866b?branch=f45

Log:
Merge branch 'rawhide' into f45

---
diff --git a/.gitignore b/.gitignore
index 9f45786..6802828 100644
--- a/.gitignore
+++ b/.gitignore
@@ -74,3 +74,5 @@
 /libreswan-5.3.2.tar.gz.sig
 /libreswan-5.4.tar.gz
 /libreswan-5.4.tar.gz.asc
+/libreswan-5.4.1.tar.gz
+/libreswan-5.4.1.tar.gz.asc

diff --git a/libreswan.spec b/libreswan.spec
index 4c62740..4b64d52 100644
--- a/libreswan.spec
+++ b/libreswan.spec
@@ -30,7 +30,7 @@
 Name: libreswan
 Summary: Internet Key Exchange (IKEv1 and IKEv2) implementation for IPsec
 # version is generated in the release script
-Version: 5.4
+Version: 5.4.1
 Release: %autorelease
 # The code in lib/libswan/nss_copies.c is under MPL-2.0, while the
 # rest is under GPL-2.0-or-later

diff --git a/sources b/sources
index aa005c0..8d4d1b2 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,5 @@
 SHA512 (ikev1_dsa.fax.bz2) = 627cbac14248bd68e8d22fbca247668a7749ef0c2e41df8d776d62df9a21403d3a246c0bd82c3faedce62de90b9f91a87f753e17b056319000bba7d2038461ac
 SHA512 (ikev1_psk.fax.bz2) = 1b2daec32edc56b410c036db2688c92548a9bd9914994bc7e555b301dd6db4497a6b3e89dc12ddf36826ae90b40fcde501a5a45c0d59098e07839073d219d467
 SHA512 (ikev2.fax.bz2) = 0d3748d1bd574f6f1f3e4db847eca126ce649566ea710ef227426f433122752b80d1d6b8acf9d0df07b5597c1e45447e3a2fcb3391756e834e8e75f99df8e51e
-SHA512 (libreswan-5.4.tar.gz) = 32d8d80e806742a45c30494b847533eb2be2571eccf6faa5ae7714747f02defc1edf6f2800d23116b58f6619a9577de6c0ca2f1b515581ca57d6d6a7a0006f4b
-SHA512 (libreswan-5.4.tar.gz.asc) = 701930223fb3ebf70971d24e18c394c47df47ecb7fc8dc39d077add954db124f6c97a06c97f9e906bc867cbbbf0ffb923de1cc06432cd1b013e61698ccdb7cde
+SHA512 (libreswan-5.4.1.tar.gz) = e9f97da181d609889290de5b72e446b0193dbfc963859fe0303671bdef17755ba77478b82a4176f95ddc57df4a62b517d6ff5414b47bb2ccfb6f1ff626f33759
+SHA512 (libreswan-5.4.1.tar.gz.asc) = 403ed563b212ee4a766cb34bc84147eeb50242793d279873f66403162eb789e4f40674ee99b17ad6481c2f400637d51d64eb9742a9fa761651673c3f3c80aa0c

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-16 22:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 21:17 [rpms/libreswan] f45: Merge branch 'rawhide' into f45 Paul Wouters
  -- strict thread matches above, loose matches on Subject: below --
2026-11-16 22:23 Paul Wouters
2026-10-23 14:32 Paul Wouters

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox