SHA256
1
0
forked from pool/permissions
Commit Graph

406 Commits

Author SHA256 Message Date
Ana Guerrero
891edf95ff Accepting request 1176713 from Base:System
- Update to version 1699_20240522:
  * man pages: minor corrections (bsc#1224822)

OBS-URL: https://build.opensuse.org/request/show/1176713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=166
2024-05-27 09:41:09 +00:00
da71558db1 - Update to version 1699_20240522:
* man pages: minor corrections (bsc#1224822)

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=349
2024-05-24 10:38:44 +00:00
Ana Guerrero
fb7238f878 Accepting request 1175459 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1175459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=165
2024-05-23 13:34:04 +00:00
63717dcae1 Accepting request 1175458 from home:fbonazzi:branches:Base:System
- Update to version 1699_20240521:
  * permctl: return special exit code in --warn mode if entries need fixing

OBS-URL: https://build.opensuse.org/request/show/1175458
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=347
2024-05-21 07:46:05 +00:00
Ana Guerrero
1defe2272d Accepting request 1173700 from Base:System
- rename chkstat package to permctl to match the new binary names. Establish
  Provides/Obsoletes to keep dependencies and old package cleanup in working
  order, see:
  https://en.opensuse.org/openSUSE:Package_dependencies#Renaming_a_package
- add BuildRequires for acl programs for tests to succeed. Still keep %check
  disabled, because the new ACL test fails without /etc/subuid, /etc/subgid
  setup.

- Update to version 1699_20240513:
  * chkstat: has been renamed to permctl to better reflect its purpose. A
    symlink for backward compatibility will remain in place.
  * documentation: updated man pages
  * ACL support: permctl (formerly chkstat) now supports an additional `+acl`
    syntax to support assigning ACLs to files similar to the already existing
    support for file based capabilities.

OBS-URL: https://build.opensuse.org/request/show/1173700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=164
2024-05-17 18:03:42 +00:00
8b3ec7e312 * chkstat: has been renamed to permctl to better reflect its purpose. A
symlink for backward compatibility will remain in place.

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=345
2024-05-13 14:45:19 +00:00
cf1c0de839 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=344 2024-05-13 14:20:12 +00:00
85ab41c2ff - add BuildRequires for acl programs for tests to succeed. Still keep %check
disabled, because the new ACL test fails without /etc/subuid, /etc/subgid
  setup.

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=343
2024-05-13 13:11:24 +00:00
802bfc3149 - re-enable %check section and add BuildRequires for acl programs for tests to
succeed.

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=342
2024-05-13 12:00:18 +00:00
e31dc58aa7 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=341 2024-05-13 11:59:51 +00:00
95652b1f73 - rename chkstat package to permctl to match the new binary names. Establish
Provides/Obsoletes to keep dependencies and old package cleanup in working
  order, see:
  https://en.opensuse.org/openSUSE:Package_dependencies#Renaming_a_package

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=340
2024-05-13 11:37:11 +00:00
2cc579008f OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=339 2024-05-13 11:34:14 +00:00
1b60e6b25b - Update to version 1699_20240513:
* chkstat: has been renamed to permctl
  * documentation: updated man pages
  * ACL support: permctl (formerly chkstat) now supports an additional `+acl`
    syntax to support assigning ACLs to files similar to the already existing
    support for file based capabilities.

- Update to version 1699_20240307:
  * build system: migrate from Makefile to Meson
- adjust spec file to meson build

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=338
2024-05-13 10:50:52 +00:00
Ana Guerrero
6c79338a7d Accepting request 1156935 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1156935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=163
2024-03-13 21:15:58 +00:00
Wolfgang Frisch
9be1bb5d47 Accepting request 1156932 from home:mgerstner:branches:Base:System
- Update to version 1699_20240307:
  * build system: migrate from Makefile to Meson
- adjust spec file to meson build

OBS-URL: https://build.opensuse.org/request/show/1156932
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=336
2024-03-11 13:01:23 +00:00
Dominique Leuenberger
ae3e55887a 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
2024-03-07 17:28:27 +00:00
05ac334898 Accepting request 1155257 from home:fbonazzi:branches: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

OBS-URL: https://build.opensuse.org/request/show/1155257
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=334
2024-03-05 14:50:11 +00:00
cf2725dbc4 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
2024-02-27 12:47:01 +00:00
Ana Guerrero
a253158e66 Accepting request 1144679 from Base:System
- Drop superfluous mkdir /usr/share/permissions/permissions.d
  This is now created by the Makefile. See also 
  commit 5900bc1ffe6275298ded3c96dee03a5c98e4db1c

- Update to version 20240206:
  * Whitelisting libgtop_server2 (bsc#1218921)
  * Removing bogus whitespaces
  * chkstat: harmonize and transform to a more compact coding and doc style
  * gitignore: also ignore hidden ctags
  * build: Create /usr/share/permissions/permissions.d for packagers
  * profiles: drop /usr/sbin/lockdev which is no longer packaged in Factory
  * profiles: drop /etc/ftpusers which is no longer shipped in netcfg

OBS-URL: https://build.opensuse.org/request/show/1144679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=161
2024-02-08 18:02:00 +00:00
Wolfgang Frisch
b34329e230 Accepting request 1144678 from home:wfrisch:branches:Base:System
- Drop superfluous mkdir /usr/share/permissions/permissions.d
  This is now created by the Makefile. See also 
  commit 5900bc1ffe6275298ded3c96dee03a5c98e4db1c

OBS-URL: https://build.opensuse.org/request/show/1144678
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=331
2024-02-06 16:44:50 +00:00
Wolfgang Frisch
8ac48615f1 Accepting request 1144612 from home:wfrisch:branches:Base:System
- Created new subpackages -config, -doc and standalone package chkstat 
  where we can start a better versioning scheme and require it from the 
- Replace references to /var/adm/fillup-templates with new 
- kcheckpass/kdesud moved to %_libdir/kde4/libexec 
- Xorg moved from /usr/X11R6/bin to /usr/bin; fixes build of 
- don't build as root 
- added /opt/gnome/sbin/change-passwd 
- fpexec decrease go rights to 11 
- inn scripts: u-w (not needed) 
- require /sbin/SuSEconfig 
  adapted manpage 
- chkstat: don't try to chown if not root 
   for i in permissions permissions.easy permissions.secure 
   awk '/^(#|$)/ { print $0; next; } 
   { if(NF > 3) {printf("error: %s\n",$0);exit};  
- fix group for isdnctrl uucp --> dialout (#28997) 
- /var/mtrack -> /var/lib/mtrack 
- zapping_setup_fb moved to /opt/gnome/sbin 
- added hppa to rpm subsystem in permissions files to be able to 
  finish autobuild 
- two more nethack flavors with sgid games in easy 
- added prereq (#17956) 
- modifications: -s for pppd, world-writeable directories for 
- created package as split off from aaa_base

OBS-URL: https://build.opensuse.org/request/show/1144612
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=330
2024-02-06 13:24:14 +00:00
Wolfgang Frisch
d424ff5880 Accepting request 1144540 from home:pperego:branches:Base:System
- Update to version 20240206:
  * Whitelisting libgtop_server2 (bsc#1218921)
  * Removing bogus whitespaces
  * chkstat: harmonize and transform to a more compact coding and doc style
  * gitignore: also ignore hidden ctags
  * build: Create /usr/share/permissions/permissions.d for packagers
  * profiles: drop /usr/sbin/lockdev which is no longer packaged in Factory
  * profiles: drop /etc/ftpusers which is no longer shipped in netcfg

OBS-URL: https://build.opensuse.org/request/show/1144540
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=329
2024-02-06 13:05:31 +00:00
Ana Guerrero
ae8ad81df6 Accepting request 1142785 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1142785
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=160
2024-01-31 22:53:14 +00:00
Wolfgang Frisch
c0b4598e87 Accepting request 1142770 from home:dimstar:Factory
- Create directory /usr/share/permissions/permissions.d for packages
  to place their drop-ins.

OBS-URL: https://build.opensuse.org/request/show/1142770
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=327
2024-01-30 12:51:55 +00:00
Ana Guerrero
fd9a15fe83 Accepting request 1129969 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1129969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=159
2023-12-06 22:46:56 +00:00
Wolfgang Frisch
c9d24eb083 Accepting request 1129913 from home:dgarcia:branches:Base:System
- Remove dependency on /usr/bin/python3, making scripts to depends on
  the real python3 binary, not the link. bsc#1212476

OBS-URL: https://build.opensuse.org/request/show/1129913
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=325
2023-11-30 10:49:23 +00:00
Dominique Leuenberger
b511ff832e Accepting request 1090495 from Base:System
- Update to version 20230602:
  * profiles: remove dropped pppoe-wrapper

OBS-URL: https://build.opensuse.org/request/show/1090495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=158
2023-06-06 17:54:51 +00:00
da6259c057 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=323 2023-06-02 10:37:53 +00:00
9723322b7f - Update to version 20230602:
* profiles: remove dropped pppoe-wrapper

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=322
2023-06-02 10:36:58 +00:00
Dominique Leuenberger
11a3cea60a Accepting request 1087401 from Base:System
- Update to version 20230516:
  * common permissions: add icingaweb2 setgid directory (bsc#1211314)

OBS-URL: https://build.opensuse.org/request/show/1087401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=157
2023-05-20 15:23:23 +00:00
8d90668e27 - Update to version 20230516:
* common permissions: add icingaweb2 setgid directory (bsc#1211314)

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=320
2023-05-16 11:06:11 +00:00
Dominique Leuenberger
301138147c Accepting request 1083983 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1083983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=156
2023-05-04 15:08:59 +00:00
10c1a30f69 Accepting request 1082527 from home:wfrisch:branches:Base:System
- Update to version 20230424:
  * profiles: remove dead opiepasswd entry
    (opie was removed via OBS sr#1065964).

OBS-URL: https://build.opensuse.org/request/show/1082527
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=318
2023-05-02 09:29:26 +00:00
Dominique Leuenberger
8b3ce617f3 Accepting request 1066365 from Base:System
- Update to version 20230217:
  * shadow: newgidmap,newuidmap: use capabilities (bsc#1208309)
  * profiles: whitelist kismet capabilities (bsc#1200954) (#171)

OBS-URL: https://build.opensuse.org/request/show/1066365
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=155
2023-02-19 17:18:40 +00:00
a12c51b734 - Update to version 20230217:
* shadow: newgidmap,newuidmap: use capabilities (bsc#1208309)
  * profiles: whitelist kismet capabilities (bsc#1200954) (#171)

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=316
2023-02-17 11:13:40 +00:00
Dominique Leuenberger
a937513fef Accepting request 1043915 from Base:System
- Update to version 20221220:
  * profiles: remove outdated kdesud, apptainer entries

OBS-URL: https://build.opensuse.org/request/show/1043915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=154
2022-12-25 14:14:13 +00:00
d6aae1d6e5 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=314 2022-12-20 13:08:47 +00:00
1a72d7beea address and suppress some rpmlint warnings
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=313
2022-12-20 10:43:28 +00:00
8237e54dc6 - Update to version 20221220:
* profiles: remove outdated kdesud, apptainer entries

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=312
2022-12-20 10:05:07 +00:00
Dominique Leuenberger
7857dcdcf7 Accepting request 1006712 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1006712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=153
2022-10-03 11:44:40 +00:00
92c47597ad Accepting request 1005229 from home:dirkmueller:Factory
- skip tests on qemu user builds

OBS-URL: https://build.opensuse.org/request/show/1005229
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=310
2022-09-22 08:44:48 +00:00
Dominique Leuenberger
2b86c48f1a Accepting request 1003262 from Base:System
- Update to version 20220912:
  * chkstat: also consider group controlled paths (bsc#1203018,
    CVE-2022-31252)

OBS-URL: https://build.opensuse.org/request/show/1003262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=152
2022-09-16 11:31:50 +00:00
9c5f7b2461 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=308 2022-09-13 08:45:51 +00:00
fb9861a55a - Update to version 20220912:
* chkstat: also consider group controlled paths (bsc#1203018,
    CVE-2022-31252)

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=307
2022-09-13 08:40:04 +00:00
Dominique Leuenberger
aba2402a27 Accepting request 993693 from Base:System
OBS-URL: https://build.opensuse.org/request/show/993693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=151
2022-08-10 15:13:11 +00:00
8e9d7d11f8 Accepting request 993671 from home:dimstar:Factory
- Fix dependency from permissions-zypp-plugin to permissions.

OBS-URL: https://build.opensuse.org/request/show/993671
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=305
2022-08-08 07:50:18 +00:00
129b813965 Accepting request 991795 from home:coolo:factory:ring0
- Avoid different Versions for subpackages to fix build-compare
  seeing the src rpm as equal. It replaces VERSION-RELEASE but
  that will fail if subpackages use a different Version

OBS-URL: https://build.opensuse.org/request/show/991795
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=304
2022-08-02 08:12:13 +00:00
6d3f59fe3d OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=303 2022-07-13 13:53:56 +00:00
1410009b24 - Update to version 20220713:
* postfix: add postlog setgid for maildrop binary (bsc#1201385)
  * libexec migration: KDE utilities now properly place their helpers
  * pccardctl: installation path has finally changed to /usr/sbin

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=302
2022-07-13 13:53:20 +00:00
Dominique Leuenberger
002599bece Accepting request 961063 from Base:System
- Update to version 20220309:
  * apptainer whitelisting (bsc#1196145)

- Update to version 20220202:
  * mount.nfs: switch from migration mode to fixed path in /usr/sbin
  * changed gendered pronouns
  * mgetty: faxq-helper now finally reside in /usr/libexec

OBS-URL: https://build.opensuse.org/request/show/961063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=150
2022-03-14 18:33:57 +00:00