Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2024 20:47:08 GMT
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9b5b216338d9 - main - mail/razor-agents: Update to 2.85
Message-ID:  <202401242047.40OKl8DI008008@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by garga:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9b5b216338d906b68fa307bdf45a6b3f3d0b9a80

commit 9b5b216338d906b68fa307bdf45a6b3f3d0b9a80
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2024-01-24 20:45:08 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2024-01-24 20:46:29 +0000

    mail/razor-agents: Update to 2.85
    
    - Change license to ART20
    - Install regular manpages out of perl path
---
 mail/razor-agents/Makefile                | 13 ++++++-------
 mail/razor-agents/distinfo                |  5 +++--
 mail/razor-agents/files/patch-Makefile.PL |  6 +++---
 mail/razor-agents/pkg-plist               | 22 +++++++++++-----------
 4 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/mail/razor-agents/Makefile b/mail/razor-agents/Makefile
index f37b340ee0a1..8d17bb33ba48 100644
--- a/mail/razor-agents/Makefile
+++ b/mail/razor-agents/Makefile
@@ -1,14 +1,13 @@
 PORTNAME=	razor-agents
-PORTVERSION=	2.84
-PORTREVISION=	1
+PORTVERSION=	2.85
 CATEGORIES=	mail
 MASTER_SITES=	SF/razor/${PORTNAME}/${PORTVERSION}
 
 MAINTAINER=	garga@FreeBSD.org
 COMMENT=	Distributed, collaborative, spam detection and filtering network
-WWW=		https://razor.sourceforge.net/
+WWW=		https://sourceforge.net/projects/razor/
 
-LICENSE=	ART10
+LICENSE=	ART20
 
 BUILD_DEPENDS=	p5-Net-DNS>=0:dns/p5-Net-DNS \
 		p5-Digest-SHA1>=0:security/p5-Digest-SHA1 \
@@ -25,10 +24,10 @@ SHEBANG_FILES=	lib/Razor2/Client/*.pm \
 MAKE_ARGS+=	PERLPREFIX=${PREFIX}
 MAKE_JOBS_UNSAFE=	yes
 
-PORTSCOUT=	skipv:2.85
-
 post-patch:
 	@${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e 's|/etc/razor|${PREFIX}/etc|g'
-	@${REINPLACE_CMD} -e '/MAN5/s,man/man5,${SITE_MAN3_REL:S/3/5/},g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Razor2/Preproc/deHTMLxs/deHTMLxs.so
 
 .include <bsd.port.mk>
diff --git a/mail/razor-agents/distinfo b/mail/razor-agents/distinfo
index f9f9bfb994ff..906c8eb009b6 100644
--- a/mail/razor-agents/distinfo
+++ b/mail/razor-agents/distinfo
@@ -1,2 +1,3 @@
-SHA256 (razor-agents-2.84.tar.bz2) = 1e9eb8e4d562de79f01e059a7885e5e2a87f47688f146310a0400893edf3077c
-SIZE (razor-agents-2.84.tar.bz2) = 79196
+TIMESTAMP = 1706121211
+SHA256 (razor-agents-2.85.tar.bz2) = 7fe0afe73e5b3979444dd86e2ad25ea99bc05b23d5648d357544f78f0b6eb6d7
+SIZE (razor-agents-2.85.tar.bz2) = 81691
diff --git a/mail/razor-agents/files/patch-Makefile.PL b/mail/razor-agents/files/patch-Makefile.PL
index ce449140d44a..e494f184f6cf 100644
--- a/mail/razor-agents/files/patch-Makefile.PL
+++ b/mail/razor-agents/files/patch-Makefile.PL
@@ -7,9 +7,9 @@
 -INSTALLMAN5DIR = $(DESTDIR)$(PREFIX)/share/man/man5
 -INSTALLSITEMAN5DIR = $(DESTDIR)$(SITEPREFIX)/share/man/man5
 -INSTALLVENDORMAN5DIR = $(DESTDIR)$(VENDORPREFIX)/share/man/man5
-+DESTINSTALLMAN5DIR = $(DESTDIR)$(PREFIX)/man/man5
-+DESTINSTALLSITEMAN5DIR = $(DESTDIR)$(SITEPREFIX)/man/man5
-+DESTINSTALLVENDORMAN5DIR = $(DESTDIR)$(VENDORPREFIX)/man/man5
++DESTINSTALLMAN5DIR = $(DESTDIR)$(PREFIX)/share/man/man5
++DESTINSTALLSITEMAN5DIR = $(DESTDIR)$(SITEPREFIX)/share/man/man5
++DESTINSTALLVENDORMAN5DIR = $(DESTDIR)$(VENDORPREFIX)/share/man/man5
  MAN5EXT = 5
  # end razor-agents
  
diff --git a/mail/razor-agents/pkg-plist b/mail/razor-agents/pkg-plist
index dfdcc9a6a603..0f53a1d55a6a 100644
--- a/mail/razor-agents/pkg-plist
+++ b/mail/razor-agents/pkg-plist
@@ -1,18 +1,10 @@
-bin/razor-admin
-bin/razor-check
-bin/razor-client
-bin/razor-report
-bin/razor-revoke
-%%PERL5_MAN3%%/Razor2::Errorhandler.3.gz
-%%PERL5_MAN3%%/Razor2::Preproc::deHTMLxs.3.gz
-%%PERL5_MAN3%%/Razor2::Syslog.3.gz
 %%PERL5_MAN1%%/razor-admin.1.gz
 %%PERL5_MAN1%%/razor-check.1.gz
 %%PERL5_MAN1%%/razor-report.1.gz
 %%PERL5_MAN1%%/razor-revoke.1.gz
-%%SITE_PERL%%/man/man5/razor-agent.conf.5.gz
-%%SITE_PERL%%/man/man5/razor-agents.5.gz
-%%SITE_PERL%%/man/man5/razor-whitelist.5.gz
+%%PERL5_MAN3%%/Razor2::Errorhandler.3.gz
+%%PERL5_MAN3%%/Razor2::Preproc::deHTMLxs.3.gz
+%%PERL5_MAN3%%/Razor2::Syslog.3.gz
 %%SITE_ARCH%%/Razor2/Client/Agent.pm
 %%SITE_ARCH%%/Razor2/Client/Config.pm
 %%SITE_ARCH%%/Razor2/Client/Core.pm
@@ -36,3 +28,11 @@ bin/razor-revoke
 %%SITE_ARCH%%/auto/Razor2/Preproc/deHTMLxs/autosplit.ix
 %%SITE_ARCH%%/auto/Razor2/Preproc/deHTMLxs/deHTMLxs.so
 %%SITE_ARCH%%/auto/Razor2/Syslog/autosplit.ix
+bin/razor-admin
+bin/razor-check
+bin/razor-client
+bin/razor-report
+bin/razor-revoke
+share/man/man5/razor-agent.conf.5.gz
+share/man/man5/razor-agents.5.gz
+share/man/man5/razor-whitelist.5.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401242047.40OKl8DI008008>