aur/samba4 NEEDS REVIEW modifications to resolve package conflicts.

This commit is contained in:
moonman 2013-02-28 06:08:40 -07:00
parent 2638bdd2fe
commit 1c156fe323

View file

@ -84,6 +84,8 @@ $(find ${srcdir}/samba-${_realver}/source4/scripting -type f)"
package_libwbclient4() {
pkgdesc="Samba winbind client library"
depends=('glibc' 'libbsd')
replaces=('libwbclient' )
conflicts=('libwbclient')
install -d -m755 ${pkgdir}/usr/lib
mv ${_pkgsrc}/usr/lib/libwbclient*.so* ${pkgdir}/usr/lib/
@ -104,7 +106,8 @@ package_smbclient4() {
pkgdesc="Tools to access a server's filespace and printers via SMB"
depends=('popt' 'cifs-utils' 'tdb' 'libwbclient4>=4.0.2-1' 'ldb>=1.1.15'
'tevent' 'talloc' 'readline' 'gnutls' 'openldap' 'libcups' 'dnsutils')
replaces=('smbclient' )
conflicts=('smbclient')
_smbclient_bins=('smbclient' 'smbclient4' 'rpcclient' 'smbspool'
'smbtree' 'smbcacls' 'smbcquotas' 'smbget' 'net'
'nmblookup' 'nmblookup4' 'smbtar')
@ -157,8 +160,8 @@ package_samba4() {
pkgdesc="SMB Fileserver and AD Domain server"
depends=('db>=4.7' 'popt' 'libcups' 'libcap>=2.16' 'gamin' 'gnutls>=2.4.1'
'talloc' 'tdb' 'libgcrypt' 'python2' 'smbclient4>=4.0.2-1')
replaces=('samba' 'samba4')
conflicts=('samba' 'samba4')
replaces=('samba' 'sambabase4')
conflicts=('samba' 'sambabase4')
backup=('etc/samba/smb.conf')
# Everything that libwbclient and smbclient didn't install goes