diff options
Diffstat (limited to 'main/samba/APKBUILD')
-rw-r--r-- | main/samba/APKBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/main/samba/APKBUILD b/main/samba/APKBUILD index d0016e2fe3..e12317f766 100644 --- a/main/samba/APKBUILD +++ b/main/samba/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=samba pkgver=3.3.7 -pkgrel=1 +pkgrel=2 pkgdesc="Tools to access a server's filespace and printers via SMB" url="http://www.samba.org" license="GPL3" @@ -14,6 +14,7 @@ source="http://us1.$pkgname.org/$pkgname/ftp/stable/$pkgname-$pkgver.tar.gz samba.confd samba.logrotate " +pkggroups="winbind" build() { cd "$srcdir"/$pkgname-$pkgver/source @@ -62,12 +63,16 @@ _mv_files() { winbind() { pkgdesc="Samba user and group resolver" depends= + install="winbind.pre-install winbind.pre-upgrade winbind.post-install + winbind.post-upgrade" + replaces="samba" cd "$pkgdir" _mv_files \ usr/bin/wbinfo \ usr/bin/ntlm_auth \ usr/sbin/winbindd \ usr/lib/samba/idmap + install -d -g winbind "$subpkgdir"/var/cache/samba/winbindd_privileged } common() { |