diff --git a/sysutils/fusefs-httpdirfs/Makefile b/sysutils/fusefs-httpdirfs/Makefile index 1b1d5d97ab59..ae574033d018 100644 --- a/sysutils/fusefs-httpdirfs/Makefile +++ b/sysutils/fusefs-httpdirfs/Makefile @@ -1,41 +1,38 @@ PORTNAME= httpdirfs -DISTVERSION= 1.2.3 -PORTREVISION= 1 +DISTVERSION= 1.2.6 CATEGORIES= sysutils PKGNAMEPREFIX= fusefs- +PATCH_SITES= https://github.com/fangfufu/httpdirfs/commit/ +PATCHFILES= 43bdf7e71fde43084519e86051533a6b20c31474.patch:-p1 \ + 08700415d7b61d9f611a858481b26858fe92eb7a.patch:-p1 + MAINTAINER= 0mp@FreeBSD.org COMMENT= FUSE filesystem to mount HTTP directory listings, with a permanent cache WWW= https://github.com/fangfufu/httpdirfs LICENSE= GPL3OPENSSL LICENSE_NAME= GPLv3 or later with execption to link with OpenSSL LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libgumbo.so:devel/gumbo \ libuuid.so:misc/e2fsprogs-libuuid -USES= fuse gmake localbase pkgconfig ssl -USE_CSTD= c99 +USES= fuse:3 meson pkgconfig ssl + USE_GITHUB= yes GH_ACCOUNT= fangfufu -MAKE_ENV= prefix=${PREFIX} - -PLIST_FILES= bin/httpdirfs \ - share/man/man1/httpdirfs.1.gz +PLIST_FILES= bin/httpdirfs PORTDOCS= README.md OPTIONS_DEFINE= DOCS -post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/httpdirfs - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/ .include diff --git a/sysutils/fusefs-httpdirfs/distinfo b/sysutils/fusefs-httpdirfs/distinfo index 443feebd991f..49205edda4c0 100644 --- a/sysutils/fusefs-httpdirfs/distinfo +++ b/sysutils/fusefs-httpdirfs/distinfo @@ -1,3 +1,7 @@ -TIMESTAMP = 1633425176 -SHA256 (fangfufu-httpdirfs-1.2.3_GH0.tar.gz) = 15d721ed776ef447ba5aaf94d809950fb59b5577f35693d9a28a51e16256af2d -SIZE (fangfufu-httpdirfs-1.2.3_GH0.tar.gz) = 77543 +TIMESTAMP = 1730405732 +SHA256 (fangfufu-httpdirfs-1.2.6_GH0.tar.gz) = 0d5b7f846947c2cf61e7851658f29501a7934d23a6a2c914e76efb889d7e1993 +SIZE (fangfufu-httpdirfs-1.2.6_GH0.tar.gz) = 81582 +SHA256 (43bdf7e71fde43084519e86051533a6b20c31474.patch) = f6022cf2d14226606a6dbca676f31e7f0f859ca634725e87f0d299d063145004 +SIZE (43bdf7e71fde43084519e86051533a6b20c31474.patch) = 4476 +SHA256 (08700415d7b61d9f611a858481b26858fe92eb7a.patch) = fb01a8e7e6a8416ff549147a89bd6ddf865a08e74c5d7808cc9fb7710732aa6d +SIZE (08700415d7b61d9f611a858481b26858fe92eb7a.patch) = 1726 diff --git a/sysutils/fusefs-httpdirfs/files/patch-Makefile b/sysutils/fusefs-httpdirfs/files/patch-Makefile deleted file mode 100644 index 9304cbac3dc6..000000000000 --- a/sysutils/fusefs-httpdirfs/files/patch-Makefile +++ /dev/null @@ -1,19 +0,0 @@ ---- Makefile.orig 2021-08-31 18:54:03 UTC -+++ Makefile -@@ -1,6 +1,6 @@ - VERSION = 1.2.3 - --CFLAGS += -O2 -Wall -Wextra -Wshadow -rdynamic -D_GNU_SOURCE\ -+CFLAGS += -Wall -Wextra -Wshadow -D_GNU_SOURCE\ - -D_FILE_OFFSET_BITS=64 -DVERSION=\"$(VERSION)\"\ - `pkg-config --cflags-only-I gumbo libcurl fuse uuid expat` - LDFLAGS += `pkg-config --libs-only-L gumbo libcurl fuse uuid expat` -@@ -44,7 +44,7 @@ ifeq ($(OS),FreeBSD) - $(DESTDIR)$(prefix)/bin/httpdirfs - gzip -f -k doc/man/httpdirfs.1 - install -m 644 doc/man/httpdirfs.1.gz \ -- $(DESTDIR)$(prefix)/man/man1/httpdirfs.1.gz -+ $(DESTDIR)$(prefix)/share/man/man1/httpdirfs.1.gz - endif - ifeq ($(OS),Darwin) - install -d $(DESTDIR)$(prefix)/bin