git: c102c317b8d3 - main - converters/o3read: Fix fetch

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 27 Dec 2024 10:37:51 UTC
The branch main has been updated by bofh:

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

commit c102c317b8d351fcf56c29692824e70b2b2bf4c7
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-12-27 07:10:08 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-12-27 10:37:12 +0000

    converters/o3read: Fix fetch
    
    - Remove GENTOO MASTER_SITES as it no longer provides flat layout
    - Add FETCH_BEFORE_ARGS as fetch user-agent is blocked by server
    
    Approved by:    portmgr (just-fix-it)
---
 converters/o3read/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/converters/o3read/Makefile b/converters/o3read/Makefile
index 174e1c5c2ca8..f35952779de8 100644
--- a/converters/o3read/Makefile
+++ b/converters/o3read/Makefile
@@ -2,8 +2,7 @@ PORTNAME=	o3read
 PORTVERSION=	0.0.4
 PORTREVISION=	2
 CATEGORIES=	converters
-MASTER_SITES=	http://siag.nu/pub/o3read/ \
-		GENTOO
+MASTER_SITES=	https://siag.nu/pub/o3read/
 
 MAINTAINER=	samm@FreeBSD.org
 COMMENT=	Standalone converter for the OpenOffice.org writer and scalc formats
@@ -12,6 +11,8 @@ WWW=		https://siag.nu/o3read/
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+FETCH_BEFORE_ARGS=	--user-agent=Wget/1.20.3
+
 PORTDOCS=	README ChangeLog
 
 OPTIONS_DEFINE=	DOCS