Репозитории ALT
5.1: | 1.0.22-alt6 |
4.1: | 1.0.19-alt1.1 |
4.0: | 1.0.19-alt1.1 |
3.0: | 1.0.19-alt1 |
Группа :: Система/Серверы
Пакет: pure-ftpd
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: pure-ftpd-1.0.22-VHOST_PATH.patch
Скачать
Скачать
define VHOST_PATH with configure option. this macros was echoed directly to
config.h before.
diff --git pure-ftpd/configure.ac pure-ftpd/configure.ac
index d301133..e5581df 100644
--- pure-ftpd/configure.ac
+++ pure-ftpd/configure.ac
@@ -732,6 +732,12 @@ AC_ARG_WITH(virtualhosts,
AC_DEFINE(WITH_VIRTUAL_HOSTS,,[with virtualhosts])
fi ])
+AC_ARG_WITH(vhostpath,
+[AS_HELP_STRING(--with-vhostpath,virtual hosts path)],
+[ if test -n "$withval"; then
+ AC_DEFINE_UNQUOTED(VHOST_PATH,"$withval",[virtual host path])
+ fi ])
+
AC_ARG_WITH(virtualchroot,
[AS_HELP_STRING(--with-virtualchroot,Enable the ability to follow symlinks outside a chroot jail)],
[ if test "x$withval" = "xyes" ; then