• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisão423afc31a58c6011936868bd1f097e7e858706a5 (tree)
Hora2022-06-10 19:26:34
Autormatsuand <30614168+matsuand@user...>
Commitermatsuand

Mensagem de Log

[BLFS] Update samba-4.16.1.

Mudança Sumário

Diff

--- a/BLFS/samba.sh
+++ b/BLFS/samba.sh
@@ -3,7 +3,7 @@
33 . ./_blfsset.sh
44
55 APPNAME=samba
6-VER=4.16.0
6+VER=4.16.1
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$DLD/$TARGET.tar.gz
99 TARGETDIR=$TARGET
@@ -29,23 +29,24 @@ TimeStart
2929
3030 cd $TARGETDIR
3131
32-sed -r 's/nss_(setpw|endpw|setgr|endgr)ent/my_&/' \
33- -i nsswitch/nsstest.c
34-
35-# --enable-nss-wrapper \
32+python3 -m venv pyvenv &&
33+./pyvenv/bin/pip3 install cryptography pyasn1 iso8601
3634
3735 echo "^samba4.rpc.echo.*on.*ncacn_np.*with.*object.*nt4_dc" >> selftest/knownfail
3836
3937 Configuring
40-CFLAGS="-I/usr/include/tirpc" \
41-LDFLAGS="-ltirpc" \
42-./configure \
43- --prefix=/usr \
44- --sysconfdir=/etc \
45- --localstatedir=/var \
46- --with-piddir=/run/samba \
47- --with-pammodulesdir=/lib/security \
48- --enable-fhs \
38+PYTHON=$PWD/pyvenv/bin/python3 \
39+CPPFLAGS="-I/usr/include/tirpc" \
40+LDFLAGS="-ltirpc" \
41+./configure \
42+ --prefix=/usr \
43+ --sysconfdir=/etc \
44+ --localstatedir=/var \
45+ --with-piddir=/run/samba \
46+ --with-pammodulesdir=/usr/lib/security \
47+ --enable-fhs \
48+ --without-ad-dc \
49+ --enable-selftest \
4950 $([ ${OPTION_LinuxPAM} -ne 1 ] && echo --without-pam) \
5051 $([ ${OPTION_openldap} -ne 1 ] && echo --without-ads --without-ad-dc --without-ldap) \
5152 $([ ${OPTION_gpgme} -ne 1 ] && echo --without-gpgme --without-ad-dc) \
@@ -65,20 +66,12 @@ make install" \
6566 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
6667
6768 porg -lp+ $TARGET "\
68-mv -v /usr/lib/libnss_win{s,bind}.so* /lib" \
69- 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
70-
71-porg -lp+ $TARGET "\
72-ln -v -sf ../../lib/libnss_winbind.so.2 /usr/lib/libnss_winbind.so" \
73- 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
74-
75-porg -lp+ $TARGET "\
76-ln -v -sf ../../lib/libnss_wins.so.2 /usr/lib/libnss_wins.so" \
77- 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
78-
79-porg -lp+ $TARGET "\
8069 install -v -m644 examples/smb.conf.default /etc/samba" \
8170 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
71+sed -e "s;log file =.*;log file = /var/log/samba/%m.log;" \
72+ -e "s;path = /usr/spool/samba;path = /var/spool/samba;" \
73+ -i /etc/samba/smb.conf.defaul
74+
8275 sed -e "s/MYGROUP/WORKGROUP/" \
8376 -e "s/writable = yes/writable = yes\n create mask = 0644\n directory mask = 0755/" /etc/samba/smb.conf.default > /etc/samba/smb.conf
8477 sed -i -e '/log file =/s/\/usr\/local\/samba\/var\/log/\/var\/log\/samba/' \