Last active
September 23, 2025 23:22
-
-
Save timkent/b607fdc59fa86e40e2c7ddf5f23c3b71 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -eu | |
| sudo apt-get -y install devscripts dpkg-dev git uthash-dev | |
| git clone -b release-4.6 --single-branch https://gitlab.com/wireshark/wireshark.git | |
| cd wireshark | |
| ln -sn packaging/debian | |
| sudo DEB_BUILD_PROFILES="pkg.wireshark.stratoshark" mk-build-deps -i debian/control | |
| sudo sed -i 's/^prefix=${pcfiledir}\/..\/..$/prefix=${pcfiledir}\/..\/..\/../' \ | |
| /usr/lib/x86_64-linux-gnu/pkgconfig/libsinsp.pc | |
| DEB_BUILD_PROFILES="pkg.wireshark.stratoshark" dpkg-buildpackage -us -uc -rfakeroot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment