On Tue, Nov 13, 2007 at 08:34:14PM EST, Hae-woo Park wrote: > Hello. > I have got a problem with proftpd. > > I added the following line into /etc/proftpd/modules.conf. > > LoadModule mod_lang.c > > Then I couldn't start the ftp server proftpd.
The attached patch fixes this, by forcing the proftpd package build to compile the mod_lang module into proftpd statically. It turns out that due to the way the module has been written, it can't be dynamically loaded. As a result of this, the LoadModule mod_lang.c statement in the config file is not needed, if the package is built with this patch. -- Luke Yelavich GPG key: 0xD06320CE (http://www.themuso.com/themuso-gpg-key.txt) Email & MSN: [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
diff -u proftpd-dfsg-1.3.1/debian/rules proftpd-dfsg-1.3.1/debian/rules --- proftpd-dfsg-1.3.1/debian/rules +++ proftpd-dfsg-1.3.1/debian/rules @@ -36,14 +33,14 @@ endif -DSOMODS1 = mod_site_misc:mod_load:mod_ban:mod_lang:mod_quotatab:mod_sql:mod_sql_mysql:mod_sql_postgres: +DSOMODS1 = mod_site_misc:mod_load:mod_ban:mod_quotatab:mod_sql:mod_sql_mysql:mod_sql_postgres: DSOMODS2 = mod_quotatab_sql:mod_ldap:mod_quotatab_ldap:mod_ratio:mod_tls:mod_rewrite:mod_radius:mod_wrap:mod_wrap2:mod_wrap2_file: DSOMODS3 = mod_wrap2_sql:mod_quotatab_file:mod_quotatab_radius:mod_facl:mod_ctrls_admin:mod_ifsession CONF_ARGS := --prefix=/usr \ --with-includes=$(shell pg_config --includedir) \ --mandir=/usr/share/man --sysconfdir=/etc/proftpd --localstatedir=/var/run --libexecdir=/usr/lib/proftpd \ --enable-sendfile --enable-facl --enable-dso --enable-autoshadow --enable-ctrls --with-modules=mod_readme \ - --enable-ipv6 --enable-devel=stacktrace + --enable-ipv6 --enable-devel=stacktrace --enable-nls ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) CONF_ARGS += --build $(DEB_HOST_GNU_TYPE) diff -u proftpd-dfsg-1.3.1/debian/templates/modules.conf proftpd-dfsg-1.3.1/debian/templates/modules.conf --- proftpd-dfsg-1.3.1/debian/templates/modules.conf +++ proftpd-dfsg-1.3.1/debian/templates/modules.conf @@ -35,7 +35,6 @@ LoadModule mod_rewrite.c LoadModule mod_load.c LoadModule mod_ban.c -LoadModule mod_lang.c LoadModule mod_wrap2.c LoadModule mod_wrap2_file.c LoadModule mod_wrap2_sql.c
signature.asc
Description: Digital signature