Skip to content

Update Samba 4 from 4.6.5 to 4.6.6 (security fix) #433

Merged
merged 1 commit into from
Aug 3, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn’t this the default?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, but since there is a PATCHURL defined, this works as a stub. Kind of 'comment'.

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