Brought back another old commit. Depends on getsolus/eopkg#57 (ypkg will exit with an exception if it imports eopkg without that commit). Has the same limitation regarding nuitka as is mentioned in that PR.
Note that this xattr support intentionally only supports executables for now since we basically only care about the security.capability attribute for file capabilities.
This was tested by building packages that both do and do not contain file caps, and installing them with py2 eopkg (no patch applied, so it's unaware of the new fields) and with py3 eopkg (with patch applied so it correctly applies the attributes).
Brought back another old commit. Depends on getsolus/eopkg#57 (ypkg will exit with an exception if it imports eopkg without that commit). Has the same limitation regarding nuitka as is mentioned in that PR.
Note that this xattr support intentionally only supports executables for now since we basically only care about the
security.capability
attribute for file capabilities.This was tested by building packages that both do and do not contain file caps, and installing them with py2 eopkg (no patch applied, so it's unaware of the new fields) and with py3 eopkg (with patch applied so it correctly applies the attributes).