Skip to content

Commit

Permalink
httpdirfs: update to 1.2.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinfall committed Nov 25, 2024
1 parent e0308c7 commit f43ac92
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
8 changes: 6 additions & 2 deletions srcpkgs/httpdirfs/patches/musl.patch
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
@@ -79,12 +81,15 @@
@@ -76,15 +78,18 @@ void PTHREAD_MUTEX_LOCK(pthread_mutex_t *x)

void exit_failure(void)
{
+#ifdef __GLIBC__
int nptrs;
void *buffer[BT_BUF_SIZE];

+#ifdef __GLIBC__
nptrs = backtrace(buffer, BT_BUF_SIZE);
+#endif
fprintf(stderr, "\nOops! HTTPDirFS crashed! :(\n");
Expand All @@ -26,3 +29,4 @@
+#endif
exit(EXIT_FAILURE);
}

21 changes: 7 additions & 14 deletions srcpkgs/httpdirfs/template
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
# Template file for 'httpdirfs'
pkgname=httpdirfs
version=1.2.5
revision=2
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="pkg-config help2man"
makedepends="libcurl-devel fuse-devel gumbo-parser-devel
libuuid-devel expat-devel"
version=1.2.7
revision=1
build_style=meson
hostmakedepends="pkg-config help2man ninja"
makedepends="libcurl-devel fuse3-devel gumbo-parser-devel
libuuid-devel expat-devel util-linux-libs openssl-devel"
short_desc="Mount HTTP directory listings, with a permanent cache"
maintainer="Orphaned <[email protected]>"
license="GPL-3.0-only"
homepage="https://github.com/fangfufu/httpdirfs"
changelog="https://raw.githubusercontent.com/fangfufu/httpdirfs/master/CHANGELOG.md"
distfiles="https://github.com/fangfufu/httpdirfs/archive/refs/tags/${version}.tar.gz"
checksum=d0a85600c3813064ba3cad9491b66fcf458151a49d3926818f5458ab6f615038

CFLAGS="-D_FILE_OFFSET_BITS=64"

post_build() {
make man
}
checksum=c7de6851aaef3132971b9add4a1ed235777db0316f48414ff9d93a316055e9f3

0 comments on commit f43ac92

Please sign in to comment.