https://bugs.winehq.org/show_bug.cgi?id=48878
Bug ID: 48878 Summary: Debian packaging: set cap_net_raw to allow sendings pings, do out-of-tree builds Product: Packaging Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-packages Assignee: wine-bugs@winehq.org Reporter: luca.boccassi@gmail.com CC: dimesio@earthlink.net, michael@fds-team.de, sebastian@fds-team.de Distribution: ---
Hi,
I am attaching two patches for the Debian packaging that is published on OBS at https://build.opensuse.org/package/show/Emulators:Wine:Debian/wine-staging
The first one adds postints and a dependency on libcap-bin, so that wineserver, wine-loader and wine64-loader can get cap_net_raw added on installation. Some games need to be able to send ICMP packets for anti-cheat reasons - see https://appdb.winehq.org/objectManager.php?sClass=version&iId=31145 Adding cap_net_raw means they don't need to be ran as root to do that, which is obviously bad.
The second patch improves debian/rules so that it does out-of-tree automake builds in debian/build-$ARCH. This is the first step to allow multi-arch builds to work more smoothly.
I had sent this as a PR on OBS but I was told to open a bug instead:
https://build.opensuse.org/request/show/789262
I cannot find a git repository to create patches against, so I've done that manually.