Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  9 May 2014 02:04:46 +0400 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        vermaden@interia.pl
Subject:   ports/189486: [PATCH] sysutils/automount: disable EXFAT by default
Message-ID:  <20140508220447.259E61E85E@hades.panopticon>
Resent-Message-ID: <201405082210.s48MA0IE062203@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189486
>Category:       ports
>Synopsis:       [PATCH] sysutils/automount: disable EXFAT by default
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 08 22:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260807: Fri Jan 17 13:14:28 MSK
>Description:
- Use new options features
- Disable EXFAT by default: fusefs-exfat has license restrictions which prevents distribution it package and, while EXFAT option is enabled in automount, would prevent automount package distribution as well. Disabling it by default would fix this, still allowing users building from ports to enable exfat option (or install fusefs-exfat by hand)

Port maintainer (vermaden@interia.pl) is cc'd.

Generated with FreeBSD Port Tools 1.02 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- automount-1.4.3.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 353359)
+++ Makefile	(working copy)
@@ -17,25 +17,14 @@
 NO_BUILD=	yes
 
 OPTIONS_DEFINE=		NTFS3G EXT4 EXFAT
-OPTIONS_DEFAULT=	NTFS3G EXT4 EXFAT
+OPTIONS_DEFAULT=	NTFS3G EXT4
 NTFS3G_DESC=		Enable NTFS write support with ntfs-3g over FUSE
+NTFS3G_RUN_DEPENDS=	fusefs-ntfs>=0:${PORTSDIR}/sysutils/fusefs-ntfs
 EXT4_DESC=		Support EXT4 filesystem
+EXT4_RUN_DEPENDS=	fusefs-ext4fuse>=0:${PORTSDIR}/sysutils/fusefs-ext4fuse
 EXFAT_DESC=		Support Microsoft exFAT filesystem
+EXFAT_RUN_DEPENDS=	fusefs-exfat>=0:${PORTSDIR}/sysutils/fusefs-exfat
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNTFS3G}
-RUN_DEPENDS+=	fusefs-ntfs>=0:${PORTSDIR}/sysutils/fusefs-ntfs
-.endif
-
-.if ${PORT_OPTIONS:MEXT4}
-RUN_DEPENDS+=	fusefs-ext4fuse>=0:${PORTSDIR}/sysutils/fusefs-ext4fuse
-.endif
-
-.if ${PORT_OPTIONS:MEXFAT}
-RUN_DEPENDS+=	fusefs-exfat>=0:${PORTSDIR}/sysutils/fusefs-exfat
-.endif
-
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/automount             ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_DATA}   ${WRKSRC}/automount_devd.conf   ${STAGEDIR}${PREFIX}/etc/devd/automount_devd.conf
--- automount-1.4.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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