* [pve-devel] [PATCH debcargo-config proxmox/trixie 0/4] package lettre and
@ 2025-05-23 8:30 Lukas Wagner
2025-05-23 8:30 ` [pve-devel] [PATCH debcargo-config proxmox/trixie 1/4] import email-encoding from bookworm Lukas Wagner
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Lukas Wagner @ 2025-05-23 8:30 UTC (permalink / raw)
To: pve-devel
Initial packaging was taken from bookworm and then updated.
lettre was updated to the last version that still uses nom 7.
Tried to get the latest version (0.11.16) to compile with nom 7,
but it seems there were quite a few breaking changes. Updating nom
to version 8 also seems to be a big hassle, quite a few
crates have a dependency on nom.
I double checked lettre's release notes that there were no security
issues fixed in 0.11.14-0.11.16 that would speak against packaging the
slightly older version.
Lukas Wagner (4):
import email-encoding from bookworm
update email-encoding to 0.3.1
import lettre from bookworm
update lettre to 0.11.13
src/email-encoding/debian/changelog | 20 ++
src/email-encoding/debian/copyright | 37 +++
.../debian/copyright.debcargo.hint | 49 +++
src/email-encoding/debian/debcargo.toml | 2 +
src/lettre/debian/changelog | 47 +++
src/lettre/debian/copyright | 38 +++
src/lettre/debian/copyright.debcargo.hint | 52 +++
src/lettre/debian/debcargo.toml | 2 +
src/lettre/debian/patches/relax-deps.patch | 13 +
.../patches/remove_unused_features.patch | 303 ++++++++++++++++++
src/lettre/debian/patches/series | 2 +
11 files changed, 565 insertions(+)
create mode 100644 src/email-encoding/debian/changelog
create mode 100644 src/email-encoding/debian/copyright
create mode 100644 src/email-encoding/debian/copyright.debcargo.hint
create mode 100644 src/email-encoding/debian/debcargo.toml
create mode 100644 src/lettre/debian/changelog
create mode 100644 src/lettre/debian/copyright
create mode 100644 src/lettre/debian/copyright.debcargo.hint
create mode 100644 src/lettre/debian/debcargo.toml
create mode 100644 src/lettre/debian/patches/relax-deps.patch
create mode 100644 src/lettre/debian/patches/remove_unused_features.patch
create mode 100644 src/lettre/debian/patches/series
--
2.39.5
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [pve-devel] [PATCH debcargo-config proxmox/trixie 1/4] import email-encoding from bookworm
2025-05-23 8:30 [pve-devel] [PATCH debcargo-config proxmox/trixie 0/4] package lettre and Lukas Wagner
@ 2025-05-23 8:30 ` Lukas Wagner
2025-05-23 8:30 ` [pve-devel] [PATCH debcargo-config proxmox/trixie 2/4] update email-encoding to 0.3.1 Lukas Wagner
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Lukas Wagner @ 2025-05-23 8:30 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---
src/email-encoding/debian/changelog | 13 +++++
src/email-encoding/debian/copyright | 37 ++++++++++++
.../debian/copyright.debcargo.hint | 49 ++++++++++++++++
src/email-encoding/debian/debcargo.toml | 2 +
.../debian/patches/downgrade_base64.diff | 57 +++++++++++++++++++
src/email-encoding/debian/patches/series | 1 +
6 files changed, 159 insertions(+)
create mode 100644 src/email-encoding/debian/changelog
create mode 100644 src/email-encoding/debian/copyright
create mode 100644 src/email-encoding/debian/copyright.debcargo.hint
create mode 100644 src/email-encoding/debian/debcargo.toml
create mode 100644 src/email-encoding/debian/patches/downgrade_base64.diff
create mode 100644 src/email-encoding/debian/patches/series
diff --git a/src/email-encoding/debian/changelog b/src/email-encoding/debian/changelog
new file mode 100644
index 0000000000..c4e978bbdc
--- /dev/null
+++ b/src/email-encoding/debian/changelog
@@ -0,0 +1,13 @@
+rust-email-encoding (0.2.0-1~bpo12+pve1) proxmox-rust; urgency=medium
+
+ * Rebuild for Debian Bookworm / Proxmox
+
+ -- Proxmox Support Team <support@proxmox.com> Fri, 04 Aug 2023 14:24:43 +0200
+
+rust-email-encoding (0.2.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+
+ * Team upload.
+ * Package email-encoding 0.2.0 from crates.io using debcargo 2.6.0
+ * Downgrade base64 dependency from 0.21 to 0.13
+
+ -- Lukas Wagner <l.wagner@proxmox.com> Mon, 31 Jul 2023 14:08:53 +0200
diff --git a/src/email-encoding/debian/copyright b/src/email-encoding/debian/copyright
new file mode 100644
index 0000000000..3c1cb98d32
--- /dev/null
+++ b/src/email-encoding/debian/copyright
@@ -0,0 +1,37 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: email-encoding
+Upstream-Contact: Paolo Barbolini <paolo@paolo565.org>
+Source: https://github.com/lettre/email-encoding
+
+Files: *
+Copyright: 2021-2022 Paolo Barbolini <paolo@paolo565.org>
+License: MIT or Apache-2.0
+
+Files: debian/*
+Copyright:
+ 2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2023 Lukas Wagner <l.wagner@proxmox.com>
+License: MIT or Apache-2.0
+
+License: Apache-2.0
+ Debian systems provide the Apache 2.0 license in
+ /usr/share/common-licenses/Apache-2.0
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/src/email-encoding/debian/copyright.debcargo.hint b/src/email-encoding/debian/copyright.debcargo.hint
new file mode 100644
index 0000000000..e8d3e445ac
--- /dev/null
+++ b/src/email-encoding/debian/copyright.debcargo.hint
@@ -0,0 +1,49 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: email-encoding
+Upstream-Contact: FIXME (overlay) UNKNOWN-AUTHORS
+Source: https://github.com/lettre/email-encoding
+
+Files: *
+Copyright: FIXME (overlay) UNKNOWN-AUTHORS FIXME (overlay) UNKNOWN-YEARS
+License: MIT or Apache-2.0
+Comment:
+ FIXME (overlay): Since upstream copyright years are not available in
+ Cargo.toml, they were extracted from the upstream Git repository. This may not
+ be correct information so you should review and fix this before uploading to
+ the archive.
+
+Files: LICENSE-MIT
+Copyright: 2021-2022 Paolo Barbolini <paolo@paolo565.org>
+License: UNKNOWN-LICENSE; FIXME (overlay)
+Comment:
+ FIXME (overlay): These notices are extracted from files. Please review them
+ before uploading to the archive.
+
+Files: debian/*
+Copyright:
+ 2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2023 Lukas Wagner <l.wagner@proxmox.com>
+License: MIT or Apache-2.0
+
+License: Apache-2.0
+ Debian systems provide the Apache 2.0 license in
+ /usr/share/common-licenses/Apache-2.0
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/src/email-encoding/debian/debcargo.toml b/src/email-encoding/debian/debcargo.toml
new file mode 100644
index 0000000000..d69a1a27b7
--- /dev/null
+++ b/src/email-encoding/debian/debcargo.toml
@@ -0,0 +1,2 @@
+overlay = "."
+uploaders = ["Lukas Wagner <l.wagner@proxmox.com>"]
diff --git a/src/email-encoding/debian/patches/downgrade_base64.diff b/src/email-encoding/debian/patches/downgrade_base64.diff
new file mode 100644
index 0000000000..42733f1d8c
--- /dev/null
+++ b/src/email-encoding/debian/patches/downgrade_base64.diff
@@ -0,0 +1,57 @@
+diff --git a/Cargo.toml b/Cargo.toml
+index 0dffd11..7bd1373 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -29,7 +29,7 @@ license = "MIT OR Apache-2.0"
+ repository = "https://github.com/lettre/email-encoding"
+
+ [dependencies.base64]
+-version = "0.21"
++version = "0.13"
+ default-features = false
+
+ [dependencies.memchr]
+diff --git a/src/body/base64.rs b/src/body/base64.rs
+index d799ec6..402e615 100644
+--- a/src/body/base64.rs
++++ b/src/body/base64.rs
+@@ -3,7 +3,7 @@
+ use std::fmt::{self, Write};
+ use std::str;
+
+-use ::base64::Engine;
++use base64;
+
+ const LINE_LEN: usize = 76;
+ const CRLF: &str = "\r\n";
+@@ -44,9 +44,7 @@ pub fn encode(b: &[u8], w: &mut dyn Write) -> fmt::Result {
+
+ let mut chunks = b.chunks(LINE_LEN / 4 * 3).peekable();
+ while let Some(chunk) = chunks.next() {
+- let len = ::base64::engine::general_purpose::STANDARD
+- .encode_slice(chunk, &mut buf)
+- .unwrap();
++ let len = base64::encode_config_slice(chunk, base64::STANDARD, &mut buf);
+
+ w.write_str(str::from_utf8(&buf[..len]).expect("base64 produced an invalid encode"))?;
+ if chunks.peek().is_some() {
+diff --git a/src/headers/rfc2047.rs b/src/headers/rfc2047.rs
+index 8857aba..a5ebf0e 100644
+--- a/src/headers/rfc2047.rs
++++ b/src/headers/rfc2047.rs
+@@ -45,11 +45,11 @@ pub fn encode(mut s: &str, w: &mut EmailWriter<'_>) -> fmt::Result {
+ // Write the prefix
+ w.write_str(ENCODING_START_PREFIX)?;
+
++
++
+ // Encode `word`
+- let encoder = base64::display::Base64Display::new(
+- word.as_bytes(),
+- &base64::engine::general_purpose::STANDARD,
+- );
++ use base64::display::Base64Display;
++ let encoder = Base64Display::with_config(word.as_bytes(), base64::STANDARD);
+ write!(w, "{}", encoder)?;
+
+ // Write the suffix
diff --git a/src/email-encoding/debian/patches/series b/src/email-encoding/debian/patches/series
new file mode 100644
index 0000000000..c39b492007
--- /dev/null
+++ b/src/email-encoding/debian/patches/series
@@ -0,0 +1 @@
+downgrade_base64.diff
--
2.39.5
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [pve-devel] [PATCH debcargo-config proxmox/trixie 2/4] update email-encoding to 0.3.1
2025-05-23 8:30 [pve-devel] [PATCH debcargo-config proxmox/trixie 0/4] package lettre and Lukas Wagner
2025-05-23 8:30 ` [pve-devel] [PATCH debcargo-config proxmox/trixie 1/4] import email-encoding from bookworm Lukas Wagner
@ 2025-05-23 8:30 ` Lukas Wagner
2025-05-23 8:30 ` [pve-devel] [PATCH debcargo-config proxmox/trixie 3/4] import lettre from bookworm Lukas Wagner
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Lukas Wagner @ 2025-05-23 8:30 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---
src/email-encoding/debian/changelog | 7 +++
.../debian/copyright.debcargo.hint | 6 +-
.../debian/patches/downgrade_base64.diff | 57 -------------------
src/email-encoding/debian/patches/series | 1 -
4 files changed, 10 insertions(+), 61 deletions(-)
delete mode 100644 src/email-encoding/debian/patches/downgrade_base64.diff
delete mode 100644 src/email-encoding/debian/patches/series
diff --git a/src/email-encoding/debian/changelog b/src/email-encoding/debian/changelog
index c4e978bbdc..0ccc97f5e8 100644
--- a/src/email-encoding/debian/changelog
+++ b/src/email-encoding/debian/changelog
@@ -1,3 +1,10 @@
+rust-email-encoding (0.3.1-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+
+ * Package email-encoding 0.3.1 from crates.io using debcargo 2.7.8
+ * Drop unneeded base64 version relaxation patch
+
+ -- Lukas Wagner <l.wagner@proxmox.com> Thu, 22 May 2025 16:08:00 +0200
+
rust-email-encoding (0.2.0-1~bpo12+pve1) proxmox-rust; urgency=medium
* Rebuild for Debian Bookworm / Proxmox
diff --git a/src/email-encoding/debian/copyright.debcargo.hint b/src/email-encoding/debian/copyright.debcargo.hint
index e8d3e445ac..b03aea424c 100644
--- a/src/email-encoding/debian/copyright.debcargo.hint
+++ b/src/email-encoding/debian/copyright.debcargo.hint
@@ -13,7 +13,7 @@ Comment:
the archive.
Files: LICENSE-MIT
-Copyright: 2021-2022 Paolo Barbolini <paolo@paolo565.org>
+Copyright: 2021-2024 Paolo Barbolini <paolo@paolo565.org>
License: UNKNOWN-LICENSE; FIXME (overlay)
Comment:
FIXME (overlay): These notices are extracted from files. Please review them
@@ -21,8 +21,8 @@ Comment:
Files: debian/*
Copyright:
- 2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
- 2023 Lukas Wagner <l.wagner@proxmox.com>
+ 2023-2025 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2023-2025 Lukas Wagner <l.wagner@proxmox.com>
License: MIT or Apache-2.0
License: Apache-2.0
diff --git a/src/email-encoding/debian/patches/downgrade_base64.diff b/src/email-encoding/debian/patches/downgrade_base64.diff
deleted file mode 100644
index 42733f1d8c..0000000000
--- a/src/email-encoding/debian/patches/downgrade_base64.diff
+++ /dev/null
@@ -1,57 +0,0 @@
-diff --git a/Cargo.toml b/Cargo.toml
-index 0dffd11..7bd1373 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -29,7 +29,7 @@ license = "MIT OR Apache-2.0"
- repository = "https://github.com/lettre/email-encoding"
-
- [dependencies.base64]
--version = "0.21"
-+version = "0.13"
- default-features = false
-
- [dependencies.memchr]
-diff --git a/src/body/base64.rs b/src/body/base64.rs
-index d799ec6..402e615 100644
---- a/src/body/base64.rs
-+++ b/src/body/base64.rs
-@@ -3,7 +3,7 @@
- use std::fmt::{self, Write};
- use std::str;
-
--use ::base64::Engine;
-+use base64;
-
- const LINE_LEN: usize = 76;
- const CRLF: &str = "\r\n";
-@@ -44,9 +44,7 @@ pub fn encode(b: &[u8], w: &mut dyn Write) -> fmt::Result {
-
- let mut chunks = b.chunks(LINE_LEN / 4 * 3).peekable();
- while let Some(chunk) = chunks.next() {
-- let len = ::base64::engine::general_purpose::STANDARD
-- .encode_slice(chunk, &mut buf)
-- .unwrap();
-+ let len = base64::encode_config_slice(chunk, base64::STANDARD, &mut buf);
-
- w.write_str(str::from_utf8(&buf[..len]).expect("base64 produced an invalid encode"))?;
- if chunks.peek().is_some() {
-diff --git a/src/headers/rfc2047.rs b/src/headers/rfc2047.rs
-index 8857aba..a5ebf0e 100644
---- a/src/headers/rfc2047.rs
-+++ b/src/headers/rfc2047.rs
-@@ -45,11 +45,11 @@ pub fn encode(mut s: &str, w: &mut EmailWriter<'_>) -> fmt::Result {
- // Write the prefix
- w.write_str(ENCODING_START_PREFIX)?;
-
-+
-+
- // Encode `word`
-- let encoder = base64::display::Base64Display::new(
-- word.as_bytes(),
-- &base64::engine::general_purpose::STANDARD,
-- );
-+ use base64::display::Base64Display;
-+ let encoder = Base64Display::with_config(word.as_bytes(), base64::STANDARD);
- write!(w, "{}", encoder)?;
-
- // Write the suffix
diff --git a/src/email-encoding/debian/patches/series b/src/email-encoding/debian/patches/series
deleted file mode 100644
index c39b492007..0000000000
--- a/src/email-encoding/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-downgrade_base64.diff
--
2.39.5
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [pve-devel] [PATCH debcargo-config proxmox/trixie 3/4] import lettre from bookworm
2025-05-23 8:30 [pve-devel] [PATCH debcargo-config proxmox/trixie 0/4] package lettre and Lukas Wagner
2025-05-23 8:30 ` [pve-devel] [PATCH debcargo-config proxmox/trixie 1/4] import email-encoding from bookworm Lukas Wagner
2025-05-23 8:30 ` [pve-devel] [PATCH debcargo-config proxmox/trixie 2/4] update email-encoding to 0.3.1 Lukas Wagner
@ 2025-05-23 8:30 ` Lukas Wagner
2025-05-23 8:30 ` [pve-devel] [PATCH debcargo-config proxmox/trixie 4/4] update lettre to 0.11.13 Lukas Wagner
2025-05-23 9:13 ` [pve-devel] applied-series: [PATCH debcargo-config proxmox/trixie 0/4] package lettre and Thomas Lamprecht
4 siblings, 0 replies; 6+ messages in thread
From: Lukas Wagner @ 2025-05-23 8:30 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---
src/lettre/debian/changelog | 39 +++
src/lettre/debian/copyright | 38 +++
src/lettre/debian/copyright.debcargo.hint | 52 ++++
src/lettre/debian/debcargo.toml | 2 +
src/lettre/debian/patches/relax-deps.patch | 13 +
.../patches/remove_unused_features.patch | 267 ++++++++++++++++++
src/lettre/debian/patches/series | 2 +
7 files changed, 413 insertions(+)
create mode 100644 src/lettre/debian/changelog
create mode 100644 src/lettre/debian/copyright
create mode 100644 src/lettre/debian/copyright.debcargo.hint
create mode 100644 src/lettre/debian/debcargo.toml
create mode 100644 src/lettre/debian/patches/relax-deps.patch
create mode 100644 src/lettre/debian/patches/remove_unused_features.patch
create mode 100644 src/lettre/debian/patches/series
diff --git a/src/lettre/debian/changelog b/src/lettre/debian/changelog
new file mode 100644
index 0000000000..ce312dba28
--- /dev/null
+++ b/src/lettre/debian/changelog
@@ -0,0 +1,39 @@
+rust-lettre (0.11.1-2~bpo21+pve2) proxmox-rust; urgency=medium
+
+ * Rebuild for Debian Bookworm / Proxmox with debcargo 2.7.8 and base64
+ relaxed
+ * drop dkim feature, various crypto dependencies and webpki-roots
+
+ -- Proxmox Support Team <support@proxmox.com> Thu, 13 Mar 2025 08:42:59 +0100
+
+rust-lettre (0.11.1-2~bpo21+pve1) proxmox-rust; urgency=medium
+
+ * Remove dependency downgrades
+
+ -- Proxmox Support Team <support@proxmox.com> Wed, 24 Jul 2024 15:15:04 +0200
+
+rust-lettre (0.11.1-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+
+ * Package lettre 0.11.1 from crates.io using debcargo 2.6.0
+ * Downgrade fastrand from 2.0 to 1.8
+ * Downgrade idna from 0.4 to 0.3
+ * Downgrade url from 2.4 to 2.3
+ * Drop patch that upgrades quoted_printable
+
+ -- Lukas Wagner <l.wagner@proxmox.com> Wed, 08 Nov 2023 13:32:49 +0100
+
+rust-lettre (0.10.4-1~bpo12+pve1) proxmox-rust; urgency=medium
+
+ * Rebuild for Debian Bookworm / Proxmox
+
+ -- Proxmox Support Team <support@proxmox.com> Fri, 04 Aug 2023 14:24:15 +0200
+
+rust-lettre (0.10.4-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+
+ * Team upload.
+ * Package lettre 0.10.4 from crates.io using debcargo 2.6.0
+ * Downgrade base64 dependency from 0.21 to 0.13
+ * Upgrade quotable_printable from 0.4 to 0.5
+ * Disable unneded features in Cargo.toml (boringssl, rustls, async-std)
+
+ -- Lukas Wagner <l.wagner@proxmox.com> Tue, 01 Aug 2023 10:48:41 +0200
diff --git a/src/lettre/debian/copyright b/src/lettre/debian/copyright
new file mode 100644
index 0000000000..13561096c4
--- /dev/null
+++ b/src/lettre/debian/copyright
@@ -0,0 +1,38 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: lettre
+Upstream-Contact:
+ Alexis Mousset <contact@amousset.me>
+ Paolo Barbolini <paolo@paolo565.org>
+Source: https://github.com/lettre/lettre
+
+Files: *
+Copyright:
+ 2014-2022 Alexis Mousset <contact@amousset.me>
+ 2019-2022 Paolo Barbolini <paolo@paolo565.org>
+ 2018 K. <kayo@illumium.org>
+License: MIT
+
+Files: debian/*
+Copyright:
+ 2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2023 Lukas Wagner <l.wagner@proxmox.com>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/src/lettre/debian/copyright.debcargo.hint b/src/lettre/debian/copyright.debcargo.hint
new file mode 100644
index 0000000000..714caf351a
--- /dev/null
+++ b/src/lettre/debian/copyright.debcargo.hint
@@ -0,0 +1,52 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: lettre
+Upstream-Contact:
+ Alexis Mousset <contact@amousset.me>
+ Paolo Barbolini <paolo@paolo565.org>
+Source: https://github.com/lettre/lettre
+
+Files: *
+Copyright:
+ FIXME (overlay) UNKNOWN-YEARS Alexis Mousset <contact@amousset.me>
+ FIXME (overlay) UNKNOWN-YEARS Paolo Barbolini <paolo@paolo565.org>
+License: MIT
+Comment:
+ FIXME (overlay): Since upstream copyright years are not available in
+ Cargo.toml, they were extracted from the upstream Git repository. This may not
+ be correct information so you should review and fix this before uploading to
+ the archive.
+
+Files: LICENSE
+Copyright:
+ 2014-2022 Alexis Mousset <contact@amousset.me>
+ 2019-2022 Paolo Barbolini <paolo@paolo565.org>
+ 2018 K. <kayo@illumium.org>
+License: UNKNOWN-LICENSE; FIXME (overlay)
+Comment:
+ FIXME (overlay): These notices are extracted from files. Please review them
+ before uploading to the archive.
+
+Files: debian/*
+Copyright:
+ 2023-2025 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2023-2025 Lukas Wagner <l.wagner@proxmox.com>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/src/lettre/debian/debcargo.toml b/src/lettre/debian/debcargo.toml
new file mode 100644
index 0000000000..d69a1a27b7
--- /dev/null
+++ b/src/lettre/debian/debcargo.toml
@@ -0,0 +1,2 @@
+overlay = "."
+uploaders = ["Lukas Wagner <l.wagner@proxmox.com>"]
diff --git a/src/lettre/debian/patches/relax-deps.patch b/src/lettre/debian/patches/relax-deps.patch
new file mode 100644
index 0000000000..ee7a6e97b1
--- /dev/null
+++ b/src/lettre/debian/patches/relax-deps.patch
@@ -0,0 +1,13 @@
+Index: lettre/Cargo.toml
+===================================================================
+--- lettre.orig/Cargo.toml
++++ lettre/Cargo.toml
+@@ -127,7 +127,7 @@ version = "0.1"
+ optional = true
+
+ [dependencies.base64]
+-version = "0.21"
++version = ">= 0.21, <0.23"
+ optional = true
+
+ [dependencies.chumsky]
diff --git a/src/lettre/debian/patches/remove_unused_features.patch b/src/lettre/debian/patches/remove_unused_features.patch
new file mode 100644
index 0000000000..69fd8d377d
--- /dev/null
+++ b/src/lettre/debian/patches/remove_unused_features.patch
@@ -0,0 +1,267 @@
+Index: lettre/Cargo.toml
+===================================================================
+--- lettre.orig/Cargo.toml
++++ lettre/Cargo.toml
+@@ -114,24 +114,6 @@ required-features = [
+ "builder",
+ ]
+
+-[[example]]
+-name = "asyncstd1_smtp_tls"
+-required-features = [
+- "smtp-transport",
+- "async-std1",
+- "async-std1-rustls-tls",
+- "builder",
+-]
+-
+-[[example]]
+-name = "asyncstd1_smtp_starttls"
+-required-features = [
+- "smtp-transport",
+- "async-std1",
+- "async-std1-rustls-tls",
+- "builder",
+-]
+-
+ [[bench]]
+ name = "transport_smtp"
+ harness = false
+@@ -140,10 +122,6 @@ harness = false
+ name = "mailbox_parsing"
+ harness = false
+
+-[dependencies.async-std]
+-version = "1.8"
+-optional = true
+-
+ [dependencies.async-trait]
+ version = "0.1"
+ optional = true
+@@ -152,17 +130,9 @@ optional = true
+ version = "0.21"
+ optional = true
+
+-[dependencies.boring]
+-version = "3"
+-optional = true
+-
+ [dependencies.chumsky]
+ version = "0.9"
+
+-[dependencies.ed25519-dalek]
+-version = "2"
+-optional = true
+-
+ [dependencies.email-encoding]
+ version = "0.2"
+ optional = true
+@@ -220,23 +190,6 @@ optional = true
+ version = "0.5"
+ optional = true
+
+-[dependencies.rsa]
+-version = "0.9"
+-optional = true
+-
+-[dependencies.rustls]
+-version = "0.21"
+-features = ["dangerous_configuration"]
+-optional = true
+-
+-[dependencies.rustls-native-certs]
+-version = "0.6.2"
+-optional = true
+-
+-[dependencies.rustls-pemfile]
+-version = "1"
+-optional = true
+-
+ [dependencies.serde]
+ version = "1"
+ features = ["derive"]
+@@ -255,11 +208,6 @@ optional = true
+ version = "0.5.1"
+ optional = true
+
+-[dependencies.tokio1_boring]
+-version = "3"
+-optional = true
+-package = "tokio-boring"
+-
+ [dependencies.tokio1_crate]
+ version = "1"
+ optional = true
+@@ -270,11 +218,6 @@ version = "0.3"
+ optional = true
+ package = "tokio-native-tls"
+
+-[dependencies.tokio1_rustls]
+-version = "0.24"
+-optional = true
+-package = "tokio-rustls"
+-
+ [dependencies.tracing]
+ version = "0.1.16"
+ features = ["std"]
+@@ -290,14 +233,6 @@ version = "1"
+ features = ["v4"]
+ optional = true
+
+-[dependencies.webpki-roots]
+-version = "0.25"
+-optional = true
+-
+-[dev-dependencies.async-std]
+-version = "1.8"
+-features = ["attributes"]
+-
+ [dev-dependencies.criterion]
+ version = "0.5"
+
+@@ -333,18 +268,6 @@ version = "0.3"
+ version = "2"
+
+ [features]
+-async-std1 = [
+- "dep:async-std",
+- "dep:async-trait",
+- "dep:futures-io",
+- "dep:futures-util",
+-]
+-async-std1-rustls-tls = [
+- "async-std1",
+- "rustls-tls",
+- "dep:futures-rustls",
+-]
+-boring-tls = ["dep:boring"]
+ builder = [
+ "dep:httpdate",
+ "dep:mime",
+@@ -359,12 +282,6 @@ default = [
+ "hostname",
+ "builder",
+ ]
+-dkim = [
+- "dep:base64",
+- "dep:sha2",
+- "dep:rsa",
+- "dep:ed25519-dalek",
+-]
+ file-transport = [
+ "dep:uuid",
+ "tokio1_crate?/fs",
+@@ -377,15 +294,9 @@ file-transport-envelope = [
+ ]
+ mime03 = ["dep:mime"]
+ pool = ["dep:futures-util"]
+-rustls-tls = [
+- "dep:webpki-roots",
+- "dep:rustls",
+- "dep:rustls-pemfile",
+-]
+ sendmail-transport = [
+ "tokio1_crate?/process",
+ "tokio1_crate?/io-util",
+- "async-std?/unstable",
+ ]
+ smtp-transport = [
+ "dep:base64",
+@@ -403,21 +314,11 @@ tokio1 = [
+ "dep:futures-io",
+ "dep:futures-util",
+ ]
+-tokio1-boring-tls = [
+- "tokio1",
+- "boring-tls",
+- "dep:tokio1_boring",
+-]
+ tokio1-native-tls = [
+ "tokio1",
+ "native-tls",
+ "dep:tokio1_native_tls_crate",
+ ]
+-tokio1-rustls-tls = [
+- "tokio1",
+- "rustls-tls",
+- "dep:tokio1_rustls",
+-]
+
+ [badges.is-it-maintained-issue-resolution]
+ repository = "lettre/lettre"
+Index: lettre/examples/asyncstd1_smtp_starttls.rs
+===================================================================
+--- lettre.orig/examples/asyncstd1_smtp_starttls.rs
++++ /dev/null
+@@ -1,33 +0,0 @@
+-use lettre::{
+- message::header::ContentType, transport::smtp::authentication::Credentials, AsyncSmtpTransport,
+- AsyncStd1Executor, AsyncTransport, Message,
+-};
+-
+-#[async_std::main]
+-async fn main() {
+- tracing_subscriber::fmt::init();
+-
+- let email = Message::builder()
+- .from("NoBody <nobody@domain.tld>".parse().unwrap())
+- .reply_to("Yuin <yuin@domain.tld>".parse().unwrap())
+- .to("Hei <hei@domain.tld>".parse().unwrap())
+- .subject("Happy new async year")
+- .header(ContentType::TEXT_PLAIN)
+- .body(String::from("Be happy with async!"))
+- .unwrap();
+-
+- let creds = Credentials::new("smtp_username".to_owned(), "smtp_password".to_owned());
+-
+- // Open a remote connection to gmail using STARTTLS
+- let mailer: AsyncSmtpTransport<AsyncStd1Executor> =
+- AsyncSmtpTransport::<AsyncStd1Executor>::starttls_relay("smtp.gmail.com")
+- .unwrap()
+- .credentials(creds)
+- .build();
+-
+- // Send the email
+- match mailer.send(email).await {
+- Ok(_) => println!("Email sent successfully!"),
+- Err(e) => panic!("Could not send email: {e:?}"),
+- }
+-}
+Index: lettre/examples/asyncstd1_smtp_tls.rs
+===================================================================
+--- lettre.orig/examples/asyncstd1_smtp_tls.rs
++++ /dev/null
+@@ -1,33 +0,0 @@
+-use lettre::{
+- message::header::ContentType, transport::smtp::authentication::Credentials, AsyncSmtpTransport,
+- AsyncStd1Executor, AsyncTransport, Message,
+-};
+-
+-#[async_std::main]
+-async fn main() {
+- tracing_subscriber::fmt::init();
+-
+- let email = Message::builder()
+- .from("NoBody <nobody@domain.tld>".parse().unwrap())
+- .reply_to("Yuin <yuin@domain.tld>".parse().unwrap())
+- .to("Hei <hei@domain.tld>".parse().unwrap())
+- .subject("Happy new async year")
+- .header(ContentType::TEXT_PLAIN)
+- .body(String::from("Be happy with async!"))
+- .unwrap();
+-
+- let creds = Credentials::new("smtp_username".to_owned(), "smtp_password".to_owned());
+-
+- // Open a remote connection to gmail
+- let mailer: AsyncSmtpTransport<AsyncStd1Executor> =
+- AsyncSmtpTransport::<AsyncStd1Executor>::relay("smtp.gmail.com")
+- .unwrap()
+- .credentials(creds)
+- .build();
+-
+- // Send the email
+- match mailer.send(email).await {
+- Ok(_) => println!("Email sent successfully!"),
+- Err(e) => panic!("Could not send email: {e:?}"),
+- }
+-}
diff --git a/src/lettre/debian/patches/series b/src/lettre/debian/patches/series
new file mode 100644
index 0000000000..5a270d7772
--- /dev/null
+++ b/src/lettre/debian/patches/series
@@ -0,0 +1,2 @@
+remove_unused_features.patch
+relax-deps.patch
--
2.39.5
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [pve-devel] [PATCH debcargo-config proxmox/trixie 4/4] update lettre to 0.11.13
2025-05-23 8:30 [pve-devel] [PATCH debcargo-config proxmox/trixie 0/4] package lettre and Lukas Wagner
` (2 preceding siblings ...)
2025-05-23 8:30 ` [pve-devel] [PATCH debcargo-config proxmox/trixie 3/4] import lettre from bookworm Lukas Wagner
@ 2025-05-23 8:30 ` Lukas Wagner
2025-05-23 9:13 ` [pve-devel] applied-series: [PATCH debcargo-config proxmox/trixie 0/4] package lettre and Thomas Lamprecht
4 siblings, 0 replies; 6+ messages in thread
From: Lukas Wagner @ 2025-05-23 8:30 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---
src/lettre/debian/changelog | 8 +
src/lettre/debian/copyright.debcargo.hint | 4 +-
src/lettre/debian/patches/relax-deps.patch | 14 +-
.../patches/remove_unused_features.patch | 284 ++++++++++--------
4 files changed, 177 insertions(+), 133 deletions(-)
diff --git a/src/lettre/debian/changelog b/src/lettre/debian/changelog
index ce312dba28..7752ed7840 100644
--- a/src/lettre/debian/changelog
+++ b/src/lettre/debian/changelog
@@ -1,3 +1,11 @@
+rust-lettre (0.11.13-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+
+ * Package lettre 0.11.13 from crates.io using debcargo 2.7.8
+ * Port to trixie
+ * Relax dependency: hostname 0.4 -> 0.3
+
+ -- Lukas Wagner <l.wagner@proxmox.com> Thu, 22 May 2025 16:32:59 +0200
+
rust-lettre (0.11.1-2~bpo21+pve2) proxmox-rust; urgency=medium
* Rebuild for Debian Bookworm / Proxmox with debcargo 2.7.8 and base64
diff --git a/src/lettre/debian/copyright.debcargo.hint b/src/lettre/debian/copyright.debcargo.hint
index 714caf351a..9cf2a236b0 100644
--- a/src/lettre/debian/copyright.debcargo.hint
+++ b/src/lettre/debian/copyright.debcargo.hint
@@ -18,8 +18,8 @@ Comment:
Files: LICENSE
Copyright:
- 2014-2022 Alexis Mousset <contact@amousset.me>
- 2019-2022 Paolo Barbolini <paolo@paolo565.org>
+ 2014-2024 Alexis Mousset <contact@amousset.me>
+ 2019-2024 Paolo Barbolini <paolo@paolo565.org>
2018 K. <kayo@illumium.org>
License: UNKNOWN-LICENSE; FIXME (overlay)
Comment:
diff --git a/src/lettre/debian/patches/relax-deps.patch b/src/lettre/debian/patches/relax-deps.patch
index ee7a6e97b1..bb670e79c5 100644
--- a/src/lettre/debian/patches/relax-deps.patch
+++ b/src/lettre/debian/patches/relax-deps.patch
@@ -2,12 +2,12 @@ Index: lettre/Cargo.toml
===================================================================
--- lettre.orig/Cargo.toml
+++ lettre/Cargo.toml
-@@ -127,7 +127,7 @@ version = "0.1"
+@@ -260,7 +260,7 @@ optional = true
+ default-features = false
+
+ [dependencies.hostname]
+-version = "0.4"
++version = "0.3"
optional = true
- [dependencies.base64]
--version = "0.21"
-+version = ">= 0.21, <0.23"
- optional = true
-
- [dependencies.chumsky]
+ [dependencies.httpdate]
diff --git a/src/lettre/debian/patches/remove_unused_features.patch b/src/lettre/debian/patches/remove_unused_features.patch
index 69fd8d377d..93556977f3 100644
--- a/src/lettre/debian/patches/remove_unused_features.patch
+++ b/src/lettre/debian/patches/remove_unused_features.patch
@@ -2,125 +2,8 @@ Index: lettre/Cargo.toml
===================================================================
--- lettre.orig/Cargo.toml
+++ lettre/Cargo.toml
-@@ -114,24 +114,6 @@ required-features = [
- "builder",
- ]
-
--[[example]]
--name = "asyncstd1_smtp_tls"
--required-features = [
-- "smtp-transport",
-- "async-std1",
-- "async-std1-rustls-tls",
-- "builder",
--]
--
--[[example]]
--name = "asyncstd1_smtp_starttls"
--required-features = [
-- "smtp-transport",
-- "async-std1",
-- "async-std1-rustls-tls",
-- "builder",
--]
--
- [[bench]]
- name = "transport_smtp"
- harness = false
-@@ -140,10 +122,6 @@ harness = false
- name = "mailbox_parsing"
- harness = false
-
--[dependencies.async-std]
--version = "1.8"
--optional = true
--
- [dependencies.async-trait]
- version = "0.1"
- optional = true
-@@ -152,17 +130,9 @@ optional = true
- version = "0.21"
- optional = true
-
--[dependencies.boring]
--version = "3"
--optional = true
--
- [dependencies.chumsky]
- version = "0.9"
-
--[dependencies.ed25519-dalek]
--version = "2"
--optional = true
--
- [dependencies.email-encoding]
- version = "0.2"
- optional = true
-@@ -220,23 +190,6 @@ optional = true
- version = "0.5"
- optional = true
-
--[dependencies.rsa]
--version = "0.9"
--optional = true
--
--[dependencies.rustls]
--version = "0.21"
--features = ["dangerous_configuration"]
--optional = true
--
--[dependencies.rustls-native-certs]
--version = "0.6.2"
--optional = true
--
--[dependencies.rustls-pemfile]
--version = "1"
--optional = true
--
- [dependencies.serde]
- version = "1"
- features = ["derive"]
-@@ -255,11 +208,6 @@ optional = true
- version = "0.5.1"
- optional = true
-
--[dependencies.tokio1_boring]
--version = "3"
--optional = true
--package = "tokio-boring"
--
- [dependencies.tokio1_crate]
- version = "1"
- optional = true
-@@ -270,11 +218,6 @@ version = "0.3"
- optional = true
- package = "tokio-native-tls"
-
--[dependencies.tokio1_rustls]
--version = "0.24"
--optional = true
--package = "tokio-rustls"
--
- [dependencies.tracing]
- version = "0.1.16"
- features = ["std"]
-@@ -290,14 +233,6 @@ version = "1"
- features = ["v4"]
- optional = true
-
--[dependencies.webpki-roots]
--version = "0.25"
--optional = true
--
--[dev-dependencies.async-std]
--version = "1.8"
--features = ["attributes"]
--
- [dev-dependencies.criterion]
- version = "0.5"
-
-@@ -333,18 +268,6 @@ version = "0.3"
- version = "2"
+@@ -60,18 +60,6 @@ repository = "lettre/lettre"
+ status = "actively-developed"
[features]
-async-std1 = [
@@ -138,7 +21,7 @@ Index: lettre/Cargo.toml
builder = [
"dep:httpdate",
"dep:mime",
-@@ -359,12 +282,6 @@ default = [
+@@ -86,12 +74,6 @@ default = [
"hostname",
"builder",
]
@@ -151,7 +34,7 @@ Index: lettre/Cargo.toml
file-transport = [
"dep:uuid",
"tokio1_crate?/fs",
-@@ -377,15 +294,9 @@ file-transport-envelope = [
+@@ -104,16 +86,9 @@ file-transport-envelope = [
]
mime03 = ["dep:mime"]
pool = ["dep:futures-util"]
@@ -159,6 +42,7 @@ Index: lettre/Cargo.toml
- "dep:webpki-roots",
- "dep:rustls",
- "dep:rustls-pemfile",
+- "dep:rustls-pki-types",
-]
sendmail-transport = [
"tokio1_crate?/process",
@@ -167,7 +51,7 @@ Index: lettre/Cargo.toml
]
smtp-transport = [
"dep:base64",
-@@ -403,21 +314,11 @@ tokio1 = [
+@@ -131,21 +106,11 @@ tokio1 = [
"dep:futures-io",
"dep:futures-util",
]
@@ -186,9 +70,161 @@ Index: lettre/Cargo.toml
- "rustls-tls",
- "dep:tokio1_rustls",
-]
+ web = ["dep:web-time"]
+
+ [lib]
+@@ -153,26 +118,6 @@ name = "lettre"
+ path = "src/lib.rs"
+
+ [[example]]
+-name = "asyncstd1_smtp_starttls"
+-path = "examples/asyncstd1_smtp_starttls.rs"
+-required-features = [
+- "smtp-transport",
+- "async-std1",
+- "async-std1-rustls-tls",
+- "builder",
+-]
+-
+-[[example]]
+-name = "asyncstd1_smtp_tls"
+-path = "examples/asyncstd1_smtp_tls.rs"
+-required-features = [
+- "smtp-transport",
+- "async-std1",
+- "async-std1-rustls-tls",
+- "builder",
+-]
+-
+-[[example]]
+ name = "autoconfigure"
+ path = "examples/autoconfigure.rs"
+ required-features = [
+@@ -281,10 +226,6 @@ name = "transport_smtp"
+ path = "benches/transport_smtp.rs"
+ harness = false
+
+-[dependencies.async-std]
+-version = "1.8"
+-optional = true
+-
+ [dependencies.async-trait]
+ version = "0.1"
+ optional = true
+@@ -293,17 +234,9 @@ optional = true
+ version = "0.22"
+ optional = true
+
+-[dependencies.boring]
+-version = "4"
+-optional = true
+-
+ [dependencies.chumsky]
+ version = "0.9"
+
+-[dependencies.ed25519-dalek]
+-version = "2"
+-optional = true
+-
+ [dependencies.email-encoding]
+ version = "0.3"
+ optional = true
+@@ -320,16 +253,6 @@ optional = true
+ version = "0.3.7"
+ optional = true
+
+-[dependencies.futures-rustls]
+-version = "0.26"
+-features = [
+- "logging",
+- "tls12",
+- "ring",
+-]
+-optional = true
+-default-features = false
+-
+ [dependencies.futures-util]
+ version = "0.3.7"
+ features = ["io"]
+@@ -367,33 +290,6 @@ optional = true
+ version = "0.5"
+ optional = true
+
+-[dependencies.rsa]
+-version = "0.9"
+-optional = true
+-
+-[dependencies.rustls]
+-version = "0.23.5"
+-features = [
+- "ring",
+- "logging",
+- "std",
+- "tls12",
+-]
+-optional = true
+-default-features = false
+-
+-[dependencies.rustls-native-certs]
+-version = "0.8"
+-optional = true
+-
+-[dependencies.rustls-pemfile]
+-version = "2"
+-optional = true
+-
+-[dependencies.rustls-pki-types]
+-version = "1.7"
+-optional = true
+-
+ [dependencies.serde]
+ version = "1"
+ features = ["derive"]
+@@ -412,11 +308,6 @@ optional = true
+ version = "0.5.1"
+ optional = true
+
+-[dependencies.tokio1_boring]
+-version = "4"
+-optional = true
+-package = "tokio-boring"
+-
+ [dependencies.tokio1_crate]
+ version = "1"
+ optional = true
+@@ -427,17 +318,6 @@ version = "0.3"
+ optional = true
+ package = "tokio-native-tls"
+
+-[dependencies.tokio1_rustls]
+-version = "0.26"
+-features = [
+- "logging",
+- "tls12",
+- "ring",
+-]
+-optional = true
+-default-features = false
+-package = "tokio-rustls"
+-
+ [dependencies.tracing]
+ version = "0.1.16"
+ features = ["std"]
+@@ -457,14 +337,6 @@ optional = true
+ version = "1.1.0"
+ optional = true
+
+-[dependencies.webpki-roots]
+-version = "0.26"
+-optional = true
+-
+-[dev-dependencies.async-std]
+-version = "1.8"
+-features = ["attributes"]
+-
+ [dev-dependencies.criterion]
+ version = "0.5"
- [badges.is-it-maintained-issue-resolution]
- repository = "lettre/lettre"
Index: lettre/examples/asyncstd1_smtp_starttls.rs
===================================================================
--- lettre.orig/examples/asyncstd1_smtp_starttls.rs
--
2.39.5
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [pve-devel] applied-series: [PATCH debcargo-config proxmox/trixie 0/4] package lettre and
2025-05-23 8:30 [pve-devel] [PATCH debcargo-config proxmox/trixie 0/4] package lettre and Lukas Wagner
` (3 preceding siblings ...)
2025-05-23 8:30 ` [pve-devel] [PATCH debcargo-config proxmox/trixie 4/4] update lettre to 0.11.13 Lukas Wagner
@ 2025-05-23 9:13 ` Thomas Lamprecht
4 siblings, 0 replies; 6+ messages in thread
From: Thomas Lamprecht @ 2025-05-23 9:13 UTC (permalink / raw)
To: pve-devel, Lukas Wagner
On Fri, 23 May 2025 10:30:16 +0200, Lukas Wagner wrote:
> Initial packaging was taken from bookworm and then updated.
> lettre was updated to the last version that still uses nom 7.
> Tried to get the latest version (0.11.16) to compile with nom 7,
> but it seems there were quite a few breaking changes. Updating nom
> to version 8 also seems to be a big hassle, quite a few
> crates have a dependency on nom.
>
> [...]
Applied, thanks!
[1/4] import email-encoding from bookworm
commit: 9d70974066c3522caf867071dd46a2169f466df1
[2/4] update email-encoding to 0.3.1
commit: b8d114be189e747a8048db214dd662806d4bcaa5
[3/4] import lettre from bookworm
commit: 43c0a26ad6e94e7d338d857e8ae70f964fea899c
[4/4] update lettre to 0.11.13
commit: 2df67f239857cfe749125468b249f7b332358f46
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-05-23 9:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-23 8:30 [pve-devel] [PATCH debcargo-config proxmox/trixie 0/4] package lettre and Lukas Wagner
2025-05-23 8:30 ` [pve-devel] [PATCH debcargo-config proxmox/trixie 1/4] import email-encoding from bookworm Lukas Wagner
2025-05-23 8:30 ` [pve-devel] [PATCH debcargo-config proxmox/trixie 2/4] update email-encoding to 0.3.1 Lukas Wagner
2025-05-23 8:30 ` [pve-devel] [PATCH debcargo-config proxmox/trixie 3/4] import lettre from bookworm Lukas Wagner
2025-05-23 8:30 ` [pve-devel] [PATCH debcargo-config proxmox/trixie 4/4] update lettre to 0.11.13 Lukas Wagner
2025-05-23 9:13 ` [pve-devel] applied-series: [PATCH debcargo-config proxmox/trixie 0/4] package lettre and Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal