Skip to content

Commit

Permalink
mail/postfix-policyd-spf-perl: Update to 2.011
Browse files Browse the repository at this point in the history
  • Loading branch information
Mel Pilgrim authored and nunotexbsd committed Dec 23, 2022
1 parent 9df8ee3 commit 4cfbe29
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 15 deletions.
18 changes: 10 additions & 8 deletions mail/postfix-policyd-spf-perl/Makefile
@@ -1,8 +1,7 @@
PORTNAME= postfix-policyd-spf-perl
PORTVERSION= 2.010
PORTREVISION= 1
PORTVERSION= 2.011
CATEGORIES= mail
MASTER_SITES= https://launchpadlibrarian.net/107864701/
MASTER_SITES= https://launchpad.net/postfix-policyd-spf-perl/trunk/${PORTVERSION}/+download/

MAINTAINER= ports.maintainer@evilphi.com
COMMENT= SPF policy service for Postfix written in Perl
Expand All @@ -16,17 +15,20 @@ RUN_DEPENDS= p5-Mail-SPF>=2.006:mail/p5-Mail-SPF \

USES= perl5 shebangfix
USE_PERL5= run
NO_BUILD= yes

PLIST_FILES= libexec/postfix-policyd-spf-perl
SHEBANG_FILES= postfix-policyd-spf-perl

SUB_LIST= PREFIX=${PREFIX}
NO_ARCH= yes
NO_BUILD= yes

SUB_FILES= pkg-message
SUB_LIST= PREFIX=${PREFIX}

PLIST_FILES= libexec/postfix-policyd-spf-perl

SPF_FAIL?= 550
SPF_TEMPERROR?= DEFER_IF_PERMIT
REINPLACE= s/%%SPF_FAIL%%/${SPF_FAIL}/g;\
REINPLACE= s/%%SPF_FAIL%%/${SPF_FAIL}/g; \
s/%%SPF_TEMPERROR%%/${SPF_TEMPERROR}/g;

pre-patch:
Expand All @@ -44,6 +46,6 @@ post-patch:
@${REINPLACE_CMD} -e '${REINPLACE}' ${WRKSRC}/postfix-policyd-spf-perl

do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/postfix-policyd-spf-perl ${STAGEDIR}${PREFIX}/libexec
${INSTALL_SCRIPT} ${WRKSRC}/postfix-policyd-spf-perl ${STAGEDIR}${PREFIX}/libexec

.include <bsd.port.mk>
5 changes: 3 additions & 2 deletions mail/postfix-policyd-spf-perl/distinfo
@@ -1,2 +1,3 @@
SHA256 (postfix-policyd-spf-perl-2.010.tar.gz) = aafc09ed52e946572acf804b3c79caf464a1062df5710c2f2426276442f04042
SIZE (postfix-policyd-spf-perl-2.010.tar.gz) = 13981
TIMESTAMP = 1670852909
SHA256 (postfix-policyd-spf-perl-2.011.tar.gz) = 51e295c8bfc714f7e827bd39d674430a9da9ce1658339b7c6cc2537949d82d61
SIZE (postfix-policyd-spf-perl-2.011.tar.gz) = 15562
@@ -1,6 +1,6 @@
--- ./postfix-policyd-spf-perl.orig 2012-06-18 03:50:55.000000000 +0000
+++ ./postfix-policyd-spf-perl 2014-05-08 00:22:28.000000000 +0000
@@ -284,7 +284,7 @@
--- postfix-policyd-spf-perl.orig 2018-07-29 19:23:55 UTC
+++ postfix-policyd-spf-perl
@@ -358,7 +358,7 @@ sub sender_policy_framework {
$attr->{helo_name} || '<UNKNOWN>'
);
};
Expand All @@ -9,7 +9,7 @@
}
elsif ($helo_result->is_code('temperror')) {
if ($VERBOSE) {
@@ -294,7 +294,7 @@
@@ -368,7 +368,7 @@ sub sender_policy_framework {
$attr->{helo_name} || '<UNKNOWN>'
);
};
Expand All @@ -18,7 +18,7 @@
}
elsif ($attr->{sender} eq '') {
if ($VERBOSE) {
@@ -368,10 +368,10 @@
@@ -442,10 +442,10 @@ sub sender_policy_framework {
);
};
if ($mfrom_result->is_code('fail')) {
Expand Down

0 comments on commit 4cfbe29

Please sign in to comment.