Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37877939
en ru br
Репозитории 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
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: pure-ftpd

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: pure-ftpd-1.0.18-conf.patch
Скачать


diff -ruN pure-ftpd-1.0.17a.orig/configuration-file/pure-ftpd.conf.in pure-ftpd-1.0.17a/configuration-file/pure-ftpd.conf.in
--- pure-ftpd-1.0.17a.orig/configuration-file/pure-ftpd.conf.in	2003-11-24 13:14:34 +0300
+++ pure-ftpd-1.0.17a/configuration-file/pure-ftpd.conf.in	2003-11-26 15:07:04 +0300
@@ -9,7 +9,7 @@
 # instead of command-line options, please run the
 # following command :
 #
-# @prefix@/sbin/pure-config.pl @prefix@/etc/pure-ftpd.conf
+# @prefix@/sbin/pure-config.py /etc/pure-ftpd/pure-ftpd.conf
 #
 # Please don't forget to have a look at documentation at
 # http://www.pureftpd.org/documentation.html for a complete list of
@@ -43,7 +43,7 @@
 
 # Fork in background
 
-Daemonize                   yes
+Daemonize                   no
 
 
 
@@ -107,23 +107,23 @@
 
 # LDAP configuration file (see README.LDAP)
 
-# LDAPConfigFile                /etc/pureftpd-ldap.conf
+# LDAPConfigFile                /etc/pure-ftpd/pureftpd-ldap.conf
 
 
 
 # MySQL configuration file (see README.MySQL)
 
-# MySQLConfigFile               /etc/pureftpd-mysql.conf
+# MySQLConfigFile               /etc/pure-ftpd/pureftpd-mysql.conf
 
 
 # Postgres configuration file (see README.PGSQL)
 
-# PGSQLConfigFile               /etc/pureftpd-pgsql.conf
+# PGSQLConfigFile               /etc/pure-ftpd/pureftpd-pgsql.conf
 
 
 # PureDB user database (see README.Virtual-Users)
 
-# PureDB                        /etc/pureftpd.pdb
+# PureDB                        /etc/pure-ftpd/pureftpd.pdb
 
 
 # Path to pure-authd socket (see README.Authentication-Modules)
@@ -134,7 +134,7 @@
 
 # If you want to enable PAM authentication, uncomment the following line
 
-# PAMAuthentication             yes
+PAMAuthentication             yes
 
 
 
@@ -301,7 +301,7 @@
 # fw.c9x.org - jedi [13/Dec/1975:19:36:39] "GET /ftp/linux.tar.bz2" 200 21809338
 # This log file can then be processed by www traffic analyzers.
 
-# AltLog                     clf:/var/log/pureftpd.log
+AltLog                     clf:/var/log/pure-ftpd/pureftpd.log
 
 
 
diff -ruN pure-ftpd-1.0.17a.orig/pam/pure-ftpd pure-ftpd-1.0.17a/pam/pure-ftpd
--- pure-ftpd-1.0.17a.orig/pam/pure-ftpd	2003-11-24 13:14:35 +0300
+++ pure-ftpd-1.0.17a/pam/pure-ftpd	2003-11-26 15:09:06 +0300
@@ -4,6 +4,9 @@
 # Install it in /etc/pam.d/pure-ftpd or add to /etc/pam.conf
 
 auth       required     pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
+# Uncomment next line to allow non-anonymous ftp access ONLY for users,
+# listed in /etc/ftpallow
+#auth    required        pam_listfile.so item=user sense=allow file=/etc/ftpallow onerr=fail
 auth       required     pam_stack.so service=system-auth
 auth       required     pam_shells.so
 auth       required     pam_nologin.so
@@ -13,4 +16,3 @@
 password   required     pam_stack.so service=system-auth
 
 session    required     pam_stack.so service=system-auth
-
diff -ruN pure-ftpd-1.0.17a.orig/pureftpd-mysql.conf pure-ftpd-1.0.17a/pureftpd-mysql.conf
--- pure-ftpd-1.0.17a.orig/pureftpd-mysql.conf	2003-11-21 14:35:09 +0300
+++ pure-ftpd-1.0.17a/pureftpd-mysql.conf	2003-11-26 15:07:04 +0300
@@ -19,7 +19,7 @@
 
 # Optional : define the location of mysql.sock if the server runs on this host.
 
-MYSQLSocket     /tmp/mysql.sock
+MYSQLSocket     /var/lib/mysql/mysql.sock
 
 
 # Mandatory : user to bind the server as.
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin