From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4811A1395E2 for ; Sat, 3 Dec 2016 14:37:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E35A1E0C0C; Sat, 3 Dec 2016 14:36:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ADFB5E0C0C for ; Sat, 3 Dec 2016 14:36:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6C4B2341134 for ; Sat, 3 Dec 2016 14:36:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A65A4A1 for ; Sat, 3 Dec 2016 14:36:55 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1480775769.a647e6a9d096680b9f7aa80b8ef94bb411394e47.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/pypolicyd-spf/Manifest mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.0.ebuild X-VCS-Directories: mail-filter/pypolicyd-spf/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: a647e6a9d096680b9f7aa80b8ef94bb411394e47 X-VCS-Branch: master Date: Sat, 3 Dec 2016 14:36:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d9f88b96-ab66-466b-a799-2f654d4bb793 X-Archives-Hash: 67e0d90556f479f5515260e8e21abb28 commit: a647e6a9d096680b9f7aa80b8ef94bb411394e47 Author: Michael Orlitzky gentoo org> AuthorDate: Sat Dec 3 14:36:09 2016 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Sat Dec 3 14:36:09 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a647e6a9 mail-filter/pypolicyd-spf: new version 2.0.0. Package-Manager: portage-2.3.0 mail-filter/pypolicyd-spf/Manifest | 1 + .../pypolicyd-spf/pypolicyd-spf-2.0.0.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/mail-filter/pypolicyd-spf/Manifest b/mail-filter/pypolicyd-spf/Manifest index b5d8f01..ebba391 100644 --- a/mail-filter/pypolicyd-spf/Manifest +++ b/mail-filter/pypolicyd-spf/Manifest @@ -1 +1,2 @@ DIST pypolicyd-spf-1.3.2.tar.gz 32973 SHA256 7174c46a26c9c35b0d66ddba821b02b0dc2df9d1f6bf0c9da71dcd60795b2966 SHA512 e80b13a0cf9f8406592db5edcb9770051352b3f637d4d9d5bd96295710bf3728a8350c0697e5b430698b0d9d226c83c9decb67923ed5cdb3502ee15509715af4 WHIRLPOOL 91051b0702098b14d0e8281184219f7c96304b59b8a56b7088810af83383b18feb414b53eb259f9d13a37a108373633adeb4a7f866bbd54a480cb1ec287af6a6 +DIST pypolicyd-spf-2.0.0.tar.gz 37810 SHA256 a91e13f1d40d5ab0b63875967d5950440ab387efeea41dad46cac39b24158838 SHA512 76250192f07f06e223b99e6532ee62e35d656123400feab64e4dcec3219489cb85ef98328110b5892d55a78d016359016eac958f16bbbea7cff25e8d7f6f985c WHIRLPOOL 4592510e4da07418750a43d46c2c1c724c9311498daf81cb9ef16ca0ad1ed7b48b35fe0378676facd90e6736b320915402e73a30cf042f2e5aca17972ab4fe52 diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.0.ebuild b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.0.ebuild new file mode 100644 index 00000000..fb74bcf --- /dev/null +++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python3_4 ) + +# The built-in ipaddress module handles the parsing of IP addresses. If +# python is built without ipv6 support, then ipaddress can't parse ipv6 +# addresses, and the daemon will crash if it sees an ipv6 SPF record. In +# other words, it's completely broken. +PYTHON_REQ_USE="ipv6" + +inherit distutils-r1 + +DESCRIPTION="Python-based policy daemon for Postfix SPF verification" +HOMEPAGE="https://launchpad.net/${PN}" +SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=dev-python/pyspf-2.0.9[${PYTHON_USEDEP}]" + +RDEPEND="${DEPEND} + dev-python/authres[${PYTHON_USEDEP}]" + +DOCS=( CHANGES policyd-spf.conf.commented README README.per_user_whitelisting ) + +python_prepare_all() { + # The "real" config file mentions the commented one, so we point + # users in the right direction. + local oldconf="policyd-spf.conf.commented" + local newconf="/usr/share/doc/${PF}/${oldconf}" + + sed -i "1 s~ ${oldconf}~,\n# ${newconf}~" policyd-spf.conf \ + || die 'failed to update commented config file path' + + distutils-r1_python_prepare_all +}