diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/samba/APKBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/extra/samba/APKBUILD b/extra/samba/APKBUILD index 309c7a3b..11bc31f3 100644 --- a/extra/samba/APKBUILD +++ b/extra/samba/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=samba pkgver=3.2.8 -pkgrel=0 +pkgrel=1 pkgdesc="Tools to access a server's filespace and printers via SMB" url="http://www.samba.org" license="GPL3" @@ -16,16 +16,15 @@ source="http://us1.$pkgname.org/$pkgname/ftp/stable/$pkgname-$pkgver.tar.gz build() { cd "$srcdir"/$pkgname-$pkgver/source -# patch -Np2 -i "$srcdir"/no-clients.patch || return 1 ./configure --prefix=/usr \ --sysconfdir=/etc/samba \ --with-configdir=/etc/samba \ - --libdir=/usr/lib/samba \ --localstatedir=/var \ --with-fhs \ --with-lockdir=/var/cache/samba \ --with-piddir=/var/run/samba \ --with-logfilebase=/var/log/samba \ + --with-libdir=/usr/lib/samba \ --without-pam \ --without-ads \ --with-libsmbclient \ @@ -39,8 +38,11 @@ build() { install -d "$pkgdir"/var/log/samba \ "$pkgdir"/usr/share/doc/samba cd "$srcdir"/$pkgname-$pkgver - cp -r examples "pkgdir"/usr/share/doc/samba/ + cp -r examples "$pkgdir"/usr/share/doc/samba/ install -D packaging/RHEL/setup/smbusers "$pkgdir"/etc/samba/smbusers + + # move the shared libs to /usr/lib + mv "$pkgdir"/usr/lib/samba/lib*.so* "$pkgdir"/usr/lib/ } initscript() { @@ -67,7 +69,7 @@ winbind() { usr/bin/ntlm_auth \ usr/sbin/winbindd \ usr/lib/samba/idmap \ - usr/lib/samba/libwbclient* + usr/lib/libwbclient* } common() { @@ -80,8 +82,8 @@ common() { usr/bin/smbpasswd \ usr/bin/testparm \ usr/lib/samba/*.dat \ - usr/lib/samba/libtalloc* \ - usr/lib/samba/libtdb* \ + usr/lib/libtalloc* \ + usr/lib/libtdb* \ var/run/samba \ var/cache/samba \ var/log/samba |