-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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)
- Loading branch information
Alexey Dokuchaev
authored and
Alexey Dokuchaev
committed
Dec 12, 2024
1 parent
a9beaf0
commit ebd64e6
Showing
8 changed files
with
93 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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= [email protected] | ||
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1732196513 | ||
SHA256 (davfs2-1.7.1.tar.gz) = 298edd0c6773cbe258e1552a431acaea6b2eedb7087889a735daef8885fcb1ac | ||
SIZE (davfs2-1.7.1.tar.gz) = 480381 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |