blob: 62e05b62bc0a4f790ea94d089fb029b43fec656e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Description: Serveur FTP de très grande performance
# URL: http://www.proftpd.org/
# Maintainer: Cobex4
# Packager: cobex4 at gmail dot com
# Depends on: libldap, libmysql, libpostgresql
name=proftpd
version=1.3.3c
release=1
source=ftp://ftp.proftpd.org/distrib/source/$name-$version.tar.gz
build() {
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
tar xf $scripts-$scriptsversion.tar.bz2
cd $name-$version
./configure --prefix=/usr --mandir=/usr/share/man --disable-pam \
--with-modules=mod_quotatab:mod_quotatab_file:mod_tls:mod_ldap:mod_sql:mod_sql_mysql:mod_sql_postgres \
--sysconfdir=/etc --localstatedir=/var/run --enable-ctrls --enable-ipv6 \
--with-includes=/usr/include/mysql:/usr/include/postgresql \
--with-libraries=/usr/lib/mysql:/usr/lib/postgresql --enable-nls
make
make prefix=$PKG/usr install
# Install du service
cd $SRC/$scripts-$scriptsversion
make DESTDIR=$PKG install-proftpd
rm -r $PKG/etc/sysconfig
rm -r $PKG/etc/rc.d/rcsysinit.d
}
|