git: f1c9d48196d3 - main - filesystems/afuse: Update to 0.5.0

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 16 Nov 2024 18:30:35 UTC
The branch main has been updated by diizzy:

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

commit f1c9d48196d3c6d8dbb57b8c604d8dbc6ce9cb20
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-11-16 09:49:19 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-11-16 18:29:08 +0000

    filesystems/afuse: Update to 0.5.0
    
    * Switch back to upstream repo
    * Backport upstream commit 30057222cc58ffe1f8c0889fce8da314d5364691
    
    Reference:
    https://github.com/pcarrier/afuse/commit/30057222cc58ffe1f8c0889fce8da314d5364691
    
    PR:             282356
    Approved by:    portmgr (maintainer timeout, 2+ weeks)
---
 filesystems/afuse/Makefile                    | 18 +++++++++++++-----
 filesystems/afuse/distinfo                    |  7 +++++--
 filesystems/afuse/files/patch-src_Makefile.am |  7 +++++++
 filesystems/afuse/pkg-plist                   |  1 -
 4 files changed, 25 insertions(+), 8 deletions(-)

diff --git a/filesystems/afuse/Makefile b/filesystems/afuse/Makefile
index 808794a7224b..e7e3e8ee81e4 100644
--- a/filesystems/afuse/Makefile
+++ b/filesystems/afuse/Makefile
@@ -1,10 +1,13 @@
 PORTNAME=	afuse
-PORTVERSION=	0.4.1
-PORTREVISION=	2
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.5.0
 CATEGORIES=	filesystems
 MASTER_SITES=	https://BSDforge.com/projects/source/sysutils/afuse/
 PKGNAMEPREFIX=	fusefs-
 
+PATCH_SITES=	https://github.com/pcarrier/afuse/commit/
+PATCHFILES=	30057222cc58ffe1f8c0889fce8da314d5364691.patch:-p1
+
 MAINTAINER=	portmaster@BSDforge.com
 COMMENT=	File system automounting implemented in user-space using FUSE
 WWW=		https://github.com/pcarrier/afuse
@@ -12,12 +15,17 @@ WWW=		https://github.com/pcarrier/afuse
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cpe fuse pkgconfig
+USES=		autoreconf cpe fuse pkgconfig
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	pcarrier
+
 GNU_CONFIGURE=	yes
 
-PORTDOCS=	AUTHORS README
+PORTDOCS=	README
 
 OPTIONS_DEFINE=	DOCS
+
 DOCS_SUB_FILES=	pkg-message
 
 post-install:
@@ -25,6 +33,6 @@ post-install:
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>
diff --git a/filesystems/afuse/distinfo b/filesystems/afuse/distinfo
index 3dca6b32c27b..8928c6ba166f 100644
--- a/filesystems/afuse/distinfo
+++ b/filesystems/afuse/distinfo
@@ -1,3 +1,6 @@
 TIMESTAMP = 1730905207
-SHA256 (afuse-0.4.1.tar.gz) = c6e0555a65d42d3782e0734198bbebd22486386e29cb00047bc43c3eb726dca8
-SIZE (afuse-0.4.1.tar.gz) = 121957
+TIMESTAMP = 1730028543
+SHA256 (pcarrier-afuse-v0.5.0_GH0.tar.gz) = 87284e3f7973f5a61eea4a37880512c01f0b8bf1d37a8988447efbe806ec3414
+SIZE (pcarrier-afuse-v0.5.0_GH0.tar.gz) = 32236
+SHA256 (30057222cc58ffe1f8c0889fce8da314d5364691.patch) = 6bc9bd612ffe5c7816020bc28d5611907c7527e94270460c337b26143d2b9deb
+SIZE (30057222cc58ffe1f8c0889fce8da314d5364691.patch) = 1832
diff --git a/filesystems/afuse/files/patch-src_Makefile.am b/filesystems/afuse/files/patch-src_Makefile.am
new file mode 100644
index 000000000000..adc872420bf5
--- /dev/null
+++ b/filesystems/afuse/files/patch-src_Makefile.am
@@ -0,0 +1,7 @@
+--- src/Makefile.am.orig	2024-10-27 11:33:19 UTC
++++ src/Makefile.am
+@@ -1,4 +1,3 @@
+-dist_bin_SCRIPTS=afuse-avahissh
+ bin_PROGRAMS=afuse
+ afuse_SOURCES=afuse.c afuse.h fd_list.c fd_list.h dir_list.c dir_list.h utils.c utils.h variable_pairing_heap.h string_sorted_list.c string_sorted_list.h
+ 
diff --git a/filesystems/afuse/pkg-plist b/filesystems/afuse/pkg-plist
index ca1d3709154f..ecd3a3d52f33 100644
--- a/filesystems/afuse/pkg-plist
+++ b/filesystems/afuse/pkg-plist
@@ -1,3 +1,2 @@
 bin/afuse
-@comment bin/afuse-avahissh
 share/man/man1/afuse.1.gz