forked from pool/permissions
Accepting request 1152267 from home:fbonazzi:branches:Base:System
- Update to version 1699_20240223: * chkstat: replace ProcMountState enum by simple bool member * chkstat: minor style, spelling and documentation fixes * chkstat: drop types.h header * chkstat: make ProcMountState a private type of ChkStat * chkstat: EntryProcessor: rename some member variables for improved readability * chkstat: get rid of EntryContext and incorporate it into EntryProcessor * chkstat: split-off EntryProcessor from Chkstat main class * chkstat: define _GNU_SOURCE via Makefile * chkstat: processEntries(): make loop variables const * chkstat: split up checkHaveProc() * chkstat: ProfileParser: fix a bug when applying capabilities in custom root * chkstat: ProfileParser: make adding the root to paths transparent * chkstat: ProfileParser: refactor the now reduced codebase * chkstat: split off separate ProfileParser * chkstat: ProfileEntry: mark dropXID() const to support const ProfileEntry use * chkstat: parseProfile(): improve badProfileLine() calls * chkstat: drop deprecated capability check * chkstat: also move expandProfilePaths() into new VariableExpansions class * chkstat: split off variable expansion logic into separate class * chkstat: loadVariableExpansions(): a bit of refactoring * chkstat: parseSysconfig(): bit of refactoring * chkstat: remove deprecated CHECK_PERMISSIONS logic * chkstat: move assorted types into dedicated header * chkstat: replace #include guards by #pragma once * chkstat: split off command line arguments from Chkstat main class * chkstat: drop SaneValueArg wrapper * chkstat: document new packages.d directory * chkstat: drop TODO regarding ProfileEntry being changed on-the-fly * chkstat: harmonize FileCapabilities API * chkstat: support /usr/share/permissions/package.d for per-package drop-ins * chkstat: minor coding style fixes * chkstat: improve readability for rstrip() to strip trailing slashes * chkstat: remove trailing slashes from paths found on the command line * chkstat: add warning messages for rare error situations * chkstat: open profiles right away without racy `access()` check. - Remove fix_version.sh, handle version with services OBS-URL: https://build.opensuse.org/request/show/1152267 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=333
This commit is contained in:
parent
b34329e230
commit
cf2725dbc4
10
_service
10
_service
@ -1,12 +1,16 @@
|
|||||||
<services>
|
<services>
|
||||||
<service name="tar_scm" mode="disabled">
|
<service name="tar_scm" mode="manual">
|
||||||
<param name="url">https://github.com/openSUSE/permissions.git</param>
|
<param name="url">https://github.com/openSUSE/permissions.git</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="versionformat">%cd</param>
|
<param name="revision">master</param>
|
||||||
|
<param name="versionformat">1699_%cd</param>
|
||||||
<param name="changesgenerate">enable</param>
|
<param name="changesgenerate">enable</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="recompress" mode="disabled">
|
<service name="recompress" mode="manual">
|
||||||
<param name="file">*.tar</param>
|
<param name="file">*.tar</param>
|
||||||
<param name="compression">xz</param>
|
<param name="compression">xz</param>
|
||||||
</service>
|
</service>
|
||||||
|
<service name="set_version" mode="manual">
|
||||||
|
<param name="regex">permissions-(.+_[0-9]+)</param>
|
||||||
|
</service>
|
||||||
</services>
|
</services>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<servicedata>
|
<servicedata>
|
||||||
<service name="tar_scm">
|
<service name="tar_scm">
|
||||||
<param name="url">https://github.com/openSUSE/permissions.git</param>
|
<param name="url">https://github.com/openSUSE/permissions.git</param>
|
||||||
<param name="changesrevision">a1c704b3270658924bfb24991952e01f44206876</param></service></servicedata>
|
<param name="changesrevision">d014d3ce3e8ee9b331b37a8b75ccaa70b829938a</param></service></servicedata>
|
@ -1,6 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
version=`date '+%Y%m%d'`
|
|
||||||
|
|
||||||
echo "setting version to ${version}"
|
|
||||||
sed -E -i -e "s/^%define VERSION_DATE [0-9]+/%define VERSION_DATE ${version}/" permissions.spec
|
|
3
permissions-1699_20240223.tar.xz
Normal file
3
permissions-1699_20240223.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fd617f4d44b7d07b8e41188b93f4dcc7a208df2bae7eda4058086c45f595c6f1
|
||||||
|
size 47228
|
BIN
permissions-20240206.tar.xz
(Stored with Git LFS)
BIN
permissions-20240206.tar.xz
(Stored with Git LFS)
Binary file not shown.
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 27 10:36:59 UTC 2024 - filippo.bonazzi@suse.com
|
||||||
|
|
||||||
|
- Update to version 1699_20240223:
|
||||||
|
* chkstat: replace ProcMountState enum by simple bool member
|
||||||
|
* chkstat: minor style, spelling and documentation fixes
|
||||||
|
* chkstat: drop types.h header
|
||||||
|
* chkstat: make ProcMountState a private type of ChkStat
|
||||||
|
* chkstat: EntryProcessor: rename some member variables for improved readability
|
||||||
|
* chkstat: get rid of EntryContext and incorporate it into EntryProcessor
|
||||||
|
* chkstat: split-off EntryProcessor from Chkstat main class
|
||||||
|
* chkstat: define _GNU_SOURCE via Makefile
|
||||||
|
* chkstat: processEntries(): make loop variables const
|
||||||
|
* chkstat: split up checkHaveProc()
|
||||||
|
* chkstat: ProfileParser: fix a bug when applying capabilities in custom root
|
||||||
|
* chkstat: ProfileParser: make adding the root to paths transparent
|
||||||
|
* chkstat: ProfileParser: refactor the now reduced codebase
|
||||||
|
* chkstat: split off separate ProfileParser
|
||||||
|
* chkstat: ProfileEntry: mark dropXID() const to support const ProfileEntry use
|
||||||
|
* chkstat: parseProfile(): improve badProfileLine() calls
|
||||||
|
* chkstat: drop deprecated capability check
|
||||||
|
* chkstat: also move expandProfilePaths() into new VariableExpansions class
|
||||||
|
* chkstat: split off variable expansion logic into separate class
|
||||||
|
* chkstat: loadVariableExpansions(): a bit of refactoring
|
||||||
|
* chkstat: parseSysconfig(): bit of refactoring
|
||||||
|
* chkstat: remove deprecated CHECK_PERMISSIONS logic
|
||||||
|
* chkstat: move assorted types into dedicated header
|
||||||
|
* chkstat: replace #include guards by #pragma once
|
||||||
|
* chkstat: split off command line arguments from Chkstat main class
|
||||||
|
* chkstat: drop SaneValueArg wrapper
|
||||||
|
* chkstat: document new packages.d directory
|
||||||
|
* chkstat: drop TODO regarding ProfileEntry being changed on-the-fly
|
||||||
|
* chkstat: harmonize FileCapabilities API
|
||||||
|
* chkstat: support /usr/share/permissions/package.d for per-package drop-ins
|
||||||
|
* chkstat: minor coding style fixes
|
||||||
|
* chkstat: improve readability for rstrip() to strip trailing slashes
|
||||||
|
* chkstat: remove trailing slashes from paths found on the command line
|
||||||
|
* chkstat: add warning messages for rare error situations
|
||||||
|
* chkstat: open profiles right away without racy `access()` check.
|
||||||
|
- Remove fix_version.sh, handle version with services
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 6 16:42:10 UTC 2024 - Wolfgang Frisch <wolfgang.frisch@suse.com>
|
Tue Feb 6 16:42:10 UTC 2024 - Wolfgang Frisch <wolfgang.frisch@suse.com>
|
||||||
|
|
||||||
|
@ -16,18 +16,15 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define VERSION_DATE 20240206
|
|
||||||
|
|
||||||
Name: permissions
|
Name: permissions
|
||||||
Version: %{suse_version}_%{VERSION_DATE}
|
Version: 1699_20240223
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: SUSE Linux Default Permissions
|
Summary: SUSE Linux Default Permissions
|
||||||
# Maintained in github by the security team.
|
# Maintained in github by the security team.
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Security
|
Group: Productivity/Security
|
||||||
URL: http://github.com/openSUSE/permissions
|
URL: http://github.com/openSUSE/permissions
|
||||||
Source: permissions-%{VERSION_DATE}.tar.xz
|
Source: permissions-%{version}.tar.xz
|
||||||
Source1: fix_version.sh
|
|
||||||
Source2: permissions.rpmlintrc
|
Source2: permissions.rpmlintrc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
@ -41,7 +38,7 @@ Requires: permissions-config
|
|||||||
Provides: aaa_base:%{_datadir}/permissions
|
Provides: aaa_base:%{_datadir}/permissions
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n permissions-%{VERSION_DATE}
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} CXXFLAGS="%{optflags}"
|
make %{?_smp_mflags} CXXFLAGS="%{optflags}"
|
||||||
@ -78,7 +75,7 @@ Requires(post): %fillup_prereq
|
|||||||
Requires(post): chkstat
|
Requires(post): chkstat
|
||||||
#!BuildIgnore: group(trusted)
|
#!BuildIgnore: group(trusted)
|
||||||
Requires(pre): group(trusted)
|
Requires(pre): group(trusted)
|
||||||
Obsoletes: permissions-doc <= %{suse_version}_%{VERSION_DATE}
|
Obsoletes: permissions-doc <= %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description config
|
%description config
|
||||||
|
Loading…
Reference in New Issue
Block a user