SHA256
1
0
forked from pool/rpmlint
Commit Graph

275 Commits

Author SHA256 Message Date
Martin Liška
bfa4fa66b0 - Skip .cargo-checksum.json files in hidden-file-or-dir.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=810
2021-09-05 18:47:40 +00:00
Martin Liška
5f2dc695a2 - Fix PieExecutables matching.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=809
2021-09-02 10:57:08 +00:00
Martin Liška
fe344924a6 - KMP policy: support legacy 'packageand' directive in Supplements
(boo#1190103).

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=808
2021-09-02 10:11:13 +00:00
Martin Liška
d775c07c55 - Handle empty glibc archives (starting with version 2.34).
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=807
2021-09-01 08:50:30 +00:00
Martin Liška
77832cc4d7 Revert last revision (enabling of flake8).
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=805
2021-08-27 08:01:37 +00:00
Martin Liška
9fc805032d - Remove disable-flake.patch and install flake8 packages in test
sub-package.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=804
2021-08-27 07:52:38 +00:00
Martin Liška
37a21bd87b - Update package name for -M test.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=803
2021-08-27 07:45:25 +00:00
Martin Liška
a5f2d982db Accepting request 914408 from home:marxin:branches:devel:openSUSE:Factory:rpmlint
- Add test multibuild target and reduce BuildRequirements for rpmlint
  package itself.

OBS-URL: https://build.opensuse.org/request/show/914408
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=802
2021-08-26 14:18:40 +00:00
Martin Liška
4df04b4fbc Bump.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=801
2021-08-26 09:20:35 +00:00
Martin Liška
6e42932c0a - Bump to opensuse tip.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=800
2021-08-25 15:06:58 +00:00
Martin Liška
b8a45c674d - Bump to version 2.1.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=799
2021-08-18 08:23:07 +00:00
Martin Liška
41c4c02c43 - Fix variable description expansion.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=798
2021-08-06 08:28:18 +00:00
Martin Liška
5110afd5c9 Bump to master (fix configs/openSUSE/scoring-strict.override.toml).
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=797
2021-08-05 13:13:50 +00:00
Martin Liška
9cfe376690 - Reduce Requirements for rpmlint-strict package.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=796
2021-08-05 08:36:58 +00:00
Martin Liška
a2665e6081 Bump to opensuse branch.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=795
2021-08-04 12:22:38 +00:00
Martin Liška
a8d4b92791 - Bump to tip (adds --mini-mode argument).
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=794
2021-07-22 15:19:11 +00:00
Martin Liška
dc067e3b38 Bump to tip of opensuse branch.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=793
2021-07-11 14:48:37 +00:00
Martin Liška
b33e32f757 - Bump to tip (fix not working -i option).
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=792
2021-07-01 09:14:15 +00:00
Martin Liška
4496b5d473 - Bump to tip.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=791
2021-06-29 13:42:44 +00:00
Martin Liška
ddbba554d5 Unify requirements.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=790
2021-06-29 11:12:35 +00:00
Martin Liška
058a327d0c - Make rpmlint-strict only a simple package with one config file.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=789
2021-06-29 11:08:28 +00:00
Martin Liška
ad7ee432ff - Add Conflicts directive.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=788
2021-06-29 09:58:33 +00:00
Martin Liška
366a8b5d31 - Use BuildIgnore: rpmlint-strict in order to fix boo#1187749.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=787
2021-06-29 09:05:16 +00:00
Martin Liška
eb572449cb - Bump to tip.
- Rename scoring-strict.toml to scoring-strict.override.toml in order
  to use override mechanism.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=786
2021-06-25 07:22:19 +00:00
Martin Liška
5712f95fb4 Accepting request 901661 from home:marxin:branches:devel:openSUSE:Factory:rpmlint
- Add rpmlint-strict sub-package that includes scoring-strict.toml.

OBS-URL: https://build.opensuse.org/request/show/901661
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=783
2021-06-24 09:03:59 +00:00
Martin Liška
b9883bf6be - Bump to tip: adds scoring-strict.toml config and BlockedFilters.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=782
2021-06-24 08:50:36 +00:00
Martin Liška
db2536aee4 - Bump to tip, includes fix for Rust libraries.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=781
2021-06-24 07:48:20 +00:00
51256fa68d Accepting request 901418 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint
- Install configs with 644.

- Update to Rpmlint 2.0:
  * RPMLint now is a "normal" Python application and now supports being imported
    like a standard Python module! This means that all the normal use-cases for
    RPMLint are still supported, but now you can make it a part of larger Python-based
    applications or services.
  * RPMLint uses a declarative TOML-based syntax for configuring RPMLint policy
    instead of Python code.
  * RPMLint now has an override system for the descriptions shown for various checks,
    so that distributions who want to give specific policy information can
    do so without patching the code.
  * RPMLint includes many more checks! Nearly all of the generally useful checks created
    by the openSUSE community have been merged into the tree, so distributions can now
    benefit from a wider offering of checks to implement policy enforcement.
  * RPMLint is Python 3 only and now supports Python 3.6 and newer.
  * RPMLint is now built and installed like a standard Python application using setuptools.
- Removed legacy patches:
  * invalid-filerequires.diff
  * no-badness-return.diff
  * no-doc-for-lib.diff
  * only-reg-files-are-scripts.diff
  * remove-ghostfile-checks.diff
  * rpm415-workaround.diff
  * rpmgroup-checks.diff
  * rpmlint-suse.diff
  * suse-binarieschecks.diff
  * suse-checks.diff
  * suse-filter-exception.diff
  * suse-filter-more-verbose.diff

OBS-URL: https://build.opensuse.org/request/show/901418
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=780
2021-06-24 06:33:48 +00:00
804a3cc03a Accepting request 875382 from home:coolo:branches:openSUSE:Factory
- Update to version 84.87+git20210226.d6b66e2:
  * GitHub Actions: work around the missing
  * GitHub Actions: work around the missing `groupadd`
  * rclink2: fix test reference output
  * polkit: adjust polkit frobnicate action name

- Add accept-licenses-with-plus.patch to accept any license ending
  with a + (as indicated in the SPDX syntax)

- Remove licenses ending with + from valid license array

OBS-URL: https://build.opensuse.org/request/show/875382
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=768
2021-03-01 19:27:04 +00:00
6631c65c5e Accepting request 868320 from home:coolo:branches:openSUSE:Factory
- Update valid spdx license exceptions
- Allow the + version of all valid licenses (to avoid having to fix
  the parser)

OBS-URL: https://build.opensuse.org/request/show/868320
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=765
2021-02-01 17:25:29 +00:00
Johannes Segitz
379ca2d2e9 Accepting request 862125 from home:mnhauke:branches:devel:openSUSE:Factory:rpmlint
- Add user "h2o" and group "h2o" for the h2o webserver

OBS-URL: https://build.opensuse.org/request/show/862125
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=761
2021-01-11 08:39:19 +00:00
79b310f3f6 Accepting request 842500 from home:13ilya:branches:devel:openSUSE:Factory:rpmlint
- Add user "fluidsynth" for FluidSynth General Midi daemon.

OBS-URL: https://build.opensuse.org/request/show/842500
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=754
2020-10-19 17:41:56 +00:00
adf9efa693 Accepting request 807493 from home:adrianSuSE:branches:devel:openSUSE:Factory:rpmlint
- Add daapd user and group for new forked-daapd package

OBS-URL: https://build.opensuse.org/request/show/807493
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=726
2020-05-20 09:45:39 +00:00
86ed0bb082 Accepting request 807131 from home:trenn:branches:devel:openSUSE:Factory:rpmlint
- Add '_cscreen' to StandardGroups and StandardUsers

OBS-URL: https://build.opensuse.org/request/show/807131
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=725
2020-05-20 07:50:48 +00:00
Malte Kraus
8bf0f5333a Accepting request 777641 from home:WernerFink:branches:devel:openSUSE:Factory:rpmlint
- config: add 'mktex' to StandardUsers (boo#1159740)

OBS-URL: https://build.opensuse.org/request/show/777641
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=713
2020-02-20 14:03:29 +00:00
Johannes Segitz
52b593a69e Accepting request 774885 from home:mgerstner:branches:devel:openSUSE:Factory:rpmlint
- whitelist new mariadb pam module "pam_user_map.so" (bsc#1163362)

OBS-URL: https://build.opensuse.org/request/show/774885
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=712
2020-02-17 17:06:04 +00:00
Malte Kraus
525bafdf5d Accepting request 770508 from Base:System
- Update to version master:
  * CheckSUIDPermissions.py: fix permissions.d checks
  * add a lint to catch insecure mixed file/directory ownership similar to CVE-2019-3689

- Update to version 84.87+git20200206.7e2b64f:
  * permissions2: test that allowed permissions.d drop-ins work
  * test for new file-parent-ownership-mismatch lint

- Update to version master:
  * CheckSUIDPermissions.py: fix permissions.d checks
  * add a lint to catch insecure mixed file/directory ownership similar to CVE-2019-3689

- Update to version 84.87+git20200206.7e2b64f:
  * permissions2: test that allowed permissions.d drop-ins work
  * test for new file-parent-ownership-mismatch lint

OBS-URL: https://build.opensuse.org/request/show/770508
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=710
2020-02-07 08:54:41 +00:00
Johannes Segitz
32adcd543d Accepting request 768785 from home:jsegitz:branches:devel:openSUSE:Factory:rpmlint
- Update to version 84.87+git20200130.c0de5f4:
  * libzork4.spec: removed define for 'basename' in libzork4.spec. 
    This causes build errors because 'basename' is a builtin and it's 
    not used

- Update to version 84.87+git20200115.9339533:
  * use uname -m instead of uname -i as the latter is not portable
  * remove rpm directory upon make clean
  * Support for different output based on architecture. For that create a
    <NAME>.<ARCH>.ref file instead of <NAME>.ref E.g. debug.i386.ref
  * verify that new permissions paths need whitelisting

- Update to version master:
  * CheckCronJobs: correct cronjob-unauthorized-file explanation
  * Use named constants to check file modes
  * CheckSUIDPermissions.py: check new permission paths

OBS-URL: https://build.opensuse.org/request/show/768785
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=706
2020-01-30 15:50:27 +00:00
fb793effa8 - Update to version master:
* new common whitelisting code for CheckPolkitPrivs and CheckCronJobs

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=697
2019-12-10 14:48:51 +00:00
Malte Kraus
e91e194417 - whitelist sssd infopipe (bsc#1157663)
- whitelist sysprof3 D-Bus services (bsc#1151418)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=696
2019-11-28 12:04:28 +00:00
192888ea35 Accepting request 738852 from Base:System
OBS-URL: https://build.opensuse.org/request/show/738852
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=694
2019-10-17 13:46:28 +00:00
defff5a11b Accepting request 717603 from home:marxin:branches:devel:openSUSE:Factory:rpmlint
- Add add-check-for-a-non-zero-.text-segment-in-.a-archive.patch
  as a backport of:
  2c809f3435

OBS-URL: https://build.opensuse.org/request/show/717603
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=675
2019-07-24 09:18:26 +00:00
611ecea41d Accepting request 716081 from home:jsegitz:branches:devel:openSUSE:Factory:rpmlint
- Update to version 84.87+git20190717.48212cf:
  * added LTO errors as expected for debug tests

OBS-URL: https://build.opensuse.org/request/show/716081
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=673
2019-07-17 15:14:51 +00:00
08f40eceb8 Accepting request 701500 from home:jsegitz:branches:devel:openSUSE:Factory:rpmlint
- Removed whitelisted DBUS files:
  * ConsoleKit.conf
  * NetworkManager-frontend.conf
  * Upstart.conf
  * backup-manager.conf
  * ca.desrt.dconf.service
  * cdemud-dbus.conf
  * com.redhat.storaged.conf
  * com.redhat.storaged.service
  * com.redhat.tuned.service
  * de.berlios.smb4k.mounthelper.conf
  * de.berlios.smb4k.mounthelper.service
  * hal.conf
  * kerneloops.dbus
  * net.hadess.SensorProxy.service
  * nm-avahi-autoipd.conf
  * nm-dhcp-client.conf
  * nm-novellvpn-service.conf
  * openqa-scheduler.service
  * openqa-websockets.service
  * org.blueman.Applet.service
  * org.freedesktop.ColorManager.conf
  * org.freedesktop.ConsoleKit.service
  * org.freedesktop.ModemManager.conf
  * org.freedesktop.ModemManager.service
  * org.freedesktop.PolicyKit.conf
  * org.freedesktop.PolicyKit.service
  * org.freedesktop.UDisks.conf
  * org.freedesktop.UDisks.service
  * org.freedesktop.colord-sane.conf

OBS-URL: https://build.opensuse.org/request/show/701500
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=668
2019-05-08 07:50:00 +00:00
ce9154a9db - Update to version 84.87+git20190318.caf1835:
* pie.spec: use /usr/bin/mount, since /bin/mount was removed from permissions

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=663
2019-03-18 08:53:31 +00:00
Johannes Segitz
53cccd9828 Accepting request 674915 from home:jsegitz:branches:devel:openSUSE:Factory:rpmlint
- Whitelisted pam_p11 (bsc#1123916)

OBS-URL: https://build.opensuse.org/request/show/674915
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=657
2019-02-14 10:09:50 +00:00
c71be26260 - add 0001-ZipCheck-Also-ignore-RuntimeError.patch (bscs#1124054)
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=654
2019-02-02 08:28:03 +00:00
b02c8ff0bb OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=651 2019-01-23 21:53:50 +00:00
1d8d6856a8 - update to 1.11:
* Avoid exception on inaccessible scripts
  * Print out the error content on UnicodeError to make flake8 happy
  * Fix flake8 warning about missing space around operators
  * Use compressions when checking for backup files
  * Account for arch specific code in /usr/share
  * Check for installed libtool wrapper files
  * Check for missing optional dependencies
  * Consider gnome help for doc files
  * Check for noarch package with files in lib64
  * Verify if description is longer than summary
  * Explicitly tell users how to set URL
  * Ignore pytest_cache directory
  * confusing-invalid-spec-name
  * Ignore orig/rej leftovers after patching
  * Reenable Travis testing against Fedora Rawhide
  * Check all sections that should not use %buildroot in them
  * Put in default buildroot value used by Fedora/openSUSE
  * Stricter interpreter check
  * Use compileall to avoid %buildroot to be in pyc
  * Drop deprecated config file usage, 0.88 is pretty old anyway
  * Adjust Version to not print outdated Copyright
  * Rework Travis checks against latest Centos and Fedora releases
  * Fix exception handling
  * Fix various flake8-import-order test regressions
  * Blacklist newer pycodestyle warnings
  * Fix compatibility with file 5.33+
  * Python 3.7.0b5 magic number is 3394
  * Update TagsCheck.py
  * pyc related tests: DRY

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=648
2019-01-13 14:33:18 +00:00
7d91f9fe95 - Add 0001-Backport-d8f423b575e8be387d33bc3af176baf978efacbb.patch
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=645
2019-01-09 18:32:02 +00:00