mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
samba: 3.6.8 -> 3.6.18
Release notes (left column): http://www.samba.org/samba/history/ The GNU/Hurd patch doesn't apply anymore so I dropped it.
This commit is contained in:
parent
d2194a294e
commit
d6b4ed9e3c
@ -18,18 +18,13 @@
|
|||||||
assert useKerberos -> kerberos != null;
|
assert useKerberos -> kerberos != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "samba-3.6.8";
|
name = "samba-3.6.18";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://us3.samba.org/samba/ftp/stable/${name}.tar.gz";
|
url = "http://us3.samba.org/samba/ftp/stable/${name}.tar.gz";
|
||||||
sha256 = "1phl6mmrc72jyvbyrw6cv6b92cxq3v2pbn1fh97nnb4hild1fnjg";
|
sha256 = "14lrb7724952wyc1sah4nsngd6cv8x8y96cm7f3awzjnfyxajwbd";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches =
|
|
||||||
[ # Allow cross-builds for GNU/Hurd.
|
|
||||||
./libnss-wins-pthread.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [ readline pam openldap popt iniparser libunwind fam acl cups ]
|
buildInputs = [ readline pam openldap popt iniparser libunwind fam acl cups ]
|
||||||
++ stdenv.lib.optional useKerberos kerberos;
|
++ stdenv.lib.optional useKerberos kerberos;
|
||||||
|
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
`libnss_wins' uses pthreads but is built without `-pthread'. This is
|
|
||||||
not a problem when building natively on GNU/Linux, but causes troubles
|
|
||||||
when cross-building for GNU/Hurd (undefined references to libpthread
|
|
||||||
functions.)
|
|
||||||
|
|
||||||
--- samba-3.6.1/source3/Makefile.in 2012-02-22 15:25:15.000000000 +0100
|
|
||||||
+++ samba-3.6.1/source3/Makefile.in 2012-02-22 15:25:47.000000000 +0100
|
|
||||||
@@ -2760,6 +2760,7 @@ bin/vlp@EXEEXT@: $(BINARY_PREREQS) $(VLP
|
|
||||||
@echo "Linking $@"
|
|
||||||
@$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
|
|
||||||
$(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \
|
|
||||||
+ $(PTHREAD_LDFLAGS) \
|
|
||||||
@SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
|
|
||||||
|
|
||||||
bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
|
|
Loading…
Reference in New Issue
Block a user