the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: samba-ldap
Version: 2.2.12
Revision: 1014
Maintainer: None
GCC: 4.0
Depends: <<
libncurses5-shlibs (>= 5.4-20041023-1006),
ncurses (>= 5.4-20041023-1006),
openldap-ssl (>= 2.1.22-28),
popt-shlibs
<<
BuildDepends: <<
cyrus-sasl2-dev (>= 2.1.21-1),
db48-aes | db48,
fink (>= 0.24.12-1),
libncurses5 (>= 5.4-20041023-1006),
openldap-ssl-dev (>= 2.1.22-28),
openssl098-dev,
popt,
readline5
<<
Conflicts: samba-ssl, samba
Replaces: samba-ssl, samba
Provides: samba
Source: mirror:custom:samba-%v.tar.gz
CustomMirror: <<
asi-KR: http://kr.samba.org/samba/ftp/old-versions/
asi-SG: http://sg.samba.org/samba/ftp/old-versions/
aus-AU: http://au1.samba.org/samba/ftp/old-versions/
eur-UK: http://samba.mirror.ac.uk/samba/ftp/old-versions/
eur-RU: http://ru.samba.org/samba/ftp/old-versions/
nam-US: http://us2.samba.org/samba/ftp/old-versions/
nam-US: http://us1.samba.org/samba/ftp/old-versions/
<<
Source2: http://homepage.mac.com/mattsash/fink/Samba-StartupItem.tar.gz
Source-MD5: ffda6f5a93635d0b2afb2b2fb17e3bbf
Source2-MD5: af4bb158865c29753871bcbf98487a71
Source2ExtractDir: samba-%v
SourceDirectory: samba-%v/source
PatchFile: %n.patch
PatchFile-MD5: b3e932e7788310f0aaf3eb7ef383f5d8
ConfigureParams: --with-privatedir=%p/share/samba/private --with-swatdir=%p/share/samba/swat --with-configdir=%p/etc/samba --mandir=%i/share/man --with-lockdir=%p/var/samba --with-piddir=%p/var/samba --enable-cups --with-ssl --with-sslinc=%p/include/openssl --with-ldapsam
InstallScript: <<
mkdir -p %i/etc/samba
mkdir -p %i/share/man
mkdir -p %i/share/doc/%n
mkdir -p %i/share/samba/private
mkdir -p %i/share/samba/swat
mkdir -p %i/share/samba/StartupItems
mkdir -p %i/var/samba
make install prefix=%i SWATDIR=%i/share/samba/swat
cd ..; cp -r Samba %i/share/samba/StartupItems
cd ../examples; cp smb.conf.default %i/etc/samba/smb.conf
cd ..; cp -r examples %i/share/samba
cd ..; cp COPYING Manifest README Roadmap WHATSNEW.txt %i/share/doc/%n
cd ../swat; cp README %i/share/doc/%n/README.swat
<<
ConfFiles: %p/etc/samba/smb.conf
Description: SMB and CIFS client and server for UNIX
DescDetail: <<
Samba is a free SMB and CIFS client and server for UNIX. This install of
samba has ssl, ldap and cups support
<<
DescUsage: <<
Samba settings are set in the configuration file 'smb.conf'. installed in
yourfinkdirectory/etc/samba.
To enable this version of Samba instead of the version installed with 10.3
do the following;
1. Backup the default 10.3 Samba startupitem found in /System/Library
/StartupItems, incase ever needed.
2. Replace the default 10.3 Samba startupitem with the startupitem found
in yourfinkdirectory/share/samba/StartupItems. Please note if you have
fink installed outside of the default 'sw' you will have to edit the
startupitem to point it towards your fink install.
3. Finally highlight "Windows File Sharing" in the System Preferences,
"Sharing" under the "Services" tab and press "Start".
To enable Swat do the following;
1. Add the following line to "/etc/inetd.conf";
"swat stream tcp nowait root /sw/sbin/swat swat" and
2. Add the following line to "/etc/services"; "swat 901/tcp", reboot then
3. Open your favourite web browser and point it at http://localhost:901/
<<
DescPackaging: <<
Although this package has a GPL license, it is marked Restrictive since
it links to openssl.
Patch provided by David Morrison to fix a bug where a directory is created
in the fink prefix outside of dpkg when installing.
Originally packaged by Matt Stephenson.
<<
License: Restrictive
Homepage: http://www.samba.org