Looking at the source of pureftpd and issuing ./configure --help I got:
[EMAIL PROTECTED] pure-ftpd-1.1.0]# ./configure --help
`configure' configures this package to adapt to many kinds of systems.
Usage: ./configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data [PREFIX/share]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--infodir=DIR info documentation [PREFIX/info]
--mandir=DIR man documentation [PREFIX/man]
Program names:
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-dependency-tracking Speeds up one-time builds
--enable-dependency-tracking Do not reject slow dependency extractors
--disable-largefile omit support for large files
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-dmalloc use dmalloc, as in
http://www.dmalloc.com/dmalloc.tar.gz
--without-standalone Don't compile the standalone server code
--without-inetd Don't support super-servers (like inetd)
--without-capabilities Don't use Linux capabilities (default=detect)
--without-shadow Don't use shadow passwords (default=detect)
--without-usernames Use only numerical UIDs/GIDs
--without-iplogging Never log remote IP addresses (privacy)
--without-humor Disable humor (enabled by default)
--without-longoptions Don't support long options (like --help)
--without-ascii Don't support 7-bits (ASCII) transfers
--without-banner Don't display any initial banner
--without-globbing Don't include globbing code
--without-nonalnum Only allow basic alphanumeric characters in file
names
--without-sendfile Don't use zero-copy optimizations (for network FS)
--with-minimal Build only a small minimal server
--with-paranoidmsg Use paranoid, but not admin-friendly messages
--with-sysquotas Use system (not virtual) quotas
--with-altlog Support alternative log format (Apache-like)
--with-puredb Support virtual (FTP-only) users
--with-pam Enable PAM support (default=disabled)
--with-cookie Support 'fortune' cookies (-F option)
--with-throttling Support bandwidth throttling (disabled by default)
--with-ratios Support for upload/download ratios
--with-quotas Support .ftpquota files
--with-ftpwho Support for pure-ftpwho and pure-ftpcount
--with-largefile Support for files > 2 Gb (slower)
--with-welcomemsg Support welcome.msg backward compatibility
--with-uploadscript Allow running an external script after an upload
--with-virtualhosts Handle virtual servers on different IP addresses
--with-virtualchroot Enable the ability to follow symlinks outside a
chroot jail
--with-nonroot Non-root FTP (*VERY INSECURE, DON'T USE BLINDLY*)
--with-debug For maintainers only - please do not use
--with-everything Build a big server with almost everything
--with-language= < english | german | romanian | french |
french-funny | polish | spanish | danish | dutch |
italian | brazilian-portuguese | slovak | korean >
--with-ldap Users database is an LDAP directory (see doc)
--with-mysql Users database is a MySQL database (see doc)
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
headers in a nonstandard directory <include dir>
CPP C preprocessor
PERL local path to the perl interpreter
PYTHON local path to the python interpreter
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
SO can I set ANY of this options to openpkg as -Dwith_XXX or just the two shown
by rpm -qpi ?
In particular I whant to enable LDAP auth and brazilian language
C�pia Michael Schloh von Bennewitz <[EMAIL PROTECTED]>:
> On Mon, Dec 08, 2003, [EMAIL PROTECTED] wrote:
> > I cantt get a list for avaiable compile optons. If someone could
> show
> > me for example how to get the avaiable compile (--with_xxx) options
> for
> > purftpd. I know that at least ther should be something to enable
> ldap
> > authentication.
> >
>
> Here's how it looks for me:
>
> $ /cw/bin/rpm -qpi /tmp/pureftpd-1.1.0-1.3.0.src.rpm
> Name: pureftpd Source RPM: (none)
> Version: 1.1.0 Packager: The OpenPKG Project
> Release: 1.3.0 Build Host: dv1.dev.de.cw.net
> Group: FTP Build System: ix86-freebsd4.8
> Distrib: OpenPKG [BASE] Build Time: Tue Jul 29 17:09:11
> 2003
> License: GPL Relocations: (not relocateable)
> Vendor: A.Gulbrandsen, Frank DENIS Install Size: 409056 bytes
> URL: http://www.pureftpd.org/ Install Time: (not installed)
> Summary: Alternative FTP Server
> Description:
> Pure-FTPd is a fast, production-quality, standard-conformant FTP
> server, based upon Troll-FTPd. Unlike other popular FTP servers,
> it's designed to be secure in default configuration, has no known
> buffer overflow, it is really trivial to set up and it is
> especially
> designed for modern kernels. Features include PAM support, IPv6,
> chroot()ed home directories, virtual domains, built-in 'ls',
> anti-warez system, bounded ports for passive downloads, FXP
> protocol, bandwidth throttling, ratios, LDAP, XML and HTML
> reports,
> support for external programs to post-process uploads and more.
> Provides:
> pureftpd::with_fsl = yes
> pureftpd::with_pam = no
> $
>
> --
> [EMAIL PROTECTED]
> Development Team, Operations Northern Europe
> Cable & Wireless Telecommunications Services GmbH
>
>
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]