Skip to content

Commit

Permalink
samba4: update 4.6.5 to 4.6.6 security fix
Browse files Browse the repository at this point in the history
* kerberos security fix, https://www.samba.org/samba/security/CVE-2017-11103.html
* shared libs symlink cleanup
* --config-file option patch fix
  • Loading branch information
wwwutz committed Jul 14, 2017
1 parent 68b2c7c commit 023ba53
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions samba4.be0
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
#!/usr/bin/env beesh
# BEE_VERSION samba4-4.6.5-3

# BEE_VERSION samba4-4.6.6-0

SRCURL[0]="https://www.samba.org/samba/ftp/stable/samba-${PKGVERSION}.tar.gz"

# mariux patch to allow -with-config-file=
PATCHURL[0]="/src/mariux/download/samba4-add-config-file-configure-option.patch"
PATCHURL[0]="/src/mariux/download/samba4-466-add-config-file-configure-option.patch"

PREFIX=/usr/local/samba4
VARPATH=/var/samba4/localhost
BEE_BUILDTYPE=
# build_in_sourcedir

mee_patch() {
bee_patch
}

mee_configure() {
# see also https://github.com/samba-team/samba/blob/master/dynconfig/wscript
python ./buildtools/bin/waf configure \
Expand Down Expand Up @@ -46,8 +51,8 @@ mee_install() {
mkdir -p ${D}/lib
# enable resolve/map windows domain usernames
mv -v ${D}${LIBDIR}/libnss_win{s,bind}.so* ${D}/lib
ln -v -sf ../../lib/libnss_winbind.so.2 ${D}${LIBDIR}/libnss_winbind.so
ln -v -sf ../../lib/libnss_wins.so.2 ${D}${LIBDIR}/libnss_wins.so
ln -v -sf /lib/libnss_winbind.so.2 ${D}${LIBDIR}/libnss_winbind.so
ln -v -sf /lib/libnss_wins.so.2 ${D}${LIBDIR}/libnss_wins.so

# for donald..
echo "PATH=${BINDIR}:${SBINDIR}:\${PATH}" >>${D}${PREFIX}/profile
Expand Down

0 comments on commit 023ba53

Please sign in to comment.