aboutsummaryrefslogtreecommitdiffstats
path: root/main/samba/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-12 12:24:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-12 12:24:37 +0000
commit2fdc4a6bbf3d06ddc923bb8d70e2662018c807c2 (patch)
tree1e7e8cbf8b2660c6bb99deffb97b936071db57a7 /main/samba/APKBUILD
parente6227c3f0dbd47a068547e587711bca517ce6bfb (diff)
downloadaports-2fdc4a6bbf3d06ddc923bb8d70e2662018c807c2.tar.bz2
aports-2fdc4a6bbf3d06ddc923bb8d70e2662018c807c2.tar.xz
main/samba: separate client subpackage
Diffstat (limited to 'main/samba/APKBUILD')
-rw-r--r--main/samba/APKBUILD41
1 files changed, 36 insertions, 5 deletions
diff --git a/main/samba/APKBUILD b/main/samba/APKBUILD
index d9ba981d3d..96db4c52f9 100644
--- a/main/samba/APKBUILD
+++ b/main/samba/APKBUILD
@@ -1,13 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=samba
pkgver=3.5.6
-pkgrel=0
+pkgrel=1
pkgdesc="Tools to access a server's filespace and printers via SMB"
url="http://www.samba.org"
license="GPL3"
subpackages="$pkgname-dev $pkgname-doc winbind $pkgname-common
- $pkgname-initscript tdb"
-depends="samba-initscript"
+ $pkgname-initscript tdb libsmbclient $pkgname-client"
+depends="samba-initscript samba-client"
makedepends="popt-dev ncurses-dev openldap-dev heimdal-dev e2fsprogs-dev
libiconv-dev"
source="http://us1.$pkgname.org/$pkgname/ftp/stable/$pkgname-$pkgver.tar.gz
@@ -93,8 +93,8 @@ winbind() {
common() {
pkgdesc="Samba common files for both client an servers"
depends=
- # we have moved libwbclient to samba-common
- replaces="winbind"
+ # we have moved libwbclient and libnetapi to samba-common
+ replaces="winbind samba"
cd "$pkgdir"
_mv_files \
usr/bin/net \
@@ -102,6 +102,7 @@ common() {
usr/bin/smbpasswd \
usr/bin/testparm \
usr/lib/samba/*.dat \
+ usr/lib/libnetapi.so.* \
usr/lib/libtalloc* \
usr/lib/libwbclient* \
var/run/samba \
@@ -118,6 +119,36 @@ tdb() {
usr/bin/tdb*
}
+libsmbclient() {
+ pkgdesc="The SMB client library"
+ replaces="samba"
+ depends=
+ cd "$pkgdir"
+ _mv_files \
+ usr/lib/libsmbclient.so.* \
+ usr/lib/libsmbsharemodes.so.* \
+ || return 1
+}
+
+client() {
+ pkgdesc="Samba client program"
+ replaces="samba"
+ cd "$pkgdir"
+ _mv_files \
+ usr/bin/rpcclient \
+ usr/bin/smbcacls \
+ usr/bin/findsmb \
+ usr/bin/smbget \
+ usr/bin/smbclient \
+ usr/bin/smbcquotas \
+ usr/bin/smbspool \
+ usr/bin/smbtar \
+ usr/bin/smbtree \
+ usr/bin/sharesec \
+ || return 1
+}
+
+
md5sums="bf6c09ea497a166df8bd672db1d8da8f samba-3.5.6.tar.gz
c8a7f6ac5df2f73dbf023e25ea39927b samba.initd
c150433426e18261e6e3eed3930e1a76 samba.confd