From owner-svn-ports-head@freebsd.org Thu Dec 1 23:41:26 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B667C61EB6; Thu, 1 Dec 2016 23:41:26 +0000 (UTC) (envelope-from junovitch@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EF3B117D3; Thu, 1 Dec 2016 23:41:25 +0000 (UTC) (envelope-from junovitch@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uB1NfPaY087543; Thu, 1 Dec 2016 23:41:25 GMT (envelope-from junovitch@FreeBSD.org) Received: (from junovitch@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uB1NfPmD087541; Thu, 1 Dec 2016 23:41:25 GMT (envelope-from junovitch@FreeBSD.org) Message-Id: <201612012341.uB1NfPmD087541@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: junovitch set sender to junovitch@FreeBSD.org using -f From: Jason Unovitch Date: Thu, 1 Dec 2016 23:41:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427533 - in head/mail/py-milter: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2016 23:41:26 -0000 Author: junovitch Date: Thu Dec 1 23:41:24 2016 New Revision: 427533 URL: https://svnweb.freebsd.org/changeset/ports/427533 Log: mail/py-milter: fix runtime crash; pass on MAINTAINER - Import patch to resolve crash during IPv6 connection handling. Submitter has coordinated fix with upstream; it can be removed next update. - Pass on MAINTAINER to from ports@ to submitter. - While here, move DIST_SUBDIR to appease portlint. PR: 214317 Submitted by: schmidt@ze.tum.de MFH: 2016Q4 (blanket) Added: head/mail/py-milter/files/ head/mail/py-milter/files/patch-miltermodule.c (contents, props changed) Modified: head/mail/py-milter/Makefile Modified: head/mail/py-milter/Makefile ============================================================================== --- head/mail/py-milter/Makefile Thu Dec 1 23:36:56 2016 (r427532) +++ head/mail/py-milter/Makefile Thu Dec 1 23:41:24 2016 (r427533) @@ -3,13 +3,14 @@ PORTNAME= milter PORTVERSION= 1.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail python MASTER_SITES= SF/${PYPORTNAME}/${PYPORTNAME}/${DISTNAME} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PYPORTNAME}-${PORTVERSION} +DIST_SUBDIR= python -MAINTAINER= ports@FreeBSD.org +MAINTAINER= estartu@augusta.de COMMENT= Python interface to Sendmail milter API LICENSE= GPLv2+ @@ -22,7 +23,6 @@ CFLAGS+= -I${LOCALBASE}/include PYPORTNAME= ${PKGNAMEPREFIX:C/[0-9]+-//}${PORTNAME} -DIST_SUBDIR= python USES= python:2 USE_PYTHON= distutils autoplist Added: head/mail/py-milter/files/patch-miltermodule.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/py-milter/files/patch-miltermodule.c Thu Dec 1 23:41:24 2016 (r427533) @@ -0,0 +1,11 @@ +--- miltermodule.c.orig 2013-03-15 20:50:01 UTC ++++ miltermodule.c +@@ -285,7 +285,7 @@ $ python setup.py help + * published. Unfortunately I know of no good way to do this + * other than with OS-specific tests. + */ +-#if defined(__FreeBSD_kernel__) || defined(__linux__) ++#if defined(__FreeBSD__) || defined(__linux__) + #define HAVE_IPV6_RFC2553 + #include + #endif