Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#7829 - Full featured proftpd
Attached to Project:
Arch Linux
Opened by Mark Constable (markc) - Thursday, 16 August 2007, 16:20 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 09 September 2007, 10:44 GMT
Opened by Mark Constable (markc) - Thursday, 16 August 2007, 16:20 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 09 September 2007, 10:44 GMT
|
DetailsDescription:
I need to use an ftp deamon that will authenticate from an SQLite database so I modified the proftpd PKGBUILD to include a patch for proftpd-mod-sql-sqlite-0.2, and while I was at it, I set up the build to include the full set of standalone modules as used by the Debian packages including the mysql, postgres and ldap auth modules. One thing I noticed is that wget would not fetch the proftpd package using pasv mode so I had to modify the FTPAGENT variable in /etc/makepkg.conf to use --no-passive-ftp instead of the default. I'm not sure how to apply that setting to only the PKGBUILD for proftpd. Attached is the PKGBUILD. (woops, the Attach button does not work with Konqueror, something about a prototype javascript error so I will paste it here). # $Id: PKGBUILD,v 1.23 2007/03/03 15:12:38 tpowa Exp $ # Maintainer: judd <jvinet@zeroflux.org> pkgname=proftpd pkgver=1.3.1rc3 pkgrel=100 pkgdesc="A high-performance, scalable FTP server" arch=(i686 x86_64) depends=('glibc' 'pam' 'ncurses' 'postgresql-libs' 'mysql' 'sqlite3') url="http://www.proftpd.org" backup=('etc/proftpd.conf') source=(ftp://ftp.proftpd.org/distrib/source/$pkgname-$pkgver.tar.gz proftpd \ proftpd.logrotate modules.conf proftpd.conf mod_sql_mysql.c.patch \ http://www.castaglia.org/proftpd/modules/proftpd-mod-sql-sqlite-0.2.tar.gz) md5sums=('22a1a01a6c0c33cf3408fbe059f902c2' '66b1993aa80fe3fe6c063ee1e7cc1250' \ 'ddb09eb13131becdf0e081eef413116b' 'dc700279119eddb10748435ee20b4f83' \ '177b9f467f341103fc9581038b553d82' '18836bf9b6d95a2a2ceb57d9630e73be'\ 'f1905d0db906eccc07e0ab07aa91c6d3') build() { set -x cd $startdir/src/$pkgname-$pkgver patch -Np1 -i ${startdir}/src/mod_sql_mysql.c.patch || return 1 set +x cp $startdir/src/mod_sql_sqlite/mod_sql_sqlite.c contrib ./configure --prefix=/usr --disable-pam --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 \ --with-shared=mod_quotatab:mod_sql:mod_sql_sqlite:mod_sql_mysql:mod_sql_postgres:mod_quotatab_sql:mod_ldap:mod_quotatab_ldap:mod_ratio:mod_tls:mod_rewrite:mod_radius:mod_wrap:mod_quotatab_file:mod_facl:mod_ctrls_admin:mod_ifsession make || return 1 make DESTDIR=$startdir/pkg install install -D -m644 ../proftpd.logrotate $startdir/pkg/etc/logrotate.d/proftpd mkdir -p $startdir/pkg/etc/rc.d install -m755 $startdir/proftpd $startdir/pkg/etc/rc.d mkdir -p $startdir/pkg/var/log/proftpd mkdir -p $startdir/pkg/usr/lib/proftpd mkdir -p $startdir/pkg/etc/proftpd install -m755 $startdir/proftpd.conf $startdir/modules.conf $startdir/pkg/etc/proftpd install -m644 modules/*.o $startdir/pkg/usr/lib/proftpd # cd $startdir/pkg/etc # sed -i 's|nogroup|nobody|g' proftpd.conf } |
This task depends upon
Closed by Roman Kyrylych (Romashka)
Sunday, 09 September 2007, 10:44 GMT
Reason for closing: Won't implement
Additional comments about closing: Requires additional dependencies
Use proftpd-mysql or proftp-deb from AUR
Sunday, 09 September 2007, 10:44 GMT
Reason for closing: Won't implement
Additional comments about closing: Requires additional dependencies
Use proftpd-mysql or proftp-deb from AUR
Anyway, I don't think about adding that support in proftpd as it would add quite some hefty dependencies (postgresql-libs, mysql, sqlite3) to the package for features that, I guess, not many users need. A similar request was made a while ago and was rejected: http://bugs.archlinux.org/task/4166
Users that need/want these features can use your proftpd-deb PKGBUILD in AUR.
I've just picked up a random dev for some reports after tpowa orphaned those packages. :-P