Commit Graph

170 Commits

Author SHA1 Message Date
Jeff Morriss c4b4b9a59c Rename the wireshark-gnome RPM package wireshark-gtk.
This was mentioned a while ago in another change but I forgot about it until
seeing Gerald's recent release-notes change (which indicates that the RPM and
Debian package names for the old GUI are wireshark-gtk).

Change-Id: I2a39fce38086d3716c8ef2a07eb8f23bb91a25fa
Reviewed-on: https://code.wireshark.org/review/11709
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2015-11-11 17:43:34 +00:00
Balint Reczey b732f44d1e GTK: Add separate working desktop file for GTK+ Wireshark GUI
Change-Id: I52a749b7e2b9a4a5cb2968409e140b9d5f2002f6
Reviewed-on: https://code.wireshark.org/review/11696
Reviewed-by: Balint Reczey <balint@balintreczey.hu>
2015-11-11 04:45:48 +00:00
Jeff Morriss 038f3dd28c Don't force Lua support in RPMs (some distros don't ship a compatible Lua
anymore).

Also make the RPM follow configure's qt4-vs-qt5 choice.

Change-Id: I832af99e055d42b92f3a7c8e4378c7a9d5d628b9
Reviewed-on: https://code.wireshark.org/review/10532
Reviewed-by: Jeffrey Smith <whydoubt@gmail.com>
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2015-09-16 14:43:14 +00:00
Jeffrey Smith 72767a664b Begin support for Qt5 in RPM packaging
The spec file for building RPM's is not currently set up to handle
using Qt5 rather than Qt4.

This change adds Qt5 support to the spec file.

Change-Id: Ie726603377953bec41692a21148325829a26ba9a
Reviewed-on: https://code.wireshark.org/review/10276
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2015-09-14 15:47:35 +00:00
Jeff Morriss a5aab24321 Add an appdata entry for Wireshark.
Based on the one from Richard Hughes.

A French translation of the description field is included.

Links to two screenshots are provided--they are stored in my home directory
on wireshark.org (for lack of a better place that I can put them).

Bug: 10479
Change-Id: Ida9b9e46c0fb23a7baff50f98afa597b25b8ca54
Reviewed-on: https://code.wireshark.org/review/4178
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2015-02-18 01:50:56 +00:00
Jeff Morriss 5b55288ae3 Add a changelog entry for the license tag change (I82de1bc4ffcb1e962b1a35dc58aaa87aca04ed5e).
Change-Id: I5e715579be9b415cd0fd957c66c7bd82319c88b3
Reviewed-on: https://code.wireshark.org/review/6743
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2015-01-22 19:40:54 +00:00
Jeff Morriss 46fabdcdf3 Make the license tag in the RPM more specific: Wireshark is GPLv2+.
Change-Id: I82de1bc4ffcb1e962b1a35dc58aaa87aca04ed5e
Reviewed-on: https://code.wireshark.org/review/6701
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-01-21 07:34:36 +00:00
Jeff Morriss 8051657ccb Modernize the description of Wireshark given in the RPM info.
The initial suggestions came from Michal Labedzki on
https://code.wireshark.org/review/#/c/4178

Change-Id: Iae04d667f70ae73b46d2edc1645c238ef6efc518
Reviewed-on: https://code.wireshark.org/review/6511
Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Reviewed-by: Niels de Vos <devos@fedoraproject.org>
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2015-01-21 02:54:03 +00:00
Jeff Morriss 1ffe32b165 Fix building of RPMs and get RPM builds working with a prefix other than /usr again.
(Change I567269d8e45e6543d9e39dbedc49830adf7edb9f made the desktop files
install outside of /usr/share/ .)

RPMs now build and work regardless of the prefix but the desktop integration stuff
only works if the prefix is /usr or (if you're lucky) /usr/local .

Change-Id: If20e0127a044eac1ba099f959a90d068c4bb2ae5
Reviewed-on: https://code.wireshark.org/review/5600
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-12-04 02:24:38 +00:00
Jeff Morriss 44e2716db3 Tell the loader where to find our libraries if we're being installed
someplace other than /usr .

Change-Id: I42cbe98bcfc0e8ba2aa08f651044db051d31205c
(cherry picked from commit 25d9695cb3536b672f4cd8bc280e2a3c816a0d8a)
Conflicts:
	packaging/rpm/SPECS/wireshark.spec.in
Reviewed-on: https://code.wireshark.org/review/5605
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-12-04 01:19:55 +00:00
Jeff Morriss 7ef5abc818 Don't run gtk-update-icon-cache when uninstalling the Qt package. But do run
it when installing the gnome package.

Change-Id: I0bbd9c0edc3fb6fe0e672aa3dbea5ba23d847d87
Reviewed-on: https://code.wireshark.org/review/5598
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-12-03 22:06:24 +00:00
Jeff Morriss 1a446079d1 Simplify ./configure logic for telling rpmbuild which GUI(s) we're building.
Rather than checking for all the "--with" arguments just use the "$have_xxx"
variables.

Don't allow rpmbuild's ./configure to decide to build a GUI just because it's
available: make it build only what was ./configure'd.

Change-Id: I68582b4c13da7b52d56591dce68ac426e9f607f1
Reviewed-on: https://code.wireshark.org/review/3958
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-09-02 16:34:00 +00:00
Gerald Combs b7fb1167e3 Qt → wireshark. GTK+ → wireshark-gtk.
Make sure the Qt UI is named "Wireshark" and its executable is named
"wireshark" or "wireshark.exe". Make sure the GTK+ UI is named
"Wireshark 1" or "Wireshark (GTK+)" depending on how much the target
audience is likely to care about UI toolkits. Make sure the GTK+
executable is named "wireshark-gtk" or "wireshark-gtk.exe".

It looks like moving to Qt 5.3 (g978faf3) broke the PortableApps
package. It's likely even more broken now.

Autotools out-of-tree builds also broke on Ubuntu 12.02 (automake
1.11.3) at some point. The first attempt to compile in ui/qt returns
"error: source_file.cpp: No such file or directory". The second attempt
works. Out-of-tree builds work fine on Ubuntu 14.04 (automake 1.14.1).

Tested:

- Nmake builds

- NSIS packaging

- CMake builds (Windows, OS X)

- Autotools build and distcheck

- RPM packaging

To do:

- Test Debian packaging

- Fix PortableApps

Change-Id: I66429870e05fd2d6fc901942477959ed6164fce2
Reviewed-on: https://code.wireshark.org/review/3919
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-09-02 15:39:17 +00:00
Jeff Morriss a83f67cb85 Use a wildcard to exclude all Wireshark (GUI) binaries: rpmbuild in RHEL6
errors out if you %exclude a file that's not there.

Fixes the issue reported by Chris on the -dev list.

Change-Id: If8d8b6a9ee69c3d94756b729a809f3c04fc2517f
Reviewed-on: https://code.wireshark.org/review/3586
Reviewed-by: Christopher Maynard <Christopher.Maynard@gtech.com>
Petri-Dish: Christopher Maynard <Christopher.Maynard@gtech.com>
2014-08-13 22:29:29 +00:00
Jeff Morriss b76e0f71aa Fix some dates in the changelog; add some recent changes to the changelog.
Apparently rpmbuild now verifies the dates (including the day of the week)
you entered.

Change-Id: I1c67fb3170de3199b5fe5f8c117eaefb4d4d28c7
Reviewed-on: https://code.wireshark.org/review/3442
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-08-05 19:37:55 +00:00
Jeff Morriss 644b2e7c69 Fix RPM builds with a prefix other than /usr.
The location of update-alternatives does not depend on Wireshark's
installation prefix: it's always in /usr/sbin/.

Change-Id: I7dda9cebec83bc64133adfeb5ee6af70dc6dc7ab
Reviewed-on: https://code.wireshark.org/review/3413
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-08-04 19:48:29 +00:00
Jeff Morriss c93297c750 Remove the old wireshark binary during RPM upgrades.
If we have a pre-alternatives wireshark binary out there (e.g., because
we're upgrading from wireshark-1.10 to wireshark-1.12), get rid of it
in the %pre script.  Otherwise the binary gets left there (because it's
listed as a %ghost in the new spec file).

Change-Id: I5828fcff486af3d269bad8dfe544c7659179bf5e
Reviewed-on: https://code.wireshark.org/review/3332
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-08-01 18:54:24 +00:00
Jeff Morriss a4a624e4c5 Get rid of rpath when we're building RPMs.
Fedora prohibits it, we don't need it, and it gets in the way some times.

Change-Id: I92cee959f471866ff90efe9f96e4fa519c357dd9
Reviewed-on: https://code.wireshark.org/review/2763
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-07-01 22:31:30 +00:00
Jeff Morriss 5f682f1f03 Fix buildroot.
Change-Id: I902db6c69ae5966da1102e4fbcfd9f46867c0b4f
Reviewed-on: https://code.wireshark.org/review/2762
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-07-01 22:30:28 +00:00
Alexis La Goutte 757aa33220 Continue to remove $Id$ from top of file
(Using sed : sed -i '/^\# \$Id\$/,+1 d') (start with dash)

Change-Id: Ia4b5a6c2302f6a531f6a86c1ec3a2f8205c8c2dd
Reviewed-on: https://code.wireshark.org/review/881
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-31 18:48:06 +00:00
Guy Harris adb28bd812 The capabilities for dumpcap don't need to be inheritable.
See

	https://bugzilla.redhat.com/show_bug.cgi?id=1022377

svn path=/trunk/; revision=54630
2014-01-07 21:21:20 +00:00
Chris Maynard 1bd68e7adb Trivial: Fix typo.
svn path=/trunk/; revision=53937
2013-12-11 15:20:29 +00:00
Jeff Morriss 69017ac3bd Overhaul rpm-building options a bit: as suggested by Anders, have the RPM follow
./configure's options for gtk2 vs gtk3 vs qt.

Make it possible to not build the GNOME package (now both UIs' packages are
optional).  I think Chris requested this a while ago.

If this works out it may make sense to control the rest of the options via
./configure .

svn path=/trunk/; revision=53607
2013-11-26 23:43:18 +00:00
Jeff Morriss ebc4cbc74e Attempt to fix Qt dependencies for SUSE.
svn path=/trunk/; revision=53490
2013-11-21 20:20:29 +00:00
Jeff Morriss 6b7ab3bd33 Make subpackage Requires: more generic.
svn path=/trunk/; revision=53300
2013-11-13 16:16:06 +00:00
Jeff Morriss 78f8757560 Add a (wireshark-)qt package that contains the Qt-based GUI (and the necessary
desktop-integration files); build it by default.

Use 'alternatives' to choose which GUI actually gets used; give the Gtk
GUI priority over the Qt one (for now).

svn path=/trunk/; revision=53297
2013-11-13 03:01:42 +00:00
Jeff Morriss c90d29c668 As pointed out by Kurt in http://ask.wireshark.org/questions/24886/error-failed-build-dependencies-while-making-rpm :
If we're not building with gtk3 we now need to add --with-gtk2 .

svn path=/trunk/; revision=52161
2013-09-20 20:52:04 +00:00
Jeff Morriss a995cb8220 Simplify the check for rpmbuild's version.
svn path=/trunk/; revision=48612
2013-03-28 14:17:38 +00:00
Jeff Morriss 041fbc05ed SuSE's suse_update_desktop_file macro BuildRequires update-desktop-files.
svn path=/trunk/; revision=48298
2013-03-14 16:56:19 +00:00
Jeff Morriss 6eb2e2899a freekdesktop.org says all themes must fall back to 'hicolor' if they don't find
a theme-specific icon (and as such hicolor is where applications should
install their icons).  So: don't install some of our icons in the gnome area,
install them all in hicolor.

While we're at it, go ahead and install all the icon sizes we have.

If we're on SuSE, use their desktop-file-updater macro; without that they
won't recognize our desktop file.

Fix bug which prevented the MIME database from being updated if our install
prefix is not /usr .

svn path=/trunk/; revision=48204
2013-03-08 23:40:37 +00:00
Jeff Morriss 45a75522ed List more (obvious) build dependencies.
The problem with listing these package names (which I think is convenient)
is that different distros have different names for some packages.  So:
update to work on OpenSuSE.

svn path=/trunk/; revision=48160
2013-03-07 03:50:28 +00:00
Gerald Combs ed0d988323 Update the changelog.
svn path=/trunk/; revision=48151
2013-03-06 23:06:09 +00:00
Gerald Combs e5e1372d7e Enable c-ares support by default to match the Windows and Debian
packages (and to make things less painful if the user enables name
resolution). Untested.

svn path=/trunk/; revision=48150
2013-03-06 23:04:43 +00:00
Jeff Morriss 663e6a6d6b Make it so that alternate-prefix RPM builds actually work.
Use the prefix from 'configure' in the RPM (so: to build an RPM which installs
in /opt do "./configure --prefix=/opt && make rpm-package").

(Maybe this approach should also be used for the other options in the .spec
file.)

Only clean up if building the RPM was successful.

svn path=/trunk/; revision=47957
2013-02-28 23:02:38 +00:00
Jeff Morriss 98ce5836a4 Add a %prefix option for users who want to (easily) configure Wireshark to
install in a non-standard location.

Assume the desktop-integration stuff goes in /usr (regardless of our prefix).

This (with r47914) fixes RPM generation when someone uses a prefix other than
/usr .


Also: run desktop-file-validate on the wireshark.desktop file (just in case it
wasn't installed with desktop-file-install).

svn path=/trunk/; revision=47916
2013-02-27 16:12:19 +00:00
Jeff Morriss 6484e0c9f7 Perl is required to build Wireshark, add it to BuildRequires.
svn path=/trunk/; revision=47531
2013-02-07 16:33:17 +00:00
Jeff Morriss f24dafa0f5 Overhaul to make this file more useful/up to date. Many changes are based on
Fedora's .spec file.  Changes include:
  - Create a separate wireshark-gnome package (like Redhat).
  - Control some things with variables set at the top of the file.
    - Allow the user to configure how dumpcap is installed.
    - Allow the user to choose some options including GTK2 or GTK3.
  - Greatly expand the BuildRequires entries; get the minimum versions of some
    things from 'configure'.
  - Install freedesktop files for better (free)desktop integration.

svn path=/trunk/; revision=47528
2013-02-07 03:09:47 +00:00
Guy Harris fe37c0ccb8 Add @configure_input@ to a bunch of .in files that didn't have it.
Add $Id$ to those of said files that didn't have it, and fix one $Id to
be $Id$.

svn path=/trunk/; revision=41594
2012-03-16 03:39:51 +00:00
Bill Meier d1b6eacf21 Add $Id$; Fix some properties.
svn path=/trunk/; revision=34996
2010-11-21 19:03:17 +00:00
Bill Meier 19beda3aff Change "Source" to use http://wireshark.org/download/automated/src/...
i

svn path=/trunk/; revision=31483
2010-01-10 19:40:18 +00:00
Bill Meier bb1873f343 Fix 'make rpm-package' so it works again ...
Specifically: configure.in was changed in SVN 31068
 to "Switch to .tar.bz2 for the "dist" target since
 that's what most people download".

So: This patch has the required additional changes.


svn path=/trunk/; revision=31481
2010-01-10 19:24:26 +00:00
Jörg Mayer 5667e75a50 Get rid of FAQ file completely: It's still available as help/faq.txt
svn path=/trunk/; revision=27359
2009-02-03 08:49:03 +00:00
Jörg Mayer a4dc607922 configure seems to install the manpages into .../share/man/, not .../man/
svn path=/trunk/; revision=25033
2008-04-15 01:26:02 +00:00
Jörg Mayer f1803c788e As reported by Chris Maynard:
wireshark was located in /usr/X11R6/bin while dumpcap
int /usr/bin. That way wireshark couldn't find dumpcap.

Install wireshark in the same path as dumpcap and tshark.

svn path=/trunk/; revision=18874
2006-08-10 12:29:21 +00:00
Gerald Combs d704554ee2 Ethereal -> Wireshark
svn path=/trunk/; revision=18370
2006-06-06 23:11:31 +00:00
Gerald Combs a4a7e7c4f9 Icon cleanup.
svn path=/trunk/; revision=18350
2006-06-05 19:32:44 +00:00
Gerald Combs 6a14b9a383 Fix dist/distcheck.
svn path=/trunk/; revision=18302
2006-06-01 14:28:13 +00:00
Gerald Combs eb71f7fb96 Rename the main executable to "wireshark", along with more conversions:
ethereal.com -> wireshark.org
  mailing lists and addresses
  ETHEREAL -> WIRESHARK
  Man pages
  Automake/Autoconf names


svn path=/trunk/; revision=18271
2006-05-31 19:12:15 +00:00
Ronnie Sahlberg f0b33a4789 ethereal->wireshark updates
svn path=/trunk/; revision=18206
2006-05-22 08:14:01 +00:00
Gerald Combs 40101cf2b1 Update RPM builds.
svn path=/trunk/; revision=15165
2005-08-01 18:04:37 +00:00
Jörg Mayer 5b442f2279 After doing "make maintainer-clean", "svn status --no-ignore | grep ^I"
returned quite a list of files. Add them to MAINTAINERCLEANFILES.

Whitespace changes (replace multiple spaces by TABs, in a few cases this
needed to be done at the beginning of Makefile lines.


svn path=/trunk/; revision=14891
2005-07-10 08:04:27 +00:00
Anders Broman 86226ad09f From Mike Duigou:
Fixes a problem with the RPM spec which prevents it from 
working with current versions of rpmbuild.

svn path=/trunk/; revision=14539
2005-06-03 06:37:05 +00:00
Jörg Mayer f88578cbc0 Build with ssl and kerberos
svn path=/trunk/; revision=12726
2004-12-12 15:22:41 +00:00
Jörg Mayer dacfa8f1a4 Make building rpms possible again. Feedback for improvements welcome.
svn path=/trunk/; revision=11446
2004-07-20 19:55:01 +00:00
Jörg Mayer fd24ad7d92 .cvsignore is dead
it has been replaced by
svn proplist -v <dir/file>
and
svn propedit <dir/file>

svn path=/trunk/; revision=11422
2004-07-18 23:44:34 +00:00
Jörg Mayer a460517f46 Beginnings to make rpm building possible again.
Not yet finished:
- make dist breaks after moving of dissectors
- the real packaging process may not be working yet

svn path=/trunk/; revision=11421
2004-07-18 23:39:15 +00:00
Jörg Mayer 56c759212f Add epan/dissectors/.cvsignore
Add tags and TAGS to all .cvsignore files

svn path=/trunk/; revision=11419
2004-07-18 22:51:50 +00:00
Jörg Mayer cafe878cd7 Include shared libs if they exist
svn path=/trunk/; revision=10272
2004-03-01 22:39:34 +00:00
Jörg Mayer 7bc43b4170 Forgot the RPMS directory in the .cvsignore.
svn path=/trunk/; revision=6030
2002-08-20 01:12:40 +00:00
Jörg Mayer adccfb88ae Small cleanups to the rpm building process:
- Don't fail if the intermediate directories BUILD, SOURCE, SRPMS already
  exist.
- Add these directories to .cvsignore.

svn path=/trunk/; revision=6029
2002-08-20 01:06:29 +00:00
Jörg Mayer 15c6107d19 Add the FAQ to the packages.
svn path=/trunk/; revision=6028
2002-08-20 00:59:42 +00:00
Guy Harris 64c8032c3b "ethereal.spec" is now in the "packaging/rpm/SPECS" directory, so remove
it from the .cvsignore file in the "packaging/rpm" directory.

svn path=/trunk/; revision=4585
2002-01-21 07:24:14 +00:00
Guy Harris 9fb6b48a49 Add a .cvsignore file.
svn path=/trunk/; revision=4584
2002-01-21 07:22:58 +00:00
Gerald Combs b11f1955e4 Revamp the RPM building process. For versions of rpm that support
"--define", we now build the RPM and SRPM packages in packages/rpm.
As a result, one need not be root to build RPM-based packages.

Move the specfile to packaging/rpm/SPECS.

Update the INSTALL document to include the various packaging makefile
targets.

svn path=/trunk/; revision=4581
2002-01-20 23:05:25 +00:00
Guy Harris a93f4f8515 Add the Diameter dictionary stuff to the list of installed files.
Also mark those files as configuration files; "dictionary.xml" should
definitely be one, as it could be modified by the administrator if other
XML dictionary files are added to the list at the end, and the other
ones might be modified if there are any protocol changes.

svn path=/trunk/; revision=4389
2001-12-12 08:00:35 +00:00
Guy Harris 516c93c5e3 From Craig Rodrigues: changes to handle current versions of RPM, which
compress man pages.

svn path=/trunk/; revision=3567
2001-06-18 07:21:30 +00:00
Gilbert Ramirez 90e0fb129d Change Ethereal homepage URL from etheral.zing.org to www.ethereal.com.
svn path=/trunk/; revision=2696
2000-11-22 04:07:04 +00:00
Guy Harris 9fb66f8e93 Update and add ".cvsignore" files to reduce the level of noise from CVS.
svn path=/trunk/; revision=2179
2000-07-30 08:32:54 +00:00
Gerald Combs 1cbca8fb96 Remove some "Makefile.in"s that I accidentally committed last night.
svn path=/trunk/; revision=2166
2000-07-26 14:00:41 +00:00
Gerald Combs 7baf3c1730 Switch Solaris package build naming to a more generic SVR4. Add RPM and SRPM
package build targets.  Move ethereal.spec(.in) to packaging/rpm.

The spec file is different from Henri's.  We might want to switch to his
for the sake of consistency.

svn path=/trunk/; revision=2162
2000-07-26 03:39:11 +00:00