New package: tmfs-r5

This commit is contained in:
sth 2015-11-14 14:27:41 +01:00
parent 80e646acf9
commit 8175731adc
2 changed files with 29 additions and 0 deletions

View file

@ -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);

16
srcpkgs/tmfs/template Normal file
View file

@ -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
}