ports/52282: getmail patch- there is a getmail_mbox
Martin Klaffenboeck
martin.klaffenboeck at gmx.at
Thu May 15 14:40:14 UTC 2003
>Number: 52282
>Category: ports
>Synopsis: getmail patch- there is a getmail_mbox
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu May 15 07:40:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Martin Klaffenboeck
>Release: FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD martin.kleinerdrache.org 4.8-STABLE FreeBSD 4.8-STABLE #2: Tue Apr 29 23:55:02 CEST 2003 martin at martin.kleinerdrache.org:/usr/obj/usr/src/sys/MYKERNEL i386
>Description:
Getmail has now a getmail_mbox script to deliver emails to an mbox. This was not implemented in the install script, but I really need that. So I added it.
>How-To-Repeat:
>Fix:
There will be created a patch-getmail_mbox because we do not have python in /usr/bin, normally we have python scripts with #!/usr/bin/env python. This works now.
--- getmail.diff begins here ---
diff -Nur getmail.orig/Makefile getmail/Makefile
--- getmail.orig/Makefile Sun Feb 23 14:11:57 2003
+++ getmail/Makefile Thu May 15 16:21:13 2003
@@ -25,6 +25,7 @@
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/getmail ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/getmail_mbox ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR}
@${MKDIR} ${EXAMPLESDIR}
diff -Nur getmail.orig/files/patch-getmail_mbox getmail/files/patch-getmail_mbox
--- getmail.orig/files/patch-getmail_mbox Thu Jan 1 01:00:00 1970
+++ getmail/files/patch-getmail_mbox Thu May 15 16:25:25 2003
@@ -0,0 +1,8 @@
+--- getmail_mbox.orig Thu May 15 16:24:37 2003
++++ getmail_mbox Thu May 15 16:24:55 2003
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/env python
+ '''getmail_mbox
+ Reads a message from stdin and delivers it to an mbox file specified as
+ a commandline argument. Expects the envelope sender address to be in the
diff -Nur getmail.orig/pkg-plist getmail/pkg-plist
--- getmail.orig/pkg-plist Sun Feb 23 14:11:57 2003
+++ getmail/pkg-plist Thu May 15 16:21:25 2003
@@ -1,4 +1,5 @@
bin/getmail
+bin/getmail_mbox
%%PORTDOCS%%share/doc/getmail/CHANGELOG
%%PORTDOCS%%share/doc/getmail/docs.txt
%%PORTDOCS%%share/doc/getmail/faq.txt
--- getmail.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list