Re: FreeBSD Port: proftpd-1.3.4a_2

2012-05-07 Thread Miroslav Lachman

Christian Reiss wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hey there,

The proftpd port is borked atm.

If you (make config / make / make install) it with SFTP activated in
the options you (still) don't get sftp.

Activated Options:

- - Deflate,
- - IPV6,
- - PCRE,
- - SFTP,
- - SFTPD.

Configuration (SFTP part)

SFTPEngine   on
SFTPHostKey  /usr/local/certs/proftpd.key


[...]


It worked in previous version perfectly.
I tried upgrading my current server AND doing this from a clean 9.0
install where I only added the abovementioned sftp configuration
additions.


I think you need to read /usr/ports/UPDATING entry:

===
20120126:
  AFFECTS: users of ftp/proftpd and ftp/proftpd-mysql
  AUTHOR: Martin Matuska 

  The proftpd port has been updated to 1.3.4 and changed to use
  dynamically loadable modules. Please add corresponding LoadModule
  directives to your configuration file, like in the following example:

LoadModule mod_tls.c
===

So you need to add LoadModule directive.

Miroslav Lachman
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


FreeBSD Port: proftpd-1.3.4a_2

2012-05-07 Thread Christian Reiss
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hey there,

The proftpd port is borked atm.

If you (make config / make / make install) it with SFTP activated in
the options you (still) don't get sftp.

Activated Options:

- - Deflate,
- - IPV6,
- - PCRE,
- - SFTP,
- - SFTPD.

Configuration (SFTP part)

SFTPEngine   on
SFTPHostKey  /usr/local/certs/proftpd.key


Launching

/usr/local/etc/rc.d/proftpd restart
Stopping proftpd.
Waiting for PIDS: 948.
Starting proftpd.
beta-labs.net proftpd[49410]: The DisplayGoAway directive has been
deprecated; use the MaxClientsPerClass optional message parameter instead
beta-labs.net proftpd[49410]: Fatal: unknown configuration directive
'SFTPEngine' on line 21 of '/usr/local/etc/proftpd.conf'
/usr/local/etc/rc.d/proftpd: WARNING: failed to start proftpd


Files are present.
/usr/local/include/proftpd/mod_sftp.h
/usr/local/libexec/proftpd/mod_sftp.a
/usr/local/libexec/proftpd/mod_sftp.la
/usr/local/libexec/proftpd/mod_sftp.so
/usr/local/libexec/proftpd/mod_sftp_pam.a
/usr/local/libexec/proftpd/mod_sftp_pam.la
/usr/local/libexec/proftpd/mod_sftp_pam.so


It worked in previous version perfectly.
I tried upgrading my current server AND doing this from a clean 9.0
install where I only added the abovementioned sftp configuration
additions.

Cheers,
Christian.

- -- 

 Christian Reiss - em...@christian-reiss.de   /"\  ASCII Ribbon
  \ /Campaign
 GPG Key: http://gpg.christian-reiss.deX   against HTML
 Jabber : ch...@alpha-labs.net/ \   in eMails

 "It's better to reign in hell than to serve in heaven.",
John Milton, Paradise lost.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPp5OGAAoJEETikSarzUPFo0EP/0ondcIGjIoPmykstWwJ1i2q
A5FyFa13dH3DnuABoApUNsdIB/8wPchWPfsMyOBXY894v5MTt0d/4TSouak6zBKM
NcCPLi6m+of4UkEdZY5CWZ014jnL1uEOn8D4RWwyKKbfOFxbN/vA6oXYU8/eLxK/
jwUrBKZYzx3fyuFoGDe+/io91x6vNayo6qTtfXc70wKJidbkzb4H81jv5nyPN8Af
kb8c5L6qJ1MO7BUAIkilbyOpFB3o87b3mT2Bjd2dTuE2a8ujuzka6jekGmveH20M
MZzqsdxkEMrtSJLm/5knvmVK71i9UB8MElkxt8qNFYffv4p8HajiBHsQ4ef0HOaM
aOTRUSCMoOehesbV5446KSHTwXUkVDIJ8MqEoAtUMYfCnTUUOWEmjWj3J9qBnD8B
1+crfcoeQPFeLiRmZ6VCK55WHeyNffzpBx4rDdOtX7uuEOUWIYb5OVpRwcnkEiHk
7k5r4/QN9Zdq8Ol0INwxERUZIrH17IfkgMTfwjFZ/NbhALoFnbZNro//k3TFB8yQ
6VX4JYaiERLgXPTZ8dyxu/vFfcTt1TZMV3CCP23ZD7Vw/aNQFIXjgTd3YnaSMavv
dDlYr07OG3QQMVkDaxsQuCz3THpItftQ54j3H6+a1phOxO+38MnA8zGnr2PTCm6v
etPxEcFu6iF41MTQvTt+
=gJ2+
-END PGP SIGNATURE-