diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2012-04-29 00:43:37 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2012-04-29 00:43:37 +0000 |
commit | dcc67b2d4f906ab97e4e7027cf56054324f42528 (patch) | |
tree | 70fd02d4716b014f80055220dbe682b904747033 | |
parent | 41a0e575f501570bf063c6321302bb483ca4ff0b (diff) | |
download | ports-dcc67b2d4f906ab97e4e7027cf56054324f42528.tar.gz ports-dcc67b2d4f906ab97e4e7027cf56054324f42528.zip |
Disable sendfile support by default and make it optional. Sendfile
can cause performance and excessive I/O problems when used with ZFS.
PR: 167385
Submitted by: Daniel Becker <razzfazz@gmail.com>
Notes
Notes:
svn path=/head/; revision=295660
-rw-r--r-- | net/netatalk/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile index dfbf70c67cbb..57ae6c986f70 100644 --- a/net/netatalk/Makefile +++ b/net/netatalk/Makefile @@ -7,6 +7,7 @@ PORTNAME= netatalk PORTVERSION= 2.2.2 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net print MASTER_SITES= SF @@ -39,7 +40,8 @@ OPTIONS= APPLETALK "Enable AppleTalk protocol support" on \ TIMELORD "Enable Timelord network time service" off \ KRB5 "Enable Kerberos V UAM" off \ ZEROCONF "Enable Zeroconf (Bonjour) support" on \ - LDAP "Enable LDAP support" off + LDAP "Enable LDAP support" off \ + SENDFILE "Enable sendfile support" off FILES= AppleVolumes.default AppleVolumes.system afpd.conf netatalk.conf LINKS= unbin unhex unsingle hqx2bin single2bin macbinary \ @@ -119,6 +121,12 @@ USE_OPENLDAP= yes CONFIGURE_ARGS+= --without-ldap .endif +.if defined (WITH_SENDFILE) +CONFIGURE_ARGS+= --enable-sendfile +.else +CONFIGURE_ARGS+= --disable-sendfile +.endif + .if ${OSVERSION} < 800031 PLIST_SUB+= ATFUNCS="@comment " .else |