Accepting request 1155258 from Base:System
- Update to version 1699_20240305: * chkstat: EntryProcessor: make error handling in safeOpen() clearer * chkstat regtests: catch bad error reporting for non-existent files * chkstat: EntryProcessor: don't report errors for non-existent files - 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/1155258 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=162
This commit is contained in:
commit
ae3e55887a
10
_service
10
_service
@ -1,12 +1,16 @@
|
||||
<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="scm">git</param>
|
||||
<param name="versionformat">%cd</param>
|
||||
<param name="revision">master</param>
|
||||
<param name="versionformat">1699_%cd</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<service name="recompress" mode="manual">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual">
|
||||
<param name="regex">permissions-(.+_[0-9]+)</param>
|
||||
</service>
|
||||
</services>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/openSUSE/permissions.git</param>
|
||||
<param name="changesrevision">a1c704b3270658924bfb24991952e01f44206876</param></service></servicedata>
|
||||
<param name="changesrevision">0f100169e4f8602bc90231db383568e58be66609</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_20240305.tar.xz
Normal file
3
permissions-1699_20240305.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:835366bfcc27181c89361163edcbd31cbce9a4babe9d2dd4e509dd51e473fbb2
|
||||
size 47420
|
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,52 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 05 14:37:57 UTC 2024 - filippo.bonazzi@suse.com
|
||||
|
||||
- Update to version 1699_20240305:
|
||||
* chkstat: EntryProcessor: make error handling in safeOpen() clearer
|
||||
* chkstat regtests: catch bad error reporting for non-existent files
|
||||
* chkstat: EntryProcessor: don't report errors for non-existent files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -16,18 +16,15 @@
|
||||
#
|
||||
|
||||
|
||||
%define VERSION_DATE 20240206
|
||||
|
||||
Name: permissions
|
||||
Version: %{suse_version}_%{VERSION_DATE}
|
||||
Version: 1699_20240305
|
||||
Release: 0
|
||||
Summary: SUSE Linux Default Permissions
|
||||
# Maintained in github by the security team.
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Security
|
||||
URL: http://github.com/openSUSE/permissions
|
||||
Source: permissions-%{VERSION_DATE}.tar.xz
|
||||
Source1: fix_version.sh
|
||||
Source: permissions-%{version}.tar.xz
|
||||
Source2: permissions.rpmlintrc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libcap-devel
|
||||
@ -41,7 +38,7 @@ Requires: permissions-config
|
||||
Provides: aaa_base:%{_datadir}/permissions
|
||||
|
||||
%prep
|
||||
%autosetup -n permissions-%{VERSION_DATE}
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} CXXFLAGS="%{optflags}"
|
||||
@ -78,7 +75,7 @@ Requires(post): %fillup_prereq
|
||||
Requires(post): chkstat
|
||||
#!BuildIgnore: group(trusted)
|
||||
Requires(pre): group(trusted)
|
||||
Obsoletes: permissions-doc <= %{suse_version}_%{VERSION_DATE}
|
||||
Obsoletes: permissions-doc <= %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description config
|
||||
|
Loading…
Reference in New Issue
Block a user