Commit dceaed51 authored by Natanael Copa's avatar Natanael Copa

extra/samba: upgrade to 3.3.4

parent e2f5aa46
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=samba
pkgver=3.2.11
pkgrel=1
pkgver=3.3.4
pkgrel=0
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="db popt ncurses uclibc samba-initscript samba-common tdb libldap heimdal"
depends="samba-initscript"
makedepends="db-dev popt-dev ncurses-dev openldap-dev heimdal-dev"
source="http://us1.$pkgname.org/$pkgname/ftp/stable/$pkgname-$pkgver.tar.gz
samba.initd
......@@ -40,9 +40,6 @@ build() {
cd "$srcdir"/$pkgname-$pkgver
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() {
......@@ -62,7 +59,7 @@ _mv_files() {
winbind() {
pkgdesc="Samba user and group resolver"
depends="uclibc samba-common popt samba-initscript libldap heimdal"
depends=
cd "$pkgdir"
_mv_files \
usr/bin/wbinfo \
......@@ -74,7 +71,7 @@ winbind() {
common() {
pkgdesc="Samba common files for both client an servers"
depends="uclibc popt tdb libldap heimdal"
depends=
cd "$pkgdir"
_mv_files \
usr/bin/net \
......@@ -90,13 +87,13 @@ common() {
tdb() {
pkgdesc="Trivial database"
depends="uclibc"
depends=
cd "$pkgdir"
_mv_files \
usr/lib/libtdb* \
usr/bin/tdb*
}
md5sums="fc514bc92184b9b64544afa457e4d84e samba-3.2.11.tar.gz
md5sums="1443165edb7cb3f56f1e77aec1ee3266 samba-3.3.4.tar.gz
587c1c4824ef5b0ac593fcf8ec8fec78 samba.initd
c150433426e18261e6e3eed3930e1a76 samba.confd"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment