diff --git a/mail-filter/tumgreyspf/Manifest b/mail-filter/tumgreyspf/Manifest index 27acec6..a9a2338 100644 --- a/mail-filter/tumgreyspf/Manifest +++ b/mail-filter/tumgreyspf/Manifest @@ -1,2 +1,2 @@ DIST tumgreyspf-1.38.tar.gz 30751 SHA256 bffec3f197e5a8cb009abd568b81e04f9316ded75a1e6007284282f1487993c8 SHA512 5977ec221265193f24d3740cc5d8f893906885ec4054b054eca4c57c643c0bb0bd045ad1c719440db41649b51c6d2f3bf8787c7008bb143661d18a9ffd35f204 WHIRLPOOL 03272e7524be94804178b48a76463cbcbafddc26ff1216969583847553388dd9e0425222b24e27c425de9b158d8bab59e2ed7cc66a917f7f61423b32b4b95f8e -EBUILD tumgreyspf-1.38.ebuild 1779 SHA256 774c0ce6632434582e9bd1aa6c91a25855013c21dc5de15c956962ebe2f1f37e SHA512 872212f7d8f75caa4cea3730f831e92f87d451e41ec26f8cdacb8fb2700b1b369d1d057f5e193688aae76a10d5d9d8411697459b0a0e9cd1adb886072b091d06 WHIRLPOOL 31ccbcc7a36fd38e1babdfc2670d85b8b21d886eac1c61e60d45ef73918bd0bbfbd5b06395840f5fed258ec47f864bc07a89828afed5b582b9d148e76a368a5b +EBUILD tumgreyspf-1.38.ebuild 1865 SHA256 27fe1b9ec573aa8a4c028f00ee99568238c6b27ba84d1e9d4d462c9638ee0bd5 SHA512 355a0ca2caf286129b9540abddbcba47a0c3ba09e75257dc242657f7733e9b600da1c6113723c571a7c8e936140a6cf220ca5a48b595d4ad460f0f3fc970665e WHIRLPOOL b8ea5c261c551c24b12f445d579c9659af40efedb0edc89e6e80313221f28ef7c9cd72ac959daedb3d493094ffe25a28e06861232b60bc0bbc04fa49435fcc1f diff --git a/mail-filter/tumgreyspf/tumgreyspf-1.38.ebuild b/mail-filter/tumgreyspf/tumgreyspf-1.38.ebuild index 77c38fc..908fb43 100644 --- a/mail-filter/tumgreyspf/tumgreyspf-1.38.ebuild +++ b/mail-filter/tumgreyspf/tumgreyspf-1.38.ebuild @@ -2,8 +2,10 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ # Author Micha Glave +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +inherit eutils python-r1 user -inherit eutils DESCRIPTION="spf policy server written in python for Postfix" HOMEPAGE="http://www.tummy.com/Community/software/tumgreyspf/" @@ -28,6 +30,7 @@ src_unpack() { cd ${S} # fix invalid path in sources sed -i \ + -e "s!/usr/bin/env python!/usr/bin/env python2!g" \ -e "s!/usr/local/lib/tumgreyspf/spfquery!/usr/bin/spfquery.py!g" \ -e "s!/usr/lib/tumgreyspf/tumgreyspf!/usr/bin/tumgreyspf!g" \ -e "s!/usr/local/lib/tumgreyspf!/usr/bin!g" \ @@ -50,7 +53,6 @@ src_install() { insinto /etc/${PN} doins tumgreyspf.conf - insinto /etc/${PN} newins __default__.dist __default__ MY_FILES="tumgreyspf tumgreyspf-clean tumgreyspf-configtest