GNU bug report logs -
#43399
[PATCH v2] gnu: Add ripmime.
Previous Next
Reported by: Sébastien Lerique <sl <at> eauchat.org>
Date: Mon, 14 Sep 2020 15:48:02 UTC
Severity: normal
Tags: patch
Merged with 43338
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Mon, 14 Sep 2020 23:01:11 +0200
with message-id <87wo0w9ip4.fsf <at> gnu.org>
and subject line Re: [bug#43399] [PATCH v2] gnu: Add ripmime.
has caused the debbugs.gnu.org bug report #43399,
regarding [PATCH] gnu: Add ripmime.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
43399: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43399
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* gnu/packages/mail.scm (ripmime): New variable.
---
gnu/packages/mail.scm | 44
+++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 7af7e8a8d7..48e9a11522 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -627,6 +627,50 @@ Extension (MIME).")
(base32
"0slzlzcr3h8jikpz5a5amqd0csqh2m40gdk910ws2hnaf5m6hjbi"))))))
+(define-public ripmime
+ (let ((commit "a556ffe08d620602475c976732e8e1a82f3169e9")
+ (revision "1"))
+ (package
+ (name "ripmime")
+ (version (git-version "1.4.0.10" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/inflex/ripMIME")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+
"1z8ar8flvkd9q3ax4x28sj5pyq8ykk5pq249y967lj2406lxparh"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; Source has no configure script
+ (delete 'configure)
+ ;; Buildcodes make the build non-reproducible; remove
them
+ (add-after 'unpack 'strip-buildcodes
+ (lambda _
+ (substitute* "generate-buildcodes.sh"
+ (("`date \\+%s`") "0")
+ (("`date`") "0")
+ (("`uname -a`") "Guix"))))
+ ;; https://github.com/inflex/ripMIME/pull/16 makes
`mkdir-p-bin-man unnecessary
+ (add-before 'install 'mkdir-p-bin-man
+ (lambda _
+ (mkdir-p (string-append (assoc-ref %outputs "out")
"/bin"))
+ (mkdir-p (string-append (assoc-ref %outputs "out")
"/man")))))
+ ;; Makefile has no tests
+ #:tests? #f
+ #:make-flags (list (string-append "LOCATION=" (assoc-ref
%outputs "out"))
+ "CC=gcc")))
+ (synopsis "Extract attachments from MIME-encoded email")
+ (description
+ "ripMIME is a small program which is used to extract the
attached files
+out of a MIME-encoded email package.")
+ (home-page "https://github.com/inflex/ripMIME")
+ (license license:bsd-3))))
+
(define-public bogofilter
(package
(name "bogofilter")
--
2.28.0
---
Hello Guix!
This is my first contribution -- please let me know if things
should be adapted!
Cheers,
Sébastien
[Message part 3 (message/rfc822, inline)]
Hi,
Sébastien Lerique <sl <at> eauchat.org> skribis:
> * gnu/packages/mail.scm (ripmime): New variable.
Perfect, applied!
> This fixes the issues raised from the first patch (bug#43338).
Note: since each message to guix-patches opens a new issue at
<https://issues.guix.gnu.org>, make sure to send followups to
NNN <at> debbugs.gnu.org, where NNN is the issue number of your v1.
(In this case I merged the two issues, no big deal; just so you know!)
Thanks,
Ludo’.
This bug report was last modified 4 years and 250 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.