samba: update to 3.6.10.

This commit is contained in:
Juan RP 2012-12-11 14:13:39 +01:00
parent e60f00b747
commit 342fe2a10e
3 changed files with 17 additions and 31 deletions

View File

@ -1,10 +0,0 @@
/var/log/samba/*.log /var/log/samba/log.* {
notifempty
missingok
sharedscripts
copytruncate
postrotate
/bin/systemctl try-restart smbd.service nmbd.service winbindd.service \
2>/dev/null || true
endscript
}

View File

@ -1,14 +1,13 @@
# Template file for 'samba-devel'. # Template file for 'samba-devel'.
# #
depends="libsmbclient>=3.6.5" noarch=yes
depends="libsmbclient>=${version}"
short_desc="${short_desc} - development files" short_desc="${short_desc} - development files"
long_desc=" long_desc="
${long_desc} ${long_desc}
This package provides development files: headers, static libraries, etc." This package provides development files: headers, static libraries, etc."
noarch=yes
do_install() { do_install() {
vmove usr/include usr vmove usr/include usr
} }

View File

@ -1,27 +1,23 @@
# Template file for 'samba' # Template file for 'samba'
pkgname=samba pkgname=samba
version=3.6.8 version=3.6.10
revision=2 revision=1
build_wrksrc=source3 build_wrksrc=source3
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-fhs --with-pam --with-pam_smbpass --with-ldap configure_args="--with-fhs --with-pam --with-pam_smbpass --with-ldap
--with-configdir=/etc/samba --with-lockdir=/var/samba --with-configdir=/etc/samba --with-lockdir=/var/samba
--with-cachedir=/var/samba --with-nmbdsocketdir=/run/samba/socket --with-cachedir=/var/samba --with-nmbdsocketdir=/run/samba/socket
--with-statedir=/var/samba --with-piddir=/run/samba --with-dnsupdate --with-statedir=/var/samba --with-piddir=/run/samba --with-dnsupdate
--with-pammodulesdir=/usr/lib/security --with-automount --disable-swat --with-pammodulesdir=/usr/lib/security --with-automount --disable-swat
--with-syslog --enable-external-libtalloc --with-quotas --enable-cups --with-syslog --enable-external-libtalloc --with-quotas --enable-cups
--enable-external-libtdb --disable-fam --with-ads --with-acl-support --enable-external-libtdb --disable-fam --with-ads --with-acl-support
--with-shared-modules=idmap_ad,idmap_adex,idmap_rid,idmap_hash,idmap_tdb2" --with-shared-modules=idmap_ad,idmap_adex,idmap_rid,idmap_hash,idmap_tdb2"
depends="smbclient libsmbclient>=$version"
makedepends="perl readline-devel python-devel libcap-devel popt-devel
e2fsprogs-devel mit-krb5-devel>=1.10.1 libldap-devel pam-devel acl-devel
avahi-libs-devel tdb-devel talloc-devel cups-devel"
short_desc="SMB/CIFS file, print, and login server for Unix" short_desc="SMB/CIFS file, print, and login server for Unix"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3" license="GPL-3"
homepage="http://www.samba.org" homepage="http://www.samba.org"
distfiles="http://us1.samba.org/samba/ftp/stable/$pkgname-$version.tar.gz" distfiles="http://us1.samba.org/samba/ftp/stable/$pkgname-$version.tar.gz"
checksum=4f5a171a8d902c6b4f822ed875c51eb8339196d9ccf0ecd7f6521c966b3514de checksum=4af53840773b5768b620e8afb66e081b84f8639b1a0a92fb40e55ec8556fae74
long_desc=" long_desc="
Samba is an implementation of the SMB/CIFS protocol for Unix systems, Samba is an implementation of the SMB/CIFS protocol for Unix systems,
providing support for cross-platform file and printer sharing with Microsoft providing support for cross-platform file and printer sharing with Microsoft
@ -31,6 +27,10 @@ long_desc="
subpackages="smbclient libsmbclient samba-devel" subpackages="smbclient libsmbclient samba-devel"
makedepends="perl readline-devel python-devel libcap-devel popt-devel
e2fsprogs-devel mit-krb5-devel>=1.10.1 libldap-devel pam-devel acl-devel
avahi-libs-devel tdb-devel talloc-devel cups-devel"
# Don't restart services automatically. # Don't restart services automatically.
systemd_services=" systemd_services="
nmbd.service off nmbd.service off
@ -40,8 +40,8 @@ winbindd.service off"
conf_files="/etc/samba/smb.conf /etc/pam.d/samba" conf_files="/etc/samba/smb.conf /etc/pam.d/samba"
post_install() { post_install() {
# conf file
cd ${wrksrc} cd ${wrksrc}
# conf file
cat examples/smb.conf.default | \ cat examples/smb.conf.default | \
sed 's|log file = .*$|log file = /var/log/samba/%m.log|g' > \ sed 's|log file = .*$|log file = /var/log/samba/%m.log|g' > \
${DESTDIR}/etc/samba/smb.conf ${DESTDIR}/etc/samba/smb.conf
@ -77,7 +77,4 @@ post_install() {
# PAM support # PAM support
vinstall ${FILESDIR}/samba.pam 644 etc/pam.d samba vinstall ${FILESDIR}/samba.pam 644 etc/pam.d samba
# logrotate file
vinstall ${FILESDIR}/samba.logrotate 644 etc/logrotate.d samba
} }