commit:     25ab9cdb6716966705de45e0a44610f6685fa90d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 24 02:37:24 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 24 02:37:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25ab9cdb

net-analyzer/wireshark: restore non-obsolete others headers

I'd mistakenly thought this lot were obsolete but it seems not.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...ireshark-3.6.0.ebuild => wireshark-3.6.0-r1.ebuild} | 18 ++++++++++++++++++
 net-analyzer/wireshark/wireshark-9999.ebuild           | 18 ++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/net-analyzer/wireshark/wireshark-3.6.0.ebuild 
b/net-analyzer/wireshark/wireshark-3.6.0-r1.ebuild
similarity index 95%
rename from net-analyzer/wireshark/wireshark-3.6.0.ebuild
rename to net-analyzer/wireshark/wireshark-3.6.0-r1.ebuild
index 07df8f9a5dfd..a850f1953b70 100644
--- a/net-analyzer/wireshark/wireshark-3.6.0.ebuild
+++ b/net-analyzer/wireshark/wireshark-3.6.0-r1.ebuild
@@ -213,6 +213,24 @@ src_install() {
        # FAQ is not required as is installed from help/faq.txt
        dodoc AUTHORS ChangeLog NEWS README* doc/randpkt.txt doc/README*
 
+       # If trying to remove this, try build e.g. libvirt first!
+       # At last check, Fedora is still doing this too.
+       local dir dirs=(
+               epan
+               epan/crypt
+               epan/dfilter
+               epan/dissectors
+               epan/ftypes
+               epan/wmem
+               wiretap
+               wsutil
+       )
+
+       for dir in "${dirs[@]}" ; do
+               insinto /usr/include/wireshark/${dir}
+               doins ${dir}/*.h
+       done
+
        if use qt5; then
                local s
                for s in 16 32 48 64 128 256 512 1024; do

diff --git a/net-analyzer/wireshark/wireshark-9999.ebuild 
b/net-analyzer/wireshark/wireshark-9999.ebuild
index 07df8f9a5dfd..a850f1953b70 100644
--- a/net-analyzer/wireshark/wireshark-9999.ebuild
+++ b/net-analyzer/wireshark/wireshark-9999.ebuild
@@ -213,6 +213,24 @@ src_install() {
        # FAQ is not required as is installed from help/faq.txt
        dodoc AUTHORS ChangeLog NEWS README* doc/randpkt.txt doc/README*
 
+       # If trying to remove this, try build e.g. libvirt first!
+       # At last check, Fedora is still doing this too.
+       local dir dirs=(
+               epan
+               epan/crypt
+               epan/dfilter
+               epan/dissectors
+               epan/ftypes
+               epan/wmem
+               wiretap
+               wsutil
+       )
+
+       for dir in "${dirs[@]}" ; do
+               insinto /usr/include/wireshark/${dir}
+               doins ${dir}/*.h
+       done
+
        if use qt5; then
                local s
                for s in 16 32 48 64 128 256 512 1024; do

Reply via email to