Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2016 13:47:54 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408631 - in head/sysutils/fusefs-afuse: . files
Message-ID:  <201602101347.u1ADls3h059915@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Feb 10 13:47:53 2016
New Revision: 408631
URL: https://svnweb.freebsd.org/changeset/ports/408631

Log:
  - Add LICENSE_FILE
  - Don't install empty ChangeLog
  - No need to store manpage in files/ as patch, convert to plain file
  - pkg-message is only meaningful when DOCS are enabled

Added:
  head/sysutils/fusefs-afuse/files/afuse.1
     - copied, changed from r408630, head/sysutils/fusefs-afuse/files/patch-afuse.1
Deleted:
  head/sysutils/fusefs-afuse/files/patch-afuse.1
Modified:
  head/sysutils/fusefs-afuse/Makefile
  head/sysutils/fusefs-afuse/files/patch-src_afuse.c

Modified: head/sysutils/fusefs-afuse/Makefile
==============================================================================
--- head/sysutils/fusefs-afuse/Makefile	Wed Feb 10 13:11:07 2016	(r408630)
+++ head/sysutils/fusefs-afuse/Makefile	Wed Feb 10 13:47:53 2016	(r408631)
@@ -11,18 +11,20 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	File system automounting implemented in user-space using FUSE
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		fuse pkgconfig
 GNU_CONFIGURE=	yes
 
-SUB_FILES=	pkg-message
-
-PORTDOCS=	AUTHORS ChangeLog README
+PORTDOCS=	AUTHORS README
 
 OPTIONS_DEFINE=	DOCS
+DOCS_SUB_FILES=	pkg-message
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/afuse.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${FILESDIR}/afuse.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 

Copied and modified: head/sysutils/fusefs-afuse/files/afuse.1 (from r408630, head/sysutils/fusefs-afuse/files/patch-afuse.1)
==============================================================================
--- head/sysutils/fusefs-afuse/files/patch-afuse.1	Wed Feb 10 13:11:07 2016	(r408630, copy source)
+++ head/sysutils/fusefs-afuse/files/afuse.1	Wed Feb 10 13:47:53 2016	(r408631)
@@ -1,98 +1,95 @@
---- afuse.1.orig
-+++ afuse.1
-@@ -0,0 +1,95 @@
-+.TH AFUSE 1 "October 12, 2006"
-+.SH NAME
-+AFUSE \- automounting file system implemented in user-space using FUSE
-+.SH DESCRIPTION
-+usage: afuse mountpoint [options]
-+.SS "general options:"
-+.TP
-+\fB\-o\fR opt,[opt...]
-+mount options
-+.TP
-+\fB\-h\fR   \fB\-\-help\fR
-+print help
-+.TP
-+\fB\-V\fR   \fB\-\-version\fR
-+print FUSE version information
-+.SS "AFUSE options:"
-+.TP
-+\fB\-o\fR \fB\ mount_template=CMD\fR
-+template for CMD to execute to mount (*)
-+.TP
-+\fB\-o\fR \fB\ unmount_template=CMD\fR
-+template for CMD to execute to unmount (*) (**)
-+.TP
-+(*) - When executed, %r and %m are expanded in templates to the root
-+directory name for the new mount point, and the actual directory to
-+mount onto respectively to mount onto. Both templates are REQUIRED.
-+.TP
-+(**)- The unmount command must perform a lazy unmount operation. E.g. the
-+\-u \-z options to fusermount, or \-l for regular mount.
-+.SS "FUSE options:"
-+.TP
-+\fB\-d\fR   \fB\-o\fR debug
-+enable debug output (implies \fB\-f\fR)
-+.TP
-+\fB\-f\fR
-+foreground operation
-+.TP
-+\fB\-s\fR
-+disable multi\-threaded operation
-+.TP
-+\fB\-o\fR allow_other
-+allow access to other users
-+.TP
-+\fB\-o\fR allow_root
-+allow access to root
-+.TP
-+\fB\-o\fR nonempty
-+allow mounts over non\-empty file/dir
-+.HP
-+\fB\-o\fR default_permissions enable permission checking by kernel
-+.TP
-+\fB\-o\fR fsname=NAME
-+set filesystem name
-+.TP
-+\fB\-o\fR large_read
-+issue large read requests (2.4 only)
-+.TP
-+\fB\-o\fR max_read=N
-+set maximum size of read requests
-+.TP
-+\fB\-o\fR hard_remove
-+immediate removal (don't hide files)
-+.TP
-+\fB\-o\fR use_ino
-+let filesystem set inode numbers
-+.TP
-+\fB\-o\fR readdir_ino
-+try to fill in d_ino in readdir
-+.TP
-+\fB\-o\fR direct_io
-+use direct I/O
-+.TP
-+\fB\-o\fR kernel_cache
-+cache files in kernel
-+.TP
-+\fB\-o\fR umask=M
-+set file permissions (octal)
-+.TP
-+\fB\-o\fR uid=N
-+set file owner
-+.TP
-+\fB\-o\fR gid=N
-+set file group
-+.TP
-+\fB\-o\fR entry_timeout=T
-+cache timeout for names (1.0s)
-+.TP
-+\fB\-o\fR negative_timeout=T
-+cache timeout for deleted names (0.0s)
-+.TP
-+\fB\-o\fR attr_timeout=T
-+cache timeout for attributes (1.0s)
-+.SH AUTHOR
-+This manual page was written by Varun Hiremath <varunhiremath@gmail.com>,
-+for the Debian project (but may be used by others).
+.TH AFUSE 1 "October 12, 2006"
+.SH NAME
+AFUSE \- automounting file system implemented in user-space using FUSE
+.SH DESCRIPTION
+usage: afuse mountpoint [options]
+.SS "general options:"
+.TP
+\fB\-o\fR opt,[opt...]
+mount options
+.TP
+\fB\-h\fR   \fB\-\-help\fR
+print help
+.TP
+\fB\-V\fR   \fB\-\-version\fR
+print FUSE version information
+.SS "AFUSE options:"
+.TP
+\fB\-o\fR \fB\ mount_template=CMD\fR
+template for CMD to execute to mount (*)
+.TP
+\fB\-o\fR \fB\ unmount_template=CMD\fR
+template for CMD to execute to unmount (*) (**)
+.TP
+(*) - When executed, %r and %m are expanded in templates to the root
+directory name for the new mount point, and the actual directory to
+mount onto respectively to mount onto. Both templates are REQUIRED.
+.TP
+(**)- The unmount command must perform a lazy unmount operation. E.g. the
+\-u \-z options to fusermount, or \-l for regular mount.
+.SS "FUSE options:"
+.TP
+\fB\-d\fR   \fB\-o\fR debug
+enable debug output (implies \fB\-f\fR)
+.TP
+\fB\-f\fR
+foreground operation
+.TP
+\fB\-s\fR
+disable multi\-threaded operation
+.TP
+\fB\-o\fR allow_other
+allow access to other users
+.TP
+\fB\-o\fR allow_root
+allow access to root
+.TP
+\fB\-o\fR nonempty
+allow mounts over non\-empty file/dir
+.HP
+\fB\-o\fR default_permissions enable permission checking by kernel
+.TP
+\fB\-o\fR fsname=NAME
+set filesystem name
+.TP
+\fB\-o\fR large_read
+issue large read requests (2.4 only)
+.TP
+\fB\-o\fR max_read=N
+set maximum size of read requests
+.TP
+\fB\-o\fR hard_remove
+immediate removal (don't hide files)
+.TP
+\fB\-o\fR use_ino
+let filesystem set inode numbers
+.TP
+\fB\-o\fR readdir_ino
+try to fill in d_ino in readdir
+.TP
+\fB\-o\fR direct_io
+use direct I/O
+.TP
+\fB\-o\fR kernel_cache
+cache files in kernel
+.TP
+\fB\-o\fR umask=M
+set file permissions (octal)
+.TP
+\fB\-o\fR uid=N
+set file owner
+.TP
+\fB\-o\fR gid=N
+set file group
+.TP
+\fB\-o\fR entry_timeout=T
+cache timeout for names (1.0s)
+.TP
+\fB\-o\fR negative_timeout=T
+cache timeout for deleted names (0.0s)
+.TP
+\fB\-o\fR attr_timeout=T
+cache timeout for attributes (1.0s)
+.SH AUTHOR
+This manual page was written by Varun Hiremath <varunhiremath@gmail.com>,
+for the Debian project (but may be used by others).

Modified: head/sysutils/fusefs-afuse/files/patch-src_afuse.c
==============================================================================
--- head/sysutils/fusefs-afuse/files/patch-src_afuse.c	Wed Feb 10 13:11:07 2016	(r408630)
+++ head/sysutils/fusefs-afuse/files/patch-src_afuse.c	Wed Feb 10 13:47:53 2016	(r408631)
@@ -1,4 +1,5 @@
-Index: src/afuse.c
+--- src/afuse.c.orig	2013-02-13 02:36:47 UTC
++++ src/afuse.c
 @@ -29,7 +29,7 @@
  #include <string.h>
  #include <stddef.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602101347.u1ADls3h059915>