On 10/15/15 16:33, Stuart Henderson wrote:
> I don't know if it's related to the problem you saw with startup, but
> p5-Mail-Milter-Authentication needs CONFIGURE_STYLE=modinst (and then
> you can also remove patch-Makefile_PL).
> 
> If I build it with that change, it does start for me (if I copy/edit
> /etc/authentication_milter.json), but that might be an unrelated problem.
> 
> I wonder if we should get perl.port.mk to look for 'use inc::Module::Install'
> in Makefile.PL and at least print a warning about CONFIGURE_STYLE
> if it's present ...
> 
some problems fixed, anyway:
$ doas authentication_milter works
$ su # authentication_milter works
$ su - # authentication_milter permission denied

 Giovanni

Index: Makefile
===================================================================
RCS file: /var/cvs/ports/mail/p5-Mail-DMARC/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile	12 Jul 2014 19:19:18 -0000	1.3
+++ Makefile	15 Oct 2015 15:44:05 -0000
@@ -2,9 +2,8 @@
 
 COMMENT=	perl implementation of DMARC
 
-DISTNAME=	Mail-DMARC-1.20140622
+DISTNAME=	Mail-DMARC-1.20150908
 CATEGORIES=	mail
-REVISION=	1
 
 # Perl
 PERMIT_PACKAGE_CDROM=	Yes
@@ -19,6 +18,7 @@ RUN_DEPENDS=	devel/p5-Config-Tiny \
 		devel/p5-File-ShareDir \
 		www/p5-libwww \
 		converters/p5-JSON \
+		converters/p5-Net-IDN-Encode \
 		net/p5-Net-DNS \
 		net/p5-Net-IP \
 		net/p5-Net-SMTPS \
@@ -28,6 +28,11 @@ RUN_DEPENDS=	devel/p5-Config-Tiny \
 		www/p5-URI \
 		textproc/p5-XML-LibXML \
 		devel/p5-Net-Server
-TEST_DEPENDS=	${RUN_DEPENDS}
+TEST_DEPENDS=	${RUN_DEPENDS} \
+		textproc/p5-XML-Validator-Schema \
+		devel/p5-Test-File-ShareDir
+
+pre-configure:
+	find ${WRKSRC} -name "*.orig" -exec rm -f {} \;
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /var/cvs/ports/mail/p5-Mail-DMARC/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo	23 Jun 2014 19:17:28 -0000	1.1.1.1
+++ distinfo	22 Sep 2015 07:04:35 -0000
@@ -1,2 +1,2 @@
-SHA256 (Mail-DMARC-1.20140622.tar.gz) = J85eXpgeLrlYLhZiUB2ww9fJm1rL8uy6B+dlAl2O93c=
-SIZE (Mail-DMARC-1.20140622.tar.gz) = 700651
+SHA256 (Mail-DMARC-1.20150908.tar.gz) = FtzOUMxTUIVwt3eJ0S+pcsow/pA/OVk7tQ84SPKyDk8=
+SIZE (Mail-DMARC-1.20150908.tar.gz) = 720935
Index: patches/patch-lib_Mail_DMARC_Report_Receive_pm
===================================================================
RCS file: /var/cvs/ports/mail/p5-Mail-DMARC/patches/patch-lib_Mail_DMARC_Report_Receive_pm,v
retrieving revision 1.1
diff -u -p -r1.1 patch-lib_Mail_DMARC_Report_Receive_pm
--- patches/patch-lib_Mail_DMARC_Report_Receive_pm	1 Jul 2014 11:41:54 -0000	1.1
+++ patches/patch-lib_Mail_DMARC_Report_Receive_pm	15 Oct 2015 15:42:27 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-lib_Mail_DMARC_Report_Receive_pm,v 1.1 2014/07/01 11:41:54 henning Exp $
---- lib/Mail/DMARC/Report/Receive.pm.orig	Mon Jun 30 12:51:53 2014
-+++ lib/Mail/DMARC/Report/Receive.pm	Mon Jun 30 12:52:26 2014
-@@ -229,7 +229,7 @@ sub handle_body {
+--- lib/Mail/DMARC/Report/Receive.pm.orig	Wed Sep  9 01:20:48 2015
++++ lib/Mail/DMARC/Report/Receive.pm	Thu Oct 15 17:42:17 2015
+@@ -234,7 +234,7 @@ sub handle_body {
  
      print "handling decompressed body\n" if $self->{verbose};
  
Index: pkg/PLIST
===================================================================
RCS file: /var/cvs/ports/mail/p5-Mail-DMARC/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST	23 Jun 2014 19:17:28 -0000	1.1.1.1
+++ pkg/PLIST	22 Sep 2015 07:05:54 -0000
@@ -4,6 +4,7 @@ bin/dmarc_httpd
 bin/dmarc_lookup
 bin/dmarc_receive
 bin/dmarc_send_reports
+bin/dmarc_update_public_suffix_list
 bin/dmarc_view_reports
 @comment bin/install_deps.pl
 ${P5SITE}/Mail/
@@ -18,7 +19,16 @@ ${P5SITE}/Mail/DMARC/Report.pm
 ${P5SITE}/Mail/DMARC/Report/Aggregate/
 ${P5SITE}/Mail/DMARC/Report/Aggregate.pm
 ${P5SITE}/Mail/DMARC/Report/Aggregate/Metadata.pm
+${P5SITE}/Mail/DMARC/Report/Aggregate/Record/
 ${P5SITE}/Mail/DMARC/Report/Aggregate/Record.pm
+${P5SITE}/Mail/DMARC/Report/Aggregate/Record/Auth_Results/
+${P5SITE}/Mail/DMARC/Report/Aggregate/Record/Auth_Results.pm
+${P5SITE}/Mail/DMARC/Report/Aggregate/Record/Auth_Results/DKIM.pm
+${P5SITE}/Mail/DMARC/Report/Aggregate/Record/Auth_Results/SPF.pm
+${P5SITE}/Mail/DMARC/Report/Aggregate/Record/Identifiers.pm
+${P5SITE}/Mail/DMARC/Report/Aggregate/Record/Row/
+${P5SITE}/Mail/DMARC/Report/Aggregate/Record/Row.pm
+${P5SITE}/Mail/DMARC/Report/Aggregate/Record/Row/Policy_Evaluated.pm
 ${P5SITE}/Mail/DMARC/Report/Receive.pm
 ${P5SITE}/Mail/DMARC/Report/Send/
 ${P5SITE}/Mail/DMARC/Report/Send.pm
@@ -28,9 +38,10 @@ ${P5SITE}/Mail/DMARC/Report/Store/
 ${P5SITE}/Mail/DMARC/Report/Store.pm
 ${P5SITE}/Mail/DMARC/Report/Store/SQL.pm
 ${P5SITE}/Mail/DMARC/Report/URI.pm
+${P5SITE}/Mail/DMARC/Result/
 ${P5SITE}/Mail/DMARC/Result.pm
+${P5SITE}/Mail/DMARC/Result/Reason.pm
 ${P5SITE}/auto/share/dist/Mail-DMARC/
-${P5SITE}/auto/share/dist/Mail-DMARC/dmarc-report-2013-draft.xsd
 ${P5SITE}/auto/share/dist/Mail-DMARC/dmarc_whitelist
 ${P5SITE}/auto/share/dist/Mail-DMARC/html/
 ${P5SITE}/auto/share/dist/Mail-DMARC/html/css/
@@ -94,14 +105,18 @@ ${P5SITE}/auto/share/dist/Mail-DMARC/htm
 ${P5SITE}/auto/share/dist/Mail-DMARC/html/plugins/searchFilter.css
 ${P5SITE}/auto/share/dist/Mail-DMARC/html/plugins/ui.multiselect.css
 ${P5SITE}/auto/share/dist/Mail-DMARC/html/plugins/ui.multiselect.js.gz
+${P5SITE}/auto/share/dist/Mail-DMARC/mail-dmarc.cron
+${P5SITE}/auto/share/dist/Mail-DMARC/mail-dmarc.ini
 ${P5SITE}/auto/share/dist/Mail-DMARC/mail_dmarc_schema.mysql
 ${P5SITE}/auto/share/dist/Mail-DMARC/mail_dmarc_schema.sqlite
 ${P5SITE}/auto/share/dist/Mail-DMARC/public_suffix_list
+${P5SITE}/auto/share/dist/Mail-DMARC/rua-schema.xsd
 @man man/man1/dmarc_http_client.1
 @man man/man1/dmarc_httpd.1
 @man man/man1/dmarc_lookup.1
 @man man/man1/dmarc_receive.1
 @man man/man1/dmarc_send_reports.1
+@man man/man1/dmarc_update_public_suffix_list.1
 @man man/man1/dmarc_view_reports.1
 @comment @man man/man1/install_deps.pl.1
 @man man/man3p/Mail::DMARC.3p
@@ -113,6 +128,12 @@ ${P5SITE}/auto/share/dist/Mail-DMARC/pub
 @man man/man3p/Mail::DMARC::Report::Aggregate.3p
 @man man/man3p/Mail::DMARC::Report::Aggregate::Metadata.3p
 @man man/man3p/Mail::DMARC::Report::Aggregate::Record.3p
+@man man/man3p/Mail::DMARC::Report::Aggregate::Record::Auth_Results.3p
+@man man/man3p/Mail::DMARC::Report::Aggregate::Record::Auth_Results::DKIM.3p
+@man man/man3p/Mail::DMARC::Report::Aggregate::Record::Auth_Results::SPF.3p
+@man man/man3p/Mail::DMARC::Report::Aggregate::Record::Identifiers.3p
+@man man/man3p/Mail::DMARC::Report::Aggregate::Record::Row.3p
+@man man/man3p/Mail::DMARC::Report::Aggregate::Record::Row::Policy_Evaluated.3p
 @man man/man3p/Mail::DMARC::Report::Receive.3p
 @man man/man3p/Mail::DMARC::Report::Send.3p
 @man man/man3p/Mail::DMARC::Report::Send::HTTP.3p
@@ -121,3 +142,4 @@ ${P5SITE}/auto/share/dist/Mail-DMARC/pub
 @man man/man3p/Mail::DMARC::Report::Store::SQL.3p
 @man man/man3p/Mail::DMARC::Report::URI.3p
 @man man/man3p/Mail::DMARC::Result.3p
+@man man/man3p/Mail::DMARC::Result::Reason.3p

Attachment: p5-Mail-Milter-Authentication-1.0.1.tgz
Description: application/compressed-tar

Index: user.list
===================================================================
RCS file: /var/cvs/ports/infrastructure/db/user.list,v
retrieving revision 1.253
diff -u -p -r1.253 user.list
--- user.list	12 Oct 2015 22:27:47 -0000	1.253
+++ user.list	15 Oct 2015 15:53:56 -0000
@@ -266,3 +266,4 @@ id  user		group		port options
 755 _librenms		_librenms	net/librenms
 756 _rspamd		_rspamd		mail/rspamd
 757 _opendnssec		_opendnssec	security/opendnssec
+758 _milter-auth	_milter-auth	mail/p5-Mail-Milter-authentication

Reply via email to