Line 10
Link Here
|
10 |
DEFLATE_VER="0.5.4" |
|
|
Line 12
Link Here
|
12 |
VROOT_VER="0.8.5" |
11 |
VROOT_VER="0.9" |
13 |
-- |
|
|
Line 22
Link Here
|
22 |
deflate? ( http://www.castaglia.org/${PN}/modules/${PN}-mod-deflate-${DEFLATE_VER}.tar.gz ) |
|
|
Lines 28-29
Link Here
|
28 |
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 sparc x86" |
26 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
29 |
IUSE="acl authfile ban +caps case clamav +ctrls deflate doc exec hardened ifsession ident ipv6 kerberos ldap mysql ncurses nls pam postgres radius ratio readme rewrite selinux sftp shaper sitemisc softquota ssl tcpd trace vroot xinetd" |
27 |
IUSE="acl authfile ban +caps case clamav copy +ctrls deflate doc exec hardened ifsession ifversion ident ipv6 kerberos ldap mysql ncurses nls pam postgres qos radius ratio readme rewrite selinux sftp shaper sitemisc softquota ssl tcpd trace vroot xinetd" |
30 |
-- |
|
|
Lines 56-67
Link Here
|
56 |
pkg_setup() { |
|
|
57 |
if [ -f "${ROOT}"/var/run/proftpd.pid ] ; then |
58 |
eerror "Your ProFTPD server is running. In order to install this update" |
59 |
eerror "you have to stop the running server. If you are using ProFTPD in" |
60 |
eerror "the standalone mode you can stop the server by executing:" |
61 |
eerror " /etc/init.d/proftpd stop" |
62 |
eerror "If you are sure that ProFTPD is not running anymore you have to" |
63 |
eerror "delete the /var/run/proftpd.pid file." |
64 |
die "This update requires to stop the ProFTPD server!" |
65 |
fi |
66 |
} |
67 |
|
Line 75
Link Here
|
75 |
use deflate && __prepare_module mod_deflate |
|
|
Lines 78-80
Link Here
|
78 |
# Fix MySQL includes |
|
|
79 |
sed -i -e "s/<mysql.h>/<mysql\/mysql.h>/g" contrib/mod_sql_mysql.c |
80 |
|
Line 101
Link Here
|
|
|
83 |
use copy && mym="${mym}:mod_copy" |
Line 107
Link Here
|
|
|
90 |
use ifversion && mym="${mym}:mod_ifversion" |
Lines 129-136
Link Here
|
129 |
if use mysql ; then |
113 |
use mysql && mym="${mym}:mod_sql_mysql" |
130 |
myc="${myc} --with-includes=/usr/include/mysql" |
114 |
use postgres && mym="${mym}:mod_sql_postgres" |
131 |
mym="${mym}:mod_sql_mysql" |
|
|
132 |
fi |
133 |
if use postgres ; then |
134 |
myc="${myc} --with-includes=/usr/include/postgresql" |
135 |
mym="${mym}:mod_sql_postgres" |
136 |
fi |
137 |
-- |
Line 138
Link Here
|
|
|
116 |
use qos && mym="${mym}:mod_qos" |
117 |
use radius && mym="${mym}:mod_radius" |
118 |
use ratio && mym="${mym}:mod_ratio" |
119 |
use readme && mym="${mym}:mod_readme" |
120 |
use rewrite && mym="${mym}:mod_rewrite" |
Lines 143-146
Link Here
|
143 |
use radius && mym="${mym}:mod_radius" |
|
|
144 |
use ratio && mym="${mym}:mod_ratio" |
145 |
use readme && mym="${mym}:mod_readme" |
146 |
use rewrite && mym="${mym}:mod_rewrite" |