diff --git a/_service b/_service index 0491e59..0fb6cd9 100644 --- a/_service +++ b/_service @@ -1,12 +1,16 @@ - + https://github.com/openSUSE/permissions.git git - %cd + master + 1699_%cd enable - + *.tar xz + + permissions-(.+_[0-9]+) + diff --git a/_servicedata b/_servicedata index bbab2a9..fe161b1 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/openSUSE/permissions.git - a1c704b3270658924bfb24991952e01f44206876 \ No newline at end of file + d014d3ce3e8ee9b331b37a8b75ccaa70b829938a \ No newline at end of file diff --git a/fix_version.sh b/fix_version.sh deleted file mode 100644 index 1359069..0000000 --- a/fix_version.sh +++ /dev/null @@ -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 diff --git a/permissions-1699_20240223.tar.xz b/permissions-1699_20240223.tar.xz new file mode 100644 index 0000000..9384138 --- /dev/null +++ b/permissions-1699_20240223.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd617f4d44b7d07b8e41188b93f4dcc7a208df2bae7eda4058086c45f595c6f1 +size 47228 diff --git a/permissions-20240206.tar.xz b/permissions-20240206.tar.xz deleted file mode 100644 index 5552f44..0000000 --- a/permissions-20240206.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a1fbc6146d4090a8e4febbc515c66cf67456ceb533a1920807a082531f944889 -size 47364 diff --git a/permissions.changes b/permissions.changes index c567c9c..cf1e660 100644 --- a/permissions.changes +++ b/permissions.changes @@ -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 diff --git a/permissions.spec b/permissions.spec index 9f194c5..6715de8 100644 --- a/permissions.spec +++ b/permissions.spec @@ -16,18 +16,15 @@ # -%define VERSION_DATE 20240206 - Name: permissions -Version: %{suse_version}_%{VERSION_DATE} +Version: 1699_20240223 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