2010-12-13 23:41:22 +01:00
|
|
|
# Template file for 'samba'
|
|
|
|
pkgname=samba
|
|
|
|
version=3.5.6
|
2011-11-12 09:45:15 +01:00
|
|
|
revision=2
|
2010-12-13 23:41:22 +01:00
|
|
|
build_wrksrc=source3
|
|
|
|
distfiles="http://us1.samba.org/samba/ftp/stable/$pkgname-$version.tar.gz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-10-16 19:46:38 +02:00
|
|
|
configure_args="--with-fhs --with-pthreads
|
2010-12-13 23:41:22 +01:00
|
|
|
--with-configdir=/etc/samba --with-lockdir=/var/lock/samba
|
|
|
|
--with-piddir=/var/run/samba --with-pammodulesdir=/lib/security
|
|
|
|
--with-syslog --enable-external-libtalloc --with-cifsumount
|
2011-10-21 00:08:53 +02:00
|
|
|
--enable-external-libtdb --disable-fam"
|
2010-12-13 23:41:22 +01:00
|
|
|
short_desc="SMB/CIFS file, print, and login server for Unix"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=466410868375d19a286ac3fc5d9f3c267ce359189f8e0d76e72ec10bd54247da
|
|
|
|
long_desc="
|
|
|
|
Samba is an implementation of the SMB/CIFS protocol for Unix systems,
|
|
|
|
providing support for cross-platform file and printer sharing with Microsoft
|
|
|
|
Windows, OS X, and other Unix systems. Samba can also function as an
|
|
|
|
NT4-style domain controller, and can integrate with both NT4 domains and
|
|
|
|
Active Directory realms as a member server."
|
|
|
|
|
|
|
|
# XXX: Prepare rc service, conf files, etc.
|
|
|
|
subpackages="cifs-utils smbclient libsmbclient samba-devel"
|
|
|
|
|
|
|
|
Add_dependency run readline
|
|
|
|
Add_dependency run smbclient
|
|
|
|
|
|
|
|
Add_dependency build gettext
|
|
|
|
Add_dependency build libcap-devel
|
|
|
|
Add_dependency build popt-devel
|
|
|
|
Add_dependency build mit-krb5-devel
|
|
|
|
Add_dependency build e2fsprogs-devel
|
|
|
|
Add_dependency build libldap-devel
|
|
|
|
Add_dependency build zlib-devel
|
|
|
|
Add_dependency build pam-devel
|
|
|
|
Add_dependency build acl-devel
|
|
|
|
Add_dependency build attr-devel
|
|
|
|
Add_dependency build avahi-libs-devel
|
|
|
|
Add_dependency build readline-devel
|
|
|
|
Add_dependency build tdb-devel
|
2011-07-03 13:24:36 +02:00
|
|
|
Add_dependency build talloc-devel
|
2010-12-13 23:41:22 +01:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Remove tdb manpages!
|
|
|
|
rm -f ${DESTDIR}/usr/share/man/man8/tdb*
|
|
|
|
|
|
|
|
# Remove swat (outdated, unsecure).
|
|
|
|
rm -f ${DESTDIR}/usr/sbin/swat
|
|
|
|
rm -f ${DESTDIR}/usr/share/man/man8/swat
|
|
|
|
rm -rf ${DESTDIR}/usr/share/samba/swat
|
|
|
|
}
|