1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

filesystems/davfs2: new port had been added (+)

This is a FUSE file system driver that allows mounting a
WebDAV server as a local file system, like a disk drive.

PR:		267518 (heavily modified)
Submitted by:	Ali Abdallah (current main developer)
This commit is contained in:
Alexey Dokuchaev 2024-12-12 10:23:58 +00:00
parent a9beaf06b2
commit ebd64e65a4
8 changed files with 93 additions and 2 deletions

2
GIDs
View File

@ -288,7 +288,7 @@ snmpd:*:344:
_metronome:*:345:
ngircd:*:346:
eturnal:*:347:
# free: 348
davfs2:*:348:
# free: 349
_sabnzbd:*:350:
sonarr:*:351:

2
UIDs
View File

@ -294,7 +294,7 @@ snmpd:*:344:344::0:0:Net-SNMP Daemon:/nonexistent:/usr/sbin/nologin
_metronome:*:345:345::0:0:Metronome Daemon:/nonexistent:/usr/sbin/nologin
ngircd:*:346:346::0:0:ngIRCd Daemon:/var/empty:/usr/sbin/nologin
eturnal:*:347:347::0:0:eturnal User:/var/spool/eturnal:/bin/sh
# free: 348
davfs2:*:348:348::0:0:Davfs2 Daemon:/nonexistent:/usr/sbin/nologin
# free: 349
_sabnzbd:*:350:350::0:0:sabnzb Daemon:/nonexistent:/usr/sbin/nologin
sonarr:*:351:351::0:0:Sonarr PVR:/nonexistent:/usr/sbin/nologin

View File

@ -14,6 +14,7 @@
SUBDIR += cryptofs
SUBDIR += curlftpfs
SUBDIR += darling-dmg
SUBDIR += davfs2
SUBDIR += dsbmc
SUBDIR += dsbmc-cli
SUBDIR += dsbmd

View File

@ -0,0 +1,38 @@
PORTNAME= davfs2
PORTVERSION= 1.7.1
CATEGORIES= filesystems www
MASTER_SITES= SAVANNAH \
https://github.com/alisarctl/davfs2/releases/download/rel-${PORTVERSION:S/./-/g}/
PKGNAMEPREFIX= fusefs-
MAINTAINER= ali.abdallah@suse.com
COMMENT= FUSE filesystem to access WebDAV servers
WWW= http://savannah.nongnu.org/projects/davfs2 \
https://github.com/alisarctl
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/AUTHORS
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libneon.so:www/neon
USES= gmake iconv ssl
GNU_CONFIGURE= yes
USERS= ${PORTNAME}
GROUPS= ${PORTNAME}
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext-runtime
NLS_CONFIGURE_OFF= --disable-nls
post-stage:
${CHMOD} -s ${STAGEDIR}${PREFIX}/sbin/mount.davfs
cd ${STAGEDIR}${DOCSDIR} && ${RM} AUTHORS COPYING INSTALL
.for f in davfs2.conf secrets
cd ${STAGEDIR}${ETCDIR} && ${MV} ${f} ${f}.sample
.endfor
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1732196513
SHA256 (davfs2-1.7.1.tar.gz) = 298edd0c6773cbe258e1552a431acaea6b2eedb7087889a735daef8885fcb1ac
SIZE (davfs2-1.7.1.tar.gz) = 480381

View File

@ -0,0 +1,12 @@
--- src/Makefile.in.orig 2024-11-20 15:05:51 UTC
+++ src/Makefile.in
@@ -268,6 +268,9 @@ VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
XGETTEXT_015 = @XGETTEXT_015@
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
+ifeq ($(USE_NLS),yes)
+LIBS += $(LIBINTL)
+endif
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@

View File

@ -0,0 +1,13 @@
Web Distributed Authoring and Versioning (WebDAV), an extension to the
HTTP-protocol, allows authoring of resources on a remote web server.
davfs2 provides the ability to access such resources like a typical
filesystem, allowing for use by standard applications with no built-in
support for WebDAV.
davfs2 is designed to fully integrate into the filesystem semantics of
Unix-like systems and makes mounting by unprivileged users as easy and
secure as possible.
davfs2 does extensive caching to make the file system responsive, to
avoid unnecessary network traffic, to prevent data loss, and to cope
for slow or unreliable connections.

View File

@ -0,0 +1,24 @@
@sample %%ETCDIR%%/davfs2.conf.sample
@sample %%ETCDIR%%/secrets.sample
sbin/mount.davfs
sbin/umount.davfs
%%DATADIR%%/davfs2.conf
%%DATADIR%%/secrets
%%PORTDOCS%%%%DOCSDIR%%/BUGS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/FAQ
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README.md
%%PORTDOCS%%%%DOCSDIR%%/README.translators
%%PORTDOCS%%%%DOCSDIR%%/THANKS
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%NLS%%share/locale/cs/LC_MESSAGES/davfs2.mo
%%NLS%%share/locale/de/LC_MESSAGES/davfs2.mo
share/man/de/man5/davfs2.conf.5.gz
share/man/de/man8/mount.davfs.8.gz
share/man/de/man8/umount.davfs.8.gz
share/man/es/man5/davfs2.conf.5.gz
share/man/man5/davfs2.conf.5.gz
share/man/man8/mount.davfs.8.gz
share/man/man8/umount.davfs.8.gz
@dir %%ETCDIR%%/certs/private