summaryrefslogtreecommitdiff
path: root/main/samba
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-10-28 10:23:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-10-28 10:27:38 +0000
commitd286252cfc072edd888e3a3c59fbf80b11f8db48 (patch)
treeb03bc1d2ef9bf91e07ef45613e5bd6d28badee49 /main/samba
parent9b0ef934db368cf3c15362706a6560d17c1fba1e (diff)
downloadaports-d286252cfc072edd888e3a3c59fbf80b11f8db48.zip
main/samba: upgrade to 4.5.1
Diffstat (limited to 'main/samba')
-rw-r--r--main/samba/APKBUILD21
-rw-r--r--main/samba/netdb-defines.patch19
2 files changed, 30 insertions, 10 deletions
diff --git a/main/samba/APKBUILD b/main/samba/APKBUILD
index 376d6904477..83e8cac9073 100644
--- a/main/samba/APKBUILD
+++ b/main/samba/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=samba
-pkgver=4.4.5
-pkgrel=1
+pkgver=4.5.1
+pkgrel=0
pkgdesc="Tools to access a server's filespace and printers via SMB"
url="http://www.samba.org"
arch="all"
@@ -47,6 +47,7 @@ source="http://us1.samba.org/samba/ftp/stable/samba-$pkgver.tar.gz
uclibc-xattr-create.patch
domain.patch
getpwent_r.patch
+ netdb-defines.patch
samba.initd
samba.confd
@@ -221,6 +222,7 @@ _client_libs() {
usr/lib/libdcerpc.so.* \
usr/lib/samba/libcli-ldap-samba4.so \
usr/lib/samba/libcmdline-credentials-samba4.so \
+ usr/lib/samba/libdsdb-garbage-collect-tombstones-samba4.so \
usr/lib/samba/libevents-samba4.so \
usr/lib/samba/libhttp-samba4.so \
usr/lib/samba/libnetif-samba4.so \
@@ -235,6 +237,7 @@ client() {
cd "$pkgdir"
_mv_files \
usr/bin/cifsdd \
+ usr/bin/findsmb \
usr/bin/dbwrap_tool \
usr/bin/nmblookup \
usr/bin/oLschema2ldif \
@@ -257,9 +260,6 @@ client() {
|| return 1
}
-# usr/lib/samba/libLIBWBCLIENT-OLD-samba4.so \
-# usr/lib/samba/libauth-unix-token-samba4.so \
-# usr/lib/samba/libauth4-samba4.so \
_server_libs() {
pkgdesc="Samba libraries shared by server and windbind"
depends=
@@ -366,7 +366,6 @@ _dc_libs() {
usr/lib/samba/libdsdb-module-samba4.so \
usr/lib/samba/libhdb-samba4.so.* \
usr/lib/samba/libkdc-samba4.so.* \
- usr/lib/samba/libntvfs-samba4.so \
usr/lib/samba/libpac-samba4.so \
usr/lib/samba/libposix-eadb-samba4.so \
usr/lib/samba/libprocess-model-samba4.so \
@@ -457,7 +456,6 @@ libs() {
usr/lib/libsamba-util.so.* \
usr/lib/libsamdb.so.* \
usr/lib/libsmbconf.so.* \
- usr/lib/libtevent-unix-util.so.* \
usr/lib/libtevent-util.so.* \
usr/lib/samba/libCHARSET3-samba4.so \
usr/lib/samba/libaddns-samba4.so \
@@ -508,24 +506,27 @@ libs() {
|| return 1
}
-md5sums="6950c5e9f7bdeb8a610c2ca957a15be4 samba-4.4.5.tar.gz
+md5sums="f7a246f9deeaaf8e827d584e1924916d samba-4.5.1.tar.gz
f9ee1f13e59c60ee7e481f51329bf7d4 uclibc-xattr-create.patch
f0d10a87a2067d0d3accdcb6c9b64ea9 domain.patch
6a220b2471764e6e189829ac9cc81996 getpwent_r.patch
+39b8cfa9abe6584d13a13ea63459a2e7 netdb-defines.patch
c1702b2ad7b68f7d704f50a1bfef3ad3 samba.initd
c150433426e18261e6e3eed3930e1a76 samba.confd
b7cafabfb4fa5b3ab5f2e857d8d1c733 samba.logrotate"
-sha256sums="b876ef2e63f66265490e80a122e66ef2d7616112b839df68f56ac2e1ce17a7bd samba-4.4.5.tar.gz
+sha256sums="b0a703e069677ff3182e5da3a91e018db344e3b54e0a43ed43dbfd8eb7d3f085 samba-4.5.1.tar.gz
dcf6a7118297d6567d8ff31c9eff1afffdf2f548db36fd17d00cdf0ffc555fe3 uclibc-xattr-create.patch
5554fff0df5d31e67a705c60d97e187b4109c79c8a4063c8ea7ebe1e0e4a7e7e domain.patch
7956274b412a268339abb63f8e1bd63b5049cd4ab7c6270235d9d0b9bcf6c81a getpwent_r.patch
+d4a17891a14d9a4290750097cc28279059e6d971fadf132085e857ed4400d5ed netdb-defines.patch
3866a15ab73a9fd704ec8315cff48caf98937c490ba8dc40ce3701cef5ca22c9 samba.initd
1d12f98a7727967b04eb123109b34cfffef320822dc0e8059286b6e3394c3fc0 samba.confd
4c2b7d529126b2fc4f62fb09d99e49a87632d723a2d9d289a61e37dd84145be1 samba.logrotate"
-sha512sums="4e63fabbddc04ebdf08b68a98fe4fa0c525b30f7d949948dd5d2e5cba17d263db820c61bac0c90dcb4e0b530d945a560c358df6c37e225d69788794fef851f0d samba-4.4.5.tar.gz
+sha512sums="636c0d2c68f2e041c6961013365314192b5bdb670281fad52c6a7d9ae8e617d0c678f382cde4132cda694c8c5f0552d681ea45ae98bf6f339fa149227d75a3f2 samba-4.5.1.tar.gz
b43809d7ecbf3968f5154c2ded6ed47dae36921f1895ea98bcce50557eb2ad39b736345ffb4214655ed3154c143c20431d248cde828285380bafbf4d2627df9b uclibc-xattr-create.patch
62d373dbaee75121a1d73f2c09cdca7239705808ff807b171d1d5a28fd4ffc66bdb52494b62786d7aaba8aeece5c08433b532ca96a28d712452fe9daac8d8d2e domain.patch
0d4fd9862191554dc9c724cec0b94fd19afbfd0c4ed619e4c620c075e849cb3f3d44db1e5f119d890da23a3dd0068d9873703f3d86c47b91310521f37356208b getpwent_r.patch
+1854577d0e4457e27da367a6c7ec0fb5cfd63cefea0a39181c9d6e78cf8d3eb50878cdddeea3daeec955d00263151c2f86ea754ff4276ef98bc52c0276d9ffe8 netdb-defines.patch
6bee83aab500f27248b315d8a5f567940d7232269b021d801b3d51c20ed9e4aad513ee0117f356fb388014a63a145beacb55307ef9addbf7997987304b548fcf samba.initd
4faf581ecef3ec38319e3c4ab6d3995c51fd7ba83180dc5553a2ff4dfb92efadb43030c543292130c4ed0c281dc0972c6973d52d48062c5edb39bb1c4bbb6dd6 samba.confd
f88ebe59ca3a9e9b77dd5993c13ef3e73a838efb8ed858088b464a330132d662f33e25c27819e38835389dee23057a3951de11bae1eef55db8ff5e1ec6760053 samba.logrotate"
diff --git a/main/samba/netdb-defines.patch b/main/samba/netdb-defines.patch
new file mode 100644
index 00000000000..d7d6446abd6
--- /dev/null
+++ b/main/samba/netdb-defines.patch
@@ -0,0 +1,19 @@
+diff --git a/nsswitch/wins.c b/nsswitch/wins.c
+index dccb6dd..bb24acb 100644
+--- a/nsswitch/wins.c
++++ b/nsswitch/wins.c
+@@ -39,6 +39,14 @@ static pthread_mutex_t wins_nss_mutex = PTHREAD_MUTEX_INITIALIZER;
+ #define INADDRSZ 4
+ #endif
+
++#ifndef NETDB_INTERNAL
++#define NETDB_INTERNAL -1
++#endif
++
++#ifndef NETDB_SUCCESS
++#define NETDB_SUCCESS 0
++#endif
++
+ NSS_STATUS _nss_wins_gethostbyname_r(const char *hostname,
+ struct hostent *he,
+ char *buffer,