New package: tmfs-r5
This commit is contained in:
parent
80e646acf9
commit
8175731adc
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git src/readdir.cc src/readdir.cc
|
||||||
|
index 9b31232..94000bc 100644
|
||||||
|
--- src/readdir.cc
|
||||||
|
+++ src/readdir.cc
|
||||||
|
@@ -13,7 +13,7 @@ int tmfs_readdir(const char * path, void * buf, fuse_fill_dir_t filler_cb, off_t
|
||||||
|
struct stat stbuf;
|
||||||
|
|
||||||
|
// report ./ and ../
|
||||||
|
- stbuf.st_mode = __S_IFDIR | 0755;
|
||||||
|
+ stbuf.st_mode = S_IFDIR | 0755;
|
||||||
|
stbuf.st_nlink = 2;
|
||||||
|
filler_cb(buf, ".", &stbuf, 0);
|
||||||
|
filler_cb(buf, "..", &stbuf, 0);
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Template file for 'tmfs'
|
||||||
|
pkgname=tmfs
|
||||||
|
version=r5
|
||||||
|
revision=1
|
||||||
|
build_style=cmake
|
||||||
|
hostmakedepends="cmake pkg-config"
|
||||||
|
makedepends="fuse-devel boost-devel"
|
||||||
|
short_desc="Apple Time Machine read-only mounting utility"
|
||||||
|
maintainer="sth <sth@nvsbl.org>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/abique/tmfs"
|
||||||
|
distfiles="https://github.com/abique/tmfs/archive/${version}.tar.gz"
|
||||||
|
checksum="897ad09e21ddd8e912dc1baba4466d8a65a09b3abdeb31e4640c2d770915f2f4"
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Reference in New Issue