Changeset c7f6a7e1 for networking/netprogs
- Timestamp:
- 03/28/2021 05:43:13 PM (3 years ago)
- Branches:
- 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 03eca7f9
- Parents:
- 6b2a913
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
networking/netprogs/samba.xml
r6b2a913 rc7f6a7e1 7 7 <!ENTITY samba-download-http "https://www.samba.org/ftp/samba/stable/samba-&samba-version;.tar.gz"> 8 8 <!ENTITY samba-download-ftp " "> 9 <!ENTITY samba-md5sum " b1001900f542116e509b514e7e639875">9 <!ENTITY samba-md5sum "2c726e392a7d36743ae0517e48db36eb"> 10 10 <!ENTITY samba-size "18 MB"> 11 11 <!ENTITY samba-buildsize "620 MB (add 380 MB for quicktest)"> … … 96 96 <xref linkend="libxslt"/> (for documentation), 97 97 <xref linkend="linux-pam"/>, 98 <xref linkend="perl-parse-yapp"/>, 99 <xref linkend="pycryptodome"/>, and 98 <xref linkend="perl-parse-yapp"/>, and 100 99 <xref linkend="openldap"/> 101 100 </para> … … 179 178 180 179 <para> 181 If you wish to run the test suite, install some python modules first: 182 </para> 183 184 <screen role="root"><userinput remap="pre">pip3 install cryptography pyasn1 iso8601</userinput></screen> 180 To support the test suite, set up a Python virtual environment 181 for some Python modules out of the scope of BLFS: 182 </para> 183 184 <screen><userinput remap="pre">python3 -m venv pyvenv && 185 ./pyvenv/bin/pip3 install cryptography pyasn1 iso8601</userinput></screen> 185 186 186 187 <para> … … 195 196 </para> 196 197 197 <screen revision="sysv"><userinput>CPPFLAGS="-I/usr/include/tirpc" \ 198 <screen revision="sysv"><userinput>PYTHON=$PWD/pyvenv/bin/python3 \ 199 CPPFLAGS="-I/usr/include/tirpc" \ 198 200 LDFLAGS="-ltirpc" \ 199 201 ./configure \ … … 209 211 make</userinput></screen> 210 212 211 <screen revision="systemd"><userinput>CPPFLAGS="-I/usr/include/tirpc" \ 213 <screen revision="systemd"><userinput>PYTHON=$PWD/pyvenv/bin/python3 \ 214 CPPFLAGS="-I/usr/include/tirpc" \ 212 215 LDFLAGS="-ltirpc" \ 213 216 ./configure \ … … 247 250 <para> 248 251 Additionally, developer test suites are available. If you've installed 249 the optional python modules above, you can run these tests with 252 the optional python modules above in the Python virtual environment 253 for building this package, you can run these tests with 250 254 <command>make test</command>. It is not recommended for the average 251 255 builder at around 290 SBU and over a gigabyte of disk space, and you … … 255 259 256 260 <para> 257 Now, as the <systemitem class="username">root</systemitem> user: 261 Fix a hard coded path to Python 3 interpreter: 262 </para> 263 264 <screen><userinput>sed '1s@^.*$@#!/usr/bin/python3@' \ 265 -i ./bin/default/source4/scripting/bin/samba-gpupdate.inst</userinput></screen> 266 267 <para> 268 If upgrading from an old version of samba, as the 269 <systemitem class="username">root</systemitem> user, remove the old 270 Python support files to prevent some issue: 271 </para> 272 273 <screen role="root"><userinput>rm -rf /usr/lib/python&python3-majorver;/site-packages/samba</userinput></screen> 274 275 <para> 276 Still as the <systemitem class="username">root</systemitem> user, 277 install the package: 258 278 </para> 259 279
Note:
See TracChangeset
for help on using the changeset viewer.