diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 16c218f..20406f2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,7 +95,7 @@ jobs: run: | mkdir -p release BINARY="target/${{ matrix.target }}/release/${{ env.BINARY_NAME }}" - cp README.md LICENSE release/ + cp README.md LICENSE license.html release/ cp "$BINARY" release/ tar -czvf "${{ env.BINARY_NAME }}-${{ github.ref_name }}-${{ matrix.target }}.tar.gz" -C release . mv "${{ env.BINARY_NAME }}-${{ github.ref_name }}-${{ matrix.target }}.tar.gz" release/ @@ -116,6 +116,7 @@ jobs: Copy-Item -Path $BINARY -Destination release/ Copy-Item -Path README.md -Destination release/ Copy-Item -Path LICENSE -Destination release/ + Copy-Item -Path license.html -Destination release/ Compress-Archive -Path release\* -DestinationPath "release/${{ env.BINARY_NAME }}-${{ github.ref_name }}-${{ matrix.target }}.zip" -Force - name: Upload build artifact diff --git a/README.md b/README.md index 8ca01b5..41f48e1 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,7 @@ It does **not rely on real-time push**, but instead performs full or incremental Mail events are then emitted as: RustMailer detects mail changes (e.g. new messages, flag updates, etc.) by periodically scanning IMAP folders. -It performs either **full** or **incremental synchronization**, depending on configuration. +It performs either **full** or **incremental synchronization**, depending on configuration. see details [`https://rustmailer.com/docs/guide/imap-sync`](https://rustmailer.com/docs/guide/imap-sync) Detected events can be forwarded using: diff --git a/about.hbs b/about.hbs new file mode 100644 index 0000000..f74e8ea --- /dev/null +++ b/about.hbs @@ -0,0 +1,70 @@ + + + + + + + +
+
+

Third Party Licenses

+

This page lists the licenses of the projects used in RustMailer.

+
+ +

Overview of licenses:

+ + +

All license text:

+ +
+ + + diff --git a/about.toml b/about.toml new file mode 100644 index 0000000..768397e --- /dev/null +++ b/about.toml @@ -0,0 +1,18 @@ +accepted = [ + "Apache-2.0", + "MIT", + "BSD-3-Clause", + "MPL-2.0", + "ISC", + "Unicode-3.0", + "BSL-1.0", + "Unicode-DFS-2016", + "CDLA-Permissive-2.0", + "Zlib", + "Apache-2.0 WITH LLVM-exception", + "0BSD", + "BSD-2-Clause", + "NCSA", + "CC0-1.0", + "OpenSSL" +] diff --git a/docker/Dockerfile b/docker/Dockerfile index 02fc921..010b020 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -15,7 +15,8 @@ WORKDIR /opt/rustmailer # Copy compiled binary (ensure it's statically linked or compatible with bullseye) COPY --chown=rmailer:rmailer rustmailer /opt/rustmailer/rustmailer - +COPY --chown=rmailer:rmailer LICENSE /opt/rustmailer/ +COPY --chown=rmailer:rmailer license.html /opt/rustmailer/ # Set proper permissions RUN chmod +x /opt/rustmailer/rustmailer diff --git a/license.html b/license.html new file mode 100644 index 0000000..820a429 --- /dev/null +++ b/license.html @@ -0,0 +1,20585 @@ + + + + + + + +
+
+

Third Party Licenses

+

This page lists the licenses of the projects used in RustMailer.

+
+ +

Overview of licenses:

+ + +

All license text:

+ +
+ + +