# Description: SMB server and client for unix # URL: http://www.samba.org # Maintainer: Juergen Daubert, jue at crux dot nu # Depends on: ncurses openssl readline zlib tdb talloc libcap acl libaio popt name=samba version=4.1.11 release=1 source=(http://www.samba.org/samba/ftp/stable/$name-$version.tar.gz \ samba-install_yapp_driver.patch samba) build () { cd $name-$version patch -d pidl/lib -p0 -i $SRC/samba-install_yapp_driver.patch ./configure --enable-fhs \ --prefix=/usr \ --localstatedir=/var \ --mandir=/usr/man \ --sysconfdir=/etc \ --with-privatedir=/etc/samba/private make make DESTDIR=$PKG install # man pages local p for p in docs/manpages/*; do install -D -m 644 $p $PKG/usr/man/man${p##*.}/${p##*/} done # cleanup chmod 1777 $PKG/var/lock # config-file and start-script install -d $PKG/etc/{samba,rc.d} install -m 0600 packaging/LSB/smb.conf $PKG/etc/samba/smb.conf.default install -m 0755 $SRC/samba $PKG/etc/rc.d }