Skip to content

Commit

Permalink
Merge pull request #433 from mariux64/update-samba4-65-66
Browse files Browse the repository at this point in the history
Update Samba 4 from 4.6.5 to 4.6.6 (security fix)
  • Loading branch information
pmenzel authored Aug 3, 2017
2 parents 8e2ec26 + 023ba53 commit 1e0ba53
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 1e0ba53

Please sign in to comment.