[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/10: gnu: opensmtpd-filter-dkimsign: Update to 0.5.
From: |
guix-commits |
Subject: |
03/10: gnu: opensmtpd-filter-dkimsign: Update to 0.5. |
Date: |
Thu, 10 Jun 2021 18:44:06 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 809e5f76025a55f07a70f93021ecf860eaf096d8
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Thu Jun 10 19:13:57 2021 +0200
gnu: opensmtpd-filter-dkimsign: Update to 0.5.
* gnu/packages/mail.scm (opensmtpd-filter-dkimsign): Update to 0.5.
[source]: Use the upstream release tarball now.
[arguments]: Adjust #:make-flags to new upstream Makefile.gnu.
Remove obsolete custom 'unpack and 'install phases.
Add a new 'inherit-ownership phase.
[native-inputs]: Remove Arch Linux Makefile. Add mandoc. Remove the
libopensmtpd sources in favour of…
[inputs]: …the real thing.
---
gnu/packages/mail.scm | 56 +++++++++++++++------------------------------------
1 file changed, 16 insertions(+), 40 deletions(-)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 6f75ac7..13f3415 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -3133,58 +3133,34 @@ writing OpenSMTPd filters.")
(define-public opensmtpd-filter-dkimsign
(package
(name "opensmtpd-filter-dkimsign")
- ;; The .arch repackaging provides not only a usable Makefile, but patches
- ;; the source to actually build on GNU, e.g., by making pledge() optional.
- ;; It's effectively the portable branch that upstream lacks at this time.
- (version "0.2.arch2") ; also update both native-inputs
+ (version "0.5")
(source
(origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/de-vri-es/filter-dkimsign")
- (commit (string-append "v" version))))
+ (method url-fetch)
+ (uri (string-append "https://distfiles.sigtrap.nl/"
+ "filter-dkimsign-" version ".tar.gz"))
(sha256
- (base32 "1dv6184h0gq2safnc7ln4za3arbafzc1xwkgwmiihqcjvdyxig0c"))
- (file-name (git-file-name name version))))
+ (base32 "0jwp47ixibnz8rghn193bk2hxh1j1zfrnidml18j7d7cylxfrd55"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
- (list (string-append "CC=" ,(cc-for-target)))
+ (list "-f" "Makefile.gnu"
+ (string-append "CC=" ,(cc-for-target))
+ (string-append "LOCALBASE=" (assoc-ref %outputs "out")))
#:tests? #f ; no test suite
#:phases
(modify-phases %standard-phases
- (replace 'unpack
- (lambda* (#:key source inputs #:allow-other-keys)
- (copy-recursively source "filter-dkimsign")
- (copy-recursively (assoc-ref inputs "libopensmtpd-source")
- "libopensmtpd")
- (copy-file (assoc-ref inputs "Makefile") "Makefile")
- #t))
- (delete 'configure) ; no configure script
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (libexec (string-append out "/libexec/opensmtpd"))
- (man8 (string-append out "/share/man/man8")))
- (chdir "filter-dkimsign")
- (install-file "filter-dkimsign" libexec)
- (install-file "filter-dkimsign.8" man8)
- #t))))))
+ (add-after 'unpack 'inherit-ownership
+ (lambda _
+ (substitute* "Makefile.gnu"
+ (("-o \\$\\{...OWN\\} -g \\$\\{...GRP\\}") ""))))
+ (delete 'configure)))) ; no configure script
(native-inputs
- `(("Makefile"
- ,(origin
- (method url-fetch)
- (uri (string-append
- "https://aur.archlinux.org/cgit/aur.git/plain/Makefile"
- "?h=opensmtpd-filter-dkimsign"
- "&id=58393470477a2ff2a58f9d72f5d851698067539f"))
- (sha256
- (base32 "0da5qr9hfjkf07ybvfva967njmf2x0b82z020r6v5f93jzsbqx92"))
- (file-name (string-append name "-" version "-Makefile"))))
- ("libopensmtpd-source" ,(package-source libopensmtpd))))
+ `(("mandoc" ,mandoc))) ; silently installs empty man page
without
(inputs
`(("libevent" ,libevent)
- ("libressl" ,libressl))) ; openssl works too but follow
opensmtpd
+ ("libressl" ,libressl) ; openssl works too but follow
opensmtpd
+ ("libopensmtpd" ,libopensmtpd)))
(home-page "http://imperialat.at/dev/filter-dkimsign/")
(synopsis "OpenSMTPd filter for signing mail with DKIM")
(description
- branch master updated (10e38c3 -> 8871671), guix-commits, 2021/06/10
- 01/10: gnu: libopensmtpd: Update to 0.7., guix-commits, 2021/06/10
- 03/10: gnu: opensmtpd-filter-dkimsign: Update to 0.5.,
guix-commits <=
- 05/10: gnu: klavaro: Update to 3.13., guix-commits, 2021/06/10
- 02/10: gnu: libopensmtpd: Make public., guix-commits, 2021/06/10
- 09/10: gnu: dtc: Update to 1.6.1., guix-commits, 2021/06/10
- 08/10: gnu: squashfs-tools: Install some documentation., guix-commits, 2021/06/10
- 04/10: gnu: opensmtpd-filter-dkimsign: Support ed25519 signatures., guix-commits, 2021/06/10
- 06/10: gnu: squashfs-tools: Build from upstream git., guix-commits, 2021/06/10
- 07/10: gnu: squashfs-tools: Support Zstandard compression., guix-commits, 2021/06/10
- 10/10: gnu: thermald: Update to 2.4.6., guix-commits, 2021/06/10