1 -----BEGIN PGP SIGNED MESSAGE-----
4 The Mandrake samba spec file used for packaging for Mandrake and cooker
5 is now also used by the makerpms.sh script, and you can pass any options
6 that you would normally pass to rpm via the makerpms.sh script.
8 Note that only release after 8.1 support passing options using
9 "--with <option>" syntax. The following options are available when
10 building with the script:
12 - --with|--without ldap
13 - --with|--without acl
14 - --with|--without winbind
15 - --with|--without wins
17 Using "--with vscan" requires that you place a copy of the samba-vscan
18 tarball (coverted to bz2 using bzme) from:
19 http://prdownloads.sourceforge.net/openantivirus/samba-vscan-0.2.5a.tar.gz?download in your rpm source directory:
21 cp samba-vscan-0.2.5a.tar.gz `rpm --eval "%_sourcedir"`
22 bzme `rpm --eval "%_sourcedir"`/samba-vscan-0.2.5a.tar.gz
24 When using "--with vscan" you will probably want to enable a virus scanner
29 - --with openantivirus
34 You may need to do additional setup for your virus scanner to get this to
35 work, please see ../../examples/VFS/<scanner>/INSTALL (after having started
36 a build with "sh makerpms.sh --with vscan")
38 Note that only sophos has been tested with the spec, but the rest should work
39 (after the preparation). Reports of working scanners are welcome, and please
40 report any that do not work (preferably with a fix :-)).
42 So, to build ldap-enable RPMs for with antivirus support with sophos, but
44 sh makerpms.sh --with ldap --with vscan --with sophos --without acl
46 The same features can be enabled on Mandrake 7.2/8.0 by editing samba2.spec,
47 and changing the 0 to 1 to enable the option:
51 %define build_winbind 0
56 Similar sections exist for the virus scanning options.
58 (If you haven't rebuilt RPMs before, it is suggested that you take a
59 brief look through http://www.linux-mandrake.com/howtos/mdk-rpm/,
60 specifically sections 3.1 and 3.2)
62 The defaults for Mandrake 8.1 and 8.2 are shown below:
65 %define build_winbind 1
72 %define build_winbind 0
77 Note that building with LDAP support will only allow you to use smbpasswd's
78 stored in ldap, not in the local smbpasswd file. From 2.2.5 onwards in the
79 2.2 tree, ldap-enable RPMs now carry an ldap modifier to indicate this (for
80 example, samba-server becomes samba-server-ldap).
82 Building with acl requires that you have the acl development libraries.
83 The libraries are standard on 8.1 and 8.2.
84 ACLs can be used on Mandrake 8.0 with the updated kernel (to support XFS)
85 if you install the RPMs available at
86 http://ranger.dnsalias.com/mandrake/samba/RPMS/8.0/samba-2.2.1a_xfs/
88 Note that precompiled binaries of samba are also available on my site:
89 http://ranger.dnsalias.com/mandrake/samba
90 and that of Sylvestre Taburet:
91 http://people.mandrakesoft.com/~staburet/samba/
93 If you have any problems with these RPMs, please send email to both
94 bgmilne@cae.co.za and staburet@mandrakesoft.com
96 These RPMs are provided as-is, are not official, and can not be
97 supported by Mandrakesoft. However, we will do our best to provide
98 reliable and well-packaged RPMS, since we use them on our own servers
101 This file is signed with my gpg key, a copy of my public key is available
102 at http://ranger.dnsalias.com/bgmilne.asc. The finger-print for this key
104 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
106 Recent posts by me on samba@samba.org have been signed with this key,
107 in case you really want to verify who I am to some extent.
111 -----BEGIN PGP SIGNATURE-----
112 Version: GnuPG v1.0.6 (GNU/Linux)
114 iD8DBQE9D2h3rJK6UGDSBKcRAhtJAKC0fVkIMETgRxccrwLBcKZKHllCIACeNcZ9
115 bxGZSTOHs57ir3wFR+3s0XM=
117 -----END PGP SIGNATURE-----