Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2014 22:46:29 GMT
From:      Mikhail <mp39590@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/188367: [patch] update: mail/getmail
Message-ID:  <201404072246.s37MkTvj029825@cgiserv.freebsd.org>
Resent-Message-ID: <201404072250.s37Mo1Do092738@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188367
>Category:       ports
>Synopsis:       [patch] update: mail/getmail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 07 22:50:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Mikhail
>Release:        10.0-RELEASE
>Organization:
>Environment:
>Description:
Attached patch do the following:
- update from 4.43.0 to 4.46.0
- add stage support
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN getmail.orig/Makefile getmail/Makefile
--- getmail.orig/Makefile	2014-04-06 18:21:53.000000000 +0400
+++ getmail/Makefile	2014-04-08 02:34:18.000000000 +0400
@@ -2,7 +2,7 @@
 # $FreeBSD: head/mail/getmail/Makefile 345418 2014-02-21 13:37:56Z ehaupt $
 
 PORTNAME=	getmail
-PORTVERSION=	4.43.0
+PORTVERSION=	4.46.0
 CATEGORIES=	mail python
 MASTER_SITES=	http://pyropus.ca/software/getmail/old-versions/ \
 		http://mirrors.closedsrc.org/getmail/
@@ -15,26 +15,22 @@
 USE_PYTHON=	2
 USE_PYDISTUTILS=yes
 
-MAN1=		getmail.1 getmail_fetch.1 getmail_maildir.1 getmail_mbox.1
 PORTDOCS=	README BUGS CHANGELOG THANKS TODO *.txt *.html *.css
 
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
 .include <bsd.port.options.mk>
 
 post-install:
-	@${CHMOD} -R 644 ${PYTHON_SITELIBDIR}/getmailcore/*
+	@${CHMOD} -R 644 ${STAGEDIR}${PYTHON_SITELIBDIR}/getmailcore/*
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/docs/getmailrc-examples ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/docs/getmailrc-examples ${STAGEDIR}${EXAMPLESDIR}
 .endif
 .if ${PORT_OPTIONS:MDOCS}
 	@${CP} ${WRKSRC}/README ${WRKSRC}/docs/
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR}
 .endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -urN getmail.orig/distinfo getmail/distinfo
--- getmail.orig/distinfo	2014-04-06 18:21:53.000000000 +0400
+++ getmail/distinfo	2014-04-08 02:34:46.000000000 +0400
@@ -1,2 +1,2 @@
-SHA256 (getmail-4.43.0.tar.gz) = 1e22458966344983d38affd2c443929171d48a1107cf8298293e5d291a916c29
-SIZE (getmail-4.43.0.tar.gz) = 140511
+SHA256 (getmail-4.46.0.tar.gz) = f423269290e8afc0071cabeae88d3f1adfd9dc351041ac14a2d4e05b44ad3897
+SIZE (getmail-4.46.0.tar.gz) = 189522
diff -urN getmail.orig/pkg-plist getmail/pkg-plist
--- getmail.orig/pkg-plist	2014-04-06 18:21:53.000000000 +0400
+++ getmail/pkg-plist	2014-04-08 02:41:27.000000000 +0400
@@ -2,6 +2,10 @@
 bin/getmail_fetch
 bin/getmail_maildir
 bin/getmail_mbox
+man/man1/getmail.1.gz
+man/man1/getmail_fetch.1.gz
+man/man1/getmail_maildir.1.gz
+man/man1/getmail_mbox.1.gz
 %%PYTHON_SITELIBDIR%%/getmailcore/__init__.py
 %%PYTHON_SITELIBDIR%%/getmailcore/__init__.pyc
 %%PYTHON_SITELIBDIR%%/getmailcore/__init__.pyo
@@ -47,3 +51,5 @@
 %%EXAMPLESDIR%%/getmailrc-examples
 @dirrm %%EXAMPLESDIR%%
 @dirrm %%PYTHON_SITELIBDIR%%/getmailcore
+@dirrmtry %%PYTHON_SITELIBDIR%%
+@dirrmtry %%PYTHON_LIBDIR%%


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404072246.s37MkTvj029825>