Changeset b85a77f for networking


Ignore:
Timestamp:
08/01/2014 10:35:07 PM (10 years ago)
Author:
Fernando de Oliveira <fernando@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, 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:
4574961
Parents:
ba780d6b
Message:

Update to wireshark-1.12.0.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@13776 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netutils/wireshark.xml

    rba780d6b rb85a77f  
    77  <!ENTITY wireshark-download-http "http://www.wireshark.org/download/src/all-versions/wireshark-&wireshark-version;.tar.bz2">
    88  <!ENTITY wireshark-download-ftp  " ">
    9   <!ENTITY wireshark-md5sum        "510dc3b063785549b41ebc748ac21055">
    10   <!ENTITY wireshark-size          "26 MB">
    11   <!ENTITY wireshark-buildsize     "840 MB">
    12   <!ENTITY wireshark-time          "5.1 SBU">
     9  <!ENTITY wireshark-md5sum        "8dcfe451d8769901129809d2e19c1fb7">
     10  <!ENTITY wireshark-size          "28 MB">
     11  <!ENTITY wireshark-buildsize     "875 MB">
     12  <!ENTITY wireshark-time          "5.0 SBU">
    1313]>
    1414
     
    8383
    8484    <para>Note that you need <application>Gtk+</application> or
    85     <application>Qt4</application> installed, otherwise, you will need to pass
     85    <application>Qt4</application> installed, otherwise, pass
    8686    <option>--disable-wireshark</option> to the
    87     <command>configure</command> command.</para>
     87    <command>configure</command> command. SBU and disk space required are larger
     88    for the Qt GUI.</para>
    8889
    8990    <bridgehead renderas="sect4">Recommended</bridgehead>
    9091    <para role="recommended">
     92      <xref linkend="gtk3"/> (to build the <application>Gtk+3</application>
     93      GUI) and
    9194      <xref linkend="libpcap"/> (required to capture data)
    9295    </para>
     
    9497    <bridgehead renderas="sect4">Optional</bridgehead>
    9598    <para role="optional">
    96       <ulink url="http://www.gnu.org/software/adns/adns.html">adns</ulink>,
    97       <ulink url="http://www.maxmind.com/app/c">GeoIP</ulink>,
    9899      <xref linkend="gnutls"/>,
    99100      <xref linkend="libgcrypt"/>,
    100101      <xref linkend="lua"/>,
    101102      <xref linkend="mitkrb"/>,
    102       <xref linkend="openssl"/>, and
     103      <xref linkend="openssl"/>,
     104      <ulink url="http://www.gnu.org/software/adns/adns.html">adns</ulink>,
     105      <ulink url="http://www.maxmind.com/app/c">GeoIP</ulink>, and
    103106      <ulink url="http://www.portaudio.com/download.html">PortAudio</ulink>
    104107    </para>
     
    107110    <para role="optional">
    108111      <xref linkend="gtk2"/>,
    109       <xref linkend="gtk3"/>, or
    110       <xref linkend="qt4"/>
     112      <xref linkend="qt4"/>, or
     113      <xref linkend="qt5"/>
    111114    </para>
    112115
     
    168171<screen><userinput>usermod -a -G wireshark <replaceable>&lt;username&gt;</replaceable></userinput></screen>
    169172
     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    build the <application>GTK+3</application> GUI only, 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 &amp;&amp;
     190sed -i 's/Qt5 Qt/Qt/' configure</userinput></screen>
     191
     192    <para>if you want the <application>Qt4</application> GUI built.</para>
     193
    170194    <para>Continue to install <application>Wireshark</application> by running
    171195    the following commands:</para>
    172196
    173 <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
     197<screen><userinput>./configure --prefix=/usr     \
     198            --with-gtk3=yes   \
     199            --with-qt=no      \
     200            --sysconfdir=/etc &amp;&amp;
    174201make</userinput></screen>
    175202
     
    214241chmod -v 6550 /usr/bin/{tshark,dumpcap}</userinput></screen>
    215242
    216   <para>Finally, add any users to the wireshark group with <userinput>usermod -a -G
    217   wireshark &lt;username&gt;</userinput>.</para>
     243  <para>Finally, add any users to the wireshark group (as root user):</para>
     244
     245<screen role="root"><userinput>usermod -a -G wireshark &lt;username&gt;</userinput></screen>
    218246
    219247  </sect2>
     
    222250    <title>Command Explanations</title>
    223251
    224     <para><parameter>--enable-threads</parameter>: This parameter enables the
    225     use of threads in <command>wireshark</command>.</para>
     252    <para><command>sed -i 's/Qt5 Qt/Qt/'</command>: This command is required
     253    because without it, libraries and includes from
     254    <application>Qt5</application> are found and used first, if both versions
     255    are installed, when trying to build with <application>Qt4</application>,
     256    and <command>make</command> does not complete.</para>
    226257
    227258    <para><option>--disable-wireshark</option>: This option is required if you
    228259    have <application>GTK+</application> installed but do not want to build
    229     the GUI.</para>
    230 
    231     <para><option>--with-gtk3=yes</option>: This option is required if you want
    232     to use <application>GTK+</application>3 instead of 2, for the GUI.</para>
    233 
    234     <para><option>--with-qt=yes</option>: This option is required if you want to
    235     use <application>Qt</application> instead of
    236     <application>GTK+</application>, for the GUI.</para>
    237 
    238     <para><option>--with-ssl</option>: This option is required if you
    239     are linking Kerberos libraries into the build so that the
    240     <application>OpenSSL</application>
    241     <filename class='libraryfile'>libcrypto</filename> library is found.</para>
     260    the GTK+ and Qt GUIs.</para>
     261
     262    <para><parameter>--with-gtk3=yes</parameter>: This switch is required
     263    to use <application>GTK+3</application> for the GUI, if you are using
     264    <parameter>--with-qt=no</parameter>. Change gtk3 by gtk2,to use
     265    <application>GTK+3</application> for the GUI.</para>
     266
     267    <para><parameter>--with-qt=no</parameter>: This switch disables build of
     268    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 want
     271    to use <application>GTK+</application>2, instead of 3, for the GUI. Notice
     272    that the GUI for only one GTK+ version (either 2 or 3) can be built.</para>
    242273
    243274  </sect2>
     
    271302      <application>Wireshark</application>'s configuration can be accomplished
    272303      using the menu options of the <command>wireshark</command>
    273       graphical interface.</para>
     304      graphical interfaces.</para>
     305
     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/&amp;-qt/' \
     327    -e 's/^\(Icon=wireshark\)-qt/\1/' \
     328    -i /usr/share/applications/wireshark-qt.desktop</userinput></screen>
    274329
    275330      <note>
     
    294349
    295350      <seglistitem>
    296         <seg>capinfos, dftest, dumpcap, editcap, mergecap, randpkt, rawshark,
    297         reordercap, text2pcap, tshark, and wireshark</seg>
    298         <seg>libwireshark.so, libwiretap.so, libwsutil.so, and
     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
    299355        numerous modules under /usr/lib/wireshark/plugins</seg>
    300356        <seg>/usr/lib/wireshark, /usr/share/doc/wireshark-&wireshark-version;,
     
    316372          <indexterm zone="wireshark capinfos">
    317373            <primary sortas="b-capinfos">capinfos</primary>
     374          </indexterm>
     375        </listitem>
     376      </varlistentry>
     377
     378      <varlistentry id="captype">
     379        <term><command>captype</command></term>
     380        <listitem>
     381          <para>prints the file types of capture files.</para>
     382          <indexterm zone="wireshark captype">
     383            <primary sortas="b-captype">captype</primary>
    318384          </indexterm>
    319385        </listitem>
     
    423489        <term><command>wireshark</command></term>
    424490        <listitem>
    425           <para>is a GUI network protocol analyzer. It lets you interactively
    426           browse packet data from a live network or from a previously
    427           saved capture file.</para>
     491          <para>is the GTK+ GUI network protocol analyzer. It lets you
     492          interactively browse packet data from a live network or from a
     493          previously saved capture file.</para>
    428494          <indexterm zone="wireshark wireshark-prog">
    429495            <primary sortas="b-wireshark">wireshark</primary>
     496          </indexterm>
     497        </listitem>
     498      </varlistentry>
     499
     500      <varlistentry id="wireshark-qt-prog">
     501        <term><command>wireshark-qt</command></term>
     502        <listitem>
     503          <para>is the Qt GUI network protocol analyzer. It lets you
     504          interactively browse packet data from a live network or from a
     505          previously saved capture file.</para>
     506          <indexterm zone="wireshark wireshark-qt-prog">
     507            <primary sortas="b-wireshark-qt">wireshark-qt</primary>
    430508          </indexterm>
    431509        </listitem>
Note: See TracChangeset for help on using the changeset viewer.