Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2013 21:02:48 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        me@mortis.eu
Subject:   ports/181400: [PATCH] mail/py27-postfix-policyd-spf-python: update to 1.2
Message-ID:  <20130819130248.B63B549E0@sunpoet.net>
Resent-Message-ID: <201308191320.r7JDK0fw034819@freefall.freebsd.org>

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

>Number:         181400
>Category:       ports
>Synopsis:       [PATCH] mail/py27-postfix-policyd-spf-python: update to 1.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 19 13:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 9.1-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r252797: Sat Jul  6 07:57:04
>Description:
- Update to 1.2
- Cleanup Makefile header
- Convert to new options framework
- Update WWW

Changes:	http://bazaar.launchpad.net/~kitterman/pypolicyd-spf/trunk/view/head:/CHANGES

Port maintainer (me@mortis.eu) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: update, diff: SVN)
>How-To-Repeat:
>Fix:

--- py27-postfix-policyd-spf-python-1.2.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 324985)
+++ Makefile	(working copy)
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	postfix-policyd-spf-python
-# Date created:				8 Jan 2010
-# Whom:					Giel van Schijndel <me@mortis.eu>
-#
+# Created by: Giel van Schijndel <me@mortis.eu>
 # $FreeBSD$
-#
 
 PORTNAME=	postfix-policyd-spf-python
-PORTVERSION=	1.0
+PORTVERSION=	1.2
 CATEGORIES=	mail python
 MASTER_SITES=	http://launchpad.net/pypolicyd-spf/${PORTVERSION}/${PORTVERSION}/+download/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,8 +11,10 @@
 MAINTAINER=	me@mortis.eu
 COMMENT=	Pure Python Postfix policy daemon for SPF checking
 
-RUN_DEPENDS=	${PYTHON_SITELIBDIR}/spf.py:${PORTSDIR}/mail/py-spf
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}spf>=0:${PORTSDIR}/mail/py-spf
 
+OPTIONS_DEFINE=	DOCS
+
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 PYDISTUTILS_PKGNAME=	python-policyd-spf
@@ -28,19 +26,20 @@
 MAN1=		policyd-spf.1
 MAN5=		policyd-spf.conf.5 \
 		policyd-spf.peruser.5
-
 PORTDOCS=	CHANGES \
 		COPYING \
 		README \
 		README.per_user_whitelisting \
-		TODO \
 		policyd-spf.conf.commented
+PYDISTUTILS_EGGINFO=	${DISTNAME:S/-/_/}-py${PYTHON_VER}.egg-info
 
 PKGMESSAGE=	${WRKSRC}/pkg-message
 
 SUB_FILES=	pkg-message
 SUB_LIST=	PYTHON_CMD=${PYTHON_CMD}
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e '\/etc/s|/etc|etc|' ${WRKSRC}/setup.py
 
@@ -52,7 +51,7 @@
 	${INSTALL_MAN} ${WRKSRC}/policyd-spf.peruser.5 ${MANPREFIX}/man/man5
 	@${INSTALL} -d ${ETCDIR}/
 	${INSTALL_DATA} ${WRKSRC}/policyd-spf.conf ${ETCDIR}/policyd-spf.conf.sample
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${INSTALL} -d ${DOCSDIR}/
 	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
 .endif
Index: distinfo
===================================================================
--- distinfo	(revision 324985)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (pypolicyd-spf-1.0.tar.gz) = c57aa4bae4f6ed2321acf0f9361cbdce652fb4c1c948b063a0909744815e0c8d
-SIZE (pypolicyd-spf-1.0.tar.gz) = 30204
+SHA256 (pypolicyd-spf-1.2.tar.gz) = e1a94c79ad91cfea17b9c8b19b035536f06d75ff9ee2e8478191e7c27fe69f74
+SIZE (pypolicyd-spf-1.2.tar.gz) = 30783
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 324985)
+++ pkg-descr	(working copy)
@@ -1,6 +1,4 @@
 python-policyd-spf is a Postfix SMTPd policy engine for SPF checking. It is
 implemented in pure Python and uses the python-spf module.
 
-WWW: http://www.openspf.org/Software
-
-Giel van Schijndel <me@mortis.eu>
+WWW: https://launchpad.net/pypolicyd-spf/
--- py27-postfix-policyd-spf-python-1.2.patch ends here ---

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



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