Changeset 90e5a42
- Timestamp:
- 08/14/2014 02:57:37 PM (10 years ago)
- Branches:
- systemd-11177
- Children:
- 37e5105b
- Parents:
- 729b2a2
- Location:
- networking/netutils
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
networking/netutils/netutils.xml
r729b2a2 r90e5a42 30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="whois.xml"/> 31 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wicd-systemd.xml"/> 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wireshark .xml"/>32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wireshark-systemd.xml"/> 33 33 34 34 </chapter> -
networking/netutils/wireshark-systemd.xml
r729b2a2 r90e5a42 9 9 <!ENTITY wireshark-md5sum "8dcfe451d8769901129809d2e19c1fb7"> 10 10 <!ENTITY wireshark-size "28 MB"> 11 <!ENTITY wireshark-buildsize "875 MB ">11 <!ENTITY wireshark-buildsize "875 MB (up to 1.5 GB)"> 12 12 <!ENTITY wireshark-time "5.0 SBU"> 13 13 ]> … … 82 82 </para> 83 83 84 <para>Note that you need <application>G tk+</application> or85 <application>Qt 4</application> installed, otherwise, pass84 <para>Note that you need <application>GTK+</application> or 85 <application>Qt</application> installed, otherwise, pass 86 86 <option>--disable-wireshark</option> to the 87 <command>configure</command> command. SBU and disk space required are larger 88 for the Qt GUI.</para> 87 <command>configure</command> command.</para> 89 88 90 89 <bridgehead renderas="sect4">Recommended</bridgehead> 91 90 <para role="recommended"> 92 <xref linkend="gtk3"/> (to build the <application>G tk+3</application>91 <xref linkend="gtk3"/> (to build the <application>GTK+3</application> 93 92 GUI) and 94 93 <xref linkend="libpcap"/> (required to capture data) … … 107 106 </para> 108 107 109 <bridgehead renderas="sect4">Optional (to build the GUI front-end)</bridgehead>108 <bridgehead renderas="sect4">Optional (to build different GUI front-ends)</bridgehead> 110 109 <para role="optional"> 111 <xref linkend="gtk2"/> ,112 <xref linkend="qt4"/> , or110 <xref linkend="gtk2"/> and 111 <xref linkend="qt4"/> or 113 112 <xref linkend="qt5"/> 114 113 </para> … … 171 170 <screen><userinput>usermod -a -G wireshark <replaceable><username></replaceable></userinput></screen> 172 171 173 <para>If you have <application>GTK+2</application> and 3, and 174 <application>Qt4</application> and 5, one GUI linked to 175 <application>GTK+3</application> and another one linked to 176 <application>Qt5</application> are built, by default. Instead, we chose to 177 only build the <application>GTK+3</application> GUI, as the BLFS default. 178 If you prefer otherwise, some modifications are mecessary. For 179 modifications in the <command>configure</command> switches, see 180 "Command Explanations".</para> 181 182 <para>If you want to build a Qt GUI and have both 183 <application>Qt4</application> and 5 installed, issue either:</para> 184 185 <screen><userinput>source setqt5</userinput></screen> 186 187 <para>if you want the <application>Qt5</application> GUI built, or:</para> 188 189 <screen><userinput>source setqt4 && 190 sed -i 's/Qt5 Qt/Qt/' configure</userinput></screen> 191 192 <para>if you want the <application>Qt4</application> GUI built.</para> 193 194 <para>Continue to install <application>Wireshark</application> by running 195 the following commands:</para> 172 <para> 173 If you have both <application>GTK+2</application> and 174 <application>GTK+3</application>, and both <application>Qt4</application> 175 and <application>Qt5</application> installed, the 176 <application>GTK+</application> GUI will be linked against 177 <application>GTK+3</application> and <application>Qt</application> GUI 178 will be linked against <application>Qt5</application>. The instructions 179 below only cover building of the <application>GTK+3</application> GUI. 180 Additional modifications must be made to the commands below if building 181 a GUI front-end against different supported toolkits. Examine "Command 182 Explanations" section for information on necessary modifications to the 183 <command>configure</command> command. 184 </para> 185 186 <para> 187 If you want to build the <application>Qt5</application> GUI and have both 188 <application>Qt4</application> and <application>Qt5</application> 189 installed, issue: 190 </para> 191 192 <screen><userinput>export QT_SELECT=qt5</userinput></screen> 193 194 <para> 195 If you want to build the <application>Qt4</application> GUI and have both 196 <application>Qt4</application> and <application>Qt5</application> 197 installed, issue: 198 </para> 199 200 <screen><userinput>sed -i "s:Qt5 Qt:Qt:g" configure</userinput></screen> 201 202 <para> 203 Install <application>Wireshark</application> by running the following 204 commands: 205 </para> 196 206 197 207 <screen><userinput>./configure --prefix=/usr \ 198 -- with-gtk3=yes\199 --with- qt=no\200 -- sysconfdir=/etc&&208 --sysconfdir=/etc \ 209 --with-gtk3 \ 210 --without-qt && 201 211 make</userinput></screen> 202 212 … … 207 217 <screen role="root"><userinput>make install && 208 218 209 install -v -m755 -d /usr/share/doc/wireshark-&wireshark-version; && 210 install -v -m755 -d /usr/share/pixmaps/wireshark && 211 212 install -v -m644 README{,.linux} doc/README.* doc/*.{pod,txt} \ 213 /usr/share/doc/wireshark-&wireshark-version; && 219 install -v -dm755 /usr/share/doc/wireshark-&wireshark-version; && 220 install -v -m644 README{,.linux} doc/README.* doc/*.{pod,txt} \ 221 /usr/share/doc/wireshark-&wireshark-version; && 214 222 215 223 pushd /usr/share/doc/wireshark-&wireshark-version; && 216 224 for FILENAME in ../../wireshark/*.html; do 217 ln -s -v -f $FILENAME .225 ln -sfv $FILENAME 218 226 done && 219 227 popd && 220 228 221 install -v -m644 -D wireshark.desktop \ 222 /usr/share/applications/wireshark.desktop && 223 224 install -v -m644 -D image/wsicon48.png \ 225 /usr/share/pixmaps/wireshark.png && 226 227 install -v -m644 image/*.{png,ico,xpm,bmp} \ 228 /usr/share/pixmaps/wireshark</userinput></screen> 229 if [ -e /usr/bin/wireshark ]; then 230 install -v -Dm644 wireshark.desktop /usr/share/applications/wireshark.desktop 231 fi && 232 233 if [ -e /usr/bin/wireshark-qt ]; then 234 install -v -Dm644 wireshark.desktop /usr/share/applications/wireshark-qt.desktop && 235 sed -i "/Exec/s:wireshark:&-qt:g" /usr/share/applications/wireshark-qt.desktop 236 fi && 237 238 for size in 16 24 32 48 64 128 256 ; do 239 install -v -Dm644 image/wsicon${size}.png \ 240 /usr/share/icons/hicolor/${size}x${size}/apps/wireshark.png && 241 install -v -Dm644 image/WiresharkDoc-${size}.png \ 242 /usr/share/icons/hicolor/${size}x${size}/mimetypes/application-vnd.tcpdump.pcap.png 243 done && 244 245 unset size && 246 unset QT_SELECT</userinput></screen> 229 247 230 248 <para>If you downloaded any of the documentation files from the page … … 250 268 <title>Command Explanations</title> 251 269 252 <para> <command>sed -i 's/Qt5 Qt/Qt/' ...</command>: This command is required253 because, without it, libraries and includes from254 <application>Qt5</application> are found and used first, if both versions255 are installed, when trying to build with <application>Qt4</application>,256 and <command>make</command> does not complete.</para>257 258 <para><option>--disable-wireshark</option>: This option is required if you259 have <application>GTK+</application> installed but do not want to build260 the GTK+ and Qt GUIs.</para> 261 262 <para><parameter>--with-gtk3=yes</parameter>: This switch is required263 to use <application>GTK+3</application> for the GUI, if you are using264 <parameter>--with-qt=no</parameter>. Change gtk3 by gtk2,to use265 <application>GTK+3</application> for the GUI.</para>266 267 < para><parameter>--with-qt=no</parameter>: This switch disables build of268 the Qt GUI. Replace "no" by "yes", if you want it to be built.</para> 269 270 <para><option>--with-gtk2=yes</option>: This option is required if you want271 to use <application>GTK+</application>2, instead of 3, for the GUI. Notice272 that the GUI for only one GTK+ version (either 2 or 3) can be built.</para>270 <para> 271 <parameter>--with-gtk3</parameter>: This switch enables building 272 of the <application>GTK+3</application> GUI front-end. Replace it 273 with <parameter>--with-gtk2</parameter> if you have both 274 <application>GTK+2</application> and <application>GTK+3</application> 275 installed but wish to use <application>GTK+2</application> to build 276 the GUI front-end. 277 </para> 278 279 <para> 280 <parameter>--without-qt</parameter>: This switch disables building 281 of the <application>Qt</application> GUI front-end. Replace it with 282 <parameter>--with-qt</parameter> if you have installed either 283 <application>Qt4</application> or <application>Qt5</application> 284 and wish to build the <application>Qt</application> GUI front-end. 285 </para> 286 287 <para> 288 <option>--disable-wireshark</option>: Use this switch if you don't 289 want to build the GUI front-end. 290 </para> 273 291 274 292 </sect2> … … 304 322 graphical interfaces.</para> 305 323 306 </sect3>307 308 <sect3>309 <title>Desktop file for the Qt GUI</title>310 311 <para>If Qt GUI was built and you wish an entry in the desktop menu,312 there are two possibilities (instructions must be run as root).</para>313 314 <para>If only the Qt GUI was built:</para>315 316 <screen role="root"><userinput>mv -v /usr/share/applications/wireshark.desktop \317 /usr/share/applications/wireshark-qt.desktop</userinput></screen>318 319 <para>If both, GTK+ and Qt GUIs were built:</para>320 321 <screen role="root"><userinput>cp -v /usr/share/applications/wireshark.desktop \322 /usr/share/applications/wireshark-qt.desktop</userinput></screen>323 324 <para>Now, fix it for <command>wireshark-qt</command>:</para>325 326 <screen role="root"><userinput>sed -e 's/ireshark/&-qt/' \327 -e 's/^\(Icon=wireshark\)-qt/\1/' \328 -i /usr/share/applications/wireshark-qt.desktop</userinput></screen>329 330 324 <note> 331 325 <para>If you want to look at packets, make sure you don't filter … … 349 343 350 344 <seglistitem> 351 <seg>capinfos, captype, dftest, dumpcap, editcap, mergecap, randpkt, 352 rawshark, reordercap, text2pcap, tshark, 353 wireshark and wireshark-qt</seg> 354 <seg>libfiletap.so, libwireshark.so, libwiretap.so, libwsutil.so, and 355 numerous modules under /usr/lib/wireshark/plugins</seg> 356 <seg>/usr/lib/wireshark, /usr/share/doc/wireshark-&wireshark-version;, 357 /usr/share/pixmaps/wireshark, and /usr/share/wireshark</seg> 345 <seg> 346 capinfos, captype, dftest, dumpcap, editcap, mergecap, 347 randpkt, rawshark, reordercap, text2pcap, tshark, 348 wireshark and wireshark-qt 349 </seg> 350 <seg> 351 libfiletap.so, libwireshark.so, libwiretap.so and libwsutil.so 352 </seg> 353 <seg> 354 /usr/lib/wireshark, 355 /usr/share/doc/wireshark-&wireshark-version; and 356 /usr/share/wireshark 357 </seg> 358 358 </seglistitem> 359 359 </segmentedlist> … … 511 511 512 512 <varlistentry id="libwireshark"> 513 <term><filename class= 'libraryfile'>libwireshark.so</filename></term>513 <term><filename class="libraryfile">libwireshark.so</filename></term> 514 514 <listitem> 515 515 <para>contains functions used by the … … 523 523 524 524 <varlistentry id="libwiretap"> 525 <term><filename class= 'libraryfile'>libwiretap.so</filename></term>525 <term><filename class="libraryfile">libwiretap.so</filename></term> 526 526 <listitem> 527 527 <para>is a library being developed as a future replacement for 528 <filename class= 'libraryfile'>libpcap</filename>, the current528 <filename class="libraryfile">libpcap</filename>, the current 529 529 standard Unix library for packet capturing. For more information, 530 530 see the <filename>README</filename> file in the source 531 <filename class= 'directory'>wiretap</filename> directory.</para>531 <filename class="directory">wiretap</filename> directory.</para> 532 532 <indexterm zone="wireshark libwiretap"> 533 533 <primary sortas="c-libwiretap">libwiretap.so</primary>
Note:
See TracChangeset
for help on using the changeset viewer.