Check-in [1fe5e639ec]
Overview
SHA1:1fe5e639ec9a2b6da47221b640defd39bc3a75c5
Date: 2014-12-29 04:41:13
User: rkeene
Comment:Added man page, updated to install mount.appfs, updated to obey "exec_destdir"
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2014-12-29
04:41
[3de2aab453] AppFS 1.4 (user: rkeene, tags: trunk, 1.4)
04:41
[1fe5e639ec] Added man page, updated to install mount.appfs, updated to obey "exec_destdir" (user: rkeene, tags: trunk)
03:50
[94a220b715] Post-release version increment (a tad late) (user: rkeene, tags: trunk)
Changes

Modified Makefile from [7225a891c3] to [47c22e44ac].

     6      6   CFLAGS_RELEASE = -Wall -UDEBUG -DNDEBUG=1 -O3
     7      7   CFLAGS         += $(FUSE_CFLAGS) $(TCL_CFLAGS) $(CFLAGS_RELEASE)
     8      8   LDFLAGS        += $(TCL_LDFLAGS)
     9      9   FUSE_LIBS      = $(shell $(PKG_CONFIG) --libs fuse)
    10     10   LIBS           += $(FUSE_LIBS) $(TCL_LIBS)
    11     11   PREFIX         = /usr/local
    12     12   prefix         = $(PREFIX)
    13         -bindir         = $(prefix)/bin
    14         -sbindir        = $(prefix)/sbin
           13  +exec_prefix    = $(prefix)
           14  +bindir         = $(exec_prefix)/bin
           15  +sbindir        = $(exec_prefix)/sbin
           16  +mandir         = $(prefix)/share/man
    15     17   
    16     18   ifneq ($(TCLKIT_SDK_DIR),)
    17     19   TCLCONFIG_SH_PATH = $(TCLKIT_SDK_DIR)/lib/tclConfig.sh
    18     20   TCL_LDFLAGS = -Wl,-R,$(TCLKIT_SDK_DIR)/lib
    19     21   export TCLKIT_SDK_DIR
    20     22   else
    21     23   TCLCONFIG_SH_PATH = $(shell echo 'puts [::tcl::pkgconfig get libdir,install]' | tclsh)/tclConfig.sh
................................................................................
    48     50   	openssl sha1 pki.tcl.new | grep 'aad7cca08cca00c8f7cd6eccc46e61da235753fc' >/dev/null
    49     51   	mv pki.tcl.new pki.tcl
    50     52   
    51     53   %.tcl.h: %.tcl
    52     54   	sed 's@[\\"]@\\&@g;s@^@   "@;s@$$@\\n"@' $^ > $@.new
    53     55   	mv $@.new $@
    54     56   
    55         -install: appfsd appfs-cache appfs-mkfs
    56         -	if [ ! -d '$(DESTDIR)$(sbindir)' ]; then mkdir -p '$(DESTDIR)$(sbindir)'; chmod 755 '$(DESTDIR)$(sbindir)'; fi
    57         -	if [ ! -d '$(DESTDIR)$(bindir)' ]; then mkdir -p '$(DESTDIR)$(bindir)'; chmod 755 '$(DESTDIR)$(bindir)'; fi
           57  +install: appfsd appfs-cache appfs-mkfs appfsd.8
           58  +	if [ ! -d '$(DESTDIR)$(sbindir)' ]; then mkdir -p '$(DESTDIR)$(sbindir)' && chmod 755 '$(DESTDIR)$(sbindir)'; fi
           59  +	if [ ! -d '$(DESTDIR)$(bindir)' ]; then mkdir -p '$(DESTDIR)$(bindir)' && chmod 755 '$(DESTDIR)$(bindir)'; fi
           60  +	if [ ! -d '$(DESTDIR)$(mandir)' ]; then mkdir -p '$(DESTDIR)$(mandir)' && chmod 755 '$(DESTDIR)$(mandir)'; fi
    58     61   	cp appfsd '$(DESTDIR)$(sbindir)/'
           62  +	ln -s appfsd '$(DESTDIR)$(sbindir)/mount.appfs'
    59     63   	cp appfs-cache '$(DESTDIR)$(sbindir)/'
    60     64   	cp appfs-mkfs '$(DESTDIR)$(bindir)/'
           65  +	cp appfsd.8 '$(DESTDIR)$(mandir)/'
    61     66   
    62     67   # Internal target to publish appfs application to AppFS
    63     68   appfs-$(APPFS_VERSION).cpio: appfs-cache appfs-cert appfs-mkfs
    64     69   	rm -rf __TMP__
    65     70   	mkdir -p __TMP__/appfs/noarch-noarch/$(APPFS_VERSION)/bin
    66     71   	cp appfs-cache appfs-cert appfs-mkfs __TMP__/appfs/noarch-noarch/$(APPFS_VERSION)/bin
    67     72   	fossil cat -r packages build > __TMP__/appfs/noarch-noarch/$(APPFS_VERSION)/bin/appfs-build

Added appfsd.8 version [eeca8d4649].

            1  +.TH APPFSD 8 "29 DEC 2014" "AppFS @@VERS@@"
            2  +.SH NAME
            3  +appfsd, mount.appfs - AppFS FUSE Daemon
            4  +
            5  +.SH SYNOPSIS
            6  +.BI "appfsd [\-dfsh] [\-o " option "[," ... "]] " cachedir " " mount_point
            7  +.br
            8  +.BI "mount.appfs [\-dfsh] [\-o " option "[," ... "]] " cachedir " " mount_point
            9  +
           10  +.SH DESCRIPTION
           11  +AppFS is a FUSE-based filesystem to present a manifest-based package format
           12  +from remote servers to the local system.  It works over HTTP (by default,
           13  +at least).  Remote sites are identified at the top-level of the mounted
           14  +directory and all sites are verified by PKI signature.
           15  +
           16  +AppFS is started with the \fBappfsd\fR daemon, which may also be named
           17  +\fBmount.appfs\fR.
           18  +
           19  +.SH OPTIONS
           20  +.TP 
           21  +.BR \-d
           22  +Enable FUSE debug mode. 
           23  +
           24  +.TP
           25  +.B \-f
           26  +Run AppFS daemon in the foreground.
           27  +
           28  +.TP
           29  +.B \-s
           30  +Enable single threaded mode.  This will significantly reduce performance and
           31  +responsiveness.
           32  +
           33  +.TP
           34  +.B \-h
           35  +Request usage help.
           36  +
           37  +.TP
           38  +.B "\-o nothreads"
           39  +Enable single threaded mode.  This will significantly reduce performance and
           40  +responsiveness.
           41  +This is the same as the "\fB-s\fR" option, provided for use in an
           42  +\fI/etc/fstab\fR option.
           43  +
           44  +.TP
           45  +.B "\-o allow_other"
           46  +Allow other users to access this mountpoint (this is the default if the user
           47  +running \fBappfsd\fR is root).
           48  +
           49  +.TP
           50  +.I cachedir
           51  +Path to a directory to store cache database and read configuration file from.
           52  +A suggested value for this for a system-wide \fBappfsd\fR is
           53  +\fI/var/cache/appfs\fR.
           54  +
           55  +.TP
           56  +.I mount_point
           57  +Path to mount AppFS onto in the filesystem.  This should almost always be
           58  +\fI/opt/appfs\fR.
           59  +
           60  +.SH FILES
           61  +.TP
           62  +.IB cachedir /config
           63  +Configuration file for this instance of AppFS.  This should be a valid
           64  +.BR Tcl (n)
           65  +script.  The configuration file can be modified at run-time and \fBappfsd\fR
           66  +reloaded by sending it a \fBSIGHUP\fR.
           67  +
           68  +.TP
           69  +.IB cachedir /cache.db
           70  +SQLite3 database used for maintaining metadata for the cache directory.
           71  +
           72  +.SH EXAMPLES
           73  +The most recommended method of running AppFS (directly):
           74  +.PP
           75  +.nf
           76  +.RS
           77  +# mkdir /opt/appfs
           78  +# appfsd /var/cache/appfs /opt/appfs
           79  +.RE
           80  +.fi
           81  +
           82  +Create an \fI/etc/fstab\fR entry:
           83  +.PP
           84  +.nf
           85  +.RS
           86  +/var/cache/appfs /opt/appfs       appfs       defaults         0   0
           87  +.RE
           88  +.fi
           89  +
           90  +.SH SEE ALSO
           91  +.BR Tcl (n) ,
           92  +.BR sqlite3 (1)

Modified build/makearch.info from [f8e1286c14] to [41bb149458].

    25     25   #     @@VERS@@ becomes the utility version
    26     26   #     @@DATE@@ becomes the current date
    27     27   DOCS="README"
    28     28   DOC_HDR="HEADER"
    29     29   
    30     30   # These files follow the same convention as DOCS, but don't have the header
    31     31   # tacked onto them.
    32         -UPDATE_VARS=""
           32  +UPDATE_VARS="appfsd.8"
    33     33   
    34     34   # This script is executed immediately after copying the files
    35     35   # to a temp directory to attempt to compile
    36     36   BEFORE=""
    37     37   
    38     38   # This script is executed after updating variables
    39     39   UPDATED=""