|
Lines 5-11
Link Here
|
| 5 |
inherit eutils flag-o-matic |
5 |
inherit eutils flag-o-matic |
| 6 |
#--------------------------------------------------------------------------- |
6 |
#--------------------------------------------------------------------------- |
| 7 |
IUSE="kerberos mysql postgres xml xml2 acl cups ldap pam readline python doc" |
7 |
IUSE="kerberos mysql postgres xml xml2 acl cups ldap pam readline python doc" |
| 8 |
IUSE="${IUSE} oav selinux" |
8 |
IUSE="${IUSE} oav selinux libclamav" |
| 9 |
#--------------------------------------------------------------------------- |
9 |
#--------------------------------------------------------------------------- |
| 10 |
DESCRIPTION="SAMBA is a suite of SMB and CIFS client/server programs for UNIX" |
10 |
DESCRIPTION="SAMBA is a suite of SMB and CIFS client/server programs for UNIX" |
| 11 |
HOMEPAGE="http://www.samba.org/ |
11 |
HOMEPAGE="http://www.samba.org/ |
|
Lines 81-87
Link Here
|
| 81 |
rm -rf ${S}/examples.ORIG |
81 |
rm -rf ${S}/examples.ORIG |
| 82 |
cp -a ${S}/examples ${S}/examples.ORIG |
82 |
cp -a ${S}/examples ${S}/examples.ORIG |
| 83 |
# Prep samba-vscan source. |
83 |
# Prep samba-vscan source. |
| 84 |
use oav && cp -a ${WORKDIR}/${PN}-vscan-${VSCAN_VER} ${S}/examples/VFS |
84 |
if use oav ; then |
|
|
85 |
cd ${WORKDIR}/${PN}-vscan-${VSCAN_VER} |
| 86 |
epatch ${FILESDIR}/libclamav.patch |
| 87 |
cp -a ${WORKDIR}/${PN}-vscan-${VSCAN_VER} ${S}/examples/VFS |
| 88 |
fi |
| 85 |
#----------------------------------------------------------------------- |
89 |
#----------------------------------------------------------------------- |
| 86 |
cd ${S}/source |
90 |
cd ${S}/source |
| 87 |
echo "Running autoconf ..." |
91 |
echo "Running autoconf ..." |
|
Lines 199-205
Link Here
|
| 199 |
# Build selected samba-vscan plugins ----------------------------------- |
203 |
# Build selected samba-vscan plugins ----------------------------------- |
| 200 |
if use oav; then |
204 |
if use oav; then |
| 201 |
cd ${S}/examples/VFS/${PN}-vscan-${VSCAN_VER} |
205 |
cd ${S}/examples/VFS/${PN}-vscan-${VSCAN_VER} |
| 202 |
./configure --prefix=/usr --libdir=/usr/lib/samba |
206 |
my_conf="--prefix=/usr --libdir=/usr/lib/samba" |
|
|
207 |
use libclamav && my_conf="${my_conf} --with-libclamav" |
| 208 |
./configure ${my_conf} |
| 203 |
assert "bad ${PN}-vscan-${VSCAN_VER} ./configure" |
209 |
assert "bad ${PN}-vscan-${VSCAN_VER} ./configure" |
| 204 |
emake #${VSCAN_MODS} |
210 |
emake #${VSCAN_MODS} |
| 205 |
fi |
211 |
fi |