diff options
author | garga <garga@FreeBSD.org> | 2009-11-30 18:37:59 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2009-11-30 18:37:59 +0800 |
commit | 39ea06e67f81b3937909754235df4074aacebd66 (patch) | |
tree | 6d1435e66d359a38e9eeac42470abe9347f52032 | |
parent | 30fc8f4f1b7b41e070c61069e3c3e8a2557ac2d9 (diff) | |
download | freebsd-ports-gnome-39ea06e67f81b3937909754235df4074aacebd66.tar.gz freebsd-ports-gnome-39ea06e67f81b3937909754235df4074aacebd66.tar.zst freebsd-ports-gnome-39ea06e67f81b3937909754235df4074aacebd66.zip |
Convert --with-virtualchroot to an OPTION, on by default
Sugested by: Jozsef Kovacs <jozsef.kovacs@datira.com>
-rw-r--r-- | ftp/pure-ftpd/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ftp/pure-ftpd/Makefile b/ftp/pure-ftpd/Makefile index c3fede52c77e..3e3910169d6c 100644 --- a/ftp/pure-ftpd/Makefile +++ b/ftp/pure-ftpd/Makefile @@ -31,7 +31,6 @@ GNU_CONFIGURE= yes MAKE_JOBS_SAFE= yes CONFIGURE_ARGS= --with-everything \ --with-paranoidmsg \ - --with-virtualchroot \ --sysconfdir=${PREFIX}/etc \ --localstatedir=/var @@ -51,7 +50,8 @@ OPTIONS= LDAP "Support for users in LDAP directories" off \ UPLOADSCRIPT "Support uploadscript daemon" off \ UTF8 "Support for charset conversion (expreimental)" off \ SENDFILE "Support for the sendfile syscall" on \ - LARGEFILE "Support downloading files larger than 2Gb" off + LARGEFILE "Support downloading files larger than 2Gb" off \ + VIRTUALCHROOT "Follow symlinks outside a chroot jail" on .include <bsd.port.pre.mk> @@ -135,6 +135,12 @@ CONFIGURE_ARGS+= --enable-largefile CONFIGURE_ARGS+= --disable-largefile .endif +.if defined(WITH_VIRTUALCHROOT) +CONFIGURE_ARGS+= --with-virtualchroot +.else +CONFIGURE_ARGS+= --without-virtualchroot +.endif + PAM_TEMPL?= ${FILESDIR}/pam.conf.5 PAM_DIR?= ${EXAMPLESDIR}/pam PAM_TARGET?= pure-ftpd |